/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/p2p/ |
D | WifiP2pPeerTest.java | 40 private static final String DEVICE_NAME = "fakeName"; field in WifiP2pPeerTest 60 setupOneOtherP2pPeer(DEVICE_NAME, null /* address */); in compareTo_withSameDeviceName_shouldBeZero() 61 mWifiP2pDevice.deviceName = DEVICE_NAME; in compareTo_withSameDeviceName_shouldBeZero() 69 setupOneOtherP2pPeer(DEVICE_NAME, null /* address */); in compareTo_withDifferentDeviceName_shouldNotZero() 87 setupOneOtherP2pPeer(DEVICE_NAME, null /* address */); in compareTo_withLowerDeviceStatus_shouldBeOne() 97 setupOneOtherP2pPeer(DEVICE_NAME, null /* address */); in compareTo_withNotPeerParameter_shouldBeOne()
|
/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/Car/Dialer/src/com/android/car/dialer/ui/ |
D | ToolbarTitleLiveData.java | 49 ToolbarTitleMode.DEVICE_NAME 54 int DEVICE_NAME = 2; field 83 case ToolbarTitleMode.DEVICE_NAME: in updateToolbarTitle() 96 && ToolbarTitleMode.DEVICE_NAME == toolbarTitleMode.intValue()) { in updateDeviceName()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/ |
D | DiscoverableFooterPreferenceControllerTest.java | 58 private static final String DEVICE_NAME = "device name"; field in DiscoverableFooterPreferenceControllerTest 125 BluetoothAdapter.getDefaultAdapter().setName(DEVICE_NAME); in onBluetoothStateChanged_bluetoothOn_updateTitle() 128 assertThat(mPreference.getTitle()).isEqualTo(generateTitle(DEVICE_NAME)); in onBluetoothStateChanged_bluetoothOn_updateTitle() 133 BluetoothAdapter.getDefaultAdapter().setName(DEVICE_NAME); in onBluetoothStateChanged_bluetoothOff_updateTitle()
|
/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 | 80 Settings.Global.DEVICE_NAME); in initializeDeviceName() 139 Settings.Global.putString(mContext.getContentResolver(), Settings.Global.DEVICE_NAME, in setSettingsGlobalDeviceName()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/ |
D | DeviceNamePreferenceControllerTest.java | 98 mContext.getContentResolver(), Settings.Global.DEVICE_NAME, null); in tearDown() 120 mContext.getContentResolver(), Settings.Global.DEVICE_NAME, "Test"); in constructor_deviceNameLoadedIfSet()
|
/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 | 466 Settings.Global.DEVICE_NAME); in getDeviceName()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | Shared.java | 345 return Settings.Global.getString(resolver, Settings.Global.DEVICE_NAME); in getDeviceName()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | FileCopyUiTest.java | 136 Settings.Global.DEVICE_NAME); in setUp()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 426 Settings.Global.DEVICE_NAME); in getDeviceName()
|