/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothSummaryUpdaterTest.java | 55 private static final String DEVICE_NAME = "Nightshade"; field in BluetoothSummaryUpdaterTest 85 doReturn(DEVICE_NAME).when(mConnectedDevice).getName(); in setUp() 122 mContext.getString(R.string.bluetooth_connected_summary, DEVICE_NAME)); in register_true_shouldSendSummaryChange() 149 mContext.getString(R.string.bluetooth_connected_summary, DEVICE_NAME)); in onBluetoothStateChanged_btEnabled_connected_shouldSendConnectedSummary() 196 mContext.getString(R.string.bluetooth_connected_summary, DEVICE_NAME)); in onBluetoothStateChanged_ConnectedDisabledEnabled_shouldSendDisconnectedSummary() 226 mContext.getString(R.string.bluetooth_connected_summary, DEVICE_NAME)); in onConnectionStateChanged_connected_shouldSendConnectedMessage() 284 mContext.getString(R.string.bluetooth_connected_summary, DEVICE_NAME); in getConnectedDeviceSummary_hasConnectedDevice_returnOneDeviceSummary()
|
D | ForgetDeviceDialogFragmentTest.java | 56 private static final String DEVICE_NAME = "Nightshade"; field in ForgetDeviceDialogFragmentTest 77 when(mCachedDevice.getName()).thenReturn(DEVICE_NAME); in setUp() 112 mContext.getString(R.string.bluetooth_untethered_unpair_dialog_body, DEVICE_NAME)); in createDialog_untetheredDevice_showUntetheredMessage() 126 mContext.getString(R.string.bluetooth_unpair_dialog_body, DEVICE_NAME)); in createDialog_normalDevice_showNormalMessage()
|
D | BluetoothDeviceRenamePreferenceControllerTest.java | 53 private static final String DEVICE_NAME = "Nightshade"; field in BluetoothDeviceRenamePreferenceControllerTest 80 doReturn(DEVICE_NAME).when(mController).getDeviceName(); in setUp() 91 assertThat(summary.toString()).isEqualTo(DEVICE_NAME); in testUpdateDeviceName_showSummaryWithDeviceName()
|
D | BluetoothDeviceNamePreferenceControllerTest.java | 48 private static final String DEVICE_NAME = "Nightshade"; field in BluetoothDeviceNamePreferenceControllerTest 69 doReturn(DEVICE_NAME).when(mController).getDeviceName(); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/ |
D | DiscoverableFooterPreferenceControllerTest.java | 59 private static final String DEVICE_NAME = "device name"; field in DiscoverableFooterPreferenceControllerTest 136 BluetoothAdapter.getDefaultAdapter().setName(DEVICE_NAME); in onBluetoothStateChanged_bluetoothOn_updateTitle() 139 assertThat(mPreference.getTitle()).isEqualTo(generateTitle(DEVICE_NAME)); in onBluetoothStateChanged_bluetoothOn_updateTitle() 144 BluetoothAdapter.getDefaultAdapter().setName(DEVICE_NAME); in onBluetoothStateChanged_bluetoothOff_updateTitle()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/ |
D | ToolbarTitleLiveData.java | 44 ToolbarTitleMode.DEVICE_NAME 49 int DEVICE_NAME = 2; field 70 case ToolbarTitleMode.DEVICE_NAME: in updateToolbarTitle()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/name/ |
D | DeviceManager.java | 40 return Settings.Global.getString(context.getContentResolver(), Settings.Global.DEVICE_NAME); in getDeviceName() 53 Settings.Global.putString(context.getContentResolver(), Settings.Global.DEVICE_NAME, name); in setDeviceName()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | DeviceNamePreferenceController.java | 77 Settings.Global.DEVICE_NAME); in initializeDeviceName() 136 Settings.Global.putString(mContext.getContentResolver(), Settings.Global.DEVICE_NAME, in setSettingsGlobalDeviceName()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | DeviceNamePreferenceController.java | 77 Settings.Global.DEVICE_NAME); in initializeDeviceName() 136 Settings.Global.putString(mContext.getContentResolver(), Settings.Global.DEVICE_NAME, in setSettingsGlobalDeviceName()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/aboutphone/ |
D | TopLevelAboutDevicePreferenceControllerTest.java | 57 Global.putString(mContext.getContentResolver(), Global.DEVICE_NAME, "Test"); in getSummary_deviceNameSet_shouldReturnDeviceName()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | AdbDeviceNamePreferenceController.java | 52 Settings.Global.DEVICE_NAME); in displayPreference()
|
D | WirelessDebuggingFragment.java | 472 Settings.Global.DEVICE_NAME); in getDeviceName()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/ |
D | DeviceNamePreferenceControllerTest.java | 101 mContext.getContentResolver(), Settings.Global.DEVICE_NAME, "Test"); in constructor_deviceNameLoadedIfSet()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | Shared.java | 291 return Settings.Global.getString(resolver, Settings.Global.DEVICE_NAME); in getDeviceName()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | FileCopyUiTest.java | 131 Settings.Global.DEVICE_NAME); in setUp()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 405 Settings.Global.DEVICE_NAME); in getDeviceName()
|