Home
last modified time | relevance | path

Searched refs:DEVICE_NAME (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/p2p/
DWifiP2pPeerTest.java40 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/
DBluetoothSummaryUpdaterTest.java55 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()
DForgetDeviceDialogFragmentTest.java56 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()
DBluetoothDeviceRenamePreferenceControllerTest.java53 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()
DBluetoothDeviceNamePreferenceControllerTest.java48 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/
DToolbarTitleLiveData.java49 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/
DDiscoverableFooterPreferenceControllerTest.java58 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/
DDeviceManager.java40 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/
DDeviceNamePreferenceController.java80 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/
DDeviceNamePreferenceControllerTest.java98 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/
DTopLevelAboutDevicePreferenceControllerTest.java57 Global.putString(mContext.getContentResolver(), Global.DEVICE_NAME, "Test"); in getSummary_deviceNameSet_shouldReturnDeviceName()
/packages/apps/Settings/src/com/android/settings/development/
DAdbDeviceNamePreferenceController.java52 Settings.Global.DEVICE_NAME); in displayPreference()
DWirelessDebuggingFragment.java466 Settings.Global.DEVICE_NAME); in getDeviceName()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DShared.java345 return Settings.Global.getString(resolver, Settings.Global.DEVICE_NAME); in getDeviceName()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DFileCopyUiTest.java136 Settings.Global.DEVICE_NAME); in setUp()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpClient.java426 Settings.Global.DEVICE_NAME); in getDeviceName()