Home
last modified time | relevance | path

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

/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DVirtualInputDeviceGenericTest.java62 private static final String DEVICE_NAME = "CtsVirtualGenericTestDevice"; field in VirtualInputDeviceGenericTest
106 factory.create(mVirtualDevice, DEVICE_NAME, display.getDisplay()).getDevice(); in close_multipleCallsSucceed()
119 var deviceHolder = factory.create(mVirtualDevice, DEVICE_NAME, display.getDisplay()); in close_removesInputDevice()
135 var deviceHolder = factory.create(mVirtualDevice, DEVICE_NAME, display.getDisplay()); in closeVirtualDevice_removesInputDevice()
151 factory.create(mVirtualDevice, DEVICE_NAME, display.getDisplay()); in createVirtualInputDevice_duplicateName_throwsException()
153 () -> factory.create(mVirtualDevice, DEVICE_NAME, display.getDisplay())); in createVirtualInputDevice_duplicateName_throwsException()
162 () -> factory.create(mVirtualDevice, DEVICE_NAME, display)); in createVirtualInputDevice_defaultDisplay_throwsException()
172 () -> factory.create(mVirtualDevice, DEVICE_NAME, unownedDisplay.getDisplay())); in createVirtualInputDevice_unownedDisplay_throwsException()
181 () -> factory.create(mVirtualDevice, DEVICE_NAME, display), in createVirtualInputDevice_defaultDisplay_injectEvents_succeeds()
193 () -> factory.create(mVirtualDevice, DEVICE_NAME, unownedDisplay.getDisplay()), in createVirtualInputDevice_unownedVirtualDisplay_injectEvents_succeeds()
DVirtualInputDeviceConfigTest.java48 private static final String DEVICE_NAME = "VirtualTestDevice"; field in VirtualInputDeviceConfigTest
70 .setInputDeviceName(DEVICE_NAME) in createVirtualDpadConfig()
79 .setInputDeviceName(DEVICE_NAME) in createVirtualKeyboardConfigWithLanguageTag()
95 .setInputDeviceName(DEVICE_NAME) in createVirtualMouseConfig()
104 .setInputDeviceName(DEVICE_NAME) in createVirtualTouchscreenConfig()
113 .setInputDeviceName(DEVICE_NAME) in createVirtualStylusConfig()
122 .setInputDeviceName(DEVICE_NAME) in createVirtualNavigationTouchpadConfig()
132 assertThat(config.getInputDeviceName()).isEqualTo(DEVICE_NAME); in testConstructorAndGetters_virtualDpadConfig()
156 assertThat(config.getInputDeviceName()).isEqualTo(DEVICE_NAME); in testConstructorAndGetters_virtualKeyboardConfig()
188 .setInputDeviceName(DEVICE_NAME) in testBuilder_virtualKeyboardConfig_defaultValuedUsed()
[all …]
DVirtualDeviceMirrorDisplayTest.java67 private static final String DEVICE_NAME = "automirror-inputdevice"; field in VirtualDeviceMirrorDisplayTest
121 DEVICE_NAME, mVirtualDisplay.getDisplay()).getDevice(); in virtualMouse_scrollEvent()
143 DEVICE_NAME, mVirtualDisplay.getDisplay()).getDevice(); in virtualMouse_relativeEvent()
185 DEVICE_NAME, mVirtualDisplay.getDisplay()).getDevice(); in virtualMouse_buttonEvent()
222 mVirtualDevice, DEVICE_NAME, mVirtualDisplay.getDisplay()).getDevice(); in virtualTouchscreen_touchEvent()
288 mVirtualDevice, DEVICE_NAME, mVirtualDisplay.getDisplay()).getDevice(); in virtualKeyboard_keyEvent()
310 DEVICE_NAME, mVirtualDisplay.getDisplay()).getDevice(); in virtualDpad_keyEvent()
349 DEVICE_NAME, mVirtualDisplay.getDisplay(), touchPadWidth, touchPadHeight) in virtualNavigationTouchpad_touchEvent()
389 DEVICE_NAME, mVirtualDisplay.getDisplay()).getDevice(); in virtualStylus_touchEvent()
DVirtualKeyboardTest.java39 private static final String DEVICE_NAME = "CtsVirtualKeyboardTestDevice"; field in VirtualKeyboardTest
45 DEVICE_NAME, mVirtualDisplay.getDisplay()).getDevice(); in onSetUpVirtualInputDevice()
DVirtualDpadTest.java39 private static final String DEVICE_NAME = "CtsVirtualDpadTestDevice"; field in VirtualDpadTest
44 mVirtualDpad = VirtualInputDeviceCreator.createAndPrepareDpad(mVirtualDevice, DEVICE_NAME, in onSetUpVirtualInputDevice()
DVirtualKeyboardLayoutTest.java47 private static final String DEVICE_NAME = "CtsVirtualKeyboardTestDevice"; field in VirtualKeyboardLayoutTest
177 mVirtualDevice, DEVICE_NAME + "/" + languageTag + "/" + layoutType, in createVirtualKeyboard()
DVirtualTouchscreenTest.java44 private static final String DEVICE_NAME = "CtsVirtualTouchscreenTestDevice"; field in VirtualTouchscreenTest
51 mVirtualDevice, DEVICE_NAME, mVirtualDisplay.getDisplay()).getDevice(); in onSetUpVirtualInputDevice()
DVirtualNavigationTouchpadTest.java45 private static final String DEVICE_NAME = "CtsVirtualNavigationTouchpadTestDevice"; field in VirtualNavigationTouchpadTest
54 mVirtualDevice, DEVICE_NAME, mVirtualDisplay.getDisplay(), TOUCHPAD_WIDTH, in onSetUpVirtualInputDevice()
DVirtualMouseTest.java46 private static final String DEVICE_NAME = "CtsVirtualMouseTestDevice"; field in VirtualMouseTest
57 mVirtualMouse = VirtualInputDeviceCreator.createAndPrepareMouse(mVirtualDevice, DEVICE_NAME, in onSetUpVirtualInputDevice()
DVirtualStylusTest.java49 private static final String DEVICE_NAME = "CtsVirtualStylusTestDevice"; field in VirtualStylusTest
56 DEVICE_NAME, mVirtualDisplay.getDisplay()).getDevice(); in onSetUpVirtualInputDevice()
/cts/tests/tests/wifi/src/android/net/wifi/sharedconnectivity/cts/app/
DNetworkProviderInfoTest.java48 private static final String DEVICE_NAME = "TEST_NAME"; field in NetworkProviderInfoTest
116 assertThat(info.getDeviceName()).isEqualTo(DEVICE_NAME); in getMethods()
143 DEVICE_NAME, null)); in deviceModelIsSetAsNull_shouldThrowException()
148 NetworkProviderInfo.Builder builder = new NetworkProviderInfo.Builder(DEVICE_NAME, in illegalDeviceTypeValueIsSet_shouldThrowException()
158 NetworkProviderInfo.Builder builder = new NetworkProviderInfo.Builder(DEVICE_NAME, in illegalBatteryPercentageValueIsSet_shouldThrowException()
174 NetworkProviderInfo.Builder builder = new NetworkProviderInfo.Builder(DEVICE_NAME, in illegalConnectionStrengthValueIsSet_shouldThrowException()
191 new NetworkProviderInfo.Builder(DEVICE_NAME, DEVICE_MODEL) in buildNetworkProviderInfoBuilder()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/presence/
DBleRssiPrecisionActivity.java60 private static final String DEVICE_NAME = Build.MODEL; field in BleRssiPrecisionActivity
224 if (DEVICE_NAME.length() > BleAdvertisingPacket.MAX_REFERENCE_DEVICE_NAME_LENGTH) { in startAdvertising()
225 packetDeviceName = DEVICE_NAME.substring(0, in startAdvertising()
228 packetDeviceName = DEVICE_NAME; in startAdvertising()
DBleRxTxOffsetPrecisionActivity.java64 private static final String DEVICE_NAME = Build.MODEL; field in BleRxTxOffsetPrecisionActivity
308 if (DEVICE_NAME.length() > BleAdvertisingPacket.MAX_REFERENCE_DEVICE_NAME_LENGTH) { in startAdvertising()
309 packetDeviceName = DEVICE_NAME.substring(0, in startAdvertising()
312 packetDeviceName = DEVICE_NAME; in startAdvertising()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DConnectionAccessClientActivity.java158 mDeviceAddress = msg.getData().getString(BluetoothChatService.DEVICE_NAME); in handleDeviceName()
DBluetoothChatService.java52 public static final String DEVICE_NAME = "device_name"; field in BluetoothChatService
257 bundle.putString(DEVICE_NAME, device.getName()); in connected()
DMessageTestActivity.java319 mRemoteDeviceName = msg.getData().getString(BluetoothChatService.DEVICE_NAME); in handleDeviceName()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java215 mActivity.getContentResolver(), Settings.Global.DEVICE_NAME); in getDeviceName()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt37429 field public static final String DEVICE_NAME = "device_name";