Home
last modified time | relevance | path

Searched refs:numDevices (Results 1 – 24 of 24) sorted by relevance

/frameworks/ml/nn/runtime/test/
DTestFree.cpp60 uint32_t numDevices = 0; in createDeviceList() local
61 EXPECT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in createDeviceList()
62 for (uint32_t devIndex = 0; devIndex < numDevices; ++devIndex) { in createDeviceList()
DTestExtensions.cpp89 uint32_t numDevices = 0; in getDeviceByName() local
90 EXPECT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in getDeviceByName()
91 EXPECT_GE(numDevices, 1u); in getDeviceByName()
92 for (uint32_t i = 0; i < numDevices; i++) { in getDeviceByName()
DTestValidation.cpp864 uint32_t numDevices = 0; in TEST_F() local
865 EXPECT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in TEST_F()
867 if (numDevices > 0) { in TEST_F()
903 uint32_t numDevices = 0; in TEST_F() local
904 EXPECT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in TEST_F()
908 if (numDevices > 0) { in TEST_F()
2204 uint32_t numDevices = 0; in TEST() local
2205 EXPECT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in TEST()
2210 uint32_t numDevices = 0; in TEST() local
2211 EXPECT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in TEST()
[all …]
DTestRemoveDefaultArguments.cpp173 uint32_t numDevices = 0; in getDeviceByName() local
174 EXPECT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in getDeviceByName()
175 EXPECT_GE(numDevices, 1u); in getDeviceByName()
176 for (uint32_t i = 0; i < numDevices; i++) { in getDeviceByName()
DTestCompilationCaching.cpp286 uint32_t numDevices = 0; in getDeviceWithName() local
287 ASSERT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in getDeviceWithName()
288 EXPECT_GE(numDevices, (uint32_t)1); in getDeviceWithName()
291 for (uint32_t i = 0; i < numDevices; i++) { in getDeviceWithName()
DTestMemoryDomain.cpp191 uint32_t numDevices = 0; in createCompilation() local
192 EXPECT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in createCompilation()
193 for (uint32_t i = 0; i < numDevices; i++) { in createCompilation()
DTestExecution.cpp590 uint32_t numDevices = 0; in TestIntrospectionCompilation() local
591 EXPECT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in TestIntrospectionCompilation()
592 EXPECT_GE(numDevices, (uint32_t)1); in TestIntrospectionCompilation()
594 for (uint32_t i = 0; i < numDevices; i++) { in TestIntrospectionCompilation()
DTestIntrospectionControl.cpp147 uint32_t numDevices = 0; in selectDeviceByName() local
148 EXPECT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in selectDeviceByName()
149 EXPECT_GE(numDevices, (uint32_t)1); in selectDeviceByName()
151 for (uint32_t i = 0; i < numDevices; i++) { in selectDeviceByName()
/frameworks/wilhelm/tests/sandbox/
Doutputmix.c182 SLint32 numDevices = 1; in main() local
184 result = (*outputMixOutputMix)->GetDestinationOutputDeviceIDs(outputMixOutputMix, &numDevices, in main()
187 assert(1 == numDevices); in main()
/frameworks/ml/nn/runtime/
DNeuralNetworks.cpp620 int ANeuralNetworks_getDeviceCount(uint32_t* numDevices) { in ANeuralNetworks_getDeviceCount() argument
621 if (numDevices == nullptr) { in ANeuralNetworks_getDeviceCount()
625 *numDevices = DeviceManager::get()->getDrivers().size(); in ANeuralNetworks_getDeviceCount()
703 uint32_t numDevices, bool* supportedOps) { in ANeuralNetworksModel_getSupportedOperationsForDevices() argument
709 if (numDevices == 0) { in ANeuralNetworksModel_getSupportedOperationsForDevices()
725 for (uint32_t i = 0; i < numDevices; i++) { in ANeuralNetworksModel_getSupportedOperationsForDevices()
731 for (uint32_t j = i + 1; j < numDevices; j++) { in ANeuralNetworksModel_getSupportedOperationsForDevices()
752 uint32_t numDevices, in ANeuralNetworksCompilation_createForDevices() argument
760 if (numDevices == 0) { in ANeuralNetworksCompilation_createForDevices()
766 for (uint32_t i = 0; i < numDevices; i++) { in ANeuralNetworksCompilation_createForDevices()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHotspotController.java32 void onHotspotChanged(boolean enabled, int numDevices); in onHotspotChanged() argument
/frameworks/native/services/inputflinger/reader/
DInputReader.cpp448 size_t numDevices = mDevices.size(); in getInputDevicesLocked() local
449 for (size_t i = 0; i < numDevices; i++) { in getInputDevicesLocked()
489 size_t numDevices = mDevices.size(); in getStateLocked() local
490 for (size_t i = 0; i < numDevices; i++) { in getStateLocked()
543 size_t numDevices = mDevices.size(); in markSupportedKeyCodesLocked() local
544 for (size_t i = 0; i < numDevices; i++) { in markSupportedKeyCodesLocked()
/frameworks/ml/nn/runtime/include/
DNeuralNetworks.h6595 int ANeuralNetworks_getDeviceCount(uint32_t* numDevices) __INTRODUCED_IN(29);
6739 uint32_t numDevices, bool* supportedOps) __INTRODUCED_IN(29);
6770 uint32_t numDevices,
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DHotspotTile.java198 public void onHotspotChanged(boolean enabled, int numDevices) { in onHotspotChanged() argument
200 mCallbackInfo.numConnectedDevices = numDevices; in onHotspotChanged()
/frameworks/ml/nn/runtime/test/fibonacci_extension/
DFibonacciExtensionTest.cpp58 uint32_t numDevices = 0; in SetUp() local
59 ASSERT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in SetUp()
60 for (uint32_t i = 0; i < numDevices; i++) { in SetUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java159 public void onHotspotChanged(boolean enabled, int numDevices) {
DPhoneStatusBarPolicy.java495 public void onHotspotChanged(boolean enabled, int numDevices) {
/frameworks/base/core/java/android/hardware/input/
DInputManager.java288 int numDevices = mInputDevices.size(); in getInputDeviceByDescriptor() local
289 for (int i = 0; i < numDevices; i++) { in getInputDeviceByDescriptor()
/frameworks/ml/nn/runtime/test/fuzzing/
DTestRandomGraph.cpp159 uint32_t numDevices = 0; in SetUpTestCase() local
160 ASSERT_EQ(ANeuralNetworks_getDeviceCount(&numDevices), ANEURALNETWORKS_NO_ERROR); in SetUpTestCase()
161 for (uint32_t i = 0; i < numDevices; i++) { in SetUpTestCase()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java794 final int numDevices = mInputDevices.length; in deliverInputDevicesChanged() local
795 deviceIdAndGeneration = new int[numDevices * 2]; in deliverInputDevicesChanged()
796 for (int i = 0; i < numDevices; i++) { in deliverInputDevicesChanged()
1110 final int numDevices = inputDevices.length; in containsInputDeviceWithDescriptor() local
1111 for (int i = 0; i < numDevices; i++) { in containsInputDeviceWithDescriptor()
/frameworks/ml/nn/tools/api/
DNeuralNetworks.t1015 * @param numDevices Used to return the number of devices.
1021 int ANeuralNetworks_getDeviceCount(uint32_t* numDevices) __INTRODUCED_IN(29);
1153 * @param numDevices The number of devices in the set.
1165 uint32_t numDevices, bool* supportedOps) __INTRODUCED_IN(29);
1186 * @param numDevices The number of devices in the set.
1196 uint32_t numDevices,
1432 * {@link ANeuralNetworksCompilation_createForDevices} with numDevices = 1.
2008 * {@link ANeuralNetworksCompilation_createForDevices} with numDevices = 1,
2347 * {@link ANeuralNetworksCompilation_createForDevices} with numDevices = 1,
2531 * {@link ANeuralNetworksCompilation_createForDevices} with numDevices = 1,
/frameworks/wilhelm/include/SLES/
DOpenSLES.h538 SLint32 numDevices
/frameworks/av/services/audioflinger/
DThreads.cpp8937 uint32_t numDevices = 0; in createAudioPatch_l() local
8950 numDevices = mPatch.num_sinks; in createAudioPatch_l()
8954 numDevices = mPatch.num_sources; in createAudioPatch_l()
9004 if (numDevices == 0 || mDeviceId != deviceId) { in createAudioPatch_l()
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h1904 XAint32 numDevices