/packages/apps/TV/tuner/src/com/android/tv/tuner/ |
D | TunerHal.java | 66 mDeliverySystemType = nativeGetDeliverySystemType(getDeviceId()); in getDeliverySystemTypesFromDevice() 69 mDeliverySystemTypes = nativeGetDeliverySystemTypes(getDeviceId()); in getDeliverySystemTypesFromDevice() 123 nativeCloseAllPidFilters(getDeviceId()); in tuneInternal() 162 tuneStatus = nativeTune(getDeviceId(), frequency, modulation, timeout_ms); in tuneInternal() 166 tuneStatus = nativeTune(getDeviceId(), deliverySystemType, frequency, modulation, in tuneInternal() 211 nativeAddPidFilter(getDeviceId(), pid, filterType); in addPidFilter() 237 nativeCloseAllPidFilters(getDeviceId()); in stopTune() 239 nativeStopTune(getDeviceId()); in stopTune() 248 nativeSetHasPendingTune(getDeviceId(), hasPendingTune); in setHasPendingTune() 277 return nativeWriteInBuffer(getDeviceId(), javaBuffer, javaBufferSize); in readTsStream()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/activity/ |
D | AssociatedDeviceViewModel.java | 150 mAssociatedDeviceManager.removeAssociatedDevice(device.getDeviceId()); in removeCurrentDevice() 164 mAssociatedDeviceManager.disableAssociatedDeviceConnection(device.getDeviceId()); in toggleConnectionStatusForCurrentDevice() 166 mAssociatedDeviceManager.enableAssociatedDeviceConnection(device.getDeviceId()); in toggleConnectionStatusForCurrentDevice() 250 String associatedDeviceId = mAssociatedDevices.get(0).getDeviceId(); in isConnected() 251 String connectedDeviceId = mConnectedDevices.get(0).getDeviceId(); in isConnected() 266 mAssociatedDevices.removeIf(d -> d.getDeviceId().equals(device.getDeviceId())); in addOrUpdateAssociatedDevice() 272 if (mAssociatedDevices.removeIf(d -> d.getDeviceId().equals(device.getDeviceId()))) { in removeAssociatedDevice() 393 mConnectedDevices.removeIf(d -> d.getDeviceId().equals(companionDevice.getDeviceId()));
|
D | AssociatedDeviceDetails.java | 37 mDeviceId = device.getDeviceId(); in AssociatedDeviceDetails() 46 String getDeviceId() { in getDeviceId() method in AssociatedDeviceDetails
|
/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/storage/ |
D | ConnectedDeviceStorageTest.java | 60 device.second.getDeviceId()); in tearDown() 69 assertThat(associatedDevices).containsExactly(addedDevice.getDeviceId()); in getAssociatedDeviceIdsForUser_includesNewlyAddedDevice() 83 mConnectedDeviceStorage.removeAssociatedDevice(mActiveUserId, addedDevice.getDeviceId()); in getAssociatedDeviceIdsForUser_excludesRemovedDevice() 108 mConnectedDeviceStorage.removeAssociatedDevice(mActiveUserId, addedDevice.getDeviceId()); in getAssociatedDevicesForUser_excludesRemovedDevice() 116 String deviceId = addRandomAssociatedDevice(mActiveUserId).getDeviceId(); in getEncryptionKey_returnsSavedKey() 124 String deviceId = addRandomAssociatedDevice(mActiveUserId).getDeviceId(); in getEncryptionKey_returnsNullForUnrecognizedDeviceId() 138 mConnectedDeviceStorage.saveEncryptionKey(device.getDeviceId(), encryptionKey); in addAssociatedDevice()
|
/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/ |
D | ConnectedDeviceManagerTest.java | 225 assertThat(connectedDevice.getDeviceId()).isEqualTo(deviceId); in connectionCallback_onDeviceConnectedInvokedForNewlyConnectedDevice() 269 assertThat(deviceCaptor.getValue().getDeviceId()).isEqualTo(deviceId); in connectionCallback_onDeviceDisconnectedInvokedForActiveUserDevice() 321 mConnectedDeviceManager.onMessageReceived(connectedDevice.getDeviceId(), message); in registerDeviceCallback_blacklistsDuplicateRecipientId() 347 mConnectedDeviceManager.onSecureChannelEstablished(connectedDevice.getDeviceId(), in deviceCallback_onSecureChannelEstablishedInvoked() 362 mConnectedDeviceManager.onSecureChannelEstablished(connectedDevice.getDeviceId(), in deviceCallback_onSecureChannelEstablishedNotInvokedWithSecondBleManager() 367 mConnectedDeviceManager.onSecureChannelEstablished(connectedDevice.getDeviceId(), in deviceCallback_onSecureChannelEstablishedNotInvokedWithSecondBleManager() 384 mConnectedDeviceManager.onMessageReceived(connectedDevice.getDeviceId(), message); in deviceCallback_onMessageReceivedInvokedForSameRecipientId() 401 mConnectedDeviceManager.onMessageReceived(connectedDevice.getDeviceId(), message); in deviceCallback_onMessageReceivedNotInvokedForDifferentRecipientId() 414 mConnectedDeviceManager.deviceErrorOccurred(connectedDevice.getDeviceId()); in deviceCallback_onDeviceErrorInvokedOnChannelError() 431 mConnectedDeviceManager.onSecureChannelEstablished(connectedDevice.getDeviceId(), in unregisterDeviceCallback_removesCallbackAndNotInvoked() [all …]
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/ui/ |
D | TrustedDeviceDetailFragment.java | 122 if (!device.getDeviceId().equals(mAssociatedDevice.getDeviceId())) { in setTrustedDevices() 135 if (device.getDeviceId().equals(mAssociatedDevice.getDeviceId())) { in observeViewModel() 159 if (device.getDeviceId().equals(mAssociatedDevice.getDeviceId())) { in observeViewModel()
|
D | TrustedDeviceActivity.java | 259 if (!isCompanionDeviceConnected(device.getDeviceId())) { in attemptInitiatingEnrollment() 265 mTrustedDeviceManager.initiateEnrollment(device.getDeviceId()); in attemptInitiatingEnrollment() 288 if (device.getDeviceId().equals(deviceId)) { in isCompanionDeviceConnected() 398 if (!addedDevice.getDeviceId().equals(device.getDeviceId())) { in showEnrollmentSuccessToast()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/notificationmsg/ |
D | NotificationMsgFeature.java | 78 if (!isSecureDeviceForActiveUser(device.getDeviceId())) { in onMessageReceived() 100 if (!isSecureDeviceForActiveUser(device.getDeviceId())) return; in onDeviceError() 106 if (!isSecureDeviceForActiveUser(device.getDeviceId())) return; in onDeviceDisconnected() 108 mNotificationMsgDelegate.onDeviceDisconnected(device.getDeviceId()); in onDeviceDisconnected() 128 && mSecureDeviceForActiveUser.getDeviceId().equals(deviceId); in isSecureDeviceForActiveUser()
|
D | NotificationMsgService.java | 147 mNotificationMsgFeature.sendData(key.getDeviceId(), in handleDismissNotificationIntent() 157 mNotificationMsgFeature.sendData(key.getDeviceId(), in handleMarkAsReadIntent() 169 mNotificationMsgFeature.sendData(key.getDeviceId(), in handleReplyIntent()
|
D | NotificationMsgDelegate.java | 87 initializeNewMessage(device.getDeviceId(), message.getMessage(), notificationKey); in onMessageReceived() 177 String deviceAddress = device.getDeviceId(); in initializeNewConversation() 189 createConversationNotificationInfo(device.getDeviceName(), device.getDeviceId(), in initializeNewConversation()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/dvb/ |
D | DvbDeviceAccessor.java | 177 mId = (((long) getAdapterId()) << 32) | (getDeviceId() & 0xffffffffL); in DvbDeviceInfoWrapper() 199 public int getDeviceId() { in getDeviceId() method in DvbDeviceAccessor.DvbDeviceInfoWrapper 223 return getDeviceId() - another.getDeviceId(); in compareTo() 232 getDeviceId()); in toString()
|
D | DvbTunerHal.java | 130 public long getDeviceId() { in getDeviceId() method in DvbTunerHal 188 signalStrength = nativeGetSignalStrength(getDeviceId()); in getSignalStrength()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/ |
D | HdHomeRunDevice.java | 90 public int getDeviceId() { in getDeviceId() method in HdHomeRunDevice 145 hash = hash * 31 + getDeviceId(); in hashCode() 159 && getDeviceId() == rhs.getDeviceId() in equals()
|
D | HdHomeRunTunerManager.java | 71 if (!mUsedDevices.contains(device) && scannedDeviceId == device.getDeviceId()) { in acquireDevice() 73 device.getDeviceId(), device.getIpAddress(), device.getTunerIndex())) { in acquireDevice() 86 device.getDeviceId(), device.getIpAddress(), device.getTunerIndex())) { in acquireDevice() 115 sp.edit().putInt(PREF_KEY_SCANNED_DEVICE_ID, device.getDeviceId()).apply(); in markAsScannedDevice()
|
D | HdHomeRunTunerHal.java | 68 mDeliverySystemType = nativeGetDeliverySystemType(getDeviceId()); in openFirstAvailable() 89 public long getDeviceId() { in getDeviceId() method in HdHomeRunTunerHal 90 return mDevice == null ? 0 : mDevice.getDeviceId(); in getDeviceId()
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ |
D | ConnectedDeviceManager.java | 213 removeConnectedDevice(device.mConnectedDevice.getDeviceId(), device.mCarBleManager); in reset() 304 if (mConnectedDevices.containsKey(userDevice.getDeviceId())) { in connectToActiveUserDeviceInternal() 311 mPeripheralManager.connectToDevice(UUID.fromString(userDevice.getDeviceId()), in connectToActiveUserDeviceInternal() 413 logd(TAG, "New callback registered on device " + device.getDeviceId() + " for recipient " in registerDeviceCallback() 415 String deviceId = device.getDeviceId(); in registerDeviceCallback() 432 byte[] message = popMissedMessage(recipientId, device.getDeviceId()); in registerDeviceCallback() 493 logd(TAG, "Device callback unregistered on device " + device.getDeviceId() + " for " in unregisterDeviceCallback() 497 mDeviceCallbacks.get(device.getDeviceId()); in unregisterDeviceCallback() 539 String deviceId = device.getDeviceId(); in sendMessage() 643 ConnectedDevice updatedConnectedDevice = new ConnectedDevice(connectedDevice.getDeviceId(), in onSecureChannelEstablished()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/ |
D | TrustedDeviceManager.java | 233 String deviceId = mPendingDevice.getDeviceId(); in onEscrowTokenActivated() 448 TrustedDeviceEntity entity = mDatabase.getTrustedDevice(device.getDeviceId()); in processUnlockMessage() 467 mPendingCredentials = new PendingCredentials(device.getDeviceId(), credentials); in processUnlockMessage() 471 logd(TAG, "Received unlock credentials from trusted device " + device.getDeviceId() in processUnlockMessage() 474 unlockUser(device.getDeviceId(), credentials); in processUnlockMessage() 632 if (trustedDevice.getDeviceId().equals(device.getDeviceId())) {
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/external/ |
D | CompanionDevice.java | 40 this(device.getDeviceId(), device.getDeviceName(), device.isAssociatedWithActiveUser(), in CompanionDevice() 58 public String getDeviceId() { in getDeviceId() method in CompanionDevice 103 return Objects.equals(mDeviceId, companionDevice.getDeviceId()) in equals()
|
D | AssociatedDevice.java | 46 this(device.getDeviceId(), device.getDeviceAddress(), device.getDeviceName(), in AssociatedDevice() 55 public String getDeviceId() { in getDeviceId() method in AssociatedDevice
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/ |
D | RemoteFeature.java | 129 onMessageFailedToSend(device.getDeviceId(), message, true); in sendMessageSecurely() 150 onMessageFailedToSend(device.getDeviceId(), message, true); in sendMessageUnsecurely() 169 if (device.getDeviceId().equals(deviceId)) { in getConnectedDeviceById()
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
D | TelephonyManagerCompat.java | 86 public static String getDeviceId(@Nullable TelephonyManager telephonyManager, int slotId) { in getDeviceId() method in TelephonyManagerCompat 93 return telephonyManager.getDeviceId(slotId); in getDeviceId()
|
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/ |
D | MessageKey.java | 27 super(message.getDeviceId(), message.getHandle()); in MessageKey()
|
D | ConversationKey.java | 39 dest.writeString(getDeviceId()); in writeToParcel()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/storage/ |
D | TrustedDeviceEntity.java | 42 id = trustedDevice.getDeviceId(); in TrustedDeviceEntity()
|
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/ |
D | FakeTunerHal.java | 40 public long getDeviceId() { in getDeviceId() method in FakeTunerHal
|