Home
last modified time | relevance | path

Searched refs:deviceIndex (Results 1 – 2 of 2) sorted by relevance

/aosp12/packages/modules/NeuralNetworks/runtime/
H A DExecutionPlan.cpp2154 if (deviceIndex == kControlFlowInterpreter) { in partitionTheWorkInternal()
2156 } else if (deviceIndex < 0 || size_t(deviceIndex) >= deviceCount) { in partitionTheWorkInternal()
2168 << deviceIndex << " (" << deviceName(deviceIndex) << ")"; in partitionTheWorkInternal()
2192 int deviceIndex = findNextDeviceToProcess(); in partitionTheWorkInternal() local
2195 if (deviceIndex < 0) { in partitionTheWorkInternal()
2200 auto& queue = perDeviceQueue[deviceIndex]; in partitionTheWorkInternal()
2201 if (deviceIndex != kControlFlowInterpreter) { in partitionTheWorkInternal()
2492 for (size_t deviceIndex = 0; deviceIndex < deviceCount; deviceIndex++) { in findBestDeviceForEachOperation() local
2493 canDo[deviceIndex].initialize(metaModel, devices[deviceIndex]); in findBestDeviceForEachOperation()
2518 for (size_t deviceIndex = 0; deviceIndex < deviceCount; deviceIndex++) { in findBestDeviceForEachOperation() local
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputHardwareManager.java367 int deviceIndex = indexOfEqualValue(mHdmiInputIdMap, inputId); in removeHardwareInput() local
368 if (deviceIndex >= 0) { in removeHardwareInput()
369 mHdmiInputIdMap.removeAt(deviceIndex); in removeHardwareInput()