Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DMediaDeviceManagerTest.kt58 private const val DEVICE_NAME = "DEVICE_NAME" constant
95 whenever(device.name).thenReturn(DEVICE_NAME) in eq()
142 assertThat(data.name).isEqualTo(DEVICE_NAME) in eq()
159 assertThat(data.name).isEqualTo(DEVICE_NAME) in eq()
211 assertThat(data.name).isEqualTo(DEVICE_NAME) in eq()
236 assertThat(data.name).isEqualTo(DEVICE_NAME) in eq()
252 assertThat(data.name).isEqualTo(DEVICE_NAME) in eq()
DMediaControlPanelTest.kt70 private const val DEVICE_NAME = "DEVICE_NAME" constant
122 private val device = MediaDeviceData(true, null, DEVICE_NAME)
234 assertThat(seamlessText.getText()).isEqualTo(DEVICE_NAME) in bindDevice()
235 assertThat(seamless.contentDescription).isEqualTo(DEVICE_NAME) in bindDevice()
273 assertThat(seamlessText.getText()).isEqualTo(DEVICE_NAME) in bindDeviceResumptionPlayer()
DMediaDataCombineLatestTest.java61 private static final String DEVICE_NAME = "DEVICE_NAME"; field in MediaDataCombineLatestTest
79 mDeviceData = new MediaDeviceData(true, null, DEVICE_NAME); in setUp()
DMediaDataFilterTest.kt52 private const val DEVICE_NAME = "DEVICE_NAME" constant
83 private val device = MediaDeviceData(true, null, DEVICE_NAME) in eq()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DBluetoothEventManagerTest.java54 private static final String DEVICE_NAME = "test_device_name"; field in BluetoothEventManagerTest
362 when(mCachedDevice1.getName()).thenReturn(DEVICE_NAME); in showUnbondMessage_reasonAuthTimeout_showCorrectedErrorCode()
366 verify(mErrorListener).onShowError(any(Context.class), eq(DEVICE_NAME), in showUnbondMessage_reasonAuthTimeout_showCorrectedErrorCode()
378 when(mCachedDevice1.getName()).thenReturn(DEVICE_NAME); in showUnbondMessage_reasonRemoteDeviceDown_showCorrectedErrorCode()
382 verify(mErrorListener).onShowError(any(Context.class), eq(DEVICE_NAME), in showUnbondMessage_reasonRemoteDeviceDown_showCorrectedErrorCode()
393 when(mCachedDevice1.getName()).thenReturn(DEVICE_NAME); in showUnbondMessage_reasonAuthRejected_showCorrectedErrorCode()
397 verify(mErrorListener).onShowError(any(Context.class), eq(DEVICE_NAME), in showUnbondMessage_reasonAuthRejected_showCorrectedErrorCode()
408 when(mCachedDevice1.getName()).thenReturn(DEVICE_NAME); in showUnbondMessage_reasonAuthFailed_showCorrectedErrorCode()
412 verify(mErrorListener).onShowError(any(Context.class), eq(DEVICE_NAME), in showUnbondMessage_reasonAuthFailed_showCorrectedErrorCode()
DCachedBluetoothDeviceTest.java56 private static final String DEVICE_NAME = "TestName"; field in CachedBluetoothDeviceTest
717 when(mDevice.getName()).thenReturn(DEVICE_NAME); in deviceName_testAliasNameAvailable()
744 when(mDevice.getName()).thenReturn(DEVICE_NAME); in deviceName_testRenameDevice()
856 when(mDevice.getAlias()).thenReturn(DEVICE_NAME); in getName_aliasNameNotNull_returnAliasName()
858 assertThat(mCachedDevice.getName()).isEqualTo(DEVICE_NAME); in getName_aliasNameNotNull_returnAliasName()
871 when(mDevice.getAlias()).thenReturn(DEVICE_NAME); in setName_setDeviceNameIsNotNull()
/frameworks/native/services/inputflinger/tests/
DUinputDevice.h125 static constexpr const char* DEVICE_NAME = "Test Touch Screen";
DUinputDevice.cpp133 : UinputDevice(UinputTouchScreen::DEVICE_NAME), mSize(*size) {} in UinputTouchScreen()
DInputReader_test.cpp2383 static const char* DEVICE_NAME; member in android::InputDeviceTest
2404 identifier.name = DEVICE_NAME; in SetUp()
2409 mFakeEventHub->addDevice(EVENTHUB_ID, DEVICE_NAME, Flags<InputDeviceClass>(0)); in SetUp()
2419 const char* InputDeviceTest::DEVICE_NAME = "device"; member in android::InputDeviceTest
2430 ASSERT_STREQ(DEVICE_NAME, mDevice->getName().c_str()); in TEST_F()
2457 ASSERT_STREQ(DEVICE_NAME, info.getIdentifier().name.c_str()); in TEST_F()
2526 ASSERT_STREQ(DEVICE_NAME, info.getIdentifier().name.c_str()); in TEST_F()
2626 mFakePolicy->addInputUniqueIdAssociation(DEVICE_NAME, DISPLAY_UNIQUE_ID); in TEST_F()
2655 static const char* DEVICE_NAME; member in android::InputMapperTest
2675 mDevice = newDevice(DEVICE_ID, DEVICE_NAME, DEVICE_LOCATION, EVENTHUB_ID, classes); in SetUp()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java1564 loadSetting(stmt, Settings.Global.DEVICE_NAME, getDefaultDeviceName()); in onUpgrade()
1757 stmt.bindString(2, Settings.Global.DEVICE_NAME); in onUpgrade()
2580 loadSetting(stmt, Settings.Global.DEVICE_NAME, getDefaultDeviceName()); in loadGlobalSettings()
DSettingsProtoDumpUtil.java563 Settings.Global.DEVICE_NAME, in dumpProtoGlobalSettingsLocked()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java186 getContext().getContentResolver(), Settings.Global.DEVICE_NAME); in updateVolumesLocked()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiControlService.java765 Global.DEVICE_NAME in registerContentObserver()
817 case Global.DEVICE_NAME: in onChange()
1363 String displayName = readStringSetting(Global.DEVICE_NAME, Build.MODEL); in createDeviceInfo()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbUserPermissionManager.java559 dump.write("device_name", UsbDevicePermissionProto.DEVICE_NAME, deviceName); in dump()
/frameworks/base/packages/SettingsProvider/test/src/android/provider/
DSettingsBackupTest.java238 Settings.Global.DEVICE_NAME,
/frameworks/base/core/java/android/provider/
DSettings.java14413 public static final String DEVICE_NAME = "device_name"; field in Settings.Global
/frameworks/base/core/api/
Dcurrent.txt35261 field public static final String DEVICE_NAME = "device_name";