/aosp12/system/bt/binder/android/bluetooth/ |
H A D | IBluetoothHeadsetClient.aidl | 31 boolean connect(in BluetoothDevice device, in AttributionSource attributionSource); in connect() 33 boolean disconnect(in BluetoothDevice device, in AttributionSource attributionSource); in disconnect() 40 int getConnectionState(in BluetoothDevice device, in AttributionSource attributionSource); in getConnectionState() 44 int getConnectionPolicy(in BluetoothDevice device, in AttributionSource attributionSource); in getConnectionPolicy() 49 boolean stopVoiceRecognition(in BluetoothDevice device, in AttributionSource attributionSource); in stopVoiceRecognition() 54 Bundle getCurrentAgEvents(in BluetoothDevice device, in AttributionSource attributionSource); in getCurrentAgEvents() 59 boolean holdCall(in BluetoothDevice device, in AttributionSource attributionSource); in holdCall() 61 boolean rejectCall(in BluetoothDevice device, in AttributionSource attributionSource); in rejectCall() 79 int getAudioState(in BluetoothDevice device, in AttributionSource attributionSource); in getAudioState() 81 boolean connectAudio(in BluetoothDevice device, in AttributionSource attributionSource); in connectAudio() [all …]
|
H A D | IBluetoothA2dp.aidl | 34 boolean connect(in BluetoothDevice device); in connect() 36 … boolean connectWithAttribution(in BluetoothDevice device, in AttributionSource attributionSource); in connectWithAttribution() 39 boolean disconnect(in BluetoothDevice device); in disconnect() 41 …boolean disconnectWithAttribution(in BluetoothDevice device, in AttributionSource attributionSourc… in disconnectWithAttribution() 54 int getConnectionState(in BluetoothDevice device); in getConnectionState() 58 boolean setActiveDevice(in BluetoothDevice device, in AttributionSource attributionSource); in setActiveDevice() 64 int getConnectionPolicy(in BluetoothDevice device, in AttributionSource attributionSource); in getConnectionPolicy() 70 boolean isA2dpPlaying(in BluetoothDevice device, in AttributionSource attributionSource); in isA2dpPlaying() 80 int supportsOptionalCodecs(in BluetoothDevice device, in AttributionSource attributionSource); in supportsOptionalCodecs() 82 int getOptionalCodecsEnabled(in BluetoothDevice device, in AttributionSource attributionSource); in getOptionalCodecsEnabled() [all …]
|
H A D | IBluetoothHidHost.aidl | 30 boolean connect(in BluetoothDevice device, in AttributionSource attributionSource); in connect() 32 boolean disconnect(in BluetoothDevice device, in AttributionSource attributionSource); in disconnect() 38 int getConnectionState(in BluetoothDevice device, in AttributionSource attributionSource); in getConnectionState() 40 …boolean setConnectionPolicy(in BluetoothDevice device, int connectionPolicy, in AttributionSource … in setConnectionPolicy() 42 int getConnectionPolicy(in BluetoothDevice device, in AttributionSource attributionSource); in getConnectionPolicy() 44 boolean getProtocolMode(in BluetoothDevice device, in AttributionSource attributionSource); in getProtocolMode() 46 boolean virtualUnplug(in BluetoothDevice device, in AttributionSource attributionSource); in virtualUnplug() 48 …boolean setProtocolMode(in BluetoothDevice device, int protocolMode, in AttributionSource attribut… in setProtocolMode() 54 …boolean sendData(in BluetoothDevice device, String report, in AttributionSource attributionSource); in sendData() 56 boolean getIdleTime(in BluetoothDevice device, in AttributionSource attributionSource); in getIdleTime() [all …]
|
H A D | IBluetoothHeadset.aidl | 42 int getConnectionState(in BluetoothDevice device); in getConnectionState() 46 … boolean startVoiceRecognition(in BluetoothDevice device, in AttributionSource attributionSource); in startVoiceRecognition() 48 boolean stopVoiceRecognition(in BluetoothDevice device, in AttributionSource attributionSource); in stopVoiceRecognition() 50 boolean isAudioConnected(in BluetoothDevice device, in AttributionSource attributionSource); in isAudioConnected() 57 boolean connect(in BluetoothDevice device); in connect() 59 … boolean connectWithAttribution(in BluetoothDevice device, in AttributionSource attributionSource); in connectWithAttribution() 62 boolean disconnect(in BluetoothDevice device); in disconnect() 68 int getConnectionPolicy(in BluetoothDevice device, in AttributionSource attributionSource); in getConnectionPolicy() 70 int getAudioState(in BluetoothDevice device, in AttributionSource attributionSource); in getAudioState() 92 boolean setActiveDevice(in BluetoothDevice device, in AttributionSource attributionSource); in setActiveDevice() [all …]
|
H A D | IBluetoothMapClient.aidl | 31 boolean connect(in BluetoothDevice device, in AttributionSource attributionSource); in connect() 33 boolean disconnect(in BluetoothDevice device, in AttributionSource attributionSource); in disconnect() 35 boolean isConnected(in BluetoothDevice device, in AttributionSource attributionSource); in isConnected() 41 int getConnectionState(in BluetoothDevice device, in AttributionSource attributionSource); in getConnectionState() 43 …boolean setConnectionPolicy(in BluetoothDevice device,in int connectionPolicy, in AttributionSourc… in setConnectionPolicy() 45 int getConnectionPolicy(in BluetoothDevice device, in AttributionSource attributionSource); in getConnectionPolicy() 47 …boolean sendMessage(in BluetoothDevice device, in Uri[] contacts, in String message, in PendingIn… in sendMessage() 49 boolean getUnreadMessages(in BluetoothDevice device, in AttributionSource attributionSource); in getUnreadMessages() 51 int getSupportedFeatures(in BluetoothDevice device, in AttributionSource attributionSource); in getSupportedFeatures() 53 …boolean setMessageStatus(in BluetoothDevice device, in String handle, in int status, in Attributio… in setMessageStatus()
|
H A D | IBluetooth.aidl | 105 boolean cancelBondProcess(in BluetoothDevice device, in AttributionSource attributionSource); in cancelBondProcess() 107 boolean removeBond(in BluetoothDevice device, in AttributionSource attributionSource); in removeBond() 109 int getBondState(in BluetoothDevice device, in AttributionSource attributionSource); in getBondState() 116 int getConnectionState(in BluetoothDevice device); in getConnectionState() 120 String getRemoteName(in BluetoothDevice device, in AttributionSource attributionSource); in getRemoteName() 122 int getRemoteType(in BluetoothDevice device, in AttributionSource attributionSource); in getRemoteType() 125 String getRemoteAlias(in BluetoothDevice device); in getRemoteAlias() 131 int getRemoteClass(in BluetoothDevice device, in AttributionSource attributionSource); in getRemoteClass() 136 boolean fetchRemoteUuids(in BluetoothDevice device); in fetchRemoteUuids() 142 int getBatteryLevel(in BluetoothDevice device, in AttributionSource attributionSource); in getBatteryLevel() [all …]
|
H A D | IBluetoothHidDeviceCallback.aidl | 23 void onAppStatusChanged(in BluetoothDevice device, boolean registered); in onAppStatusChanged() 24 void onConnectionStateChanged(in BluetoothDevice device, in int state); in onConnectionStateChanged() 25 void onGetReport(in BluetoothDevice device, in byte type, in byte id, in int bufferSize); in onGetReport() 26 void onSetReport(in BluetoothDevice device, in byte type, in byte id, in byte[] data); in onSetReport() 27 void onSetProtocol(in BluetoothDevice device, in byte protocol); in onSetProtocol() 28 void onInterruptData(in BluetoothDevice device, in byte reportId, in byte[] data); in onInterruptData() 29 void onVirtualCableUnplug(in BluetoothDevice device); in onVirtualCableUnplug()
|
H A D | IBluetoothHearingAid.aidl | 30 boolean connect(in BluetoothDevice device, in AttributionSource attributionSource); in connect() 32 boolean disconnect(in BluetoothDevice device, in AttributionSource attributionSource); in disconnect() 38 int getConnectionState(in BluetoothDevice device, in AttributionSource attributionSource); in getConnectionState() 40 boolean setActiveDevice(in BluetoothDevice device, in AttributionSource attributionSource); in setActiveDevice() 44 …boolean setConnectionPolicy(in BluetoothDevice device, int connectionPolicy, in AttributionSource … in setConnectionPolicy() 46 int getConnectionPolicy(in BluetoothDevice device, in AttributionSource attributionSource); in getConnectionPolicy() 52 long getHiSyncId(in BluetoothDevice device, in AttributionSource attributionSource); in getHiSyncId() 57 int getDeviceSide(in BluetoothDevice device, in AttributionSource attributionSource); in getDeviceSide() 62 int getDeviceMode(in BluetoothDevice device, in AttributionSource attributionSource); in getDeviceMode()
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
H A D | BluetoothProfileDeviceManagerTest.java | 220 BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(address); in makeDeviceList() local 258 private void mockDeviceAvailability(BluetoothDevice device, boolean available) in mockDeviceAvailability() 278 private void captureDevicePriority(BluetoothDevice device) throws Exception { in captureDevicePriority() 293 private void mockDevicePriority(BluetoothDevice device, int priority) throws Exception { in mockDevicePriority() 304 private void sendBondStateChanged(BluetoothDevice device, int newState) { in sendBondStateChanged() 312 private void sendDeviceUuids(BluetoothDevice device, ParcelUuid[] uuids) { in sendDeviceUuids() 320 private void sendConnectionStateChanged(BluetoothDevice device, int newState) { in sendConnectionStateChanged() 540 BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(SMALL_DEVICE_LIST.get(1)); in testRemoveDeviceMiddle_deviceNoLongerInPriorityList() local 580 BluetoothDevice device = mBluetoothAdapter.getRemoteDevice("10:20:30:40:50:60"); in testRemoveDeviceNotInList_priorityListUnchanged() local 714 BluetoothDevice device = mBluetoothAdapter.getRemoteDevice("10:20:30:40:50:60"); in testSetConnectionPriorityNewDevice_listOrderedCorrectly() local [all …]
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
H A D | HeadsetClientService.java | 552 public boolean connect(BluetoothDevice device) { in connect() 578 public boolean disconnect(BluetoothDevice device) { in disconnect() 680 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 685 boolean startVoiceRecognition(BluetoothDevice device) { in startVoiceRecognition() 699 boolean stopVoiceRecognition(BluetoothDevice device) { in stopVoiceRecognition() 719 public int getAudioState(BluetoothDevice device) { in getAudioState() 729 boolean connectAudio(BluetoothDevice device) { in connectAudio() 746 boolean disconnectAudio(BluetoothDevice device) { in disconnectAudio() 760 boolean holdCall(BluetoothDevice device) { in holdCall() 777 boolean acceptCall(BluetoothDevice device, int flag) { in acceptCall() [all …]
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
H A D | A2dpService.java | 245 public boolean connect(BluetoothDevice device) { in connect() 296 public boolean disconnect(BluetoothDevice device) { in disconnect() 439 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 514 public boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice() 608 private boolean isActiveDevice(BluetoothDevice device) { in isActiveDevice() 661 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 681 boolean isA2dpPlaying(BluetoothDevice device) { in isA2dpPlaying() 912 BluetoothDevice device = stackEvent.device; in messageFromNative() local 1091 private void removeStateMachine(BluetoothDevice device) { in removeStateMachine() 1239 public boolean connect(BluetoothDevice device) { in connect() [all …]
|
/aosp12/packages/modules/adb/ |
H A D | benchmark_device.py | 26 def lock_min(device): argument 34 def lock_max(device): argument 42 def unlock(device): argument 61 def benchmark_sink(device=None, size_mb=100): argument 80 def benchmark_source(device=None, size_mb=100): argument 96 def benchmark_push(device=None, file_size_mb=100): argument 115 def benchmark_pull(device=None, file_size_mb=100): argument 133 def benchmark_shell(device=None, file_size_mb=100): argument
|
/aosp12/hardware/qcom/camera/msm8998/QCamera2/HAL/wrapper/ |
H A D | QualcommCamera.cpp | 131 camera_device *device = NULL; in camera_device_open() local 211 void set_CallBacks(struct camera_device * device, in set_CallBacks() 253 int start_preview(struct camera_device * device) in start_preview() 265 void stop_preview(struct camera_device * device) in stop_preview() 274 int preview_enabled(struct camera_device * device) in preview_enabled() 337 int auto_focus(struct camera_device * device) in auto_focus() 359 int take_picture(struct camera_device * device) in take_picture() 370 int cancel_picture(struct camera_device * device) in cancel_picture() 416 int send_command(struct camera_device * device, in send_command() 428 void release(struct camera_device * device) in release() [all …]
|
/aosp12/frameworks/base/core/java/android/companion/ |
H A D | BluetoothDeviceFilterUtils.java | 55 static boolean matchesAddress(String deviceAddress, BluetoothDevice device) { in matchesAddress() 63 List<ParcelUuid> serviceUuidMasks, BluetoothDevice device) { in matchesServiceUuids() 75 BluetoothDevice device) { in matchesServiceUuid() 86 static boolean matchesName(@Nullable Pattern namePattern, BluetoothDevice device) { in matchesName() 100 static boolean matchesName(@Nullable Pattern namePattern, ScanResult device) { in matchesName() 115 boolean result, BluetoothDevice device, Object criteria) { in debugLogMatchResult() 120 boolean result, ScanResult device, Object criteria) { in debugLogMatchResult() 125 public static String getDeviceDisplayNameInternal(@NonNull BluetoothDevice device) { in getDeviceDisplayNameInternal() 130 public static String getDeviceDisplayNameInternal(@NonNull ScanResult device) { in getDeviceDisplayNameInternal() 135 public static String getDeviceMacAddress(@NonNull Parcelable device) { in getDeviceMacAddress()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/ |
H A D | HearingAidService.java | 238 public boolean connect(BluetoothDevice device) { in connect() 306 public boolean disconnect(BluetoothDevice device) { in disconnect() 376 public boolean okToConnect(BluetoothDevice device) { in okToConnect() 465 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 523 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 535 long getHiSyncId(BluetoothDevice device) { in getHiSyncId() 544 int getCapabilities(BluetoothDevice device) { in getCapabilities() 553 public boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice() 619 BluetoothDevice device = stackEvent.device; in messageFromNative() local 632 BluetoothDevice device = stackEvent.device; in messageFromNative() local [all …]
|
/aosp12/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
H A D | gr_device_impl.cpp | 103 void GrallocImpl::GetCapabilities(struct gralloc1_device *device, uint32_t *out_count, in GetCapabilities() 176 gralloc1_error_t GrallocImpl::Dump(gralloc1_device_t *device, uint32_t *out_size, in Dump() 200 gralloc1_error_t GrallocImpl::CheckDeviceAndHandle(gralloc1_device_t *device, in CheckDeviceAndHandle() 211 gralloc1_error_t GrallocImpl::CreateBufferDescriptor(gralloc1_device_t *device, in CreateBufferDescriptor() 220 gralloc1_error_t GrallocImpl::DestroyBufferDescriptor(gralloc1_device_t *device, in DestroyBufferDescriptor() 229 gralloc1_error_t GrallocImpl::SetConsumerUsage(gralloc1_device_t *device, in SetConsumerUsage() 241 gralloc1_error_t GrallocImpl::SetBufferDimensions(gralloc1_device_t *device, in SetBufferDimensions() 254 gralloc1_error_t GrallocImpl::SetColorFormat(gralloc1_device_t *device, in SetColorFormat() 266 gralloc1_error_t GrallocImpl::SetLayerCount(gralloc1_device_t *device, in SetLayerCount() 279 gralloc1_error_t GrallocImpl::SetProducerUsage(gralloc1_device_t *device, in SetProducerUsage() [all …]
|
/aosp12/hardware/qcom/display/msm8909/gralloc/ |
H A D | gr_device_impl.cpp | 103 void GrallocImpl::GetCapabilities(struct gralloc1_device *device, uint32_t *out_count, in GetCapabilities() 176 gralloc1_error_t GrallocImpl::Dump(gralloc1_device_t *device, uint32_t *out_size, in Dump() 200 gralloc1_error_t GrallocImpl::CheckDeviceAndHandle(gralloc1_device_t *device, in CheckDeviceAndHandle() 211 gralloc1_error_t GrallocImpl::CreateBufferDescriptor(gralloc1_device_t *device, in CreateBufferDescriptor() 220 gralloc1_error_t GrallocImpl::DestroyBufferDescriptor(gralloc1_device_t *device, in DestroyBufferDescriptor() 229 gralloc1_error_t GrallocImpl::SetConsumerUsage(gralloc1_device_t *device, in SetConsumerUsage() 241 gralloc1_error_t GrallocImpl::SetBufferDimensions(gralloc1_device_t *device, in SetBufferDimensions() 254 gralloc1_error_t GrallocImpl::SetColorFormat(gralloc1_device_t *device, in SetColorFormat() 266 gralloc1_error_t GrallocImpl::SetLayerCount(gralloc1_device_t *device, in SetLayerCount() 279 gralloc1_error_t GrallocImpl::SetProducerUsage(gralloc1_device_t *device, in SetProducerUsage() [all …]
|
/aosp12/hardware/google/gchips/gralloc3/src/ |
H A D | mali_gralloc_public_interface.cpp | 41 static void mali_gralloc_dump(gralloc1_device_t *device, uint32_t *outSize, char *outBuffer) in mali_gralloc_dump() 105 static int32_t mali_gralloc_get_backing_store(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc_get_backing_store() 114 static int32_t mali_gralloc_get_consumer_usage(gralloc1_device_t *device, buffer_handle_t buffer, in mali_gralloc_get_consumer_usage() 163 int32_t mali_gralloc_allocate(gralloc1_device_t *device, uint32_t numDescriptors, in mali_gralloc_allocate() 209 static int32_t mali_gralloc_retain(gralloc1_device_t *device, buffer_handle_t buffer) in mali_gralloc_retain() 227 static int32_t mali_gralloc_release(gralloc1_device_t *device, buffer_handle_t buffer) in mali_gralloc_release() 253 static int32_t mali_gralloc1_get_num_flex_planes(const gralloc1_device_t * const device, in mali_gralloc1_get_num_flex_planes() 300 static int32_t mali_gralloc1_lock_async(gralloc1_device_t *device, in mali_gralloc1_lock_async() 436 static int32_t mali_gralloc1_unlock_async(const gralloc1_device_t * const device, in mali_gralloc1_unlock_async() 463 static int32_t mali_gralloc1_set_layer_count(gralloc1_device_t* device, in mali_gralloc1_set_layer_count() [all …]
|
/aosp12/hardware/qcom/display/msm8996/libgralloc1/ |
H A D | gr_device_impl.cpp | 104 void GrallocImpl::GetCapabilities(struct gralloc1_device *device, uint32_t *out_count, in GetCapabilities() 183 gralloc1_error_t GrallocImpl::Dump(gralloc1_device_t *device, uint32_t *out_size, in Dump() 195 gralloc1_error_t GrallocImpl::CheckDeviceAndHandle(gralloc1_device_t *device, in CheckDeviceAndHandle() 206 gralloc1_error_t GrallocImpl::CreateBufferDescriptor(gralloc1_device_t *device, in CreateBufferDescriptor() 215 gralloc1_error_t GrallocImpl::DestroyBufferDescriptor(gralloc1_device_t *device, in DestroyBufferDescriptor() 224 gralloc1_error_t GrallocImpl::SetConsumerUsage(gralloc1_device_t *device, in SetConsumerUsage() 236 gralloc1_error_t GrallocImpl::SetBufferDimensions(gralloc1_device_t *device, in SetBufferDimensions() 249 gralloc1_error_t GrallocImpl::SetColorFormat(gralloc1_device_t *device, in SetColorFormat() 261 gralloc1_error_t GrallocImpl::SetLayerCount(gralloc1_device_t *device, in SetLayerCount() 274 gralloc1_error_t GrallocImpl::SetProducerUsage(gralloc1_device_t *device, in SetProducerUsage() [all …]
|
/aosp12/hardware/qcom/display/msm8998/libgralloc1/ |
H A D | gr_device_impl.cpp | 110 void GrallocImpl::GetCapabilities(struct gralloc1_device *device, uint32_t *out_count, in GetCapabilities() 189 gralloc1_error_t GrallocImpl::Dump(gralloc1_device_t *device, uint32_t *out_size, in Dump() 213 gralloc1_error_t GrallocImpl::CheckDeviceAndHandle(gralloc1_device_t *device, in CheckDeviceAndHandle() 224 gralloc1_error_t GrallocImpl::CreateBufferDescriptor(gralloc1_device_t *device, in CreateBufferDescriptor() 233 gralloc1_error_t GrallocImpl::DestroyBufferDescriptor(gralloc1_device_t *device, in DestroyBufferDescriptor() 242 gralloc1_error_t GrallocImpl::SetConsumerUsage(gralloc1_device_t *device, in SetConsumerUsage() 254 gralloc1_error_t GrallocImpl::SetBufferDimensions(gralloc1_device_t *device, in SetBufferDimensions() 267 gralloc1_error_t GrallocImpl::SetColorFormat(gralloc1_device_t *device, in SetColorFormat() 279 gralloc1_error_t GrallocImpl::SetLayerCount(gralloc1_device_t *device, in SetLayerCount() 292 gralloc1_error_t GrallocImpl::SetProducerUsage(gralloc1_device_t *device, in SetProducerUsage() [all …]
|
/aosp12/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothA2dp.java | 325 public boolean connect(BluetoothDevice device) { in connect() 367 public boolean disconnect(BluetoothDevice device) { in disconnect() 474 public boolean setActiveDevice(@Nullable BluetoothDevice device) { in setActiveDevice() 534 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() 557 public boolean setConnectionPolicy(@NonNull BluetoothDevice device, in setConnectionPolicy() 592 public int getPriority(BluetoothDevice device) { in getPriority() 693 public boolean isA2dpPlaying(BluetoothDevice device) { in isA2dpPlaying() 717 public boolean shouldSendVolumeKeys(BluetoothDevice device) { in shouldSendVolumeKeys() 806 public void enableOptionalCodecs(@NonNull BluetoothDevice device) { in enableOptionalCodecs() 823 public void disableOptionalCodecs(@NonNull BluetoothDevice device) { in disableOptionalCodecs() [all …]
|
H A D | BluetoothHearingAid.java | 184 public boolean connect(BluetoothDevice device) { in connect() 226 public boolean disconnect(BluetoothDevice device) { in disconnect() 293 public @BluetoothProfile.BtProfileState int getConnectionState( in getConnectionState() 333 public boolean setActiveDevice(@Nullable BluetoothDevice device) { in setActiveDevice() 394 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() 417 public boolean setConnectionPolicy(@NonNull BluetoothDevice device, in setConnectionPolicy() 454 public int getPriority(BluetoothDevice device) { in getPriority() 557 public long getHiSyncId(@NonNull BluetoothDevice device) { in getHiSyncId() 588 public int getDeviceSide(BluetoothDevice device) { in getDeviceSide() 616 public int getDeviceMode(BluetoothDevice device) { in getDeviceMode() [all …]
|
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
H A D | HeadsetServiceAndStateMachineTest.java | 268 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testGetHeadsetService() local 281 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testConnectFromApi() local 324 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testUnbondDevice_disconnectBeforeUnbond() local 367 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testUnbondDevice_disconnectAfterUnbond() local 684 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testVoiceRecognition_SingleHfInitiatedSuccess() local 707 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testVoiceRecognition_SingleHfStopSuccess() local 741 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testVoiceRecognition_SingleHfInitiatedFailedToActivate() local 773 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testVoiceRecognition_SingleHfInitiatedTimeout() local 805 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testVoiceRecognition_SingleAgInitiatedSuccess() local 1151 BluetoothDevice device = mHeadsetService.getActiveDevice(); in startVoiceRecognitionFromAg() local [all …]
|
/aosp12/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/ |
H A D | UsbDeviceStateController.java | 38 void onDeviceResetComplete(UsbDevice device); in onDeviceResetComplete() 102 public void startDeviceReset(UsbDevice device) { in startDeviceReset() 110 private void doHandleDeviceReset(UsbDevice device) { in doHandleDeviceReset() 135 UsbDevice device = request.device; in doHandleAoapStart() local 224 private boolean isDeviceRemovedLocked(UsbDevice device) { in isDeviceRemovedLocked() 235 private UsbDevice checkDeviceAttachedLocked(UsbDevice device) { in checkDeviceAttachedLocked() 246 public UsbDeviceConnection openConnection(UsbDevice device) { in openConnection() 251 private void handleUsbDeviceAttached(UsbDevice device) { in handleUsbDeviceAttached() 258 private void handleUsbDeviceDetached(UsbDevice device) { in handleUsbDeviceDetached() 273 private void requestDeviceReset(UsbDevice device) { in requestDeviceReset() [all …]
|
/aosp12/packages/services/Mtp/src/com/android/mtp/ |
H A D | MtpManager.java | 135 final MtpDevice device = getDevice(deviceId); in getObjectInfo() local 145 final MtpDevice device = getDevice(deviceId); in getObjectHandles() local 155 final MtpDevice device = getDevice(deviceId); in getObject() local 165 final MtpDevice device = getDevice(deviceId); in getPartialObject() local 173 final MtpDevice device = getDevice(deviceId); in getPartialObject64() local 180 final MtpDevice device = getDevice(deviceId); in getThumbnail() local 189 final MtpDevice device = getDevice(deviceId); in deleteDocument() local 199 final MtpDevice device = getDevice(deviceId); in createDocument() local 216 final MtpDevice device = getDevice(deviceId); in getParent() local 270 private void setInitVersion(UsbDevice device) { in setInitVersion() [all …]
|