Home
last modified time | relevance | path

Searched refs:setDeviceName (Results 1 – 24 of 24) sorted by relevance

/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbDeviceSettings.java53 public void setDeviceName(String deviceName) { in setDeviceName() method in UsbDeviceSettings
113 settings.setDeviceName(device.getProductName()); in constructSettings()
125 settings.setDeviceName(origSettings.getDeviceName()); in constructSettings()
135 settings.setDeviceName(deviceName); in constructSettings()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRenameDialogFragment.java71 protected abstract void setDeviceName(String deviceName); in setDeviceName() method in BluetoothRenameDialogFragment
92 (dialog, which) -> setDeviceName(getEditedName())) in createAlertDialog()
178 setDeviceName(editedName); in onEditorAction()
DLocalRenameDialogFragment.java74 protected void setDeviceName(String deviceName) { in setDeviceName() method in LocalRenameDialogFragment
DRemoteRenameDialogFragment.java74 protected void setDeviceName(String deviceName) { in setDeviceName() method in RemoteRenameDialogFragment
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothNameDialogFragment.java79 abstract protected void setDeviceName(String deviceName); in setDeviceName() method in BluetoothNameDialogFragment
92 setDeviceName(mDeviceNameView.getText().toString()); in onCreateDialog()
136 setDeviceName(v.getText().toString()); in onEditorAction()
DLocalDeviceNameDialogFragment.java87 protected void setDeviceName(String deviceName) { in setDeviceName() method in LocalDeviceNameDialogFragment
DRemoteDeviceNameDialogFragment.java78 protected void setDeviceName(String deviceName) { in setDeviceName() method in RemoteDeviceNameDialogFragment
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DDeviceNamePreferenceController.java117 setDeviceName(mPendingDeviceName); in updateDeviceName()
130 private void setDeviceName(String deviceName) { in setDeviceName() method in DeviceNamePreferenceController
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/name/
DDeviceManager.java52 public static void setDeviceName(Context context, String name) { in setDeviceName() method in DeviceManager
DDeviceNameSetCustomFragment.java109 DeviceManager.setDeviceName(getActivity(), name.toString());
DDeviceNameSetFragment.java128 DeviceManager.setDeviceName(getActivity(), mDeviceNames.get((int) id)); in onGuidedActionClicked()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothNameDialogFragmentTest.java71 protected void setDeviceName(String deviceName) { in setDeviceName() method in BluetoothNameDialogFragmentTest.TestBluetoothNameDialogFragment
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/p2p/
DWifiP2pSettingsTest.java287 verify(mWifiP2pManager, times(1)).setDeviceName(any(), any(), any()); in withValidName_clickRenameDialog_shouldSetName()
300 verify(mWifiP2pManager, times(0)).setDeviceName(any(), any(), any()); in withInValidName_whenGetRenameRequest_shouldNotSetName()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothRenameDialogFragmentTest.java170 protected void setDeviceName(String deviceName) { in setDeviceName() method in BluetoothRenameDialogFragmentTest.TestBluetoothRenameDialogFragment
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DBleScanReceiver.java112 ScanFilter scanFilterDeviceName = new ScanFilter.Builder().setDeviceName( in BleScanListener()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pNative.java258 public boolean setDeviceName(String name) { in setDeviceName() method in WifiP2pNative
DWifiP2pServiceImpl.java4010 if (!mWifiNative.setDeviceName(devName)) { in setAndPersistDeviceName()
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverDataParser.java541 .setDeviceName(nameBytes) in parseBleOob()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pNativeTest.java166 assertTrue(mWifiP2pNative.setDeviceName(TEST_DEVICE_NAME)); in testSetDeviceName()
DWifiP2pServiceImplTest.java2964 when(mWifiNative.setDeviceName(anyString())).thenReturn(true); in testSetDeviceNameSuccess()
2966 verify(mWifiNative).setDeviceName(eq(mTestThisDevice.deviceName)); in testSetDeviceNameSuccess()
2984 when(mWifiNative.setDeviceName(anyString())).thenReturn(false); in testSetDeviceNameFailureWhenNativeCallFailure()
2986 verify(mWifiNative).setDeviceName(eq(mTestThisDevice.deviceName)); in testSetDeviceNameFailureWhenNativeCallFailure()
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pSettings.java247 mWifiP2pManager.setDeviceName(mChannel, in onActivityCreated()
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pManager.java1676 public void setDeviceName(@NonNull Channel c, @NonNull String devName, in setDeviceName() method in WifiP2pManager
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNative.java2477 public boolean setDeviceName(@NonNull String ifaceName, String name) {
/packages/modules/Wifi/framework/api/
Dsystem-current.txt1106 …STACK, android.Manifest.permission.OVERRIDE_WIFI_CONFIG}) public void setDeviceName(@NonNull andro…