Searched refs:mCompilation (Results 1 – 4 of 4) sorted by relevance
/frameworks/ml/nn/runtime/test/ |
D | TestValidation.cpp | 99 ASSERT_EQ(ANeuralNetworksCompilation_create(mModel, &mCompilation), in SetUp() 103 ANeuralNetworksCompilation_free(mCompilation); in TearDown() 106 ANeuralNetworksCompilation* mCompilation = nullptr; member in __anon1fd66c800111::ValidationTestCompilation 114 ASSERT_EQ(ANeuralNetworksCompilation_finish(mCompilation), ANEURALNETWORKS_NO_ERROR); in SetUp() 116 ASSERT_EQ(ANeuralNetworksExecution_create(mCompilation, &mExecution), in SetUp() 409 EXPECT_EQ(ANeuralNetworksCompilation_setPreference(mCompilation, 40), ANEURALNETWORKS_BAD_DATA); in TEST_F() 416 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, nullptr), in TEST_F() 418 EXPECT_EQ(ANeuralNetworksExecution_create(mCompilation, &execution), in TEST_F() 424 EXPECT_EQ(ANeuralNetworksCompilation_finish(mCompilation), ANEURALNETWORKS_NO_ERROR); in TEST_F() 425 EXPECT_EQ(ANeuralNetworksCompilation_setPreference(mCompilation, in TEST_F() [all …]
|
D | TestExecution.cpp | 181 mCompilation(&mModel) { } in ExecutionTest() 198 TestCompilation mCompilation; member in android::__anon50a6e8490111::ExecutionTest 226 ASSERT_EQ(mCompilation.finish(kName, kForceErrorStatus), Result::NO_ERROR); in TEST_P() 227 WrapperExecution execution(&mCompilation); in TEST_P()
|
/frameworks/ml/nn/runtime/include/ |
D | NeuralNetworksWrapper.h | 253 int result = ANeuralNetworksCompilation_create(model->getHandle(), &mCompilation); in Compilation() 259 ~Compilation() { ANeuralNetworksCompilation_free(mCompilation); } in ~Compilation() 273 ANeuralNetworksCompilation_free(mCompilation); 274 mCompilation = other.mCompilation; 275 other.mCompilation = nullptr; 282 mCompilation, static_cast<int32_t>(preference))); in setPreference() 285 Result finish() { return static_cast<Result>(ANeuralNetworksCompilation_finish(mCompilation)); } in finish() 287 ANeuralNetworksCompilation* getHandle() const { return mCompilation; } in getHandle() 290 ANeuralNetworksCompilation* mCompilation = nullptr;
|
/frameworks/base/media/java/android/media/ |
D | MediaScanner.java | 488 private int mCompilation; field in MediaScanner.MyMediaScannerClient 569 mCompilation = 0; in beginFile() 728 mCompilation = parseSubstring(value, 0, 0); 900 map.put(Audio.Media.COMPILATION, mCompilation);
|