Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/
DExecutionPlan.cpp998 int deviceIndex = bestDeviceForOperation[operationIndex]; in partitionTheWork() local
999 perDeviceQueue[deviceIndex].push(operationIndex); in partitionTheWork()
1001 << deviceIndex; in partitionTheWork()
1022 int deviceIndex = findNextDeviceToProcess(); in partitionTheWork() local
1023 VLOG(COMPILATION) << "findNextDeviceToProcess: " << deviceIndex; in partitionTheWork()
1024 if (deviceIndex < 0) { in partitionTheWork()
1029 std::shared_ptr<ExecutionStep> step = plan->createNewStep(devices[deviceIndex]); in partitionTheWork()
1030 auto& queue = perDeviceQueue[deviceIndex]; in partitionTheWork()
1561 for (size_t deviceIndex = 0; deviceIndex < deviceCount; deviceIndex++) { in findBestDeviceForEachOperation() local
1562 canDo[deviceIndex].initialize(&slicer, devices[deviceIndex]); in findBestDeviceForEachOperation()
[all …]
/frameworks/native/services/inputflinger/
DInputReader.cpp389 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in addDeviceLocked() local
390 if (deviceIndex >= 0) { in addDeviceLocked()
421 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in removeDeviceLocked() local
422 if (deviceIndex < 0) { in removeDeviceLocked()
427 device = mDevices.valueAt(deviceIndex); in removeDeviceLocked()
428 mDevices.removeItemsAt(deviceIndex, 1); in removeDeviceLocked()
524 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in processEventsForDeviceLocked() local
525 if (deviceIndex < 0) { in processEventsForDeviceLocked()
530 InputDevice* device = mDevices.valueAt(deviceIndex); in processEventsForDeviceLocked()
690 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in getStateLocked() local
[all …]
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java352 int deviceIndex = indexOfEqualValue(mHdmiInputIdMap, inputId); in removeHardwareInput() local
353 if (deviceIndex >= 0) { in removeHardwareInput()
354 mHdmiInputIdMap.removeAt(deviceIndex); in removeHardwareInput()