Home
last modified time | relevance | path

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

/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/playback/
DHdmiCecDeviceOsdNameTest.java58 String deviceName = device.executeShellCommand("settings get global device_name").trim(); in getDeviceName() local
59 if (deviceName.length() > nameLength) { in getDeviceName()
60 deviceName = deviceName.substring(0, nameLength).trim(); in getDeviceName()
62 return deviceName; in getDeviceName()
73 String deviceName = getDeviceName(); in cect_11_2_11_1a_GiveOsdNameTest() local
76 assertThat(CecMessage.getAsciiString(message)).isEqualTo(deviceName); in cect_11_2_11_1a_GiveOsdNameTest()
88 String deviceName = getDeviceName(); in cectGiveOsdNameTestInStandby() local
97 assertThat(CecMessage.getAsciiString(message)).isEqualTo(deviceName); in cectGiveOsdNameTestInStandby()
DHdmiCecActiveTrackingTest.java87 String deviceName = "Playback_2"; in cect_RemoveDeviceFromNetwork() local
92 CecMessage.convertStringToHexParams(deviceName) in cect_RemoveDeviceFromNetwork()
100 assertThat(deviceList).doesNotContain(deviceName); in cect_RemoveDeviceFromNetwork()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DOobDataTest.java108 byte[] deviceName = deviceNameString.getBytes(); in classicBuilder()
115 .setDeviceName(deviceName) in classicBuilder()
121 assertArrayEquals(deviceName, classicData.getDeviceName()); in classicBuilder()
182 byte[] deviceName = deviceNameString.getBytes(); in lEBuilder()
189 .setDeviceName(deviceName) in lEBuilder()
195 assertArrayEquals(deviceName, leData.getDeviceName()); in lEBuilder()
214 byte[] deviceName = deviceNameString.getBytes(); in testToString()
221 .setDeviceName(deviceName) in testToString()
/cts/tests/tests/neuralnetworks/java_test/jni/
Dandroid_neuralnetworks_cts_ModelAssetTest.cpp72 const char* deviceName = nullptr; in getNnapiDeviceNames() local
73 ASSERT_OR_RETURN_DEFAULT(ANeuralNetworksDevice_getName(currentDevice, &deviceName) == in getNnapiDeviceNames()
75 deviceNames[i] = deviceName; in getNnapiDeviceNames()
99 const char* deviceName = nullptr; in findDevice() local
100 ASSERT_OR_RETURN_NULL(ANeuralNetworksDevice_getName(currentDevice, &deviceName) == in findDevice()
104 if (name == deviceName) { in findDevice()
261 std::string deviceName = deviceNameCStr; in Java_android_neuralnetworks_cts_ModelAssetTest_nativeTestCompileFromAssetFile() local
265 const auto* device = findDevice(env, deviceName); in Java_android_neuralnetworks_cts_ModelAssetTest_nativeTestCompileFromAssetFile()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/presence/ble/
DBleScanner.java57 String deviceName = bluetoothDevice.getName();
75 deviceName,
124 @Nullable String deviceName, in onBleScanResult() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/presence/
DBleRxTxOffsetPrecisionActivity.java183 deviceName, in startTestAsDut() argument
194 mRssiResultMap.computeIfAbsent(deviceName, k -> new ArrayList<>()); in startTestAsDut()
195 ArrayList<Integer> resultList = mRssiResultMap.get(deviceName); in startTestAsDut()
224 deviceName, in startTestAsReferenceDevice() argument
235 mRssiResultMap.computeIfAbsent(deviceName, k -> new ArrayList<>()); in startTestAsReferenceDevice()
236 ArrayList<Integer> resultList = mRssiResultMap.get(deviceName); in startTestAsReferenceDevice()
DBleRssiPrecisionActivity.java154 deviceName, in startTest() argument
165 mRssiResultMap.computeIfAbsent(deviceName, k -> new ArrayList<>()); in startTest()
166 ArrayList<Integer> resultList = mRssiResultMap.get(deviceName); in startTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/
DResponderTestActivity.java114 mMyDeviceView.setText("Device Name: " + wifiP2pDevice.deviceName); in onStart()
144 mMyDeviceView.setText("Device Name: " + myDevice.deviceName); in onReceive()
DRequesterTestActivity.java289 items[i++] = dev.deviceName; in showSelectTargetDialog()
/cts/tools/incremental-cts/testdata/
Dlog_2.qpa23 deviceName: Adreno (TM) 640
Dlog_1.qpa23 deviceName: Adreno (TM) 640
/cts/suite/cts/utils/
Dget_csv_report.py103 deviceName = buildInfo.getAttribute("build_device")
108 self.addKV("device", deviceName)
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DConcurrencyTest.java133 public String deviceName; field in ConcurrencyTest.MyResponse
148 deviceName = null; in reset()
678 MY_RESPONSE.deviceName = wifiP2pDevice.deviceName; in getDeviceName()
685 return MY_RESPONSE.deviceName; in getDeviceName()
1688 assertEquals(testDeviceName, p2pListener.getP2pDevice().deviceName); in testWifiP2pListener()
1698 assertEquals(originalDeviceName, p2pListener.getP2pDevice().deviceName); in testWifiP2pListener()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioDataPathsBaseActivity.java554 String deviceName = AudioDeviceUtils.getShortDeviceTypeName(mOutDeviceType); in formatOutputAttributes() local
555 return deviceName + ":" + mAnalysisChannel in formatOutputAttributes()
562 String deviceName = AudioDeviceUtils.getShortDeviceTypeName(mInDeviceType); in formatInputAttributes() local
563 return deviceName + ":" + mAnalysisChannel in formatInputAttributes()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java214 final String deviceName = Settings.Global.getString( in getDeviceName() local
217 return !TextUtils.isEmpty(deviceName) ? deviceName : DEFAULT_DEVICE_NAME; in getDeviceName()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DNotificationManagerTest.java3058 final String deviceName = "device name"; in testMediaStyleRemotePlayback_noPermission() local
3065 .setRemotePlaybackInfo(deviceName, deviceIcon, deviceIntent)) in testMediaStyleRemotePlayback_noPermission()
3084 final String deviceName = "device name"; in testMediaStyleRemotePlayback_hasPermission() local
3091 .setRemotePlaybackInfo(deviceName, deviceIcon, deviceIntent)) in testMediaStyleRemotePlayback_hasPermission()
3101 assertEquals(deviceName, sbn.getNotification().extras in testMediaStyleRemotePlayback_hasPermission()
3112 final String deviceName = "device name"; in testCustomMediaStyleRemotePlayback_noPermission() local
3119 .setRemotePlaybackInfo(deviceName, deviceIcon, deviceIntent)) in testCustomMediaStyleRemotePlayback_noPermission()
3138 final String deviceName = "device name"; in testCustomMediaStyleRemotePlayback_hasPermission() local
3145 .setRemotePlaybackInfo(deviceName, deviceIcon, deviceIntent)) in testCustomMediaStyleRemotePlayback_hasPermission()
3155 assertEquals(deviceName, sbn.getNotification().extras in testCustomMediaStyleRemotePlayback_hasPermission()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dwifi-current.txt1304 field public String deviceName;