Home
last modified time | relevance | path

Searched defs:device (Results 1 – 25 of 806) sorted by relevance

12345678910>>...33

/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DIBluetoothHeadsetClient.aidl32 boolean connect(in BluetoothDevice device, in AttributionSource attributionSource); in connect()
34 boolean disconnect(in BluetoothDevice device, in AttributionSource attributionSource); in disconnect()
41 int getConnectionState(in BluetoothDevice device, in AttributionSource attributionSource); in getConnectionState()
43 …boolean setConnectionPolicy(in BluetoothDevice device, int connectionPolicy, in AttributionSource … in setConnectionPolicy()
45 int getConnectionPolicy(in BluetoothDevice device, in AttributionSource attributionSource); in getConnectionPolicy()
48 … boolean startVoiceRecognition(in BluetoothDevice device, in AttributionSource attributionSource); in startVoiceRecognition()
50 boolean stopVoiceRecognition(in BluetoothDevice device, in AttributionSource attributionSource); in stopVoiceRecognition()
53 …List<BluetoothHeadsetClientCall> getCurrentCalls(in BluetoothDevice device, in AttributionSource a… in getCurrentCalls()
55 Bundle getCurrentAgEvents(in BluetoothDevice device, in AttributionSource attributionSource); in getCurrentAgEvents()
58 boolean acceptCall(in BluetoothDevice device, int flag, in AttributionSource attributionSource); in acceptCall()
[all …]
DIBluetoothHidHost.aidl30 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 setPreferredTransport(in BluetoothDevice device, int transport, in AttributionSource attri… in setPreferredTransport()
46 int getPreferredTransport(in BluetoothDevice device, in AttributionSource attributionSource); in getPreferredTransport()
48 boolean getProtocolMode(in BluetoothDevice device, in AttributionSource attributionSource); in getProtocolMode()
50 boolean virtualUnplug(in BluetoothDevice device, in AttributionSource attributionSource); in virtualUnplug()
52 …boolean setProtocolMode(in BluetoothDevice device, int protocolMode, in AttributionSource attribut… in setProtocolMode()
[all …]
DIBluetoothA2dp.aidl33 boolean connect(in BluetoothDevice device, in AttributionSource attributionSource); in connect()
35 boolean disconnect(in BluetoothDevice device, in AttributionSource attributionSource); in disconnect()
41 int getConnectionState(in BluetoothDevice device, in AttributionSource attributionSource); in getConnectionState()
43 boolean setActiveDevice(in BluetoothDevice device, in AttributionSource attributionSource); in setActiveDevice()
47 …boolean setConnectionPolicy(in BluetoothDevice device, int connectionPolicy, in AttributionSource … in setConnectionPolicy()
49 int getConnectionPolicy(in BluetoothDevice device, in AttributionSource attributionSource); in getConnectionPolicy()
53 boolean isA2dpPlaying(in BluetoothDevice device, in AttributionSource attributionSource); in isA2dpPlaying()
57 …BluetoothCodecStatus getCodecStatus(in BluetoothDevice device, in AttributionSource attributionSou… in getCodecStatus()
59 …oneway void setCodecConfigPreference(in BluetoothDevice device, in BluetoothCodecConfig codecConfi… in setCodecConfigPreference()
61 …oneway void enableOptionalCodecs(in BluetoothDevice device, in AttributionSource attributionSource… in enableOptionalCodecs()
[all …]
DIBluetooth.aidl99 …boolean createBond(in BluetoothDevice device, in int transport, in OobData p192Data, in OobData p2… in createBond()
101 boolean cancelBondProcess(in BluetoothDevice device, in AttributionSource attributionSource); in cancelBondProcess()
103 boolean removeBond(in BluetoothDevice device, in AttributionSource attributionSource); in removeBond()
105 int getBondState(in BluetoothDevice device, in AttributionSource attributionSource); in getBondState()
107 …boolean isBondingInitiatedLocally(in BluetoothDevice device, in AttributionSource attributionSourc… in isBondingInitiatedLocally()
111 int getConnectionState(in BluetoothDevice device, in AttributionSource attributionSource); in getConnectionState()
113 …int getConnectionHandle(in BluetoothDevice device, int transport, in AttributionSource attribution… in getConnectionHandle()
115 String getRemoteName(in BluetoothDevice device, in AttributionSource attributionSource); in getRemoteName()
117 int getRemoteType(in BluetoothDevice device, in AttributionSource attributionSource); in getRemoteType()
119 String getRemoteAlias(in BluetoothDevice device, in AttributionSource attributionSource); in getRemoteAlias()
[all …]
DIBluetoothMapClient.aidl31 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()
DIBluetoothHearingAid.aidl31 boolean connect(in BluetoothDevice device, in AttributionSource attributionSource); in connect()
33 boolean disconnect(in BluetoothDevice device, in AttributionSource attributionSource); in disconnect()
39 int getConnectionState(in BluetoothDevice device, in AttributionSource attributionSource); in getConnectionState()
41 boolean setActiveDevice(in BluetoothDevice device, in AttributionSource attributionSource); in setActiveDevice()
45 …boolean setConnectionPolicy(in BluetoothDevice device, int connectionPolicy, in AttributionSource … in setConnectionPolicy()
47 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()
65 …AdvertisementServiceData getAdvertisementServiceData(in BluetoothDevice device, in AttributionSour… in getAdvertisementServiceData()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/
DBluetoothConnectionRetryManagerTest.java120 private void sendBondStateChanged(BluetoothDevice device, int newState) { in sendBondStateChanged()
128 private void sendConnectionStateChanged(BluetoothDevice device, int newState) { in sendConnectionStateChanged()
136 private void sendSuccessfulConnection(BluetoothDevice device) { in sendSuccessfulConnection()
145 private void sendFailedConnectionMethod1(BluetoothDevice device) { in sendFailedConnectionMethod1()
154 private void sendFailedConnectionMethod2(BluetoothDevice device) { in sendFailedConnectionMethod2()
163 private void sendFailedConnectionsPeriodic(BluetoothDevice device, int count, long interval) { in sendFailedConnectionsPeriodic()
177 BluetoothDevice device = mock(BluetoothDevice.class); in createMockDevice() local
204 BluetoothDevice device = createMockDevice(DEVICE_LIST.get(0)); in testSuccessfulFirstConnect_doNothing() local
226 BluetoothDevice device = createMockDevice(DEVICE_LIST.get(0)); in testFailedFirstConnectMethod1_retryPosted() local
248 BluetoothDevice device = createMockDevice(DEVICE_LIST.get(0)); in testFailedFirstConnectMethod2_retryPosted() local
[all …]
DBluetoothDeviceManagerTest.java192 BluetoothDevice device = createDevice(address, mUuids); in makeDeviceList() local
243 private void sendBondStateChanged(BluetoothDevice device, int newState) { in sendBondStateChanged()
251 private void sendConnectionStateChanged(String profile, BluetoothDevice device, int newState) { in sendConnectionStateChanged()
273 BluetoothDevice device = devices.get(i); in assertDeviceList() local
283 BluetoothDevice device = mock(BluetoothDevice.class); in createDevice() local
431 BluetoothDevice device = mDeviceList.get(0); in testAddDeviceAlreadyInList_priorityListUnchanged() local
470 BluetoothDevice device = mDeviceList.get(0); in testRemoveDeviceFront_deviceNoLongerInPriorityList() local
491 BluetoothDevice device = mDeviceList.get(1); in testRemoveDeviceMiddle_deviceNoLongerInPriorityList() local
511 BluetoothDevice device = mDeviceList.get(2); in testRemoveDeviceEnd_deviceNoLongerInPriorityList() local
531 BluetoothDevice device = createDevice("10:20:30:40:50:60"); in testRemoveDeviceNotInList_priorityListUnchanged() local
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DHeadsetClientService.java306 public boolean connect(BluetoothDevice device, AttributionSource source) { in connect()
316 public boolean disconnect(BluetoothDevice device, AttributionSource source) { in disconnect()
347 public int getConnectionState(BluetoothDevice device, AttributionSource source) { in getConnectionState()
358 BluetoothDevice device, int connectionPolicy, AttributionSource source) { in setConnectionPolicy()
368 public int getConnectionPolicy(BluetoothDevice device, AttributionSource source) { in getConnectionPolicy()
378 public boolean startVoiceRecognition(BluetoothDevice device, AttributionSource source) { in startVoiceRecognition()
388 public boolean stopVoiceRecognition(BluetoothDevice device, AttributionSource source) { in stopVoiceRecognition()
398 public int getAudioState(BluetoothDevice device, AttributionSource source) { in getAudioState()
409 BluetoothDevice device, boolean allowed, AttributionSource source) { in setAudioRouteAllowed()
420 public boolean getAudioRouteAllowed(BluetoothDevice device, AttributionSource source) { in getAudioRouteAllowed()
[all …]
DHeadsetClientServiceInterface.java49 public HfpClientCall dial(BluetoothDevice device, String number) { in dial()
55 public boolean enterPrivateMode(BluetoothDevice device, int index) { in enterPrivateMode()
61 public boolean sendDTMF(BluetoothDevice device, byte code) { in sendDTMF()
67 public boolean terminateCall(BluetoothDevice device, HfpClientCall call) { in terminateCall()
73 public boolean holdCall(BluetoothDevice device) { in holdCall()
79 public boolean acceptCall(BluetoothDevice device, int flag) { in acceptCall()
85 public boolean rejectCall(BluetoothDevice device) { in rejectCall()
91 public boolean connectAudio(BluetoothDevice device) { in connectAudio()
97 public boolean disconnectAudio(BluetoothDevice device) { in disconnectAudio()
103 public Set<Integer> getCurrentAgFeatures(BluetoothDevice device) { in getCurrentAgFeatures()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceAndStateMachineTest.java217 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testGetHeadsetService() local
230 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testConnectFromApi() local
279 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testUnbondDevice_disconnectBeforeUnbond() local
325 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testUnbondDevice_disconnectAfterUnbond() local
389 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testVirtualCall_normalStartStop() local
428 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testVirtualCall_preemptedByTelecomCall() local
472 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testVirtualCall_rejectedWhenThereIsTelecomCall() local
501 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testDialingOutCall_NormalDialingOut() local
595 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, i); in testDialingOutCall_DialingOutPreemptVirtualCall() local
654 BluetoothDevice device = TestUtils.getTestDevice(mAdapter, 0); in testVoiceRecognition_SingleHfInitiatedSuccess() local
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DActiveDeviceManager.java177 int profile, BluetoothDevice device, int fromState, int toState) { in profileConnectionStateChanged()
223 public void profileActiveDeviceChanged(int profile, BluetoothDevice device) { in profileActiveDeviceChanged()
257 private void handleA2dpConnected(BluetoothDevice device) { in handleA2dpConnected()
324 private void handleHfpConnected(BluetoothDevice device) { in handleHfpConnected()
391 private void handleHearingAidConnected(BluetoothDevice device) { in handleHearingAidConnected()
416 private void handleLeAudioConnected(BluetoothDevice device) { in handleLeAudioConnected()
464 private void handleHapConnected(BluetoothDevice device) { in handleHapConnected()
495 private void handleA2dpDisconnected(BluetoothDevice device) { in handleA2dpDisconnected()
512 private void handleHfpDisconnected(BluetoothDevice device) { in handleHfpDisconnected()
527 private void handleHearingAidDisconnected(BluetoothDevice device) { in handleHearingAidDisconnected()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hid/
DHidHostService.java192 private byte[] getIdentityAddress(BluetoothDevice device) { in getIdentityAddress()
200 private byte[] getByteAddress(BluetoothDevice device, int transport) { in getByteAddress()
237 private byte[] getByteAddress(BluetoothDevice device) { in getByteAddress()
247 private int getAddressType(BluetoothDevice device) { in getAddressType()
261 private int getTransport(BluetoothDevice device) { in getTransport()
276 private void setTransport(BluetoothDevice device, int transport) { in setTransport()
289 private InputDevice getOrCreateInputDevice(BluetoothDevice device) { in getOrCreateInputDevice()
300 private int getState(BluetoothDevice device, int transport) { in getState()
333 private boolean nativeConnect(BluetoothDevice device, int transport) { in nativeConnect()
361 BluetoothDevice device, int transport, boolean reconnectAllowed) { in nativeDisconnect()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpService.java269 public boolean connect(BluetoothDevice device) { in connect()
320 public boolean disconnect(BluetoothDevice device) { in disconnect()
353 private boolean connectionAllowedCheckMaxDevices(BluetoothDevice device) { in connectionAllowedCheckMaxDevices()
384 public boolean okToConnect(BluetoothDevice device, boolean isOutgoingRequest) { in okToConnect()
473 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
527 public boolean setSilenceMode(@NonNull BluetoothDevice device, boolean silence) { in setSilenceMode()
548 public boolean setActiveDevice(@NonNull BluetoothDevice device) { in setActiveDevice()
650 private boolean isActiveDevice(BluetoothDevice device) { in isActiveDevice()
671 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy()
698 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/
DMapClientService.java113 public synchronized boolean connect(BluetoothDevice device) { in connect()
171 private synchronized void addDeviceToMapAndConnect(BluetoothDevice device) { in addDeviceToMapAndConnect()
181 public synchronized boolean disconnect(BluetoothDevice device) { in disconnect()
204 MceStateMachine getMceStateMachineForDevice(BluetoothDevice device) { in getMceStateMachineForDevice()
226 public synchronized int getConnectionState(BluetoothDevice device) { in getConnectionState()
249 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy()
277 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy()
284 BluetoothDevice device, in sendMessage()
357 public void cleanupDevice(BluetoothDevice device, MceStateMachine sm) { in cleanupDevice()
387 public synchronized boolean getUnreadMessages(BluetoothDevice device) { in getUnreadMessages()
[all …]
/packages/modules/adb/
Dbenchmark_device.py32 def lock_min(device): argument
40 def lock_max(device): argument
48 def unlock(device): argument
67 def benchmark_sink(device=None, size_mb=100): argument
86 def benchmark_source(device=None, size_mb=100): argument
102 def benchmark_push(device=None, file_size_mb=100): argument
121 def benchmark_pull(device=None, file_size_mb=100): argument
139 def benchmark_shell(device=None, file_size_mb=100): argument
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/
DHearingAidService.java237 public boolean connect(BluetoothDevice device) { in connect()
304 public boolean disconnect(BluetoothDevice device) { in disconnect()
356 public boolean isConnectedPeerDevices(BluetoothDevice device) { in isConnectedPeerDevices()
373 public boolean okToConnect(BluetoothDevice device) { in okToConnect()
462 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
487 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy()
515 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy()
529 public long getHiSyncId(BluetoothDevice device) { in getHiSyncId()
538 int getCapabilities(BluetoothDevice device) { in getCapabilities()
548 BluetoothDevice device, AttributionSource attributionSource) { in getAdvertisementServiceData()
[all …]
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothA2dp.java330 public boolean connect(BluetoothDevice device) { in connect()
368 public boolean disconnect(BluetoothDevice device) { in disconnect()
431 public @BtProfileState int getConnectionState(BluetoothDevice device) { in getConnectionState()
467 public boolean setActiveDevice(@Nullable BluetoothDevice device) { in setActiveDevice()
527 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
551 public boolean setConnectionPolicy( in setConnectionPolicy()
585 public int getPriority(BluetoothDevice device) { in getPriority()
607 public @ConnectionPolicy int getConnectionPolicy(@NonNull BluetoothDevice device) { in getConnectionPolicy()
659 public boolean isA2dpPlaying(BluetoothDevice device) { in isA2dpPlaying()
683 public boolean shouldSendVolumeKeys(BluetoothDevice device) { in shouldSendVolumeKeys()
[all …]
DBluetoothHapClient.java95 void onPresetSelected( in onPresetSelected()
122 void onPresetSelectionFailed( in onPresetSelectionFailed()
175 void onPresetInfoChanged( in onPresetInfoChanged()
203 void onSetPresetNameFailed( in onSetPresetNameFailed()
675 public boolean setConnectionPolicy( in setConnectionPolicy()
714 public @ConnectionPolicy int getConnectionPolicy(@Nullable BluetoothDevice device) { in getConnectionPolicy()
806 public int getConnectionState(@NonNull BluetoothDevice device) { in getConnectionState()
844 public int getHapGroup(@NonNull BluetoothDevice device) { in getHapGroup()
874 public int getActivePresetIndex(@NonNull BluetoothDevice device) { in getActivePresetIndex()
904 public @Nullable BluetoothHapPresetInfo getActivePresetInfo(@NonNull BluetoothDevice device) { in getActivePresetInfo()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dpsink/
DA2dpSinkService.java139 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 boolean connect(BluetoothDevice device, AttributionSource source) { in connect()
230 public boolean disconnect(BluetoothDevice device, AttributionSource source) { in disconnect()
258 public int getConnectionState(BluetoothDevice device, AttributionSource source) { in getConnectionState()
268 BluetoothDevice device, int connectionPolicy, AttributionSource source) { in setConnectionPolicy()
277 public int getConnectionPolicy(BluetoothDevice device, AttributionSource source) { in getConnectionPolicy()
286 public boolean isA2dpPlaying(BluetoothDevice device, AttributionSource source) { in isA2dpPlaying()
296 BluetoothDevice device, AttributionSource source) { in getAudioConfig()
[all …]
/packages/modules/AdServices/adservices/apk/tests/util/java/com/android/adservices/ui/util/
DApkTestUtil.java72 public static UiObject2 getConsentSwitch(UiDevice device) { in getConsentSwitch()
93 public static void scrollToAndClick(UiDevice device, int resId) { in scrollToAndClick()
98 public static void click(UiDevice device, int resId) { in click()
112 public static void gentleSwipe(UiDevice device) { in gentleSwipe()
120 public static UiObject2 scrollTo(UiDevice device, int resId) { in scrollTo()
126 public static UiObject2 scrollTo(UiDevice device, String regexStr) { in scrollTo()
131 public static UiObject2 scrollToFindElement(UiDevice device, BySelector selector) { in scrollToFindElement()
148 public static UiObject2 getElement(UiDevice device, int resId) { in getElement()
168 public static UiObject2 getElement(UiDevice device, int resId, int index) { in getElement()
183 public static UiObject getPageElement(UiDevice device, int resId) { in getPageElement()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerService.java116 BluetoothDevice device, AvrcpCoverArtManager.DownloadEvent event) { in onImageDownloadComplete()
210 boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice()
252 protected void getCurrentMetadataIfNoCoverArt(BluetoothDevice device) { in getCurrentMetadataIfNoCoverArt()
264 BluetoothDevice device = node.getDevice(); in refreshContents() local
284 BluetoothDevice device = stateMachine.getDevice(); in playItem() local
338 BluetoothDevice device = requestedNode.getDevice(); in getContents() local
416 public int getConnectionState(BluetoothDevice device, AttributionSource source) { in getConnectionState()
426 BluetoothDevice device, int keyCode, int keyState, AttributionSource source) { in sendGroupNavigationCmd()
440 BluetoothDevice device, AttributionSource source) { in getPlayerSettings()
450 boolean remoteControlConnected, boolean browsingConnected, BluetoothDevice device) { in onConnectionStateChanged()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DAccessoryUtils.java73 Context context, BluetoothDevice device) { in getCachedBluetoothDevice()
95 public static String getLocalName(BluetoothDevice device) { in getLocalName()
106 public static boolean isConnected(BluetoothDevice device) { in isConnected()
113 public static boolean isBonded(BluetoothDevice device) { in isBonded()
120 public static boolean isRemoteClass(BluetoothDevice device) { in isRemoteClass()
133 public static boolean isKnownDevice(Context context, BluetoothDevice device) { in isKnownDevice()
172 public static boolean isBluetoothHeadset(BluetoothDevice device) { in isBluetoothHeadset()
185 static boolean isA2dpSource(BluetoothDevice device) { in isA2dpSource()
191 static boolean isActiveAudioOutput(BluetoothDevice device) { in isActiveAudioOutput()
206 static boolean setActiveAudioOutput(BluetoothDevice device) { in setActiveAudioOutput()
/packages/services/Mtp/src/com/android/mtp/
DMtpManager.java95 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/Bluetooth/android/app/src/com/android/bluetooth/bas/
DBatteryService.java169 public boolean connect(BluetoothDevice device) { in connect()
204 public boolean connectIfPossible(BluetoothDevice device) { in connectIfPossible()
216 public boolean disconnect(BluetoothDevice device) { in disconnect()
258 public boolean canConnect(BluetoothDevice device) { in canConnect()
279 BluetoothDevice device = sm.getDevice(); in handleConnectionStateChanged() local
350 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
376 public boolean setConnectionPolicy(BluetoothDevice device, int connectionPolicy) { in setConnectionPolicy()
392 public int getConnectionPolicy(BluetoothDevice device) { in getConnectionPolicy()
400 public void handleBatteryChanged(BluetoothDevice device, int batteryLevel) { in handleBatteryChanged()
404 private BatteryStateMachine getOrCreateStateMachine(BluetoothDevice device) { in getOrCreateStateMachine()
[all …]

12345678910>>...33