/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetNativeInterface.java | 70 private BluetoothDevice getDevice(byte[] address) { in getDevice() method in HeadsetNativeInterface 77 getDevice(address)); in onConnectionStateChanged() 86 getDevice(address)); in onAudioStateChanged() 93 getDevice(address)); in onVrStateChanged() 99 new HeadsetStackEvent(HeadsetStackEvent.EVENT_TYPE_ANSWER_CALL, getDevice(address)); in onAnswerCall() 105 new HeadsetStackEvent(HeadsetStackEvent.EVENT_TYPE_HANGUP_CALL, getDevice(address)); in onHangupCall() 112 getDevice(address)); in onVolumeChanged() 119 getDevice(address)); in onDialCall() 126 getDevice(address)); in onSendDtmf() 133 getDevice(address)); in onNoiseReductionEnable() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/ |
D | NativeInterface.java | 77 private BluetoothDevice getDevice(byte[] address) { in getDevice() method in NativeInterface 88 event.device = getDevice(address); in onConnectionStateChanged() 105 event.device = getDevice(address); in onAudioStateChanged() 121 event.device = getDevice(address); in onVrStateChanged() 138 event.device = getDevice(address); in onNetworkState() 156 event.device = getDevice(address); in onNetworkRoaming() 172 event.device = getDevice(address); in onNetworkSignal() 187 event.device = getDevice(address); in onBatteryLevel() 202 event.device = getDevice(address); in onCurrentOperator() 218 event.device = getDevice(address); in onCall() [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | BluetoothProfileInhibitManager.java | 98 public BluetoothDevice getDevice() { in getDevice() method in BluetoothProfileInhibitManager.BluetoothConnection 211 + " for device " + mParams.getDevice() in binderDied() 373 params.getDevice()); in addInhibitRecord() 380 + " already disabled for device " + params.getDevice() in addInhibitRecord() 385 params.getDevice(), in addInhibitRecord() 389 params.getDevice()); in addInhibitRecord() 392 + " for device " + params.getDevice()); in addInhibitRecord() 464 + params.getDevice() + " - was manually disabled"); in restoreProfilePriority() 471 params.getDevice(), in restoreProfilePriority() 475 params.getDevice()); in restoreProfilePriority() [all …]
|
/packages/apps/TimeZoneData/testing/xts/src/com/android/timezone/xts/ |
D | TimeZoneUpdateHostTest.java | 109 public ITestDevice getDevice() { in getDevice() method in TimeZoneUpdateHostTest 197 getDevice().installPackage(appFile, true /* reinstall */); in testInstallNewerRulesVersion() 215 ITestDevice device = getDevice(); in testInstallNewerRulesVersion_secondaryUser() 258 getDevice().installPackage(appFile, true /* reinstall */); in testInstallOlderRulesVersion() 273 getDevice().reboot(); in rebootDeviceAndWaitForRestart() 399 String output = getDevice().executeShellCommand( in getDeviceTimeZoneState() 408 String output = getDevice().executeShellCommand("dumpsys timezone"); in dumpEntireTimeZoneStatusToString() 420 for (String installedPackage : getDevice().getInstalledPackageNames()) { in isPackageInstalled() 429 return getDevice().uninstallPackage(packageName); in uninstallPackage()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | MtpClient.java | 254 public MtpDevice getDevice(String deviceName) { in getDevice() method in MtpClient 267 public MtpDevice getDevice(int id) { in getDevice() method in MtpClient 300 MtpDevice device = getDevice(deviceName); in getStorageList() 332 MtpDevice device = getDevice(deviceName); in getObjectInfo() 347 MtpDevice device = getDevice(deviceName); in deleteObject() 368 MtpDevice device = getDevice(deviceName); in getObjectList() 404 MtpDevice device = getDevice(deviceName); in getObject() 419 MtpDevice device = getDevice(deviceName); in getThumbnail() 437 MtpDevice device = getDevice(deviceName); in importFile()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsProfilesController.java | 89 pref.setTitle(profile.getNameResource(mCachedDevice.getDevice())); in createProfilePreference() 100 BluetoothDevice device = mCachedDevice.getDevice(); in refreshProfilePreference() 136 final BluetoothDevice bluetoothDevice = mCachedDevice.getDevice(); in enableProfile() 153 final BluetoothDevice bluetoothDevice = mCachedDevice.getDevice(); in disableProfile() 195 final BluetoothDevice device = mCachedDevice.getDevice(); in getProfiles() 224 BluetoothDevice device = mCachedDevice.getDevice(); in maybeAddHighQualityAudioPref() 233 a2dp.setHighQualityAudioEnabled(mCachedDevice.getDevice(), enable); in maybeAddHighQualityAudioPref()
|
D | BluetoothDeviceUpdater.java | 225 final BluetoothDevice device = cachedDevice.getDevice(); in addPreference() 244 final BluetoothDevice device = cachedDevice.getDevice(); in removePreference() 253 final BluetoothDevice subDevice = subCachedDevice.getDevice(); in removePreference() 273 device.getDevice().getAddress()); in launchDeviceDetails() 291 final BluetoothDevice device = cachedDevice.getDevice(); in isDeviceConnected()
|
D | AdvancedBluetoothDetailsHeaderController.java | 95 mCachedDevice.getDevice(), BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET); in getAvailabilityStatus() 114 mBluetoothAdapter.addOnMetadataChangedListener(mCachedDevice.getDevice(), in onStart() 124 mBluetoothAdapter.removeOnMetadataChangedListener(mCachedDevice.getDevice(), in onStop() 199 final BluetoothDevice bluetoothDevice = mCachedDevice.getDevice(); in updateSubLayout() 238 final BluetoothDevice bluetoothDevice = mCachedDevice.getDevice(); in updateDisconnectLayout()
|
D | RemoteDeviceNameDialogFragment.java | 39 args.putString(KEY_CACHED_DEVICE_ADDRESS, device.getDevice().getAddress()); in newInstance() 46 CachedBluetoothDevice getDevice(Context context) { in getDevice() method in RemoteDeviceNameDialogFragment 56 mDevice = getDevice(context); in onAttach()
|
D | ForgetDeviceDialogFragment.java | 53 CachedBluetoothDevice getDevice(Context context) { in getDevice() method in ForgetDeviceDialogFragment 75 mDevice = getDevice(context); in onCreateDialog() 77 mDevice.getDevice(), BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET); in onCreateDialog()
|
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | Background.java | 65 final int centerX = mLauncher.getDevice().getDisplayWidth() / 2; in goToOverviewUnchecked() 97 if (mLauncher.getDevice().isNaturalOrientation()) { in goToOverviewUnchecked() 98 startX = endX = mLauncher.getDevice().getDisplayWidth() / 2; in goToOverviewUnchecked() 104 startY = endY = mLauncher.getDevice().getDisplayHeight() / 2; in goToOverviewUnchecked()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | BluetoothDeviceUpdater.java | 215 final BluetoothDevice device = cachedDevice.getDevice(); in addPreference() 234 final BluetoothDevice device = cachedDevice.getDevice(); in removePreference() 243 final BluetoothDevice subDevice = subCachedDevice.getDevice(); in removePreference() 263 device.getDevice().getAddress()); in launchDeviceDetails() 281 final BluetoothDevice device = cachedDevice.getDevice(); in isDeviceConnected()
|
D | RemoteDeviceNameDialogFragment.java | 39 args.putString(KEY_CACHED_DEVICE_ADDRESS, device.getDevice().getAddress()); in newInstance() 46 CachedBluetoothDevice getDevice(Context context) { in getDevice() method in RemoteDeviceNameDialogFragment 56 mDevice = getDevice(context); in onAttach()
|
D | BluetoothDeviceDetailsFragment.java | 59 CachedBluetoothDevice getDevice(String deviceAddress); in getDevice() method 89 return sTestDataFactory.getDevice(deviceAddress); in getCachedDevice() 122 ? featureProvider.getBluetoothDeviceSettingsUri(mCachedDevice.getDevice()) in onAttach()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpNativeInterface.java | 143 private BluetoothDevice getDevice(byte[] address) { in getDevice() method in A2dpNativeInterface 170 event.device = getDevice(address); in onConnectionStateChanged() 181 event.device = getDevice(address); in onAudioStateChanged() 195 event.device = getDevice(address); in onCodecConfigChanged()
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | GattClientListener.java | 189 + gatt.getDevice().getAddress() + " status " + status); in onConnectionStateChange() 195 + gatt.getDevice().getAddress() + " status " + status); in onConnectionStateChange() 205 + gatt.getDevice().getAddress() + " status " + status); in onConnectionStateChange() 208 + gatt.getDevice().getAddress() + " status " + status); in onConnectionStateChange() 368 BluetoothDevice device = result.getDevice(); in onScanResult()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | BondStateMachine.java | 350 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mRemoteDevices.getDevice(address)); in sendDisplayPinIntent() 426 BluetoothDevice device = mRemoteDevices.getDevice(address); in bondStateChangeCallback() 455 BluetoothDevice bdDevice = mRemoteDevices.getDevice(address); in sspRequestCallback() 487 BluetoothDevice device = mRemoteDevices.getDevice(address); in sspRequestCallback() 491 device = Objects.requireNonNull(mRemoteDevices.getDevice(address)); in sspRequestCallback() 511 BluetoothDevice bdDevice = mRemoteDevices.getDevice(address); in pinRequestCallback() 514 bdDevice = Objects.requireNonNull(mRemoteDevices.getDevice(address)); in pinRequestCallback()
|
D | RemoteDevices.java | 174 BluetoothDevice getDevice(byte[] address) { in getDevice() method in RemoteDevices 179 return prop.getDevice(); in getDevice() 264 BluetoothDevice getDevice() { in getDevice() method in RemoteDevices.DeviceProperties 388 BluetoothDevice device = getDevice(address); in setBondingInitiatedLocally() 482 BluetoothDevice bdDevice = getDevice(address); in devicePropertyChangedCallback() 487 bdDevice = getDevice(address); in devicePropertyChangedCallback() 572 BluetoothDevice device = getDevice(address); in deviceFoundCallback() 599 BluetoothDevice device = getDevice(address); in aclStateChangeCallback()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetServiceTest.java | 254 when(mStateMachines.get(mCurrentDevice).getDevice()).thenReturn(mCurrentDevice); in testConnectDevice_connectDeviceBelowLimit() 291 when(mStateMachines.get(mCurrentDevice).getDevice()).thenReturn(mCurrentDevice); in testMessageFromNative_deviceConnected() 379 when(mStateMachines.get(mCurrentDevice).getDevice()).thenReturn(mCurrentDevice); in testConnectDevice_connectDeviceAboveLimit() 418 when(mStateMachines.get(mCurrentDevice).getDevice()).thenReturn(mCurrentDevice); in testConnectAudio_withOneDevice() 485 when(mStateMachines.get(mCurrentDevice).getDevice()).thenReturn(mCurrentDevice); in testConnectAudio_withMultipleDevices() 561 when(mStateMachines.get(mCurrentDevice).getDevice()).thenReturn(mCurrentDevice); in testConnectAudio_connectTwoAudioChannelsShouldFail() 639 when(mStateMachines.get(mCurrentDevice).getDevice()).thenReturn(mCurrentDevice); in testConnectAudio_firstConnectedAudioDevice() 688 when(mStateMachines.get(mCurrentDevice).getDevice()).thenReturn(mCurrentDevice); in testConnectAudio_deviceDisconnected() 744 when(mStateMachines.get(mCurrentDevice).getDevice()).thenReturn(mCurrentDevice); in testPhoneStateChange_oneDeviceSaveState() 756 when(mStateMachines.get(mCurrentDevice).getDevice()).thenReturn(mCurrentDevice); in testPhoneStateChange_oneDeviceSaveState() [all …]
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/ |
D | TestViewHelpers.java | 53 private static UiDevice getDevice() { in getDevice() method in TestViewHelpers 58 return getDevice().wait(Until.findObject(getSelectorForId(id)), in findViewById() 136 getDevice().wait(Until.gone(getSelectorForId(R.id.delete_target_text)), in dragToWorkspace() 174 final UiDevice device = getDevice(); in openWidgetsTray()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothDeviceProfilePreference.java | 44 setTitle(profile.getNameResource(cachedDevice.getDevice())); in BluetoothDeviceProfilePreference() 78 mProfile.getConnectionStatus(mCachedDevice.getDevice()) == STATE_CONNECTED); in refreshUi() 80 setChecked(mProfile.isPreferred(mCachedDevice.getDevice())); in refreshUi()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/ |
D | HearingAidNativeInterface.java | 127 private BluetoothDevice getDevice(byte[] address) { in getDevice() method in HearingAidNativeInterface 154 event.device = getDevice(address); in onConnectionStateChanged() 166 event.device = getDevice(address); in onDeviceAvailable()
|
/packages/services/Car/tests/CarTrustAgentClientApp/src/com/android/car/trust/client/ |
D | SimpleBleClient.java | 222 BluetoothDevice device = result.getDevice(); 251 Log.d(TAG, "Batch scanResult: " + r.getDevice().getName() 252 + " " + r.getDevice().getAddress()); 277 callback.onDeviceConnected(gatt.getDevice());
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/ |
D | SdpManager.java | 120 public BluetoothDevice getDevice() { in getDevice() method in SdpManager.SdpSearchInstance 185 if (inst.getDevice().getAddress().equals(addressString) && inst.getUuid() in getSearchInstance() 196 if (inst.getDevice().getAddress().equals(addressString) && inst.getUuid() in isSearching() 431 sdpSearchNative(Utils.getBytesFromAddress(inst.getDevice().getAddress()), in startSearch() 448 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, inst.getDevice()); in sendSdpIntent()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidDeviceNativeInterface.java | 181 service.onApplicationStateChangedFromNative(getDevice(address), registered); in onApplicationStateChanged() 191 service.onConnectStateChangedFromNative(getDevice(address), state); in onConnectStateChanged() 248 private BluetoothDevice getDevice(byte[] address) { in getDevice() method in HidDeviceNativeInterface
|