Home
last modified time | relevance | path

Searched refs:deviceIds (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/
DInputControllerTest.java126 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/
DInputProcessor.cpp340 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/
DSensorManager.cpp59 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/
DTouchedWindow.cpp186 std::set<DeviceId> deviceIds; in getTouchingDeviceIds() local
189 deviceIds.insert(deviceId); in getTouchingDeviceIds()
192 return deviceIds; in getTouchingDeviceIds()
DInputDispatcher.cpp5711 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/
DInputDeviceDelegateTest.java309 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/
DInputDeviceSensorManagerTest.java161 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/
DVirtualCameraControllerTest.java158 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/
DACameraManager.cpp73 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/
DCameraProviderManager.cpp273 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 …]
DCameraProviderManager.h924 void filterLogicalCameraIdsLocked(std::vector<std::string>& deviceIds) const;
930 void collectDeviceIdsLocked(const std::vector<std::string> deviceIds,
/frameworks/base/core/java/android/hardware/input/
DInputDeviceSensorManager.java148 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/
DDevicePermissionPolicy.kt62 fun MutateStateScope.trimDevicePermissionStates(deviceIds: Set<String>) { in <lambda>()
71 if (deviceId !in deviceIds) { in <lambda>()
/frameworks/hardware/interfaces/cameraservice/service/2.1/
DICameraService.hal42 * @return statuses a list of CameraStatusAndIds which stores the deviceIds,
/frameworks/hardware/interfaces/cameraservice/service/2.0/
DICameraService.hal58 * @return statuses a list of CameraStatusAndIds which store the deviceIds
/frameworks/av/services/camera/libcameraservice/common/hidl/
DHidlProviderInfo.cpp536 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/
DPointerLocationView.java833 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/
DAidlProviderInfo.cpp467 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/
DKeyboardShortcuts.java366 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()
DKeyboardShortcutListSearch.java404 final int[] deviceIds = inputManager.getInputDeviceIds(); in retrieveKeyCharacterMap() local
405 for (int id : deviceIds) { in retrieveKeyCharacterMap()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DProxyManager.java840 final Set<Integer> deviceIds = localVdm.getDeviceIdsForUid(callingUid); in getFirstDeviceIdForUidLocked() local
841 for (Integer uidDeviceId : deviceIds) { in getFirstDeviceIdForUidLocked()
/frameworks/base/media/jni/
Dandroid_media_MediaDrm.cpp1062 std::vector<int> deviceIds; in getVirtualDeviceIds() local
1064 vdm->getDeviceIdsForUid(uid, &deviceIds); in getVirtualDeviceIds()
1065 return deviceIds; in getVirtualDeviceIds()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp266 std::vector<std::string> deviceIds; in enumerateProviders() local
297 deviceIds = mCameraProviderManager->getCameraDeviceIds(&unavailPhysicalIds); in enumerateProviders()
300 for (auto& cameraId : deviceIds) { in enumerateProviders()