Home
last modified time | relevance | path

Searched refs:getDeviceName (Results 1 – 25 of 62) sorted by relevance

123

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothRenameDialogFragmentTest.java61 assertThat(editText.getText().toString()).isEqualTo(mFragment.getDeviceName()); in initialTextIsCurrentDeviceName()
116 String expectedName = mFragment.getDeviceName() + editStr; in editorDoneAction_setsDeviceName()
121 assertThat(mFragment.getDeviceName()).isEqualTo(expectedName); in editorDoneAction_setsDeviceName()
127 String expectedName = mFragment.getDeviceName(); in editorDoneAction_emptyName_doesNotSetDeviceName()
133 assertThat(mFragment.getDeviceName()).isEqualTo(expectedName); in editorDoneAction_emptyName_doesNotSetDeviceName()
140 String expectedName = mFragment.getDeviceName() + editStr; in positiveButtonClicked_setsDeviceName()
145 assertThat(mFragment.getDeviceName()).isEqualTo(expectedName); in positiveButtonClicked_setsDeviceName()
161 protected String getDeviceName() { in getDeviceName() method in BluetoothRenameDialogFragmentTest.TestBluetoothRenameDialogFragment
DLocalRenameDialogFragmentTest.java70 assertThat(mFragment.getDeviceName()).isEqualTo(NAME); in getDeviceName_adapterEnabled_returnsLocalAdapterName()
78 assertThat(mFragment.getDeviceName()).isNull(); in getDeviceName_adapterDisabled_returnsNull()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothPairingDialogFragment.java209 mPairingController.getDeviceName())); in createUserEntryDialog()
240 mPairingController.getDeviceName())); in createPinEntryView()
288 mPairingController.getDeviceName())); in createConfirmationDialog()
309 mPairingController.getDeviceName())); in createDisplayPasskeyOrPinDialog()
332 mPairingController.getDeviceName())); in createView()
DBluetoothNameDialogFragment.java73 abstract protected String getDeviceName(); in getDeviceName() method in BluetoothNameDialogFragment
83 String deviceName = getDeviceName(); in onCreateDialog()
164 String name = getDeviceName(); in updateDeviceName()
DBluetoothDeviceNamePreferenceController.java93 String deviceName = getDeviceName(); in getSummary()
129 protected String getDeviceName() { in getDeviceName() method in BluetoothDeviceNamePreferenceController
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingDialogFragment.java209 mPairingController.getDeviceName())); in createUserEntryDialog()
240 mPairingController.getDeviceName())); in createPinEntryView()
288 mPairingController.getDeviceName())); in createConfirmationDialog()
309 mPairingController.getDeviceName())); in createDisplayPasskeyOrPinDialog()
332 mPairingController.getDeviceName())); in createView()
DBluetoothNameDialogFragment.java73 abstract protected String getDeviceName(); in getDeviceName() method in BluetoothNameDialogFragment
83 String deviceName = getDeviceName(); in onCreateDialog()
164 String name = getDeviceName(); in updateDeviceName()
DBluetoothDeviceNamePreferenceController.java93 String deviceName = getDeviceName(); in getSummary()
129 protected String getDeviceName() { in getDeviceName() method in BluetoothDeviceNamePreferenceController
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMtpClient.java76 String deviceName = usbDevice.getDeviceName();
186 String deviceName = usbDevice.getDeviceName(); in openDeviceLocked()
200 mDevices.put(usbDevice.getDeviceName(), mtpDevice); in openDeviceLocked()
269 return mDevices.get(UsbDevice.getDeviceName(id)); in getDevice()
283 if (mDevices.get(usbDevice.getDeviceName()) == null) { in getDeviceList()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRenameDialogFragment.java66 protected abstract String getDeviceName(); in getDeviceName() method in BluetoothRenameDialogFragment
78 String deviceName = getDeviceName(); in onCreateDialog()
150 String name = getDeviceName(); in updateDeviceName()
188 !TextUtils.isEmpty(editedName) && !Objects.equals(editedName, getDeviceName())); in refreshRenameButton()
DBluetoothPairingDialogFragment.java206 mPairingController.getDeviceName())); in createUserEntryDialog()
237 mPairingController.getDeviceName())); in createPinEntryView()
284 mPairingController.getDeviceName())); in createConfirmationDialog()
305 mPairingController.getDeviceName())); in createDisplayPasskeyOrPinDialog()
332 mPairingController.getDeviceName())); in createView()
DLocalRenameDialogFragment.java66 protected String getDeviceName() { in getDeviceName() method in LocalRenameDialogFragment
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpClient.java73 String deviceName = usbDevice.getDeviceName();
184 String deviceName = usbDevice.getDeviceName(); in openDeviceLocked()
198 mDevices.put(usbDevice.getDeviceName(), mtpDevice); in openDeviceLocked()
256 if (mDevices.get(usbDevice.getDeviceName()) == null) { in getDeviceList()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/external/
DCompanionDevice.java40 this(device.getDeviceId(), device.getDeviceName(), device.isAssociatedWithActiveUser(), in CompanionDevice()
64 public String getDeviceName() { in getDeviceName() method in CompanionDevice
104 && Objects.equals(mDeviceName, companionDevice.getDeviceName()) in equals()
DAssociatedDevice.java46 this(device.getDeviceId(), device.getDeviceAddress(), device.getDeviceName(), in AssociatedDevice()
65 public String getDeviceName() { in getDeviceName() method in AssociatedDevice
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/activity/
DAssociatedDeviceDetails.java39 mDeviceName = device.getDeviceName(); in AssociatedDeviceDetails()
52 String getDeviceName() { in getDeviceName() method in AssociatedDeviceDetails
DAssociationActivity.java156 device.getDeviceName()), in observeViewModel()
222 RemoveDeviceDialogFragment.newInstance(device.getDeviceName(), in showRemoveDeviceDialog()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbDevicePreference.java45 setTitle(usbDeviceSettings.getDeviceName()); in UsbDevicePreference()
58 mUsbDeviceSettings.getDeviceName())) in onPreferenceClick()
DUsbDeviceSettings.java57 public String getDeviceName() { in getDeviceName() method in UsbDeviceSettings
125 settings.setDeviceName(origSettings.getDeviceName()); in constructSettings()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/name/
DDeviceNameSetFragment.java82 String currentDeviceName = DeviceManager.getDeviceName(getActivity()); in onCreateActions()
114 int currentNamePosition = mDeviceNames.indexOf(DeviceManager.getDeviceName(getActivity())); in onResume()
DDeviceManager.java39 public static String getDeviceName(Context context) { in getDeviceName() method in DeviceManager
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppManager.java336 public String getDeviceName(BluetoothDevice device) { in getDeviceName() method in BluetoothOppManager
482 Log.v(TAG, "Insert contentUri: " + contentUri + " to device: " + getDeviceName( in insertMultipleShare()
503 Log.v(TAG, "Insert contentUri: " + contentUri + " to device: " + getDeviceName( in insertSingleShare()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DScanFilterQueue.java178 if (filter.getDeviceName() != null) { in addScanFilter()
179 addName(filter.getDeviceName()); in addScanFilter()
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/storage/
DAssociatedDeviceEntity.java56 name = associatedDevice.getDeviceName(); in AssociatedDeviceEntity()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothNameDialogFragmentTest.java66 protected String getDeviceName() { in getDeviceName() method in BluetoothNameDialogFragmentTest.TestBluetoothNameDialogFragment

123