/external/chromium_org/chrome/browser/chromeos/settings/ |
device_settings_cache.cc | 30 std::string encoded; local 31 if (!base::Base64Encode(policy_string, &encoded)) { 35 local_state->SetString(prefs::kDeviceSettingsCache, encoded); 43 std::string encoded = local 46 if (!base::Base64Decode(encoded, &policy_string)) {
|
/external/chromium_org/chrome/browser/policy/test/ |
asn1der.py | 24 encoded TLV value. 37 encoded TLV value. 48 encoded TLV value. 56 values: the list of values, must be strings holding already encoded data. 58 encoded TLV value.
|
/external/chromium_org/remoting/base/ |
rsa_key_pair.h | 24 // Loads a private key from a base64-encoded string. Returns true on success. 27 // Returns a base64 encoded string representing the private key. 30 // Generates a DER-encoded self-signed certificate using the key pair. Returns 35 // Returns a base64-encoded string representing the public key. 38 // Returns a base64-encoded signature for the message.
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
X509PublicKey.java | 24 private final byte[] encoded; field in class:X509PublicKey 27 public X509PublicKey(String algorithm, byte[] encoded, byte[] keyBytes) { 29 this.encoded = encoded; 42 return encoded;
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
AnyTest.java | 42 private static byte[] encoded = new byte[] { 0x01, 0x03, 0x11, 0x13, 0x15 }; field in class:AnyTest 45 DerInputStream in = new DerInputStream(encoded); 46 assertTrue(Arrays.equals(encoded, (byte[]) ASN1Any.getInstance() 52 encoded); 53 assertTrue("False", Arrays.equals(encoded, out.encoded));
|
DerUTCTimeEDTest.java | 56 byte[] encoded = 57 new DerOutputStream(uTime, myDate).encoded; 58 String rep = new String(encoded, 2, encoded[1] & 0xff, "UTF-8"); 66 encoded = 67 new DerOutputStream(uTime, myDate).encoded; 68 rep = new String(encoded, 2, encoded[1] & 0xff, "UTF-8"); 99 byte[] encoded = 100 new DerOutputStream(uTime, myDate).encoded; [all...] |
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
EncodeHtmlDataUriTest.java | 34 assertEquals("Delimiters are not properly encoded", decodedUri, testString); 42 assertEquals("Unwise characters are not properly encoded", decodedUri, testString); 50 assertEquals("Whitespace characters are not properly encoded", decodedUri, testString); 59 // Verify that the encoded URI is valid. 61 // Verify that something sensible was encoded. 62 assertEquals("Simple HTML is not properly encoded", decodedUri, testString);
|
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLDSAKeyFactory.java | 89 final byte[] encoded = key.getEncoded(); 90 if (!"X.509".equals(key.getFormat()) || encoded == null) { 94 (DSAPublicKey) engineGeneratePublic(new X509EncodedKeySpec(encoded)); 105 final byte[] encoded = key.getEncoded(); 106 if (!"PKCS#8".equals(key.getFormat()) || encoded == null) { 110 (DSAPrivateKey) engineGeneratePrivate(new PKCS8EncodedKeySpec(encoded)); 116 final byte[] encoded = key.getEncoded(); 120 } else if (encoded == null) { 123 return (T) new PKCS8EncodedKeySpec(encoded); 125 final byte[] encoded = key.getEncoded() [all...] |
OpenSSLECKeyFactory.java | 88 final byte[] encoded = key.getEncoded(); 89 if (!"X.509".equals(key.getFormat()) || encoded == null) { 92 ECPublicKey ecKey = (ECPublicKey) engineGeneratePublic(new X509EncodedKeySpec(encoded)); 99 final byte[] encoded = key.getEncoded(); 100 if (!"PKCS#8".equals(key.getFormat()) || encoded == null) { 104 (ECPrivateKey) engineGeneratePrivate(new PKCS8EncodedKeySpec(encoded)); 108 final byte[] encoded = key.getEncoded(); 112 } else if (encoded == null) { 115 return (T) new PKCS8EncodedKeySpec(encoded); 117 final byte[] encoded = key.getEncoded() [all...] |
OpenSSLRSAKeyFactory.java | 90 final byte[] encoded = key.getEncoded(); 91 if (!"X.509".equals(key.getFormat()) || encoded == null) { 95 (RSAPublicKey) engineGeneratePublic(new X509EncodedKeySpec(encoded)); 114 final byte[] encoded = key.getEncoded(); 115 if (!"PKCS#8".equals(key.getFormat()) || encoded == null) { 119 (RSAPrivateKey) engineGeneratePrivate(new PKCS8EncodedKeySpec(encoded)); 127 throw new InvalidKeySpecException("Encoded key is not an RSAPrivateCrtKey"); 130 final byte[] encoded = key.getEncoded(); 131 if (!"PKCS#8".equals(key.getFormat()) || encoded == null) { 135 (RSAPrivateKey) engineGeneratePrivate(new PKCS8EncodedKeySpec(encoded)); [all...] |
/libcore/luni/src/main/java/java/security/ |
KeyRep.java | 44 private byte[] encoded; field in class:KeyRep 57 * @param encoded 58 * the encoded {@code byte[]} (obtained by 61 * if {@code type, algorithm, format or encoded} is {@code null} 64 public KeyRep(Type type, String algorithm, String format, byte[] encoded) { 68 this.encoded = encoded; 78 if(this.encoded == null) { 79 throw new NullPointerException("encoded == null"); 89 * is initialized with a {@link PKCS8EncodedKeySpec} using the encoded ke [all...] |
/frameworks/av/media/libstagefright/codecs/common/include/ |
voAudio.h | 52 VO_AUDIO_CodingADPCM, /**< Any variant of ADPCM encoded data */ 53 VO_AUDIO_CodingAMRNB, /**< Any variant of AMR encoded data */ 54 VO_AUDIO_CodingAMRWB, /**< Any variant of AMR encoded data */ 55 VO_AUDIO_CodingAMRWBP, /**< Any variant of AMR encoded data */ 56 VO_AUDIO_CodingQCELP13, /**< Any variant of QCELP 13kbps encoded data */ 57 VO_AUDIO_CodingEVRC, /**< Any variant of EVRC encoded data */ 58 VO_AUDIO_CodingAAC, /**< Any variant of AAC encoded data, 0xA106 - ISO/MPEG-4 AAC, 0xFF - AAC */ 59 VO_AUDIO_CodingAC3, /**< Any variant of AC3 encoded data */ 60 VO_AUDIO_CodingFLAC, /**< Any variant of FLAC encoded data */ 61 VO_AUDIO_CodingMP1, /**< Any variant of MP1 encoded data * [all...] |
/development/ndk/platforms/android-14/samples/native-media/ |
README.txt | 2 placed in /sdcard/NativeMedia.ts and encoded as:
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
version_edit_test.cc | 11 std::string encoded, encoded2; local 12 edit.EncodeTo(&encoded); 14 Status s = parsed.DecodeFrom(encoded); 17 ASSERT_EQ(encoded, encoded2);
|
/external/chromium_org/ui/gfx/image/ |
image_util.h | 19 // Creates an image from the given JPEG-encoded input. If there was an error 24 // Fills the |dst| vector with JPEG-encoded bytes of the 1x representation of 27 // was encoded successfully. 29 // Returns true if the Image was encoded successfully.
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_doctest4.txt | 2 This file is encoded using UTF-8.
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_doctest4.txt | 2 This file is encoded using UTF-8.
|
/external/chromium_org/media/base/android/ |
webaudio_media_codec_bridge.h | 22 // |encoded_audio_handle| to get the encoded audio data. Audio file 34 // Start MediaCodec to process the encoded data in 55 // Handles MediaCodec processing of the encoded data in 60 // Save encoded audio data to a temporary file and return the file 65 // The encoded audio data is read from this file descriptor for the 66 // shared memory that holds the encoded data. 73 // The length of the encoded data.
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
KeyStoreTestSupport.java | 66 private byte[] encoded; field in class:KeyStoreTestSupport.SKey 68 public SKey(String type, byte[] encoded) { 70 this.encoded = encoded; 78 return encoded; 94 private byte[] encoded; field in class:KeyStoreTestSupport.MyPrivateKey 96 public MyPrivateKey(String algorithm, String format, byte[] encoded) { 99 this.encoded = encoded; 111 return encoded; [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
KeyStoreTestSupport.java | 66 private byte[] encoded; field in class:KeyStoreTestSupport.SKey 68 public SKey(String type, byte[] encoded) { 70 this.encoded = encoded; 78 return encoded; 94 private byte[] encoded; field in class:KeyStoreTestSupport.MyPrivateKey 96 public MyPrivateKey(String algorithm, String format, byte[] encoded) { 99 this.encoded = encoded; 111 return encoded; [all...] |
/external/smack/src/org/xbill/DNS/utils/ |
base16.java | 8 * Routines for converting between Strings of hex-encoded data and arrays of 22 * Convert binary data to a hex-encoded String 24 * @return A String containing the encoded data 41 * Convert a hex-encoded String to binary data 42 * @param str A String containing the encoded data
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/ |
DecoderUtil.java | 34 * Static methods for decoding strings, byte arrays and encoded words.
43 * Decodes a string containing quoted-printable encoded data.
72 * Decodes a string containing base64 encoded data.
101 * Decodes an encoded word encoded with the 'B' encoding (described in
104 * @param encodedWord the encoded word to decode.
117 * Decodes an encoded word encoded with the 'Q' encoding (described in
120 * @param encodedWord the encoded word to decode.
146 * Decodes a string containing encoded words as defined by RFC 2047. [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
ClientKeyExchangeTest.java | 52 byte[] encoded = out.getData(1000); 54 encoded.length); 57 in.append(encoded); 66 in.append(encoded); 79 in.append(encoded); 111 byte[] encoded = out.getData(1000); 113 encoded.length); 116 in.append(encoded); 125 in.append(encoded); 133 in.append(encoded); [all...] |
ServerKeyExchangeTest.java | 52 byte[] encoded = out.getData(1000); 54 encoded.length); 57 in.append(encoded); 69 in.append(encoded); 77 in.append(encoded); 106 byte[] encoded = out.getData(1000); 108 encoded.length); 111 in.append(encoded); 121 in.append(encoded); 129 in.append(encoded); [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/ |
SDL_wave.c | 118 Uint8 *freeable, *encoded, *decoded; local 126 encoded = *audio_buf; 144 state[0]->hPredictor = *encoded++; 146 state[1]->hPredictor = *encoded++; 148 state[0]->iDelta = ((encoded[1]<<8)|encoded[0]); 149 encoded += sizeof(Sint16); 151 state[1]->iDelta = ((encoded[1]<<8)|encoded[0]); 152 encoded += sizeof(Sint16) 326 Uint8 *freeable, *encoded, *decoded; local [all...] |