| /packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/ |
| D | BluetoothConnectionRetryManagerTest.java | 123 private void sendBondStateChanged(BluetoothDevice device, int newState) { in sendBondStateChanged() 131 private void sendConnectionStateChanged(BluetoothDevice device, int newState) { in sendConnectionStateChanged() 139 private void sendSuccessfulConnection(BluetoothDevice device) { in sendSuccessfulConnection() 148 private void sendFailedConnectionMethod1(BluetoothDevice device) { in sendFailedConnectionMethod1() 157 private void sendFailedConnectionMethod2(BluetoothDevice device) { in sendFailedConnectionMethod2() 166 private void sendFailedConnectionsPeriodic(BluetoothDevice device, int count, long interval) { in sendFailedConnectionsPeriodic() 180 BluetoothDevice device = mock(BluetoothDevice.class); in createMockDevice() local 207 BluetoothDevice device = createMockDevice(DEVICE_LIST.get(0)); in testSuccessfulFirstConnect_doNothing() local 229 BluetoothDevice device = createMockDevice(DEVICE_LIST.get(0)); in testFailedFirstConnectMethod1_retryPosted() local 251 BluetoothDevice device = createMockDevice(DEVICE_LIST.get(0)); in testFailedFirstConnectMethod2_retryPosted() local [all …]
|
| D | BluetoothDeviceManagerTest.java | 194 BluetoothDevice device = createDevice(address, mUuids); in makeDeviceList() local 245 private void sendBondStateChanged(BluetoothDevice device, int newState) { in sendBondStateChanged() 253 private void sendConnectionStateChanged(String profile, BluetoothDevice device, int newState) { in sendConnectionStateChanged() 275 BluetoothDevice device = devices.get(i); in assertDeviceList() local 285 BluetoothDevice device = mock(BluetoothDevice.class); in createDevice() local 433 BluetoothDevice device = mDeviceList.get(0); in testAddDeviceAlreadyInList_priorityListUnchanged() local 472 BluetoothDevice device = mDeviceList.get(0); in testRemoveDeviceFront_deviceNoLongerInPriorityList() local 493 BluetoothDevice device = mDeviceList.get(1); in testRemoveDeviceMiddle_deviceNoLongerInPriorityList() local 513 BluetoothDevice device = mDeviceList.get(2); in testRemoveDeviceEnd_deviceNoLongerInPriorityList() local 533 BluetoothDevice device = createDevice("10:20:30:40:50:60"); in testRemoveDeviceNotInList_priorityListUnchanged() local [all …]
|
| /packages/modules/Bluetooth/system/binder/android/bluetooth/ |
| D | IBluetoothHeadsetClient.aidl | 33 …void connect(in BluetoothDevice device, in AttributionSource attributionSource, in SynchronousResu… in connect() 35 …void disconnect(in BluetoothDevice device, in AttributionSource attributionSource, in SynchronousR… in disconnect() 42 …void getConnectionState(in BluetoothDevice device, in AttributionSource attributionSource, in Sync… in getConnectionState() 44 …void setConnectionPolicy(in BluetoothDevice device, int connectionPolicy, in AttributionSource att… in setConnectionPolicy() 46 …void getConnectionPolicy(in BluetoothDevice device, in AttributionSource attributionSource, in Syn… in getConnectionPolicy() 49 …void startVoiceRecognition(in BluetoothDevice device, in AttributionSource attributionSource, in S… in startVoiceRecognition() 51 …void stopVoiceRecognition(in BluetoothDevice device, in AttributionSource attributionSource, in Sy… in stopVoiceRecognition() 54 …void getCurrentCalls(in BluetoothDevice device, in AttributionSource attributionSource, in Synchro… in getCurrentCalls() 56 …void getCurrentAgEvents(in BluetoothDevice device, in AttributionSource attributionSource, in Sync… in getCurrentAgEvents() 59 …void acceptCall(in BluetoothDevice device, int flag, in AttributionSource attributionSource, in Sy… in acceptCall() [all …]
|
| D | IBluetoothHidHost.aidl | 32 …void connect(in BluetoothDevice device, in AttributionSource attributionSource, in SynchronousResu… in connect() 34 …void disconnect(in BluetoothDevice device, in AttributionSource attributionSource, in SynchronousR… in disconnect() 40 …void getConnectionState(in BluetoothDevice device, in AttributionSource attributionSource, in Sync… in getConnectionState() 42 …void setConnectionPolicy(in BluetoothDevice device, int connectionPolicy, in AttributionSource att… in setConnectionPolicy() 44 …void getConnectionPolicy(in BluetoothDevice device, in AttributionSource attributionSource, in Syn… in getConnectionPolicy() 46 …void getProtocolMode(in BluetoothDevice device, in AttributionSource attributionSource, in Synchro… in getProtocolMode() 48 …void virtualUnplug(in BluetoothDevice device, in AttributionSource attributionSource, in Synchrono… in virtualUnplug() 50 …void setProtocolMode(in BluetoothDevice device, int protocolMode, in AttributionSource attribution… in setProtocolMode() 52 …void getReport(in BluetoothDevice device, byte reportType, byte reportId, int bufferSize, in Attri… in getReport() 54 …void setReport(in BluetoothDevice device, byte reportType, String report, in AttributionSource att… in setReport() [all …]
|
| D | IBluetoothA2dp.aidl | 34 …void connect(in BluetoothDevice device, in AttributionSource attributionSource, in SynchronousResu… in connect() 36 …void disconnect(in BluetoothDevice device, in AttributionSource attributionSource, in SynchronousR… in disconnect() 42 …void getConnectionState(in BluetoothDevice device, in AttributionSource attributionSource, in Sync… in getConnectionState() 44 …void setActiveDevice(in BluetoothDevice device, in AttributionSource attributionSource, in Synchro… in setActiveDevice() 48 …void setConnectionPolicy(in BluetoothDevice device, int connectionPolicy, in AttributionSource att… in setConnectionPolicy() 50 …void getConnectionPolicy(in BluetoothDevice device, in AttributionSource attributionSource, in Syn… in getConnectionPolicy() 56 …void isA2dpPlaying(in BluetoothDevice device, in AttributionSource attributionSource, in Synchrono… in isA2dpPlaying() 58 …void getCodecStatus(in BluetoothDevice device, in AttributionSource attributionSource, in Synchron… in getCodecStatus() 60 …oneway void setCodecConfigPreference(in BluetoothDevice device, in BluetoothCodecConfig codecConfi… in setCodecConfigPreference() 62 …oneway void enableOptionalCodecs(in BluetoothDevice device, in AttributionSource attributionSource… in enableOptionalCodecs() [all …]
|
| 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()
|
| /packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
| D | ActiveDeviceManager.java | 256 private void handleA2dpConnected(BluetoothDevice device) { in handleA2dpConnected() 318 private void handleHfpConnected(BluetoothDevice device) { in handleHfpConnected() 377 private void handleHearingAidConnected(BluetoothDevice device) { in handleHearingAidConnected() 395 private void handleLeAudioConnected(BluetoothDevice device) { in handleLeAudioConnected() 431 private void handleHapConnected(BluetoothDevice device) { in handleHapConnected() 455 private void handleA2dpDisconnected(BluetoothDevice device) { in handleA2dpDisconnected() 469 private void handleHfpDisconnected(BluetoothDevice device) { in handleHfpDisconnected() 484 private void handleHearingAidDisconnected(BluetoothDevice device) { in handleHearingAidDisconnected() 498 private void handleLeAudioDisconnected(BluetoothDevice device) { in handleLeAudioDisconnected() 523 private void handleHapDisconnected(BluetoothDevice device) { in handleHapDisconnected() [all …]
|
| /packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/fakes/android/bluetooth/ |
| D | IBluetooth.java | 36 int getRemoteClass(BluetoothDevice device); in getRemoteClass() 38 String getRemoteName(BluetoothDevice device); in getRemoteName() 40 int getRemoteType(BluetoothDevice device, AttributionSource attributionSource); in getRemoteType() 42 ParcelUuid[] getRemoteUuids(BluetoothDevice device); in getRemoteUuids() 44 boolean fetchRemoteUuids(BluetoothDevice device); in fetchRemoteUuids() 71 ParcelFileDescriptor connectSocket(BluetoothDevice device, int type, ParcelUuid uuid, in connectSocket() 85 int getBondState(BluetoothDevice device, AttributionSource attributionSource); in getBondState() 87 boolean createBond(BluetoothDevice device, int transport, OobData remoteP192Data, in createBond() 90 boolean setPairingConfirmation(BluetoothDevice device, boolean accept, in setPairingConfirmation() 93 boolean setPasskey(BluetoothDevice device, int passkey); in setPasskey() [all …]
|
| /packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/connserv/ |
| D | HeadsetClientServiceInterface.java | 50 public HfpClientCall dial(BluetoothDevice device, String number) { in dial() 56 public boolean enterPrivateMode(BluetoothDevice device, int index) { in enterPrivateMode() 62 public boolean sendDTMF(BluetoothDevice device, byte code) { in sendDTMF() 68 public boolean terminateCall(BluetoothDevice device, HfpClientCall call) { in terminateCall() 74 public boolean holdCall(BluetoothDevice device) { in holdCall() 80 public boolean acceptCall(BluetoothDevice device, int flag) { in acceptCall() 86 public boolean rejectCall(BluetoothDevice device) { in rejectCall() 92 public boolean connectAudio(BluetoothDevice device) { in connectAudio() 98 public boolean disconnectAudio(BluetoothDevice device) { in disconnectAudio() 104 public Set<Integer> getCurrentAgFeatures(BluetoothDevice device) { in getCurrentAgFeatures() [all …]
|
| /packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/ |
| D | HeadsetClientService.java | 294 public void connect(BluetoothDevice device, AttributionSource source, in connect() 309 public void disconnect(BluetoothDevice device, AttributionSource source, in disconnect() 354 public void getConnectionState(BluetoothDevice device, AttributionSource source, in getConnectionState() 369 public void setConnectionPolicy(BluetoothDevice device, int connectionPolicy, in setConnectionPolicy() 384 public void getConnectionPolicy(BluetoothDevice device, AttributionSource source, in getConnectionPolicy() 399 public void startVoiceRecognition(BluetoothDevice device, AttributionSource source, in startVoiceRecognition() 414 public void stopVoiceRecognition(BluetoothDevice device, AttributionSource source, in stopVoiceRecognition() 429 public void getAudioState(BluetoothDevice device, AttributionSource source, in getAudioState() 444 public void setAudioRouteAllowed(BluetoothDevice device, boolean allowed, in setAudioRouteAllowed() 458 public void getAudioRouteAllowed(BluetoothDevice device, AttributionSource source, in getAudioRouteAllowed() [all …]
|
| /packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/ |
| D | A2dpService.java | 280 public boolean connect(BluetoothDevice device) { in connect() 331 public boolean disconnect(BluetoothDevice device) { in disconnect() 366 private boolean connectionAllowedCheckMaxDevices(BluetoothDevice device) { in connectionAllowedCheckMaxDevices() 397 public boolean okToConnect(BluetoothDevice device, boolean isOutgoingRequest) { in okToConnect() 483 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 535 public boolean setSilenceMode(@NonNull BluetoothDevice device, boolean silence) { in setSilenceMode() 558 public boolean setActiveDevice(@NonNull BluetoothDevice device) { in setActiveDevice() 645 private boolean isActiveDevice(BluetoothDevice device) { in isActiveDevice() 667 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() 698 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() [all …]
|
| /packages/modules/adb/ |
| 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
|
| /packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/ |
| D | HeadsetServiceAndStateMachineTest.java | 263 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testGetHeadsetService() local 276 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testConnectFromApi() local 319 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testUnbondDevice_disconnectBeforeUnbond() local 362 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testUnbondDevice_disconnectAfterUnbond() local 423 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testVirtualCall_normalStartStop() local 459 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testVirtualCall_preemptedByTelecomCall() local 499 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testVirtualCall_rejectedWhenThereIsTelecomCall() local 528 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testDialingOutCall_NormalDialingOut() local 607 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testDialingOutCall_DialingOutPreemptVirtualCall() local 664 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testVoiceRecognition_SingleHfInitiatedSuccess() local [all …]
|
| /packages/modules/AdServices/adservices/apk/tests/util/java/com/android/adservices/ui/util/ |
| D | ApkTestUtil.java | 64 public static UiObject getConsentSwitch(UiDevice device) throws UiObjectNotFoundException { in getConsentSwitch() 80 public static UiObject getElement(UiDevice device, int resId) { in getElement() 94 public static void scrollToAndClick(UiDevice device, int resId) in scrollToAndClick() 101 public static void gentleSwipe(UiDevice device) throws UiObjectNotFoundException { in gentleSwipe() 110 public static UiObject scrollTo(UiDevice device, int resId) throws UiObjectNotFoundException { in scrollTo() 126 public static UiObject getElement(UiDevice device, int resId, int index) { in getElement() 137 public static UiObject getPageElement(UiDevice device, int resId) { in getPageElement() 142 public static void launchSettingView(Context context, UiDevice device, int launchTimeout) { in launchSettingView() 153 public static String getDefaultBrowserPkgName(UiDevice device, Context context) { in getDefaultBrowserPkgName() 163 public static void killDefaultBrowserPkgName(UiDevice device, Context context) { in killDefaultBrowserPkgName() [all …]
|
| /packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dp/ |
| D | A2dpServiceBinderTest.java | 71 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in connect() local 81 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in disconnect() local 112 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in getConnectionState() local 123 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in setActiveDevice() local 133 BluetoothDevice device = null; in setActiveDevice_withNull_callsRemoveActiveDevice() local 152 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in setConnectionPolicy() local 163 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in getConnectionPolicy() local 182 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in isA2dpPlaying() local 192 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in getCodecStatus() local 203 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in setCodecConfigPreference() local [all …]
|
| /packages/services/Mtp/src/com/android/mtp/ |
| D | MtpManager.java | 95 final MtpDevice device = new MtpDevice(rawDevice); in openDevice() local 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 [all …]
|
| /packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/bluetooth/ |
| D | IBluetoothImpl.java | 86 public int getRemoteClass(BluetoothDevice device) { in getRemoteClass() 91 public String getRemoteName(BluetoothDevice device) { in getRemoteName() 96 public int getRemoteType(BluetoothDevice device, AttributionSource attributionSource) { in getRemoteType() 101 public ParcelUuid[] getRemoteUuids(BluetoothDevice device) { in getRemoteUuids() 106 public boolean fetchRemoteUuids(BluetoothDevice device) { in fetchRemoteUuids() 112 public int getBondState(BluetoothDevice device, AttributionSource attributionSource) { in getBondState() 117 public boolean createBond(BluetoothDevice device, int transport, OobData remoteP192Data, in createBond() 177 private void finishBonding(BluetoothDevice device) { in finishBonding() 184 private void finishBonding(BluetoothDevice device, CreateBondOutcome outcome, in finishBonding() 201 public boolean setPairingConfirmation(BluetoothDevice device, boolean confirmed, in setPairingConfirmation() [all …]
|
| /packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/ |
| D | BleBroadcastAssistantBinderTest.java | 70 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in getConnectionState() local 110 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in setConnectionPolicy() local 126 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in getConnectionPolicy() local 218 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in addSource() local 234 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in modifySource() local 250 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in removeSource() local 266 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in getAllSources() local 279 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in getMaximumSourceCapacity() local
|
| /packages/modules/Bluetooth/framework/java/android/bluetooth/ |
| 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 …]
|
| /packages/modules/Bluetooth/android/leaudio/app/src/main/java/com/android/bluetooth/leaudio/ |
| D | LeAudioViewModel.java | 48 public void connectLeAudio(BluetoothDevice device, boolean connect) { in connectLeAudio() 56 public void groupSet(BluetoothDevice device, Integer group_id) { in groupSet() 60 public void groupUnset(BluetoothDevice device, Integer group_id) { in groupUnset() 68 public void setVolume(BluetoothDevice device, int volume) { in setVolume() 72 public void connectHap(BluetoothDevice device, boolean connect) { in connectHap() 76 public void hapReadPresetInfo(BluetoothDevice device, int preset_index) { in hapReadPresetInfo() 80 public void hapSetActivePreset(BluetoothDevice device, int preset_index) { in hapSetActivePreset() 84 public void hapSetActivePresetForGroup(BluetoothDevice device, int preset_index) { in hapSetActivePresetForGroup() 88 public void hapChangePresetName(BluetoothDevice device, int preset_index, String name) { in hapChangePresetName() 92 public void hapPreviousDevicePreset(BluetoothDevice device) { in hapPreviousDevicePreset() [all …]
|
| /packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/ |
| D | HapClientService.java | 253 void bondStateChanged(BluetoothDevice device, int bondState) { in bondStateChanged() 281 private void removeStateMachine(BluetoothDevice device) { in removeStateMachine() 349 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 375 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() 402 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 414 public boolean okToConnect(BluetoothDevice device) { in okToConnect() 438 synchronized void connectionStateChanged(BluetoothDevice device, int fromState, in connectionStateChanged() 464 public boolean connect(BluetoothDevice device) { in connect() 500 public boolean disconnect(BluetoothDevice device) { in disconnect() 518 private HapClientStateMachine getOrCreateStateMachine(BluetoothDevice device) { in getOrCreateStateMachine() [all …]
|
| /packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dpsink/ |
| D | A2dpSinkService.java | 136 public boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice() 158 public void requestAudioFocus(BluetoothDevice device, boolean request) { in requestAudioFocus() 178 boolean isA2dpPlaying(BluetoothDevice device) { in isA2dpPlaying() 221 public void connect(BluetoothDevice device, AttributionSource source, in connect() 236 public void disconnect(BluetoothDevice device, AttributionSource source, in disconnect() 281 public void getConnectionState(BluetoothDevice device, AttributionSource source, in getConnectionState() 296 public void setConnectionPolicy(BluetoothDevice device, int connectionPolicy, in setConnectionPolicy() 311 public void getConnectionPolicy(BluetoothDevice device, AttributionSource source, in getConnectionPolicy() 326 public void isA2dpPlaying(BluetoothDevice device, AttributionSource source, in isA2dpPlaying() 341 public void getAudioConfig(BluetoothDevice device, in getAudioConfig() [all …]
|
| /packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bas/ |
| D | BatteryService.java | 195 public boolean connect(BluetoothDevice device) { in connect() 233 public boolean connectIfPossible(BluetoothDevice device) { in connectIfPossible() 247 public boolean disconnect(BluetoothDevice device) { in disconnect() 294 public boolean canConnect(BluetoothDevice device) { in canConnect() 318 BluetoothDevice device = sm.getDevice(); in handleConnectionStateChanged() local 387 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 415 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() 435 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 444 public void handleBatteryChanged(BluetoothDevice device, int batteryLevel) { in handleBatteryChanged() 448 private BatteryStateMachine getOrCreateStateMachine(BluetoothDevice device) { in getOrCreateStateMachine() [all …]
|
| /packages/modules/Bluetooth/system/bta/has/ |
| D | has_client.cc | 168 auto device = std::find_if(devices_.begin(), devices_.end(), in Connect() local 191 auto device = std::find_if(devices_.begin(), devices_.end(), in AddFromStorage() local 220 auto device = std::find_if(devices_.begin(), devices_.end(), in Disconnect() local 248 void UpdateJournalOpEntryStatus(HasDevice& device, HasGattOpContext context, in UpdateJournalOpEntryStatus() 295 auto device = GetDevice(conn_id); in OnHasActivePresetCycleStatus() local 330 auto device = GetDevice(conn_id); in OnHasPresetNameSetStatus() local 365 auto device = GetDevice(conn_id); in OnHasPresetNameGetStatus() local 404 auto device = GetDevice(conn_id); in OnHasPresetIndexOperation() local 460 auto device = std::find_if( in CpReadAllPresetsOperation() local 494 ErrorCode CpPresetIndexOperationWriteReq(HasDevice& device, in CpPresetIndexOperationWriteReq() [all …]
|
| /packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/ |
| D | HearingAidService.java | 270 public boolean connect(BluetoothDevice device) { in connect() 338 public boolean disconnect(BluetoothDevice device) { in disconnect() 391 public boolean isConnectedPeerDevices(BluetoothDevice device) { in isConnectedPeerDevices() 408 public boolean okToConnect(BluetoothDevice device) { in okToConnect() 497 public int getConnectionState(BluetoothDevice device) { in getConnectionState() 523 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy() 555 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy() 570 public long getHiSyncId(BluetoothDevice device) { in getHiSyncId() 579 int getCapabilities(BluetoothDevice device) { in getCapabilities() 589 BluetoothDevice device, AttributionSource attributionSource) { in getAdvertisementServiceData() [all …]
|