/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothA2dp.java | 279 public boolean connect(BluetoothDevice device) { in connect() 319 public boolean disconnect(BluetoothDevice device) { in disconnect() 376 public @BtProfileState int getConnectionState(BluetoothDevice device) { in getConnectionState() 413 public boolean setActiveDevice(@Nullable BluetoothDevice device) { in setActiveDevice() 466 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() 485 public boolean setConnectionPolicy(@NonNull BluetoothDevice device, in setConnectionPolicy() 518 public int getPriority(BluetoothDevice device) { in getPriority() 547 public @ConnectionPolicy int getConnectionPolicy(@NonNull BluetoothDevice device) { in getConnectionPolicy() 610 public boolean isA2dpPlaying(BluetoothDevice device) { in isA2dpPlaying() 632 public boolean shouldSendVolumeKeys(BluetoothDevice device) { in shouldSendVolumeKeys() [all …]
|
D | BluetoothHearingAid.java | 170 public boolean connect(BluetoothDevice device) { in connect() 208 public boolean disconnect(BluetoothDevice device) { in disconnect() 266 public @BluetoothProfile.BtProfileState int getConnectionState( in getConnectionState() 306 public boolean setActiveDevice(@Nullable BluetoothDevice device) { in setActiveDevice() 360 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() 379 public boolean setConnectionPolicy(@NonNull BluetoothDevice device, in setConnectionPolicy() 412 public int getPriority(BluetoothDevice device) { in getPriority() 430 public @ConnectionPolicy int getConnectionPolicy(@NonNull BluetoothDevice device) { in getConnectionPolicy() 505 public long getHiSyncId(@NonNull BluetoothDevice device) { in getHiSyncId() 534 public int getDeviceSide(BluetoothDevice device) { in getDeviceSide() [all …]
|
D | BluetoothHidHost.java | 271 public boolean connect(BluetoothDevice device) { in connect() 309 public boolean disconnect(BluetoothDevice device) { in disconnect() 376 public int getConnectionState(@NonNull BluetoothDevice device) { in getConnectionState() 406 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() 425 public boolean setConnectionPolicy(@NonNull BluetoothDevice device, in setConnectionPolicy() 459 public int getPriority(BluetoothDevice device) { in getPriority() 477 public @ConnectionPolicy int getConnectionPolicy(@NonNull BluetoothDevice device) { in getConnectionPolicy() 499 private static boolean isValidDevice(BluetoothDevice device) { in isValidDevice() 512 public boolean virtualUnplug(BluetoothDevice device) { in virtualUnplug() 538 public boolean getProtocolMode(BluetoothDevice device) { in getProtocolMode() [all …]
|
D | BluetoothA2dpSink.java | 124 public boolean connect(BluetoothDevice device) { in connect() 163 public boolean disconnect(BluetoothDevice device) { in disconnect() 226 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 254 public BluetoothAudioConfig getAudioConfig(BluetoothDevice device) { in getAudioConfig() 281 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() 300 public boolean setConnectionPolicy(@NonNull BluetoothDevice device, in setConnectionPolicy() 331 public int getPriority(BluetoothDevice device) { in getPriority() 349 public @ConnectionPolicy int getConnectionPolicy(@NonNull BluetoothDevice device) { in getConnectionPolicy() 374 public boolean isAudioPlaying(@NonNull BluetoothDevice device) { in isAudioPlaying() 418 private static boolean isValidDevice(BluetoothDevice device) { in isValidDevice()
|
D | BluetoothGattServerCallback.java | 32 public void onConnectionStateChange(BluetoothDevice device, int status, in onConnectionStateChange() 57 public void onCharacteristicReadRequest(BluetoothDevice device, int requestId, in onCharacteristicReadRequest() 75 public void onCharacteristicWriteRequest(BluetoothDevice device, int requestId, in onCharacteristicWriteRequest() 92 public void onDescriptorReadRequest(BluetoothDevice device, int requestId, in onDescriptorReadRequest() 110 public void onDescriptorWriteRequest(BluetoothDevice device, int requestId, in onDescriptorWriteRequest() 126 public void onExecuteWrite(BluetoothDevice device, int requestId, boolean execute) { in onExecuteWrite() 140 public void onNotificationSent(BluetoothDevice device, int status) { in onNotificationSent() 152 public void onMtuChanged(BluetoothDevice device, int mtu) { in onMtuChanged() 167 public void onPhyUpdate(BluetoothDevice device, int txPhy, int rxPhy, int status) { in onPhyUpdate() 181 public void onPhyRead(BluetoothDevice device, int txPhy, int rxPhy, int status) { in onPhyRead() [all …]
|
D | BluetoothHidDevice.java | 262 public void onConnectionStateChanged(BluetoothDevice device, int state) { in onConnectionStateChanged() 276 public void onGetReport(BluetoothDevice device, byte type, byte id, int bufferSize) { in onGetReport() 298 public void onSetReport(BluetoothDevice device, byte type, byte id, byte[] data) { in onSetReport() 309 public void onSetProtocol(BluetoothDevice device, byte protocol) { in onSetProtocol() 320 public void onInterruptData(BluetoothDevice device, byte reportId, byte[] data) { in onInterruptData() 328 public void onVirtualCableUnplug(BluetoothDevice device) { in onVirtualCableUnplug() 350 public void onConnectionStateChanged(BluetoothDevice device, int state) { in onConnectionStateChanged() 356 public void onGetReport(BluetoothDevice device, byte type, byte id, int bufferSize) { in onGetReport() 362 public void onSetReport(BluetoothDevice device, byte type, byte id, byte[] data) { in onSetReport() 368 public void onSetProtocol(BluetoothDevice device, byte protocol) { in onSetProtocol() [all …]
|
D | BluetoothHeadsetClient.java | 449 public boolean connect(BluetoothDevice device) { in connect() 475 public boolean disconnect(BluetoothDevice device) { in disconnect() 544 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 572 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() 590 public boolean setConnectionPolicy(@NonNull BluetoothDevice device, in setConnectionPolicy() 622 public int getPriority(BluetoothDevice device) { in getPriority() 639 public @ConnectionPolicy int getConnectionPolicy(@NonNull BluetoothDevice device) { in getConnectionPolicy() 666 public boolean startVoiceRecognition(BluetoothDevice device) { in startVoiceRecognition() 690 public boolean sendVendorAtCommand(BluetoothDevice device, int vendorId, in sendVendorAtCommand() 717 public boolean stopVoiceRecognition(BluetoothDevice device) { in stopVoiceRecognition() [all …]
|
D | BluetoothMapClient.java | 161 public boolean isConnected(BluetoothDevice device) { in isConnected() 184 public boolean connect(BluetoothDevice device) { in connect() 209 public boolean disconnect(BluetoothDevice device) { in disconnect() 271 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 298 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() 316 public boolean setConnectionPolicy(@NonNull BluetoothDevice device, in setConnectionPolicy() 347 public int getPriority(BluetoothDevice device) { in getPriority() 364 public @ConnectionPolicy int getConnectionPolicy(@NonNull BluetoothDevice device) { in getConnectionPolicy() 392 public boolean sendMessage(BluetoothDevice device, Uri[] contacts, String message, in sendMessage() 413 public boolean getUnreadMessages(BluetoothDevice device) { in getUnreadMessages() [all …]
|
D | BluetoothSap.java | 188 public boolean isConnected(BluetoothDevice device) { in isConnected() 210 public boolean connect(BluetoothDevice device) { in connect() 223 public boolean disconnect(BluetoothDevice device) { in disconnect() 286 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 313 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() 331 public boolean setConnectionPolicy(BluetoothDevice device, in setConnectionPolicy() 362 public int getPriority(BluetoothDevice device) { in getPriority() 379 public @ConnectionPolicy int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 408 private static boolean isValidDevice(BluetoothDevice device) { in isValidDevice()
|
D | BluetoothMap.java | 177 public boolean isConnected(BluetoothDevice device) { in isConnected() 199 public boolean connect(BluetoothDevice device) { in connect() 213 public boolean disconnect(BluetoothDevice device) { in disconnect() 304 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 331 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() 350 public boolean setConnectionPolicy(@NonNull BluetoothDevice device, in setConnectionPolicy() 381 public int getPriority(BluetoothDevice device) { in getPriority() 399 public @ConnectionPolicy int getConnectionPolicy(@NonNull BluetoothDevice device) { in getConnectionPolicy() 424 private static boolean isValidDevice(BluetoothDevice device) { in isValidDevice()
|
/frameworks/base/core/java/android/companion/ |
D | BluetoothDeviceFilterUtils.java | 54 static boolean matches(ScanFilter filter, BluetoothDevice device) { in matches() 61 static boolean matchesAddress(String deviceAddress, BluetoothDevice device) { in matchesAddress() 69 List<ParcelUuid> serviceUuidMasks, BluetoothDevice device) { in matchesServiceUuids() 81 BluetoothDevice device) { in matchesServiceUuid() 92 static boolean matchesName(@Nullable Pattern namePattern, BluetoothDevice device) { in matchesName() 106 static boolean matchesName(@Nullable Pattern namePattern, ScanResult device) { in matchesName() 121 boolean result, BluetoothDevice device, Object criteria) { in debugLogMatchResult() 126 boolean result, ScanResult device, Object criteria) { in debugLogMatchResult() 131 public static String getDeviceDisplayNameInternal(@NonNull BluetoothDevice device) { in getDeviceDisplayNameInternal() 136 public static String getDeviceDisplayNameInternal(@NonNull ScanResult device) { in getDeviceDisplayNameInternal() [all …]
|
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/ |
D | CommonTransitions.java | 53 private static void setRotation(UiDevice device, int rotation) { in setRotation() 76 device, int beginRotation) { in openAppWarm() 94 device) { in closeAppWithBackKey() 109 device) { in closeAppWithHomeKey() 124 UiDevice device, int beginRotation) { in openAppCold() 141 device, int beginRotation, int endRotation) { in changeAppRotation() 158 device, int beginRotation, int endRotation) { in changeAppRotation() 178 static TransitionBuilder appToSplitScreen(IAppHelper testApp, UiDevice device, in appToSplitScreen() 196 static TransitionBuilder splitScreenToLauncher(IAppHelper testApp, UiDevice device) { in splitScreenToLauncher() 209 static TransitionBuilder editTextSetFocus(ImeAppHelper testApp, UiDevice device, in editTextSetFocus() [all …]
|
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/ |
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 167 private UsbDevice resetUsbDeviceAndConfirmModeChange(UsbDevice device) { in resetUsbDeviceAndConfirmModeChange() 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() [all …]
|
D | UsbHostManagementActivity.java | 135 private void startAoap(UsbDevice device) { in startAoap() 141 private void startAoapActivity(UsbDevice device) { in startAoapActivity() 162 private void resetDevice(UsbDevice device) { in resetDevice() 186 private void handleUsbDeviceAttached(UsbDevice device) { in handleUsbDeviceAttached() 202 private void handleUsbDeviceDetached(UsbDevice device) { in handleUsbDeviceDetached() 209 private void updateDevice(UsbDevice device) { in updateDevice() 224 public void onDeviceResetComplete(UsbDevice device) { in onDeviceResetComplete() 230 public void onAoapStartComplete(UsbDevice device) { in onAoapStartComplete() 238 UsbDevice device = intent.<UsbDevice>getParcelableExtra(UsbManager.EXTRA_DEVICE); in onReceive() local 241 UsbDevice device = intent.<UsbDevice>getParcelableExtra(UsbManager.EXTRA_DEVICE); in onReceive() local
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | LocalBluetoothProfile.java | 38 int getConnectionStatus(BluetoothDevice device); in getConnectionStatus() 44 boolean isEnabled(BluetoothDevice device); in isEnabled() 50 int getConnectionPolicy(BluetoothDevice device); in getConnectionPolicy() 57 boolean setEnabled(BluetoothDevice device, boolean enabled); in setEnabled() 70 int getNameResource(BluetoothDevice device); in getNameResource() 79 int getSummaryResourceForDevice(BluetoothDevice device); in getSummaryResourceForDevice()
|
D | OppProfile.java | 43 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 48 public boolean isEnabled(BluetoothDevice device) { in isEnabled() 53 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 58 public boolean setEnabled(BluetoothDevice device, boolean enabled) { in setEnabled() 79 public int getNameResource(BluetoothDevice device) { in getNameResource() 83 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
|
D | A2dpProfile.java | 72 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local 156 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 163 public boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice() 178 public boolean isEnabled(BluetoothDevice device) { in isEnabled() 186 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 194 public boolean setEnabled(BluetoothDevice device, boolean enabled) { in setEnabled() 220 public boolean supportsHighQualityAudio(BluetoothDevice device) { in supportsHighQualityAudio() 229 public boolean isHighQualityAudioEnabled(BluetoothDevice device) { in isHighQualityAudioEnabled() 255 public void setHighQualityAudioEnabled(BluetoothDevice device, boolean enabled) { in setHighQualityAudioEnabled() 274 public String getHighQualityAudioOptionLabel(BluetoothDevice device) { in getHighQualityAudioOptionLabel() [all …]
|
D | PanProfile.java | 89 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 97 public boolean isEnabled(BluetoothDevice device) { in isEnabled() 102 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 107 public boolean setEnabled(BluetoothDevice device, boolean enabled) { in setEnabled() 136 public int getNameResource(BluetoothDevice device) { in getNameResource() 144 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice() 167 void setLocalRole(BluetoothDevice device, int role) { in setLocalRole() 171 boolean isLocalRoleNap(BluetoothDevice device) { in isLocalRoleNap()
|
D | HeadsetProfile.java | 71 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local 117 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 124 public boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice() 148 public int getAudioState(BluetoothDevice device) { in getAudioState() 156 public boolean isEnabled(BluetoothDevice device) { in isEnabled() 164 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 172 public boolean setEnabled(BluetoothDevice device, boolean enabled) { in setEnabled() 206 public int getNameResource(BluetoothDevice device) { in getNameResource() 210 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
|
D | HearingAidProfile.java | 64 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local 154 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus() 161 public boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice() 176 public boolean isEnabled(BluetoothDevice device) { in isEnabled() 184 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 192 public boolean setEnabled(BluetoothDevice device, boolean enabled) { in setEnabled() 215 public long getHiSyncId(BluetoothDevice device) { in getHiSyncId() 230 public int getNameResource(BluetoothDevice device) { in getNameResource() 234 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothStressTest.java | 147 BluetoothDevice device = mAdapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); in testPair() local 170 BluetoothDevice device = mAdapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); in testAcceptPair() local 194 BluetoothDevice device = mAdapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); in testConnectA2dp() local 224 BluetoothDevice device = mAdapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); in testConnectHeadset() local 254 BluetoothDevice device = mAdapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); in testConnectInput() local 284 BluetoothDevice device = mAdapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); in testConnectPan() local 311 BluetoothDevice device = mAdapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); in testIncomingPanConnection() local 342 BluetoothDevice device = mAdapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); in testStartStopSco() local 370 BluetoothDevice device = mAdapter.getRemoteDevice(BluetoothTestRunner.sDeviceAddress); in testMceSetMessageStatus() local
|
/frameworks/native/services/inputflinger/reader/ |
D | EventHub.cpp | 320 Device* device = mClosingDevices; in ~EventHub() local 335 Device* device = getDeviceLocked(deviceId); in getDeviceIdentifier() local 342 Device* device = getDeviceLocked(deviceId); in getDeviceClasses() local 349 Device* device = getDeviceLocked(deviceId); in getDeviceControllerNumber() local 356 Device* device = getDeviceLocked(deviceId); in getConfiguration() local 371 Device* device = getDeviceLocked(deviceId); in getAbsoluteAxisInfo() local 398 Device* device = getDeviceLocked(deviceId); in hasRelativeAxis() local 410 Device* device = getDeviceLocked(deviceId); in hasInputProperty() local 422 Device* device = getDeviceLocked(deviceId); in getScanCodeState() local 437 Device* device = getDeviceLocked(deviceId); in getKeyCodeState() local [all …]
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | MtpManager.java | 94 final MtpDevice device = new MtpDevice(rawDevice); in openDevice() local 131 final MtpDevice device = getDevice(deviceId); in getObjectInfo() local 141 final MtpDevice device = getDevice(deviceId); in getObjectHandles() local 151 final MtpDevice device = getDevice(deviceId); in getObject() local 161 final MtpDevice device = getDevice(deviceId); in getPartialObject() local 169 final MtpDevice device = getDevice(deviceId); in getPartialObject64() local 176 final MtpDevice device = getDevice(deviceId); in getThumbnail() local 185 final MtpDevice device = getDevice(deviceId); in deleteDocument() local 195 final MtpDevice device = getDevice(deviceId); in createDocument() local 212 final MtpDevice device = getDevice(deviceId); in getParent() local [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | BluetoothControllerImplTest.java | 87 CachedBluetoothDevice device = mock(CachedBluetoothDevice.class); in testNoConnectionWithDevices() local 100 CachedBluetoothDevice device = mock(CachedBluetoothDevice.class); in testDefaultConnectionState() local 108 CachedBluetoothDevice device = mock(CachedBluetoothDevice.class); in testAsyncBondState() local 129 CachedBluetoothDevice device = mock(CachedBluetoothDevice.class); in testAsyncConnectionState() local 152 CachedBluetoothDevice device = mock(CachedBluetoothDevice.class); in testNullAsync_DoesNotCrash() local 213 CachedBluetoothDevice device = mock(CachedBluetoothDevice.class); in testOnACLConnectionStateChange_updatesBluetoothStateOnConnection() local 239 CachedBluetoothDevice device = mock(CachedBluetoothDevice.class); in testOnActiveDeviceChanged_updatesAudioActive() local
|
/frameworks/native/vulkan/libvulkan/ |
D | driver_gen.cpp | 34 VKAPI_ATTR VkResult checkedBindImageMemory2(VkDevice device, uint32_t bindInfoCount, const VkBindIm… in checkedBindImageMemory2() 43 VKAPI_ATTR void checkedGetDeviceQueue2(VkDevice device, const VkDeviceQueueInfo2* pQueueInfo, VkQue… in checkedGetDeviceQueue2() 51 VKAPI_ATTR VkResult checkedCreateSwapchainKHR(VkDevice device, const VkSwapchainCreateInfoKHR* pCre… in checkedCreateSwapchainKHR() 60 VKAPI_ATTR void checkedDestroySwapchainKHR(VkDevice device, VkSwapchainKHR swapchain, const VkAlloc… in checkedDestroySwapchainKHR() 68 VKAPI_ATTR VkResult checkedGetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR swapchain, uint32_… in checkedGetSwapchainImagesKHR() 77 VKAPI_ATTR VkResult checkedAcquireNextImageKHR(VkDevice device, VkSwapchainKHR swapchain, uint64_t … in checkedAcquireNextImageKHR() 95 VKAPI_ATTR VkResult checkedGetDeviceGroupPresentCapabilitiesKHR(VkDevice device, VkDeviceGroupPrese… in checkedGetDeviceGroupPresentCapabilitiesKHR() 104 VKAPI_ATTR VkResult checkedGetDeviceGroupSurfacePresentModesKHR(VkDevice device, VkSurfaceKHR surfa… in checkedGetDeviceGroupSurfacePresentModesKHR() 113 VKAPI_ATTR VkResult checkedAcquireNextImage2KHR(VkDevice device, const VkAcquireNextImageInfoKHR* p… in checkedAcquireNextImage2KHR() 122 VKAPI_ATTR VkResult checkedGetRefreshCycleDurationGOOGLE(VkDevice device, VkSwapchainKHR swapchain,… in checkedGetRefreshCycleDurationGOOGLE() [all …]
|