Home
last modified time | relevance | path

Searched refs:mCompilation (Results 1 – 14 of 14) sorted by relevance

/frameworks/ml/nn/runtime/test/
DTestValidation.cpp190 ASSERT_EQ(ANeuralNetworksCompilation_create(mModel, &mCompilation), in SetUp()
195 ANeuralNetworksCompilation_free(mCompilation); in TearDown()
199 ANeuralNetworksCompilation* mCompilation = nullptr; member in __anon1fd66c800111::ValidationTestCompilation
207 ASSERT_EQ(ANeuralNetworksCompilation_finish(mCompilation), ANEURALNETWORKS_NO_ERROR); in SetUp()
209 ASSERT_EQ(ANeuralNetworksExecution_create(mCompilation, &mExecution), in SetUp()
224 ASSERT_EQ(ANeuralNetworksBurst_create(mCompilation, &mBurst), ANEURALNETWORKS_NO_ERROR); in SetUp()
268 ASSERT_EQ(ANeuralNetworksCompilation_create(mModel, &mCompilation), in SetUp()
270 ASSERT_EQ(ANeuralNetworksCompilation_finish(mCompilation), ANEURALNETWORKS_NO_ERROR); in SetUp()
271 ASSERT_EQ(ANeuralNetworksExecution_create(mCompilation, &mExecution), in SetUp()
296 ANeuralNetworksCompilation_free(mCompilation); in TearDown()
[all …]
DTestNeuralNetworksWrapper.h262 int result = ANeuralNetworksCompilation_create(model->getHandle(), &mCompilation); in Compilation()
270 ~Compilation() { ANeuralNetworksCompilation_free(mCompilation); } in ~Compilation()
284 ANeuralNetworksCompilation_free(mCompilation);
285 mCompilation = other.mCompilation;
286 other.mCompilation = nullptr;
293 mCompilation, static_cast<int32_t>(preference))); in setPreference()
298 mCompilation, static_cast<int32_t>(priority))); in setPriority()
306 mCompilation, cacheDir.c_str(), token.data())); in setCaching()
309 Result finish() { return static_cast<Result>(ANeuralNetworksCompilation_finish(mCompilation)); } in finish()
311 ANeuralNetworksCompilation* getHandle() const { return mCompilation; } in getHandle()
[all …]
DTestExecution.cpp580 mCompilation = reinterpret_cast<ANeuralNetworksCompilation*>(c); in TestCompilation()
610 model->getHandle(), mDevices.data(), mDevices.size(), &mCompilation); in TestIntrospectionCompilation()
629 mCompilation = TestIntrospectionCompilation(&mModel, kName); in ExecutionTestTemplate()
631 mCompilation = TestCompilation<DriverClass>(&mModel, kName, kForceErrorStatus); in ExecutionTestTemplate()
663 WrapperCompilation mCompilation; member in android::__anon50a6e8490111::ExecutionTestTemplate
702 ASSERT_EQ(mCompilation.finish(), Result::NO_ERROR); in TestWait()
713 WrapperExecution execution(&mCompilation); in TestWait()
736 WrapperExecution execution(&mCompilation); in TestWait()
769 WrapperExecution execution(&mCompilation); in TestWait()
792 WrapperExecution execution(&mCompilation); in TestWait()
DTestIntrospectionControl.cpp113 if (mCompilation) { in TearDown()
114 ANeuralNetworksCompilation_free(mCompilation); in TearDown()
178 mDevices.size(), &mCompilation); in prepareForExecution()
182 EXPECT_EQ(ANeuralNetworksCompilation_finish(mCompilation), ANEURALNETWORKS_NO_ERROR); in prepareForExecution()
183 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, &mExecution), in prepareForExecution()
197 ANeuralNetworksCompilation* mCompilation = nullptr; member in __anon736024e70111::IntrospectionControlTest
239 CompilationBuilder* c = reinterpret_cast<CompilationBuilder*>(mCompilation); in TEST_F()
939 ASSERT_EQ(ANeuralNetworksBurst_create(mCompilation, &burst), ANEURALNETWORKS_NO_ERROR); in TEST_P()
1231 mDevices.size(), &mCompilation), in TEST_F()
1235 EXPECT_NE(ANeuralNetworksCompilation_finish(mCompilation), ANEURALNETWORKS_NO_ERROR); in TEST_F()
DTestPartitioningRandom.cpp217 mCompilation = reinterpret_cast<ANeuralNetworksCompilation*>(c); in TestCompilation()
DTestPartitioning.cpp887 mCompilation = reinterpret_cast<ANeuralNetworksCompilation*>(c); in PartitioningCompilation()
/frameworks/ml/nn/runtime/test/fibonacci_extension/
DFibonacciExtensionTest.cpp86 if (mCompilation) { in TearDown()
87 ANeuralNetworksCompilation_free(mCompilation); in TearDown()
113 mDevices.size(), &mCompilation), in prepareForExecution()
115 ASSERT_EQ(ANeuralNetworksCompilation_finish(mCompilation), ANEURALNETWORKS_NO_ERROR); in prepareForExecution()
116 ASSERT_EQ(ANeuralNetworksExecution_create(mCompilation, &mExecution), in prepareForExecution()
125 ANeuralNetworksCompilation* mCompilation = nullptr; member in android::nn::__anon7b3c0b790111::FibonacciExtensionTest
252 mDevices.size(), &mCompilation), in TEST_F()
254 ASSERT_EQ(ANeuralNetworksCompilation_finish(mCompilation), ANEURALNETWORKS_BAD_DATA); in TEST_F()
263 mDevices.size(), &mCompilation), in TEST_F()
265 ASSERT_EQ(ANeuralNetworksCompilation_finish(mCompilation), ANEURALNETWORKS_BAD_DATA); in TEST_F()
[all …]
/frameworks/ml/nn/runtime/include/
DNeuralNetworksWrapper.h352 int result = ANeuralNetworksCompilation_create(model->getHandle(), &mCompilation); in Compilation()
358 ~Compilation() { ANeuralNetworksCompilation_free(mCompilation); } in ~Compilation()
372 ANeuralNetworksCompilation_free(mCompilation);
373 mCompilation = other.mCompilation;
374 other.mCompilation = nullptr;
381 mCompilation, static_cast<int32_t>(preference))); in setPreference()
386 mCompilation, static_cast<int32_t>(priority))); in setPriority()
394 mCompilation, cacheDir.c_str(), token.data())); in setCaching()
397 Result finish() { return static_cast<Result>(ANeuralNetworksCompilation_finish(mCompilation)); } in finish()
399 ANeuralNetworksCompilation* getHandle() const { return mCompilation; } in getHandle()
[all …]
/frameworks/ml/nn/runtime/
DBurstBuilder.cpp29 : mCompilation(compilation), mBurstControllers(std::move(burstControllers)) {} in BurstBuilder()
41 return mCompilation; in getCompilation()
DBurstBuilder.h53 const CompilationBuilder* mCompilation; variable
DExecutionBuilder.cpp91 : mCompilation(compilation), in ExecutionBuilder()
180 if (!memory->getValidator().validate(mCompilation, IOType::INPUT, index, type, offset, in setInputFromMemory()
257 if (!memory->getValidator().validate(mCompilation, IOType::OUTPUT, index, type, offset, in setOutputFromMemory()
283 if (!mCompilation->mExplicitDeviceList || (mCompilation->mDevices.size() != 1)) { in setMeasureTiming()
365 if (!mCompilation->mExplicitDeviceList || (mCompilation->mDevices.size() != 1)) { in setTimeoutDuration()
736 if (!mCompilation->mExplicitDeviceList || (mCompilation->mDevices.size() != 1)) { in computeFenced()
DExecutionBuilder.h98 const CompilationBuilder* getCompilation() const { return mCompilation; } in getCompilation()
134 const CompilationBuilder* mCompilation; variable
/frameworks/base/media/java/android/media/
DMediaScanner.java531 private int mCompilation; field in MediaScanner.MyMediaScannerClient
607 mCompilation = 0; in beginFile()
774 mCompilation = parseSubstring(value, 0, 0);
963 map.put(Audio.Media.COMPILATION, mCompilation);
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt38721 Landroid/media/MediaScanner$MyMediaScannerClient;->mCompilation:I