/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/ |
D | FakeTunerHal.java | 50 protected void nativeFinalize(long deviceId) {} in nativeFinalize() 54 long deviceId, int frequency, @ModulationType String modulation, int timeoutMs) { in nativeTune() 59 protected void nativeAddPidFilter(long deviceId, int pid, @FilterType int filterType) {} in nativeAddPidFilter() 62 protected void nativeCloseAllPidFilters(long deviceId) {} in nativeCloseAllPidFilters() 65 protected void nativeStopTune(long deviceId) {} in nativeStopTune() 68 protected int nativeWriteInBuffer(long deviceId, byte[] javaBuffer, int javaBufferSize) { in nativeWriteInBuffer() 73 protected void nativeSetHasPendingTune(long deviceId, boolean hasPendingTune) {} in nativeSetHasPendingTune() 76 protected int nativeGetDeliverySystemType(long deviceId) { in nativeGetDeliverySystemType()
|
D | FileTunerHal.java | 99 protected void nativeFinalize(long deviceId) { in nativeFinalize() 108 long deviceId, int frequency, @ModulationType String modulation, int timeoutMs) { in nativeTune() 142 protected void nativeAddPidFilter(long deviceId, int pid, @FilterType int filterType) { in nativeAddPidFilter() 150 protected void nativeCloseAllPidFilters(long deviceId) { in nativeCloseAllPidFilters() 158 protected void nativeStopTune(long deviceId) { in nativeStopTune() 166 protected int nativeWriteInBuffer(long deviceId, byte[] javaBuffer, int javaBufferSize) { in nativeWriteInBuffer() 212 protected void nativeSetHasPendingTune(long deviceId, boolean hasPendingTune) { in nativeSetHasPendingTune() 220 protected int nativeGetDeliverySystemType(long deviceId) { in nativeGetDeliverySystemType()
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/ |
D | CarBleManager.java | 91 public void sendMessage(@NonNull String deviceId, @NonNull DeviceMessage message) { in sendMessage() 108 String deviceId = device.mDeviceId; in sendMessage() local 158 BleDevice getConnectedDevice(@NonNull String deviceId) { in getConnectedDevice() 184 public abstract void disconnectDevice(@NonNull String deviceId); in disconnectDevice() 222 void onDeviceConnected(@NonNull String deviceId); in onDeviceConnected() 229 void onDeviceDisconnected(@NonNull String deviceId); in onDeviceDisconnected() 236 void onSecureChannelEstablished(@NonNull String deviceId); in onSecureChannelEstablished() 244 void onMessageReceived(@NonNull String deviceId, @NonNull DeviceMessage message); in onMessageReceived() 251 void onSecureChannelError(@NonNull String deviceId); in onSecureChannelError()
|
/packages/apps/Car/libs/connected-device-lib/tests/unit/src/com/android/car/connecteddevice/ |
D | ConnectedDeviceManagerTest.java | 126 String deviceId = connectNewDevice(mMockCentralManager); in getActiveUserConnectedDevices_includesNewlyConnectedDevice() local 136 String deviceId = UUID.randomUUID().toString(); in getActiveUserConnectedDevices_excludesDevicesNotBelongingToActiveUser() local 146 String deviceId = connectNewDevice(mMockCentralManager); in getActiveUserConnectedDevices_reflectsSecureChannelEstablished() local 155 String deviceId = connectNewDevice(mMockCentralManager); in getActiveUserConnectedDevices_excludesDisconnectedDevice() local 162 String deviceId = connectNewDevice(mMockCentralManager); in getActiveUserConnectedDevices_unaffectedByOtherManagerDisconnect() local 178 String deviceId = connectNewDevice(mMockCentralManager); in sendMessageSecurely_sendsEncryptedMessage() local 191 String deviceId = connectNewDevice(mMockCentralManager); in sendMessageSecurely_doesNotSendIfDeviceDisconnected() local 202 String deviceId = connectNewDevice(mMockCentralManager); in sendMessageUnsecurely_sendsMessageWithoutEncryption() local 219 String deviceId = connectNewDevice(mMockCentralManager); in connectionCallback_onDeviceConnectedInvokedForNewlyConnectedDevice() local 236 String deviceId = UUID.randomUUID().toString(); in connectionCallback_onDeviceConnectedNotInvokedDeviceConnectedForDifferentUser() local [all …]
|
/packages/apps/TV/jni/ |
D | tunertvinput_jni.cpp | 41 JNIEnv *, jobject, jlong deviceId) { in Java_com_android_tv_tuner_TunerHal_nativeFinalize() 56 JNIEnv *env, jobject thiz, jlong deviceId, jint frequency, in Java_com_android_tv_tuner_TunerHal_nativeTune__JILjava_lang_String_2I() 78 JNIEnv *env, jobject thiz, jlong deviceId, jint deliverySystemType, in Java_com_android_tv_tuner_TunerHal_nativeTune__JIILjava_lang_String_2I() 101 jlong deviceId) { in Java_com_android_tv_tuner_TunerHal_nativeCloseAllPidFilters() 114 JNIEnv *, jobject, jlong deviceId) { in Java_com_android_tv_tuner_TunerHal_nativeStopTune() 128 JNIEnv *, jobject, jlong deviceId) { in Java_com_android_tv_tuner_TunerHal_nativeGetSignalStrength() 144 JNIEnv *env, jobject thiz, jlong deviceId, jint pid, jint filterType) { in Java_com_android_tv_tuner_TunerHal_nativeAddPidFilter() 157 JNIEnv *env, jobject thiz, jlong deviceId, jbyteArray javaBuffer, in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer() 193 JNIEnv *, jobject, jlong deviceId, jboolean hasPendingTune) { in Java_com_android_tv_tuner_TunerHal_nativeSetHasPendingTune() 208 jlong deviceId) { in Java_com_android_tv_tuner_TunerHal_nativeGetDeliverySystemType() [all …]
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/ |
D | TunerHal.java | 88 protected native void nativeFinalize(long deviceId); in nativeFinalize() 190 long deviceId, int frequency, in nativeTune() 194 long deviceId, int deliverySystemType, int frequency, in nativeTune() 217 protected native void nativeAddPidFilter(long deviceId, int pid, @FilterType int filterType); in nativeAddPidFilter() 219 protected native void nativeCloseAllPidFilters(long deviceId); in nativeCloseAllPidFilters() 221 protected native void nativeSetHasPendingTune(long deviceId, boolean hasPendingTune); in nativeSetHasPendingTune() 223 protected native int nativeGetDeliverySystemType(long deviceId); in nativeGetDeliverySystemType() 225 protected native int[] nativeGetDeliverySystemTypes(long deviceId); in nativeGetDeliverySystemTypes() 227 protected native int nativeGetSignalStrength(long deviceId); in nativeGetSignalStrength() 261 protected native void nativeStopTune(long deviceId); in nativeStopTune() [all …]
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ |
D | ConnectedDeviceManager.java | 362 public void removeActiveUserAssociatedDevice(@NonNull String deviceId) { in removeActiveUserAssociatedDevice() 372 public void enableAssociatedDeviceConnection(@NonNull String deviceId) { in enableAssociatedDeviceConnection() 384 public void disableAssociatedDeviceConnection(@NonNull String deviceId) { in disableAssociatedDeviceConnection() 391 private void disconnectDevice(String deviceId) { in disconnectDevice() 415 String deviceId = device.getDeviceId(); in registerDeviceCallback() local 456 private void saveMissedMessage(@NonNull String deviceId, @NonNull UUID recipientId, in saveMissedMessage() 475 private byte[] popMissedMessage(@NonNull UUID recipientId, @NonNull String deviceId) { in popMissedMessage() 539 String deviceId = device.getDeviceId(); in sendMessage() local 563 private void blacklistRecipient(@NonNull String deviceId, @NonNull UUID recipientId) { in blacklistRecipient() 591 void addConnectedDevice(@NonNull String deviceId, @NonNull CarBleManager bleManager) { in addConnectedDevice() [all …]
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | PhysicalKeyboardPreferenceController.java | 82 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded() 87 public void onInputDeviceRemoved(int deviceId) { in onInputDeviceRemoved() 92 public void onInputDeviceChanged(int deviceId) { in onInputDeviceChanged()
|
D | GameControllerPreferenceController.java | 104 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded() 109 public void onInputDeviceRemoved(int deviceId) { in onInputDeviceRemoved() 114 public void onInputDeviceChanged(int deviceId) { in onInputDeviceChanged()
|
D | KeyboardLayoutPickerController.java | 123 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded() 128 public void onInputDeviceRemoved(int deviceId) { in onInputDeviceRemoved() 135 public void onInputDeviceChanged(int deviceId) { in onInputDeviceChanged()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/ |
D | PhysicalKeyboardPreferenceController.java | 82 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded() 87 public void onInputDeviceRemoved(int deviceId) { in onInputDeviceRemoved() 92 public void onInputDeviceChanged(int deviceId) { in onInputDeviceChanged()
|
D | GameControllerPreferenceController.java | 104 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded() 109 public void onInputDeviceRemoved(int deviceId) { in onInputDeviceRemoved() 114 public void onInputDeviceChanged(int deviceId) { in onInputDeviceChanged()
|
D | KeyboardLayoutPickerController.java | 123 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded() 128 public void onInputDeviceRemoved(int deviceId) { in onInputDeviceRemoved() 135 public void onInputDeviceChanged(int deviceId) { in onInputDeviceChanged()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/internal/association/ |
D | IAssociatedDeviceManager.aidl | 50 void removeAssociatedDevice(in String deviceId); in removeAssociatedDevice() 76 void enableAssociatedDeviceConnection(in String deviceId); in enableAssociatedDeviceConnection() 79 void disableAssociatedDeviceConnection(in String deviceId); in disableAssociatedDeviceConnection()
|
D | AssociationBinder.java | 122 public void removeAssociatedDevice(String deviceId) { in removeAssociatedDevice() 237 public void enableAssociatedDeviceConnection(String deviceId) { in enableAssociatedDeviceConnection() 242 public void disableAssociatedDeviceConnection(String deviceId) { in disableAssociatedDeviceConnection()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/ |
D | HdHomeRunInterface.java | 46 public static Set<HdHomeRunDevice> scanDevices(Integer deviceId) { in scanDevices() 102 public static boolean isDeviceAvailable(int deviceId, int deviceIp, int tunerIndex) { in isDeviceAvailable() 120 private static String fetchDeviceModel(int deviceId, int deviceIp) { in fetchDeviceModel()
|
D | HdHomeRunDiscover.java | 69 int targetIp, int deviceType, int deviceId, int maxCount) { in findDevices() 196 private int send(int targetIp, int deviceType, int deviceId) { in send() 202 private int sendWildcardIp(int deviceType, int deviceId) { in sendWildcardIp() 222 private int sendTargetIp(int targetIp, int deviceType, int deviceId) { in sendTargetIp() 255 private boolean isObsoleteDevice(int deviceId) { in isObsoleteDevice() 317 private boolean send(int targetIp, int deviceType, int deviceId) { in send()
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/storage/ |
D | ConnectedDeviceStorage.java | 119 public byte[] getEncryptionKey(@NonNull String deviceId) { in getEncryptionKey() 144 public void saveEncryptionKey(@NonNull String deviceId, @NonNull byte[] encryptionKey) { in saveEncryptionKey() 405 public void updateAssociatedDeviceName(@NonNull String deviceId, @NonNull String name) { in updateAssociatedDeviceName() 426 public void removeAssociatedDevice(int userId, @NonNull String deviceId) { in removeAssociatedDevice() 443 public void removeAssociatedDeviceForActiveUser(@NonNull String deviceId) { in removeAssociatedDeviceForActiveUser() 444 removeAssociatedDevice(ActivityManager.getCurrentUser(), deviceId); in removeAssociatedDeviceForActiveUser() local 453 public void updateAssociatedDeviceConnectionEnabled(@NonNull String deviceId, in updateAssociatedDeviceConnectionEnabled()
|
D | AssociatedDeviceDao.java | 35 AssociatedDeviceEntity getAssociatedDevice(String deviceId); in getAssociatedDevice() 54 AssociatedDeviceKeyEntity getAssociatedDeviceKey(String deviceId); in getAssociatedDeviceKey()
|
D | AssociatedDeviceKeyEntity.java | 37 public AssociatedDeviceKeyEntity(String deviceId, String encryptedKey) { in AssociatedDeviceKeyEntity()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/notificationmsg/ |
D | NotificationMsgFeature.java | 112 protected void sendData(@NonNull String deviceId, @NonNull byte[] message) { in sendData() 122 protected void onMessageFailedToSend(String deviceId, byte[] message, boolean isTransient) { in onMessageFailedToSend() 126 private boolean isSecureDeviceForActiveUser(String deviceId) { in isSecureDeviceForActiveUser()
|
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/ |
D | CompositeKey.java | 30 protected CompositeKey(String deviceId, String subKey) { in CompositeKey() 56 public boolean matches(String deviceId) { in matches()
|
D | SenderKey.java | 27 protected SenderKey(String deviceId, String senderName, String keyMetadata) { in SenderKey()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/ |
D | LocalFeature.java | 99 public void sendMessageSecurely(@NonNull String deviceId, @NonNull byte[] message) { in sendMessageSecurely() 117 public void sendMessageUnsecurely(@NonNull String deviceId, @NonNull byte[] message) { in sendMessageUnsecurely() 139 public ConnectedDevice getConnectedDeviceById(@NonNull String deviceId) { in getConnectedDeviceById() 172 protected void onMessageFailedToSend(@NonNull String deviceId, @NonNull byte[] message) { } in onMessageFailedToSend()
|
D | RemoteFeature.java | 111 public void sendMessageSecurely(@NonNull String deviceId, @NonNull byte[] message) { in sendMessageSecurely() 134 public void sendMessageUnsecurely(@NonNull String deviceId, @NonNull byte[] message) { in sendMessageUnsecurely() 159 public CompanionDevice getConnectedDeviceById(@NonNull String deviceId) { in getConnectedDeviceById() 196 protected void onMessageFailedToSend(@NonNull String deviceId, @NonNull byte[] message, in onMessageFailedToSend()
|