Home
last modified time | relevance | path

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

12345678910>>...14

/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/
DCommonTransitions.java53 private static void setRotation(UiDevice device, int rotation) { in setRotation()
75 private static void clickEditTextWidget(UiDevice device, IAppHelper testApp) { in clickEditTextWidget()
81 private static void clickEnterPipButton(UiDevice device, IAppHelper testApp) { in clickEnterPipButton()
88 device) { in openAppWarm()
102 device) { in closeAppWithBackKey()
116 device) { in closeAppWithHomeKey()
130 UiDevice device) { in getOpenAppCold()
143 device, int beginRotation, int endRotation) { in changeAppRotation()
159 device, int beginRotation, int endRotation) { in changeAppRotation()
178 static TransitionBuilder appToSplitScreen(IAppHelper testApp, UiDevice device) { in appToSplitScreen()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfile.java38 boolean connect(BluetoothDevice device); in connect()
40 boolean disconnect(BluetoothDevice device); in disconnect()
42 int getConnectionStatus(BluetoothDevice device); in getConnectionStatus()
44 boolean isPreferred(BluetoothDevice device); in isPreferred()
46 int getPreferred(BluetoothDevice device); in getPreferred()
48 void setPreferred(BluetoothDevice device, boolean preferred); in setPreferred()
61 int getNameResource(BluetoothDevice device); in getNameResource()
70 int getSummaryResourceForDevice(BluetoothDevice device); in getSummaryResourceForDevice()
DOppProfile.java43 public boolean connect(BluetoothDevice device) { in connect()
47 public boolean disconnect(BluetoothDevice device) { in disconnect()
51 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
55 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
59 public int getPreferred(BluetoothDevice device) { in getPreferred()
63 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred()
83 public int getNameResource(BluetoothDevice device) { in getNameResource()
87 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
DHearingAidProfile.java59 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local
148 public boolean connect(BluetoothDevice device) { in connect()
153 public boolean disconnect(BluetoothDevice device) { in disconnect()
162 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
169 public boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice()
179 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
184 public int getPreferred(BluetoothDevice device) { in getPreferred()
189 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred()
214 public long getHiSyncId(BluetoothDevice device) { in getHiSyncId()
221 public int getDeviceSide(BluetoothDevice device) { in getDeviceSide()
[all …]
DA2dpProfile.java67 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local
150 public boolean connect(BluetoothDevice device) { in connect()
155 public boolean disconnect(BluetoothDevice device) { in disconnect()
164 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
171 public boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice()
181 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
186 public int getPreferred(BluetoothDevice device) { in getPreferred()
191 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred()
212 public boolean supportsHighQualityAudio(BluetoothDevice device) { in supportsHighQualityAudio()
217 public boolean isHighQualityAudioEnabled(BluetoothDevice device) { in isHighQualityAudioEnabled()
[all …]
DPanProfile.java86 public boolean connect(BluetoothDevice device) { in connect()
97 public boolean disconnect(BluetoothDevice device) { in disconnect()
102 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
109 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
113 public int getPreferred(BluetoothDevice device) { in getPreferred()
117 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred()
129 public int getNameResource(BluetoothDevice device) { in getNameResource()
137 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
160 void setLocalRole(BluetoothDevice device, int role) { in setLocalRole()
164 boolean isLocalRoleNap(BluetoothDevice device) { in isLocalRoleNap()
DHeadsetProfile.java66 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local
111 public boolean connect(BluetoothDevice device) { in connect()
118 public boolean disconnect(BluetoothDevice device) { in disconnect()
129 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
136 public boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice()
157 public int getAudioState(BluetoothDevice device) { in getAudioState()
164 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
171 public int getPreferred(BluetoothDevice device) { in getPreferred()
178 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred()
209 public int getNameResource(BluetoothDevice device) { in getNameResource()
[all …]
DHidDeviceProfile.java65 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local
105 public boolean connect(BluetoothDevice device) { in connect()
111 public boolean disconnect(BluetoothDevice device) { in disconnect()
119 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
127 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
132 public int getPreferred(BluetoothDevice device) { in getPreferred()
137 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred()
155 public int getNameResource(BluetoothDevice device) { in getNameResource()
160 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
DPbapServerProfile.java88 public boolean connect(BluetoothDevice device) { in connect()
94 public boolean disconnect(BluetoothDevice device) { in disconnect()
99 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
109 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
113 public int getPreferred(BluetoothDevice device) { in getPreferred()
117 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred()
129 public int getNameResource(BluetoothDevice device) { in getNameResource()
133 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
DMapClientProfile.java67 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local
114 public boolean connect(BluetoothDevice device) { in connect()
121 public boolean disconnect(BluetoothDevice device) { in disconnect()
132 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
139 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
146 public int getPreferred(BluetoothDevice device) { in getPreferred()
153 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred()
184 public int getNameResource(BluetoothDevice device) { in getNameResource()
188 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
DHidProfile.java58 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local
101 public boolean connect(BluetoothDevice device) { in connect()
106 public boolean disconnect(BluetoothDevice device) { in disconnect()
111 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
118 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
123 public int getPreferred(BluetoothDevice device) { in getPreferred()
128 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred()
147 public int getNameResource(BluetoothDevice device) { in getNameResource()
152 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
DHfpClientProfile.java67 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local
125 public boolean connect(BluetoothDevice device) { in connect()
133 public boolean disconnect(BluetoothDevice device) { in disconnect()
145 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
153 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
161 public int getPreferred(BluetoothDevice device) { in getPreferred()
169 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred()
193 public int getNameResource(BluetoothDevice device) { in getNameResource()
198 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
DSapProfile.java65 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local
111 public boolean connect(BluetoothDevice device) { in connect()
118 public boolean disconnect(BluetoothDevice device) { in disconnect()
128 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
135 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
142 public int getPreferred(BluetoothDevice device) { in getPreferred()
149 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred()
180 public int getNameResource(BluetoothDevice device) { in getNameResource()
184 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
DMapProfile.java66 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local
113 public boolean connect(BluetoothDevice device) { in connect()
118 public boolean disconnect(BluetoothDevice device) { in disconnect()
128 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
135 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
142 public int getPreferred(BluetoothDevice device) { in getPreferred()
149 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred()
180 public int getNameResource(BluetoothDevice device) { in getNameResource()
184 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
DPbapClientProfile.java63 CachedBluetoothDevice device = mDeviceManager.findDevice(nextDevice); in onServiceConnected() local
126 public boolean connect(BluetoothDevice device) { in connect()
135 public boolean disconnect(BluetoothDevice device) { in disconnect()
143 public int getConnectionStatus(BluetoothDevice device) { in getConnectionStatus()
150 public boolean isPreferred(BluetoothDevice device) { in isPreferred()
157 public int getPreferred(BluetoothDevice device) { in getPreferred()
164 public void setPreferred(BluetoothDevice device, boolean preferred) { in setPreferred()
185 public int getNameResource(BluetoothDevice device) { in getNameResource()
190 public int getSummaryResourceForDevice(BluetoothDevice device) { in getSummaryResourceForDevice()
/frameworks/base/core/java/android/companion/
DBluetoothDeviceFilterUtils.java54 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/core/java/android/bluetooth/
DBluetoothA2dp.java257 public boolean connect(BluetoothDevice device) { in connect()
298 public boolean disconnect(BluetoothDevice device) { in disconnect()
355 public @BtProfileState int getConnectionState(BluetoothDevice device) { in getConnectionState()
394 public boolean setActiveDevice(@Nullable BluetoothDevice device) { in setActiveDevice()
453 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
486 public int getPriority(BluetoothDevice device) { in getPriority()
549 public boolean isA2dpPlaying(BluetoothDevice device) { in isA2dpPlaying()
571 public boolean shouldSendVolumeKeys(BluetoothDevice device) { in shouldSendVolumeKeys()
594 public @Nullable BluetoothCodecStatus getCodecStatus(BluetoothDevice device) { in getCodecStatus()
620 public void setCodecConfigPreference(BluetoothDevice device, in setCodecConfigPreference()
[all …]
DBluetoothGattServerCallback.java32 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 …]
DBluetoothHeadsetClient.java411 public boolean connect(BluetoothDevice device) { in connect()
435 public boolean disconnect(BluetoothDevice device) { in disconnect()
504 public int getConnectionState(BluetoothDevice device) { in getConnectionState()
525 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority()
548 public int getPriority(BluetoothDevice device) { in getPriority()
575 public boolean startVoiceRecognition(BluetoothDevice device) { in startVoiceRecognition()
601 public boolean stopVoiceRecognition(BluetoothDevice device) { in stopVoiceRecognition()
622 public List<BluetoothHeadsetClientCall> getCurrentCalls(BluetoothDevice device) { in getCurrentCalls()
643 public Bundle getCurrentAgEvents(BluetoothDevice device) { in getCurrentAgEvents()
668 public boolean acceptCall(BluetoothDevice device, int flag) { in acceptCall()
[all …]
DBluetoothHidDevice.java257 public void onConnectionStateChanged(BluetoothDevice device, int state) { in onConnectionStateChanged()
271 public void onGetReport(BluetoothDevice device, byte type, byte id, int bufferSize) { in onGetReport()
293 public void onSetReport(BluetoothDevice device, byte type, byte id, byte[] data) { in onSetReport()
304 public void onSetProtocol(BluetoothDevice device, byte protocol) { in onSetProtocol()
315 public void onInterruptData(BluetoothDevice device, byte reportId, byte[] data) { in onInterruptData()
323 public void onVirtualCableUnplug(BluetoothDevice device) { in onVirtualCableUnplug()
345 public void onConnectionStateChanged(BluetoothDevice device, int state) { in onConnectionStateChanged()
351 public void onGetReport(BluetoothDevice device, byte type, byte id, int bufferSize) { in onGetReport()
357 public void onSetReport(BluetoothDevice device, byte type, byte id, byte[] data) { in onSetReport()
363 public void onSetProtocol(BluetoothDevice device, byte protocol) { in onSetProtocol()
[all …]
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
DUsbDeviceStateController.java38 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 …]
DUsbHostManagementActivity.java135 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/tests/FlickerTests/lib/src/com/android/server/wm/flicker/
DAutomationUtils.java57 UiDevice device = UiDevice.getInstance(InstrumentationRegistry in wakeUpAndGoToHomeScreen() local
84 public static boolean isQuickstepEnabled(UiDevice device) { in isQuickstepEnabled()
88 public static void openQuickstep(UiDevice device) { in openQuickstep()
127 static void clearRecents(UiDevice device) { in clearRecents()
148 private static BySelector getLauncherOverviewSelector(UiDevice device) { in getLauncherOverviewSelector()
152 private static void longPressRecents(UiDevice device) { in longPressRecents()
159 public static void launchSplitScreen(UiDevice device) { in launchSplitScreen()
187 public static void exitSplitScreen(UiDevice device) { in exitSplitScreen()
204 static void resizeSplitScreen(UiDevice device, Rational windowHeightRatio) { in resizeSplitScreen()
221 static void closePipWindow(UiDevice device) { in closePipWindow()
[all …]
/frameworks/native/services/inputflinger/
DEventHub.cpp306 Device* device = mClosingDevices; in ~EventHub() local
321 Device* device = getDeviceLocked(deviceId); in getDeviceIdentifier() local
328 Device* device = getDeviceLocked(deviceId); in getDeviceClasses() local
335 Device* device = getDeviceLocked(deviceId); in getDeviceControllerNumber() local
342 Device* device = getDeviceLocked(deviceId); in getConfiguration() local
357 Device* device = getDeviceLocked(deviceId); in getAbsoluteAxisInfo() local
384 Device* device = getDeviceLocked(deviceId); in hasRelativeAxis() local
396 Device* device = getDeviceLocked(deviceId); in hasInputProperty() local
408 Device* device = getDeviceLocked(deviceId); in getScanCodeState() local
423 Device* device = getDeviceLocked(deviceId); in getKeyCodeState() local
[all …]
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpManager.java94 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 …]

12345678910>>...14