diff options
author | Michael Butler <butlermichael@google.com> | 2019-07-11 11:45:01 -0700 |
---|---|---|
committer | Michael Butler <butlermichael@google.com> | 2019-07-25 12:15:38 -0700 |
commit | d92f97453da162d14fd08b1e8b17a2270869218f (patch) | |
tree | 0f0bb54b10de9ad276c5755f733f01436841a9da /nn/runtime/test/TestExtensions.cpp | |
parent | 97a674924a0ee71d2f25c86a80e90c099642bdf2 (diff) | |
download | ml-d92f97453da162d14fd08b1e8b17a2270869218f.tar.gz |
Cleanup HalInterfaces.h
Prior to this CL, HalInterfaces.h polluted the global namespace through
the "using" declarations. This CL creates a new ::android::nn::hal
namespace and places the names there instead.
This CL also changes the namespace of the Callback objects from
::android::hardware::neuralnetworks::V1_2::implementation to
::android::nn to be consistent with the other parts of frameworks/ml/nn.
Fixes: 72880287
Test: mma
Change-Id: I399ad32f5c541a493429c6fa8e192169a903ea9f
Merged-In: I399ad32f5c541a493429c6fa8e192169a903ea9f
(cherry picked from commit 19af9d2d509621c0b07fb5a0f59abd0adb9de468)
Diffstat (limited to 'nn/runtime/test/TestExtensions.cpp')
-rw-r--r-- | nn/runtime/test/TestExtensions.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nn/runtime/test/TestExtensions.cpp b/nn/runtime/test/TestExtensions.cpp index 4aa7cd191..6fe592710 100644 --- a/nn/runtime/test/TestExtensions.cpp +++ b/nn/runtime/test/TestExtensions.cpp @@ -29,6 +29,8 @@ using DeviceManager = ::android::nn::DeviceManager; using SampleDriver = ::android::nn::sample_driver::SampleDriver; using TypeManager = ::android::nn::TypeManager; +using namespace android::nn::hal; + const char* kTestDriverName = "extensions-test-driver"; const char* kTestExtension1 = "vendor.test.one"; const char* kTestExtension2 = "vendor.test.two"; |