/packages/services/BuiltInPrintService/src/com/android/bips/p2p/ |
D | P2pConnectionProcedure.java | 69 if (DEBUG) Log.d(TAG, "Connecting to " + mPeer.deviceAddress); in P2pConnectionProcedure() 77 config.deviceAddress = peer.deviceAddress; in configForPeer() 115 if (DEBUG) Log.d(TAG, "stop() for " + mPeer.deviceAddress); in close() 169 WifiP2pDevice device = list.get(mPeer.deviceAddress); in onReceive() 188 if (owner != null && owner.deviceAddress.equals(mPeer.deviceAddress)) { in isConnectedToPeer() 192 if (client.deviceAddress.equals(mPeer.deviceAddress)) { in isConnectedToPeer()
|
D | P2pDiscoveryProcedure.java | 129 foundAddresses.add(peer.deviceAddress); in updatePeers() 130 WifiP2pDevice old = getDevice(oldPeers, peer.deviceAddress); in updatePeers() 140 if (!foundAddresses.contains(oldPeer.deviceAddress)) { in updatePeers() 150 if (found.deviceAddress.equals(address)) { in getDevice()
|
D | P2pMonitor.java | 50 return device.deviceName + " " + device.deviceAddress + ", status=" in toString() 117 if (mConnection != null && !peer.deviceAddress.equals(mConnection.getPeer() in connect() 118 .deviceAddress)) { in connect()
|
/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() 48 getArguments(deviceAddress, deviceName, deviceImgId)); in createSettingsFragment() 52 public static Bundle getArguments(String deviceAddress, String deviceName, int deviceImgId) { in getArguments() argument 54 b.putString(EXTRA_ACCESSORY_ADDRESS, deviceAddress); in getArguments()
|
D | AccessoriesFragment.java | 93 final String deviceAddress = device.getAddress(); in updateAccessories() local 94 if (TextUtils.isEmpty(deviceAddress)) { in updateAccessories() 101 final String key = "BluetoothDevice:" + deviceAddress; in updateAccessories() 116 deviceAddress, in updateAccessories() local
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | BluetoothDeviceDetailsFragment.java | 59 CachedBluetoothDevice getDevice(String deviceAddress); in getDevice() argument 87 CachedBluetoothDevice getCachedDevice(String deviceAddress) { in getCachedDevice() argument 89 return sTestDataFactory.getDevice(deviceAddress); in getCachedDevice() 92 mManager.getBluetoothAdapter().getRemoteDevice(deviceAddress); in getCachedDevice() 96 public static BluetoothDeviceDetailsFragment newInstance(String deviceAddress) { in newInstance() argument 98 args.putString(KEY_DEVICE_ADDRESS, deviceAddress); in newInstance()
|
D | LocalBluetoothPreferences.java | 61 String deviceAddress, String deviceName) { in shouldShowDialogInForeground() argument 104 if (deviceAddress != null) { in shouldShowDialogInForeground() 108 if (deviceAddress.equals(lastSelectedDevice)) { in shouldShowDialogInForeground() 133 static void persistSelectedDeviceInPicker(Context context, String deviceAddress) { in persistSelectedDeviceInPicker() argument 136 deviceAddress); in persistSelectedDeviceInPicker()
|
D | ForgetDeviceDialogFragment.java | 43 public static ForgetDeviceDialogFragment newInstance(String deviceAddress) { in newInstance() argument 45 args.putString(KEY_DEVICE_ADDRESS, deviceAddress); in newInstance() 53 String deviceAddress = getArguments().getString(KEY_DEVICE_ADDRESS); in getDevice() local 55 BluetoothDevice device = manager.getBluetoothAdapter().getRemoteDevice(deviceAddress); in getDevice()
|
D | BluetoothPairingRequest.java | 47 String deviceAddress = device != null ? device.getAddress() : null; in onReceive() local 50 context, deviceAddress, deviceName); in onReceive()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDeviceDetailsFragment.java | 61 CachedBluetoothDevice getDevice(String deviceAddress); in getDevice() argument 88 CachedBluetoothDevice getCachedDevice(String deviceAddress) { in getCachedDevice() argument 90 return sTestDataFactory.getDevice(deviceAddress); in getCachedDevice() 93 mManager.getBluetoothAdapter().getRemoteDevice(deviceAddress); in getCachedDevice() 97 public static BluetoothDeviceDetailsFragment newInstance(String deviceAddress) { in newInstance() argument 99 args.putString(KEY_DEVICE_ADDRESS, deviceAddress); in newInstance()
|
D | LocalBluetoothPreferences.java | 61 String deviceAddress, String deviceName) { in shouldShowDialogInForeground() argument 104 if (deviceAddress != null) { in shouldShowDialogInForeground() 108 if (deviceAddress.equals(lastSelectedDevice)) { in shouldShowDialogInForeground() 133 static void persistSelectedDeviceInPicker(Context context, String deviceAddress) { in persistSelectedDeviceInPicker() argument 136 deviceAddress); in persistSelectedDeviceInPicker()
|
D | ForgetDeviceDialogFragment.java | 44 public static ForgetDeviceDialogFragment newInstance(String deviceAddress) { in newInstance() argument 46 args.putString(KEY_DEVICE_ADDRESS, deviceAddress); in newInstance() 54 String deviceAddress = getArguments().getString(KEY_DEVICE_ADDRESS); in getDevice() local 56 BluetoothDevice device = manager.getBluetoothAdapter().getRemoteDevice(deviceAddress); in getDevice()
|
/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/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothUtils.java | 93 String deviceAddress, String deviceName) { in shouldShowDialogInForeground() argument 136 if (deviceAddress != null) { in shouldShowDialogInForeground() 140 if (deviceAddress.equals(lastSelectedDevice)) { in shouldShowDialogInForeground() 165 static void persistSelectedDeviceInPicker(Context context, String deviceAddress) { in persistSelectedDeviceInPicker() argument 167 editor.putString(KEY_LAST_SELECTED_DEVICE, deviceAddress); in persistSelectedDeviceInPicker()
|
D | BluetoothPairingRequest.java | 47 String deviceAddress = device != null ? device.getAddress() : null; in onReceive() local 50 context, deviceAddress, deviceName); in onReceive()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioPlayer.java | 123 @Nullable String deviceAddress) { in start() argument 138 doStart(deviceAddress); in start() 150 private void doStart(String deviceAddress) { in doStart() argument 206 if (deviceAddress != null) { in doStart() 209 if (deviceInfo.getAddress().equals(deviceAddress)) { in doStart()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/ |
D | MessengerDelegate.java | 422 private boolean shouldAddReplyAction(String deviceAddress) { in shouldAddReplyAction() argument 427 BluetoothDevice device = adapter.getRemoteDevice(deviceAddress); in shouldAddReplyAction() 459 CompositeKey(String deviceAddress, String subKey) { in CompositeKey() argument 460 mDeviceAddress = deviceAddress; in CompositeKey() 485 public boolean matches(String deviceAddress) { in matches() argument 486 return mDeviceAddress.equals(deviceAddress); in matches() 517 private SenderKey(String deviceAddress, String key) { in SenderKey() argument 518 super(deviceAddress, key); in SenderKey()
|
D | MapMessage.java | 69 private MapMessage(String deviceAddress, in MapMessage() argument 76 boolean missingDevice = (deviceAddress == null); in MapMessage() 96 mDeviceAddress = deviceAddress; in MapMessage()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/p2p/ |
D | P2pThisDevicePreferenceControllerTest.java | 62 device.deviceAddress = "address"; in updateDeviceName_emptyName_shouldUseIpAddress() 66 assertThat(mPreference.getTitle()).isEqualTo(device.deviceAddress); in updateDeviceName_emptyName_shouldUseIpAddress() 72 device.deviceAddress = "address"; in updateDeviceName_hasName_shouldUseName()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/p2p/ |
D | WifiP2pPeer.java | 46 setTitle(device.deviceAddress); in WifiP2pPeer() 84 return device.deviceAddress.compareToIgnoreCase(other.device.deviceAddress); in compareTo()
|
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
D | WifiP2pPeer.java | 46 setTitle(device.deviceAddress); in WifiP2pPeer() 84 return device.deviceAddress.compareToIgnoreCase(other.device.deviceAddress); in compareTo()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | ForgetDeviceDialogFragmentTest.java | 74 String deviceAddress = "55:66:77:88:99:AA"; in setUp() local 75 when(mCachedDevice.getAddress()).thenReturn(deviceAddress); in setUp() 78 mFragment = spy(ForgetDeviceDialogFragment.newInstance(deviceAddress)); in setUp()
|
/packages/apps/Car/Messenger/src/com/android/car/messenger/bluetooth/ |
D | BluetoothHelper.java | 49 String deviceAddress, in sendMessage() argument 60 BluetoothDevice device = adapter.getRemoteDevice(deviceAddress); in sendMessage()
|