Home
last modified time | relevance | path

Searched defs:deviceId (Results 1 – 25 of 66) sorted by relevance

123

/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/
DFakeTunerHal.java50 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()
DFileTunerHal.java99 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/
DCarBleManager.java91 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/
DConnectedDeviceManagerTest.java126 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/
Dtunertvinput_jni.cpp41 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/
DTunerHal.java88 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/
DConnectedDeviceManager.java362 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/
DPhysicalKeyboardPreferenceController.java82 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded()
87 public void onInputDeviceRemoved(int deviceId) { in onInputDeviceRemoved()
92 public void onInputDeviceChanged(int deviceId) { in onInputDeviceChanged()
DGameControllerPreferenceController.java104 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded()
109 public void onInputDeviceRemoved(int deviceId) { in onInputDeviceRemoved()
114 public void onInputDeviceChanged(int deviceId) { in onInputDeviceChanged()
DKeyboardLayoutPickerController.java123 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/
DPhysicalKeyboardPreferenceController.java82 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded()
87 public void onInputDeviceRemoved(int deviceId) { in onInputDeviceRemoved()
92 public void onInputDeviceChanged(int deviceId) { in onInputDeviceChanged()
DGameControllerPreferenceController.java104 public void onInputDeviceAdded(int deviceId) { in onInputDeviceAdded()
109 public void onInputDeviceRemoved(int deviceId) { in onInputDeviceRemoved()
114 public void onInputDeviceChanged(int deviceId) { in onInputDeviceChanged()
DKeyboardLayoutPickerController.java123 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/
DIAssociatedDeviceManager.aidl50 void removeAssociatedDevice(in String deviceId); in removeAssociatedDevice()
76 void enableAssociatedDeviceConnection(in String deviceId); in enableAssociatedDeviceConnection()
79 void disableAssociatedDeviceConnection(in String deviceId); in disableAssociatedDeviceConnection()
DAssociationBinder.java122 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/
DHdHomeRunInterface.java46 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()
DHdHomeRunDiscover.java69 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/
DConnectedDeviceStorage.java119 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()
DAssociatedDeviceDao.java35 AssociatedDeviceEntity getAssociatedDevice(String deviceId); in getAssociatedDevice()
54 AssociatedDeviceKeyEntity getAssociatedDeviceKey(String deviceId); in getAssociatedDeviceKey()
DAssociatedDeviceKeyEntity.java37 public AssociatedDeviceKeyEntity(String deviceId, String encryptedKey) { in AssociatedDeviceKeyEntity()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/notificationmsg/
DNotificationMsgFeature.java112 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/
DCompositeKey.java30 protected CompositeKey(String deviceId, String subKey) { in CompositeKey()
56 public boolean matches(String deviceId) { in matches()
DSenderKey.java27 protected SenderKey(String deviceId, String senderName, String keyMetadata) { in SenderKey()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/
DLocalFeature.java99 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()
DRemoteFeature.java111 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()

123