/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothAccessoryActivity.java | 34 String deviceAddress = null; in createSettingsFragment() local 39 deviceAddress = bundle.getString(EXTRA_ACCESSORY_ADDRESS); in createSettingsFragment() 47 return SettingsFragment.newInstance(deviceAddress, deviceName, deviceImgId); in createSettingsFragment() 52 public static SettingsFragment newInstance(String deviceAddress, String deviceName, in newInstance() argument 55 b.putString(EXTRA_ACCESSORY_ADDRESS, deviceAddress); in newInstance() 66 String deviceAddress = args.getString(EXTRA_ACCESSORY_ADDRESS); in onPreferenceStartInitialScreen() local 70 BluetoothAccessoryFragment.newInstance(deviceAddress, deviceName, deviceImgId)); in onPreferenceStartInitialScreen()
|
D | BluetoothAccessoryFragment.java | 96 public static BluetoothAccessoryFragment newInstance(String deviceAddress, String deviceName, in newInstance() argument 99 prepareArgs(b, deviceAddress, deviceName, deviceImgId); in newInstance() 105 public static void prepareArgs(Bundle b, String deviceAddress, String deviceName, in prepareArgs() argument 107 b.putString(ARG_ACCESSORY_ADDRESS, deviceAddress); in prepareArgs()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDeviceDetailsFragment.java | 56 CachedBluetoothDevice getDevice(String deviceAddress); in getDevice() argument 80 CachedBluetoothDevice getCachedDevice(String deviceAddress) { in getCachedDevice() argument 82 return sTestDataFactory.getDevice(deviceAddress); in getCachedDevice() 85 mManager.getBluetoothAdapter().getRemoteDevice(deviceAddress); in getCachedDevice() 89 public static BluetoothDeviceDetailsFragment newInstance(String deviceAddress) { in newInstance() argument 91 args.putString(KEY_DEVICE_ADDRESS, deviceAddress); in newInstance()
|
D | LocalBluetoothPreferences.java | 62 String deviceAddress, String deviceName) { in shouldShowDialogInForeground() argument 105 if (deviceAddress != null) { in shouldShowDialogInForeground() 109 if (deviceAddress.equals(lastSelectedDevice)) { in shouldShowDialogInForeground() 134 static void persistSelectedDeviceInPicker(Context context, String deviceAddress) { in persistSelectedDeviceInPicker() argument 137 deviceAddress); in persistSelectedDeviceInPicker()
|
D | ForgetDeviceDialogFragment.java | 42 public static ForgetDeviceDialogFragment newInstance(String deviceAddress) { in newInstance() argument 44 args.putString(KEY_DEVICE_ADDRESS, deviceAddress); in newInstance() 52 String deviceAddress = getArguments().getString(KEY_DEVICE_ADDRESS); in getDevice() local 54 BluetoothDevice device = manager.getBluetoothAdapter().getRemoteDevice(deviceAddress); in getDevice()
|
D | BluetoothPairingRequest.java | 48 String deviceAddress = device != null ? device.getAddress() : null; in onReceive() local 51 context, deviceAddress, deviceName); in onReceive()
|
D | RemoteDeviceNameDialogFragment.java | 46 String deviceAddress = getArguments().getString(KEY_CACHED_DEVICE_ADDRESS); in getDevice() local 48 BluetoothDevice device = manager.getBluetoothAdapter().getRemoteDevice(deviceAddress); in getDevice()
|
D | BluetoothPermissionRequest.java | 116 String deviceAddress = mDevice != null ? mDevice.getAddress() : null; in onReceive() local 125 context, deviceAddress, deviceName)) { in onReceive()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/ |
D | MapMessageMonitor.java | 276 private boolean supportsReply(String deviceAddress) { in supportsReply() argument 277 return mReplyFeatureMap.containsKey(deviceAddress) in supportsReply() 278 && mReplyFeatureMap.get(deviceAddress); in supportsReply() 540 CompositeKey(String deviceAddress, String subKey) { in CompositeKey() argument 541 mDeviceAddress = deviceAddress; in CompositeKey() 559 boolean matches(String deviceAddress) { in matches() argument 560 return mDeviceAddress.equals(deviceAddress); in matches() 590 private SenderKey(String deviceAddress, String key) { in SenderKey() argument 591 super(deviceAddress, key); in SenderKey()
|
/packages/services/Car/tests/obd2_app/src/com/google/android/car/obd2app/ |
D | StatusNotification.java | 31 default void notifyPaired(String deviceAddress) { in notifyPaired() argument 32 notify("Paired to " + deviceAddress + ". Ready to capture data."); in notifyPaired() 39 default void notifyConnected(String deviceAddress) { in notifyConnected() argument 40 notify("Connected to " + deviceAddress + ". Starting data capture."); in notifyConnected()
|
D | MainActivity.java | 97 String deviceAddress = getBluetoothDongleMacFromPreferences(""); in handleConnection() local 98 Log.i(TAG, "Considering a connection to " + deviceAddress); in handleConnection() 99 if (TextUtils.isEmpty(deviceAddress)) { in handleConnection() 103 mCollectionTask = Obd2CollectionTask.create(this, this, deviceAddress); in handleConnection()
|
D | Obd2CollectionTask.java | 44 Context context, StatusNotification statusNotification, String deviceAddress) { in create() argument 49 Objects.requireNonNull(deviceAddress)); in create() 91 Obd2CollectionTask(Context context, StatusNotification statusNotification, String deviceAddress) in Obd2CollectionTask() argument 96 BluetoothConnection bluetoothConnection = new BluetoothConnection(deviceAddress); in Obd2CollectionTask()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDeviceDetailsFragmentTest.java | 73 String deviceAddress = "55:66:77:88:99:AA"; in setUp() local 74 mFragment = spy(BluetoothDeviceDetailsFragment.newInstance(deviceAddress)); in setUp() 78 when(mCachedDevice.getAddress()).thenReturn(deviceAddress); in setUp() 80 args.putString(BluetoothDeviceDetailsFragment.KEY_DEVICE_ADDRESS, deviceAddress); in setUp()
|
D | ForgetDeviceDialogFragmentTest.java | 66 String deviceAddress = "55:66:77:88:99:AA"; in setUp() local 67 when(mCachedDevice.getAddress()).thenReturn(deviceAddress); in setUp() 68 mFragment = spy(ForgetDeviceDialogFragment.newInstance(deviceAddress)); in setUp()
|
D | RemoteDeviceNameDialogFragmentTest.java | 68 String deviceAddress = "55:66:77:88:99:AA"; in setUp() local 69 when(mCachedDevice.getAddress()).thenReturn(deviceAddress); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/p2p/ |
D | P2pThisDevicePreferenceControllerTest.java | 65 device.deviceAddress = "address"; in updateDeviceName_emptyName_shouldUseIpAddress() 69 assertThat(mPreference.getTitle()).isEqualTo(device.deviceAddress); in updateDeviceName_emptyName_shouldUseIpAddress() 75 device.deviceAddress = "address"; in updateDeviceName_hasName_shouldUseName()
|
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
D | WifiP2pPeer.java | 44 setTitle(device.deviceAddress); in WifiP2pPeer() 82 return device.deviceAddress.compareToIgnoreCase(other.device.deviceAddress); in compareTo()
|
D | WifiP2pSettings.java | 402 config.deviceAddress = mSelectedWifiPeer.device.deviceAddress; in onPreferenceTreeClick() 442 mSelectedWifiPeer.device.deviceAddress : in onCreateDialog() 461 mSelectedWifiPeer.device.deviceAddress : in onCreateDialog()
|
D | P2pThisDevicePreferenceController.java | 62 mPreference.setTitle(thisDevice.deviceAddress); in updateDeviceName()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | MainFragment.java | 329 final String deviceAddress = device.getAddress(); in updateAccessories() local 330 if (TextUtils.isEmpty(deviceAddress)) { in updateAccessories() 337 final String key = "BluetoothDevice:" + deviceAddress; in updateAccessories() 352 deviceAddress, in updateAccessories() local
|
/packages/services/Car/service/src/com/android/car/ |
D | CarBluetoothService.java | 91 public void setBluetoothDeviceConnectionPriority(String deviceAddress, int profileToSet, in setBluetoothDeviceConnectionPriority() argument 105 getKeyForProfile(profileToSet, priorityToSet), deviceAddress, in setBluetoothDeviceConnectionPriority() local
|
/packages/apps/Settings/src/com/android/settings/wfd/ |
D | WifiDisplaySettings.java | 305 private WifiDisplay findWifiDisplay(String deviceAddress) { in findWifiDisplay() argument 306 if (mWifiDisplayStatus != null && deviceAddress != null) { in findWifiDisplay() 308 if (display.getDeviceAddress().equals(deviceAddress)) { in findWifiDisplay()
|
/packages/apps/Settings/tests/app/src/com/android/settings/bluetooth/ |
D | BluetoothDeviceDetailsRotationTest.java | 71 public CachedBluetoothDevice getDevice(String deviceAddress) { in setUp()
|