/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/ |
D | InputControllerTest.java | 126 int[] deviceIds = InputManagerGlobal.getInstance().getInputDeviceIds(); in registerInputDevice_deviceCreation_hasDeviceId() local 128 deviceIds).asList().contains(device1Id); in registerInputDevice_deviceCreation_hasDeviceId() 130 deviceIds).asList().contains(device2Id); in registerInputDevice_deviceCreation_hasDeviceId() 164 int[] deviceIds = InputManagerGlobal.getInstance().getInputDeviceIds(); in createNavigationTouchpad_hasDeviceId() local 167 deviceIds).asList().contains(deviceId); in createNavigationTouchpad_hasDeviceId()
|
/frameworks/native/services/inputflinger/ |
D | InputProcessor.cpp | 340 std::unordered_set<int32_t> deviceIds; in dump() local 342 [&deviceIds](auto pair) { deviceIds.insert(pair.first); }); in dump() 344 [&deviceIds](auto pair) { deviceIds.insert(pair.first); }); in dump() 345 for (int32_t deviceId : deviceIds) { in dump()
|
/frameworks/native/libs/sensor/ |
D | SensorManager.cpp | 59 std::vector<int> deviceIds; in getDeviceIdForUid() local 60 vdm->getDeviceIdsForUid(uid, &deviceIds); in getDeviceIdForUid() 65 if (deviceIds.size() == 1) { in getDeviceIdForUid() 66 const int deviceId = deviceIds.at(0); in getDeviceIdForUid()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | TouchedWindow.cpp | 186 std::set<DeviceId> deviceIds; in getTouchingDeviceIds() local 189 deviceIds.insert(deviceId); in getTouchingDeviceIds() 192 return deviceIds; in getTouchingDeviceIds()
|
D | InputDispatcher.cpp | 5711 std::set<DeviceId> deviceIds = touchedWindow->getTouchingDeviceIds(); in transferTouchGesture() local 5712 if (deviceIds.size() != 1) { in transferTouchGesture() 5713 LOG(INFO) << "Can't transfer touch. Currently touching devices: " << dumpSet(deviceIds) in transferTouchGesture() 5717 const DeviceId deviceId = *deviceIds.begin(); in transferTouchGesture() 6243 std::set<int32_t> deviceIds = windowPtr->getTouchingDeviceIds(); in pilferPointersLocked() local 6244 if (deviceIds.empty()) { in pilferPointersLocked() 6250 for (const DeviceId deviceId : deviceIds) { in pilferPointersLocked()
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | InputDeviceDelegateTest.java | 309 private void updateInputDevices(int[] deviceIds) throws Exception { in updateInputDevices() argument 310 int[] deviceIdsAndGenerations = new int[deviceIds.length * 2]; in updateInputDevices() 312 deviceIdsAndGenerations[i] = deviceIds[i / 2]; in updateInputDevices()
|
/frameworks/base/tests/Input/src/android/hardware/input/ |
D | InputDeviceSensorManagerTest.java | 161 private InputDevice getSensorDevice(int[] deviceIds) { in getSensorDevice() argument 162 for (int deviceId : deviceIds) { in getSensorDevice()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/camera/ |
D | VirtualCameraControllerTest.java | 158 List<Integer> deviceIds = deviceIdCaptor.getAllValues(); in close_unregistersAllCameras() local 159 assertThat(deviceIds).containsExactly(DEVICE_ID, DEVICE_ID); in close_unregistersAllCameras()
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraManager.cpp | 73 std::vector<int> deviceIds; in getCurrentDeviceId() local 74 Status status = vdm->getDeviceIdsForUid(myUid, &deviceIds); in getCurrentDeviceId() 75 if (!status.isOk() || deviceIds.empty()) { in getCurrentDeviceId() 84 if (deviceIds.size() != 1) { in getCurrentDeviceId() 87 return deviceIds[0]; in getCurrentDeviceId()
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | CameraProviderManager.cpp | 273 std::vector<std::string> deviceIds; in getCameraDeviceIds() local 276 deviceIds.push_back(id); in getCameraDeviceIds() 283 return deviceIds; in getCameraDeviceIds() 286 void CameraProviderManager::collectDeviceIdsLocked(const std::vector<std::string> deviceIds, in collectDeviceIdsLocked() argument 289 for (auto &deviceId : deviceIds) { in collectDeviceIdsLocked() 307 std::vector<std::string> deviceIds; in getAPI1CompatibleCameraDeviceIds() local 347 deviceIds.insert(deviceIds.end(), publicDeviceIds.begin(), publicDeviceIds.end()); in getAPI1CompatibleCameraDeviceIds() 348 deviceIds.insert(deviceIds.end(), systemDeviceIds.begin(), systemDeviceIds.end()); in getAPI1CompatibleCameraDeviceIds() 349 return deviceIds; in getAPI1CompatibleCameraDeviceIds() 3236 std::vector<std::string>& deviceIds) const in filterLogicalCameraIdsLocked() [all …]
|
D | CameraProviderManager.h | 924 void filterLogicalCameraIdsLocked(std::vector<std::string>& deviceIds) const; 930 void collectDeviceIdsLocked(const std::vector<std::string> deviceIds,
|
/frameworks/base/core/java/android/hardware/input/ |
D | InputDeviceSensorManager.java | 148 int[] deviceIds = mGlobal.getInputDeviceIds(); in initializeSensors() local 149 for (int i = 0; i < deviceIds.length; i++) { in initializeSensors() 150 final int deviceId = deviceIds[i]; in initializeSensors()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | DevicePermissionPolicy.kt | 62 fun MutateStateScope.trimDevicePermissionStates(deviceIds: Set<String>) { in <lambda>() 71 if (deviceId !in deviceIds) { in <lambda>()
|
/frameworks/hardware/interfaces/cameraservice/service/2.1/ |
D | ICameraService.hal | 42 * @return statuses a list of CameraStatusAndIds which stores the deviceIds,
|
/frameworks/hardware/interfaces/cameraservice/service/2.0/ |
D | ICameraService.hal | 58 * @return statuses a list of CameraStatusAndIds which store the deviceIds
|
/frameworks/av/services/camera/libcameraservice/common/hidl/ |
D | HidlProviderInfo.cpp | 536 std::unordered_set<std::string> deviceIds; in getConcurrentCameraIdsInternalLocked() local 538 deviceIds.insert(cameraDeviceId); in getConcurrentCameraIdsInternalLocked() 540 mConcurrentCameraIdCombinations.push_back(std::move(deviceIds)); in getConcurrentCameraIdsInternalLocked()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 833 int[] deviceIds = InputDevice.getDeviceIds(); in logInputDevices() local 834 for (int i = 0; i < deviceIds.length; i++) { in logInputDevices() 835 logInputDeviceState(deviceIds[i], "Device Enumerated"); in logInputDevices()
|
/frameworks/av/services/camera/libcameraservice/common/aidl/ |
D | AidlProviderInfo.cpp | 467 std::unordered_set<std::string> deviceIds; in getConcurrentCameraIdsInternalLocked() local 469 deviceIds.insert(cameraDeviceId); in getConcurrentCameraIdsInternalLocked() 471 mConcurrentCameraIdCombinations.push_back(std::move(deviceIds)); in getConcurrentCameraIdsInternalLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyboardShortcuts.java | 366 final int[] deviceIds = inputManager.getInputDeviceIds(); in retrieveKeyCharacterMap() local 367 for (int i = 0; i < deviceIds.length; ++i) { in retrieveKeyCharacterMap() 368 final InputDevice inputDevice = inputManager.getInputDevice(deviceIds[i]); in retrieveKeyCharacterMap()
|
D | KeyboardShortcutListSearch.java | 404 final int[] deviceIds = inputManager.getInputDeviceIds(); in retrieveKeyCharacterMap() local 405 for (int id : deviceIds) { in retrieveKeyCharacterMap()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | ProxyManager.java | 840 final Set<Integer> deviceIds = localVdm.getDeviceIdsForUid(callingUid); in getFirstDeviceIdForUidLocked() local 841 for (Integer uidDeviceId : deviceIds) { in getFirstDeviceIdForUidLocked()
|
/frameworks/base/media/jni/ |
D | android_media_MediaDrm.cpp | 1062 std::vector<int> deviceIds; in getVirtualDeviceIds() local 1064 vdm->getDeviceIdsForUid(uid, &deviceIds); in getVirtualDeviceIds() 1065 return deviceIds; in getVirtualDeviceIds()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 266 std::vector<std::string> deviceIds; in enumerateProviders() local 297 deviceIds = mCameraProviderManager->getCameraDeviceIds(&unavailPhysicalIds); in enumerateProviders() 300 for (auto& cameraId : deviceIds) { in enumerateProviders()
|