Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DInputClassifier.cpp319 std::unordered_set<int32_t> deviceIds; in dump() local
321 [&deviceIds](auto pair){ deviceIds.insert(pair.first); }); in dump()
323 [&deviceIds](auto pair){ deviceIds.insert(pair.first); }); in dump()
324 for(int32_t deviceId : deviceIds) { in dump()
/frameworks/base/core/tests/coretests/src/android/hardware/input/
DInputDeviceSensorManagerTest.java166 private InputDevice getSensorDevice(int[] deviceIds) { in getSensorDevice() argument
167 for (int i = 0; i < deviceIds.length; i++) { in getSensorDevice()
168 InputDevice device = mInputManager.getInputDevice(deviceIds[i]); in getSensorDevice()
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
DInputDeviceDelegateTest.java308 private void updateInputDevices(int[] deviceIds) throws Exception { in updateInputDevices() argument
309 int[] deviceIdsAndGenerations = new int[deviceIds.length * 2]; in updateInputDevices()
311 deviceIdsAndGenerations[i] = deviceIds[i / 2]; in updateInputDevices()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp139 std::vector<std::string> deviceIds; in getCameraDeviceIds() local
142 deviceIds.push_back(id); in getCameraDeviceIds()
145 return deviceIds; in getCameraDeviceIds()
148 void CameraProviderManager::collectDeviceIdsLocked(const std::vector<std::string> deviceIds, in collectDeviceIdsLocked() argument
151 for (auto &deviceId : deviceIds) { in collectDeviceIdsLocked()
169 std::vector<std::string> deviceIds; in getAPI1CompatibleCameraDeviceIds() local
209 deviceIds.insert(deviceIds.end(), publicDeviceIds.begin(), publicDeviceIds.end()); in getAPI1CompatibleCameraDeviceIds()
210 deviceIds.insert(deviceIds.end(), systemDeviceIds.begin(), systemDeviceIds.end()); in getAPI1CompatibleCameraDeviceIds()
211 return deviceIds; in getAPI1CompatibleCameraDeviceIds()
1758 std::unordered_set<std::string> deviceIds; in getConcurrentCameraIdsInternalLocked() local
[all …]
DCameraProviderManager.h704 void filterLogicalCameraIdsLocked(std::vector<std::string>& deviceIds) const;
709 void collectDeviceIdsLocked(const std::vector<std::string> deviceIds,
/frameworks/base/core/java/android/hardware/input/
DInputDeviceSensorManager.java157 int[] deviceIds = mInputManager.getInputDeviceIds(); in initializeSensors() local
158 for (int i = 0; i < deviceIds.length; i++) { in initializeSensors()
159 final int deviceId = deviceIds[i]; in initializeSensors()
/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/base/core/java/com/android/internal/widget/
DPointerLocationView.java820 int[] deviceIds = InputDevice.getDeviceIds(); in logInputDevices() local
821 for (int i = 0; i < deviceIds.length; i++) { in logInputDevices()
822 logInputDeviceState(deviceIds[i], "Device Enumerated"); in logInputDevices()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcuts.java360 final int[] deviceIds = inputManager.getInputDeviceIds(); in retrieveKeyCharacterMap() local
361 for (int i = 0; i < deviceIds.length; ++i) { in retrieveKeyCharacterMap()
362 final InputDevice inputDevice = inputManager.getInputDevice(deviceIds[i]); in retrieveKeyCharacterMap()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp198 std::vector<std::string> deviceIds; in enumerateProviders() local
229 deviceIds = mCameraProviderManager->getCameraDeviceIds(); in enumerateProviders()
233 for (auto& cameraId : deviceIds) { in enumerateProviders()
693 const std::vector<std::string> *deviceIds = &mNormalDeviceIdsWithoutSystemCamera; in cameraIdIntToStrLocked() local
698 deviceIds = &mNormalDeviceIds; in cameraIdIntToStrLocked()
700 if (cameraIdInt < 0 || cameraIdInt >= static_cast<int>(deviceIds->size())) { in cameraIdIntToStrLocked()
702 __FUNCTION__, cameraIdInt, deviceIds->size()); in cameraIdIntToStrLocked()
706 return (*deviceIds)[cameraIdInt]; in cameraIdIntToStrLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLand.java267 int[] deviceIds = InputDevice.getDeviceIds(); in getGameControllers() local
268 for (int deviceId : deviceIds) { in getGameControllers()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java5130 ArrayList<Integer> deviceIds = new ArrayList<>(); in getAvailableCommunicationDeviceIds() local
5134 deviceIds.add(device.getId()); in getAvailableCommunicationDeviceIds()
5137 return deviceIds.stream().mapToInt(Integer::intValue).toArray(); in getAvailableCommunicationDeviceIds()