/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | WifiSsidRestrictionTest.java | 66 Arrays.asList(WifiSsid.fromBytes("ssid1".getBytes(StandardCharsets.UTF_8)), in setWifiSsidPolicy_validAllowlist_works() 67 WifiSsid.fromBytes("ssid2".getBytes(StandardCharsets.UTF_8)), in setWifiSsidPolicy_validAllowlist_works() 68 WifiSsid.fromBytes("ssid3".getBytes(StandardCharsets.UTF_8)))); in setWifiSsidPolicy_validAllowlist_works() 88 Arrays.asList(WifiSsid.fromBytes("ssid1".getBytes(StandardCharsets.UTF_8)), in setWifiSsidPolicy_validDenylist_works() 89 WifiSsid.fromBytes("ssid2".getBytes(StandardCharsets.UTF_8)), in setWifiSsidPolicy_validDenylist_works() 90 WifiSsid.fromBytes("ssid3".getBytes(StandardCharsets.UTF_8)))); in setWifiSsidPolicy_validDenylist_works() 109 Arrays.asList(WifiSsid.fromBytes("ssid1".getBytes(StandardCharsets.UTF_8)))); in setWifiSsidPolicy_validRemoveRestriction_works() 140 Arrays.asList(WifiSsid.fromBytes("ssid1".getBytes(StandardCharsets.UTF_8)))); in setWifiSsidPolicy_invalidAdmin_fails()
|
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/ |
D | ApplicationMediaCapabilitiesTest.java | 114 parser.setInput(xmlIs, StandardCharsets.UTF_8.name()); in testReadFromCorrectXmlWithInputStreamInAssets() 137 parser.setInput(xmlIs, StandardCharsets.UTF_8.name()); in testReadMediaCapabilitiesXmlWithSupportAllHdr() 165 parser.setInput(xmlIs, StandardCharsets.UTF_8.name()); in testReadFromWrongMediaCapabilityXml() 181 parser.setInput(xmlIs, StandardCharsets.UTF_8.name()); in testReadFromWrongMediaCapabilityXml2() 196 parser.setInput(xmlIs, StandardCharsets.UTF_8.name()); in testReadFromXmlWithWrongBoolean() 211 parser.setInput(xmlIs, StandardCharsets.UTF_8.name()); in testReadXmlSupportHdrWithoutSupportHevc() 227 parser.setInput(xmlIs, StandardCharsets.UTF_8.name()); in testReadXmlConflictSupportedValue() 242 parser.setInput(xmlIs, StandardCharsets.UTF_8.name()); in testReadXmlWithEmptyFormat() 257 parser.setInput(xmlIs, StandardCharsets.UTF_8.name()); in testReadXmlFormatWithoutSupported() 272 parser.setInput(xmlIs, StandardCharsets.UTF_8.name()); in testReadXmlSupportedWithoutFormat() [all …]
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | KeystoreAttestationDeviceInfo.java | 29 import static java.nio.charset.StandardCharsets.UTF_8; 172 new String(keyDetailsList.attestationIdBrand.get(), UTF_8)); in collectStoredInformation() 177 new String(keyDetailsList.attestationIdDevice.get(), UTF_8)); in collectStoredInformation() 182 new String(keyDetailsList.attestationIdProduct.get(), UTF_8)); in collectStoredInformation() 187 new String(keyDetailsList.attestationIdManufacturer.get(), UTF_8)); in collectStoredInformation() 192 new String(keyDetailsList.attestationIdModel.get(), UTF_8)); in collectStoredInformation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/presence/nan/ |
D | WifiAwarePeer.java | 19 import static java.nio.charset.StandardCharsets.UTF_8; 50 Collections.singletonList(UUID_STRING.getBytes(UTF_8)); 78 UTF_8)); in sendMessage() 82 UTF_8)); in sendMessage() 187 wifiAwarePeerListener.onReferenceDeviceNameReceived(new String(message, UTF_8));
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/presence/ble/ |
D | BleAdvertisingPacket.java | 46 .put(referenceDeviceName.getBytes(StandardCharsets.UTF_8)) in toBytes() 72 StandardCharsets.UTF_8); in fromBytes()
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/ |
D | Asn1Utf8String.java | 55 return value.getBytes(StandardCharsets.UTF_8); in getValueBytes() 59 value = new String(bytes, StandardCharsets.UTF_8); in setValueBytes()
|
/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/ |
D | DumpOnFailureRule.java | 72 out.write(("Output of '" + cmd + "':\n").getBytes(StandardCharsets.UTF_8)); in dumpCommandOutput() 75 .getBytes(StandardCharsets.UTF_8)); in dumpCommandOutput()
|
/cts/tests/BlobStore/src/com/android/cts/blob/ |
D | DumpOnFailureRule.java | 69 out.write(("Output of '" + cmd + "':\n").getBytes(StandardCharsets.UTF_8)); in dumpCommandOutput() 72 .getBytes(StandardCharsets.UTF_8)); in dumpCommandOutput()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | DumpOnFailureRule.java | 80 out.write(("Output of '" + cmd + "':\n").getBytes(StandardCharsets.UTF_8)); in dumpCommandOutput() 83 .getBytes(StandardCharsets.UTF_8)); in dumpCommandOutput()
|
/cts/hostsidetests/packagemanager/deletekeepdata/app/src/com/android/tests/deletekeepdata/app/ |
D | DeleteKeepDataDeviceTest.java | 100 return byteBuffer.toString(StandardCharsets.UTF_8); in readDataUserFile() 116 return byteBuffer.toString(StandardCharsets.UTF_8); in readExternalDataFile()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | TimedMetaDataTest.java | 38 assertEquals(RAW_METADATA, new String(metadata.getMetaData(), StandardCharsets.UTF_8)); in testTimedMetaData()
|
D | SubtitleDataTest.java | 40 assertEquals(SUBTITLE_RAW_DATA, new String(subtitle.getData(), StandardCharsets.UTF_8)); in testSubtitleData()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiInfoTest.java | 246 .setSsid(TEST_SSID.getBytes(StandardCharsets.UTF_8)) in testWifiInfoBuilder() 293 .setSsid(TEST_SSID.getBytes(StandardCharsets.UTF_8)) in testWifiInfoCurrentSecurityType() 313 .setSsid(TEST_SSID.getBytes(StandardCharsets.UTF_8)) in testWifiInfoMloAttributes() 338 .setSsid(TEST_SSID.getBytes(StandardCharsets.UTF_8)) in testWifiInfoSetAndGetVendorData() 359 .setSsid(TEST_SSID.getBytes(StandardCharsets.UTF_8)) in testGetPasspointUniqueId()
|
D | FakeKeys.java | 269 InputStream stream = new ByteArrayInputStream(blob.getBytes(StandardCharsets.UTF_8)); in loadCertificate()
|
D | WifiSsidTest.java | 34 TEST_SSID_UTF_8.getBytes(StandardCharsets.UTF_8);
|
/cts/tests/tests/nfc/src/android/nfc/cts/ |
D | AidGroupTest.java | 107 serializer.setOutput(out, StandardCharsets.UTF_8.name()); in test_ReadWriteXml() 113 parser.setInput(in, StandardCharsets.UTF_8.name()); in test_ReadWriteXml()
|
/cts/hostsidetests/testharness/app/src/android/testharness/app/ |
D | TestHarnessActivity.java | 69 Files.write(dirtyFile, "This device is dirty!".getBytes(StandardCharsets.UTF_8)); in dirtyDevice()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | CodecDecoderDrmTestBase.java | 88 String id = new String(keyIds.get(i).getBytes(StandardCharsets.UTF_8)); in createJsonWebKeySet() 89 String key = new String(keys.get(i).getBytes(StandardCharsets.UTF_8)); in createJsonWebKeySet() 136 byte[] jsonResponse = jwkSet.getBytes(StandardCharsets.UTF_8); in retrieveKeys()
|
/cts/tests/tests/time/shell_utils/common/android/app/time/cts/shell/ |
D | DeviceShellCommandExecutor.java | 89 return new String(result, 0, result.length, StandardCharsets.UTF_8); in parseBytesAsString()
|
/cts/hostsidetests/art/host/src/android/art/cts/host/ |
D | ThreadLocalRandomTest.java | 105 return new String(bytes, StandardCharsets.UTF_8); in parseBytesAsString()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/ |
D | IntentGenerationTests.java | 135 new String(Files.readAllBytes(testsFilePath), StandardCharsets.UTF_8)); in readFromStorage()
|
/cts/tests/tests/app/src/android/app/cts/ |
D | KeyguardWeakEscrowTokenTest.java | 58 private final byte[] mTestToken1 = "test_token1".getBytes(StandardCharsets.UTF_8); 59 private final byte[] mTestToken2 = "test_token2".getBytes(StandardCharsets.UTF_8);
|
/cts/tests/accessibility/common/src/android/accessibility/cts/common/ |
D | ShellCommandBuilder.java | 117 new InputStreamReader(inputStream, StandardCharsets.UTF_8))) { in execShellCommand() argument
|
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/ |
D | ShellCommandExecutor.java | 58 br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8)); in executeShellCommand()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/ |
D | BufferDebug.java | 57 return "\"" + new String(buf, 0, len, StandardCharsets.UTF_8) + "\"\n"; in debugString()
|