Home
last modified time | relevance | path

Searched refs:decoded (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/
DSettingsWrapperTest.kt54 val decoded = wrapper.decode(value, USER_ID) in testDecodeUnnecessary() constant
57 assertThat(decoded).isEqualTo(value) in testDecodeUnnecessary()
70 val decoded = wrapper.decode(value, USER_ID) in testDecodeJSON() constant
72 assertThat(decoded).isEqualTo(PACKAGE) in testDecodeJSON()
82 val decoded = wrapper.decode(value, USER_ID) in testDecodeJSONWithoutClockField() constant
84 assertThat(decoded).isNull() in testDecodeJSONWithoutClockField()
/frameworks/base/tests/net/java/com/android/internal/net/
DVpnProfileTest.java155 final VpnProfile decoded = VpnProfile.decode(DUMMY_PROFILE_KEY, profile.encode()); in testEncodeDecode() local
156 assertEquals(profile, decoded); in testEncodeDecode()
201 final VpnProfile decoded = VpnProfile.decode(DUMMY_PROFILE_KEY, tooFewValues.getBytes()); in testEncodeDecodeMissingIsRestrictedToTestNetworks() local
202 assertFalse(decoded.isRestrictedToTestNetworks); in testEncodeDecodeMissingIsRestrictedToTestNetworks()
210 final VpnProfile decoded = VpnProfile.decode(DUMMY_PROFILE_KEY, profile.encode()); in testEncodeDecodeLoginsNotSaved() local
211 assertNotEquals(profile, decoded); in testEncodeDecodeLoginsNotSaved()
214 decoded.username = profile.username; in testEncodeDecodeLoginsNotSaved()
215 decoded.password = profile.password; in testEncodeDecodeLoginsNotSaved()
216 assertEquals(profile, decoded); in testEncodeDecodeLoginsNotSaved()
/frameworks/base/core/java/android/net/
DUri.java1995 volatile String decoded; field in Uri.AbstractPart
1998 AbstractPart(String encoded, String decoded) { in AbstractPart() argument
2002 this.decoded = NOT_CACHED; in AbstractPart()
2003 } else if (decoded != NOT_CACHED) { in AbstractPart()
2006 this.decoded = decoded; in AbstractPart()
2016 boolean hasDecoded = decoded != NOT_CACHED; in getDecoded()
2017 return hasDecoded ? decoded : (decoded = decode(encoded)); in getDecoded()
2025 canonicalValue = decoded; in writeTo()
2051 private Part(String encoded, String decoded) { in Part() argument
2052 super(encoded, decoded); in Part()
[all …]
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java489 String decoded; in decodeGSMPackedString() local
503 decoded = GsmAlphabet.gsm7BitPackedToString(input, 0, lengthSeptets); in decodeGSMPackedString()
506 if (null == decoded) { in decodeGSMPackedString()
508 decoded = ""; in decodeGSMPackedString()
511 return decoded; in decodeGSMPackedString()
516 String decoded = ""; in decodeUTF8String() local
518 decoded = new String(input, "UTF-8"); in decodeUTF8String()
524 return decoded; in decodeUTF8String()
529 String decoded = ""; in decodeUCS2String() local
531 decoded = new String(input, "UTF-16"); in decodeUCS2String()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmSmsTest.java395 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, 128, 0, language, 0); in decodeSingle() local
396 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, language, 0); in decodeSingle()
398 assertEquals(sBasicTables[language], decoded); in decodeSingle()
472 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, numSeptets, 0, in testDecodeExtended() local
474 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, 0, language); in testDecodeExtended()
476 assertEquals(sExtendedTables[language], decoded); in testDecodeExtended()
547 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, numSeptets, 0, in testDecodeExtendedFallback() local
550 assertEquals(defaultTable.toString(), decoded); in testDecodeExtendedFallback() local
552 decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, numSeptets, 0, 1, language); in testDecodeExtendedFallback()
553 assertEquals(turkishTable.toString(), decoded); in testDecodeExtendedFallback() local
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DNativeUtil.java258 CharBuffer decoded = decoder.decode(ByteBuffer.wrap(byteArray)); in bytesToHexOrQuotedString() local
259 return "\"" + decoded.toString() + "\""; in bytesToHexOrQuotedString()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackageInfo.java284 final byte[] decoded = Base64.getDecoder().decode(hash); in loadFromXml()
285 hashes.add(decoded); in loadFromXml()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DNetworkDetail.java221 CharBuffer decoded = decoder.decode(ByteBuffer.wrap(ssidOctets)); in NetworkDetail() local
222 ssid = decoded.toString(); in NetworkDetail()
/frameworks/av/media/tests/benchmark/
DREADME.md246 …s the total time taken to encode/decode all frames divided by the number of frames encoded/decoded.
254 12. **totalBytesProcessedPerSec**: The number of bytes extracted/muxed/decoded/encoded per second.
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java841 private Object createPart(Class partClass, String encoded, String decoded) throws Exception { in createPart() argument
844 return partConstructor.newInstance(encoded, decoded); in createPart()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java3282 CharBuffer decoded = decoder.decode(ByteBuffer.wrap(bytes)); in readKernelLog() local
3283 return decoded.toString(); in readKernelLog()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt45353 Landroid/net/Uri$AbstractPart;->decoded:Ljava/lang/String;