Home
last modified time | relevance | path

Searched refs:deviceInfo (Results 1 – 9 of 9) sorted by relevance

/packages/apps/TV/tuner/src/com/android/tv/tuner/
DDvbTunerHal.java56 for (DvbDeviceInfoWrapper deviceInfo : deviceInfoList) { in openFirstAvailable()
57 if (!sUsedDvbDevices.contains(deviceInfo)) { in openFirstAvailable()
58 if (DEBUG) Log.d(TAG, "Available device info: " + deviceInfo); in openFirstAvailable()
59 mDvbDeviceInfo = deviceInfo; in openFirstAvailable()
60 sUsedDvbDevices.add(deviceInfo); in openFirstAvailable()
77 protected boolean open(DvbDeviceInfoWrapper deviceInfo) { in open() argument
78 if (deviceInfo == null) { in open()
92 if (deviceInfoWrapper.compareTo(deviceInfo) == 0) { in open()
94 if (sUsedDvbDevices.contains(deviceInfo)) { in open()
95 Log.e(TAG, deviceInfo + " is already taken"); in open()
[all …]
DDvbDeviceAccessor.java109 DvbDeviceInfoWrapper deviceInfo, @DvbDevice int device) { in openDvbDevice() argument
113 mTvInputManager, deviceInfo.getDvbDeviceInfo(), device); in openDvbDevice()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DActiveDeviceManager.java329 private boolean isWiredAudioHeadset(AudioDeviceInfo deviceInfo) { in isWiredAudioHeadset() argument
330 switch (deviceInfo.getType()) { in isWiredAudioHeadset()
347 for (AudioDeviceInfo deviceInfo : addedDevices) { in onAudioDevicesAdded()
349 Log.d(TAG, "Audio device added: " + deviceInfo.getProductName() + " type: " in onAudioDevicesAdded()
350 + deviceInfo.getType()); in onAudioDevicesAdded()
352 if (isWiredAudioHeadset(deviceInfo)) { in onAudioDevicesAdded()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DTrustedDeviceListPreferenceController.java172 for (TrustedDeviceInfo deviceInfo : devices) { in createTrustDevicePreferenceList()
174 createTrustedDevicePreference(deviceInfo.getName(), deviceInfo.getHandle())); in createTrustDevicePreferenceList()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioPlayer.java208 for (AudioDeviceInfo deviceInfo : devices) { in doStart()
209 if (deviceInfo.getAddress().equals(deviceAddress)) { in doStart()
210 mPlayer.setPreferredDevice(deviceInfo); in doStart()
/packages/services/Car/service/src/com/android/car/trust/
DCarTrustAgentEnrollmentService.java330 TrustedDeviceInfo deviceInfo = extractDeviceInfo(deviceInfoWithId); in getEnrolledDeviceInfosForUser() local
331 if (deviceInfo != null) { in getEnrolledDeviceInfosForUser()
332 trustedDeviceInfos.add(deviceInfo); in getEnrolledDeviceInfosForUser()
462 Set<String> deviceInfo = sharedPrefs.getStringSet(String.valueOf(uid), new HashSet<>()); in onEscrowTokenActiveStateChanged() local
478 deviceInfo.add(serializeDeviceInfoWithId(new TrustedDeviceInfo(handle, in onEscrowTokenActiveStateChanged()
483 editor.putStringSet(String.valueOf(uid), deviceInfo); in onEscrowTokenActiveStateChanged() local
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
DIngestService.java127 MtpDeviceInfo deviceInfo = mDevice.getDeviceInfo(); in setDevice() local
128 if (deviceInfo == null) { in setDevice()
132 mDevicePrettyName = deviceInfo.getModel(); in setDevice()
/packages/services/Car/car-lib/src/android/car/trust/
DTrustedDeviceInfo.java133 public static TrustedDeviceInfo deserialize(String deviceInfo) { in deserialize() argument
134 String[] res = deviceInfo.split(DEVICE_INFO_DELIMITER); in deserialize()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java1837 String[] deviceInfo = ((String) args[0]).split("-"); in processAtXapl() local
1838 if (deviceInfo.length != 3) { in processAtXapl()
1839 Log.w(TAG, "processAtXapl() deviceInfo length " + deviceInfo.length + " is wrong"); in processAtXapl()
1842 String vendorId = deviceInfo[0]; in processAtXapl()
1843 String productId = deviceInfo[1]; in processAtXapl()
1844 String version = deviceInfo[2]; in processAtXapl()