/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
LockSettingsStorageTests.java | 350 byte[] serialized = PersistentData.toBytes(PersistentData.TYPE_SP, SOME_USER_ID, 352 PersistentData deserialized = PersistentData.fromBytes(serialized); 370 // This test ensures that we can read serialized VERSION_1 PersistentData even if we change 393 byte[] serialized = CredentialHash.create( 395 CredentialHash deserialized = CredentialHash.fromBytes(serialized); 404 // This test ensures that we can read serialized VERSION_GATEKEEPER CredentialHashes 406 byte[] serialized = new byte[] { 412 CredentialHash deserialized = CredentialHash.fromBytes(serialized);
|
/external/autotest/client/common_lib/cros/network/ |
xmlrpc_datatypes.py | 14 def deserialize(serialized): 17 @param serialized dict representing a serialized object. 21 return xmlrpc_types.deserialize(serialized, module=sys.modules[__name__]) 57 @param security_config SecurityConfig object or serialized version.
|
/external/boringssl/src/ssl/test/runner/ |
ticket.go | 19 // sessionState contains the information that is serialized into a session 161 serialized := state.marshal() 162 encrypted := make([]byte, aes.BlockSize+len(serialized)+sha256.Size) 173 cipher.NewCTR(block, iv).XORKeyStream(encrypted[aes.BlockSize:], serialized)
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue73/ |
SetAsSequenceTest.java | 66 String serialized = Util.getLocalResource("issues/issue73-2.txt"); local 67 // System.out.println(serialized); 70 Blog rehydrated = beanLoader.loadAs(serialized, Blog.class);
|
/prebuilts/go/darwin-x86/src/crypto/tls/ |
ticket.go | 18 // sessionState contains the information that is serialized into a session 133 serialized := state.marshal() 134 encrypted := make([]byte, ticketKeyNameLen+aes.BlockSize+len(serialized)+sha256.Size) 148 cipher.NewCTR(block, iv).XORKeyStream(encrypted[ticketKeyNameLen+aes.BlockSize:], serialized)
|
key_agreement.go | 436 var serialized, preMasterSecret []byte 448 serialized = ourPublic[:] 464 serialized = elliptic.Marshal(curve, mx, my) 468 ckx.ciphertext = make([]byte, 1+len(serialized)) 469 ckx.ciphertext[0] = byte(len(serialized)) 470 copy(ckx.ciphertext[1:], serialized)
|
/prebuilts/go/linux-x86/src/crypto/tls/ |
ticket.go | 18 // sessionState contains the information that is serialized into a session 133 serialized := state.marshal() 134 encrypted := make([]byte, ticketKeyNameLen+aes.BlockSize+len(serialized)+sha256.Size) 148 cipher.NewCTR(block, iv).XORKeyStream(encrypted[ticketKeyNameLen+aes.BlockSize:], serialized)
|
/prebuilts/tools/common/m2/repository/io/grpc/grpc-protobuf/0.13.2/ |
grpc-protobuf-0.13.2.jar | |
/prebuilts/tools/common/m2/repository/io/grpc/grpc-protobuf-lite/1.0.1/ |
grpc-protobuf-lite-1.0.1.jar | |
/prebuilts/tools/common/m2/repository/io/grpc/grpc-protobuf-lite/1.0.3/ |
grpc-protobuf-lite-1.0.3.jar | |
/system/bt/osi/src/ |
metrics_linux.cc | 179 void BluetoothMetricsLogger::WriteString(std::string* serialized, bool clear) { 183 void BluetoothMetricsLogger::WriteBase64String(std::string* serialized,
|
metrics.cc | 399 void BluetoothMetricsLogger::WriteString(std::string* serialized, bool clear) { 404 if (!pimpl_->bluetooth_log_->SerializeToString(serialized)) { 413 void BluetoothMetricsLogger::WriteBase64String(std::string* serialized, 415 this->WriteString(serialized, clear); 416 base::Base64Encode(*serialized, serialized);
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
SendersFormattingTests.java | 101 final byte[] serialized = before.toBlob(); 103 final ConversationInfo after = ConversationInfo.fromBlob(serialized); 119 final byte[] serialized = before.toBlob(); 121 final ConversationInfo after = ConversationInfo.fromBlob(serialized);
|
/external/google-breakpad/src/common/ |
simple_string_dictionary_unittest.cc | 264 const SerializedNonAllocatingMap* serialized; local 265 size_t size = map.Serialize(&serialized); 270 memcpy(serialized_copy, serialized, size);
|
/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/ |
AbstractByteBuddyMockMakerTest.java | 95 SerializableClass serialized = SimpleSerializationUtil.serializeAndBack(proxy); local 96 assertThat(serialized).isNotNull(); 99 MockHandler handlerTwo = mockMaker.getHandler(serialized);
|
/external/protobuf/python/google/protobuf/internal/ |
message_factory_test.py | 85 serialized = msg.SerializeToString() 86 converted = factory_test2_pb2.Factory2Message.FromString(serialized) 88 self.assertEqual(serialized, reserialized)
|
message_test.py | 198 # verify the serialized string can be converted into a correctly 200 serialized = golden_message.SerializeToString() 202 message.ParseFromString(serialized) 234 serialized = golden_message.SerializeToString() 236 message.ParseFromString(serialized) [all...] |
/packages/apps/Email/provider_src/com/android/email/ |
Preferences.java | 235 HashSet<String> parseEmailSet(String serialized) throws JSONException { 237 if (!TextUtils.isEmpty(serialized)) { 238 JSONArray arr = new JSONArray(serialized);
|
/external/autotest/scheduler/shard/ |
shard_client.py | 130 for serialized in serialized_list: 133 djmodel.deserialize(serialized) 136 message, serialized, e)
|
/external/minijail/ |
libminijail.c | 962 int minijail_unmarshal(struct minijail *j, char *serialized, size_t length) 970 memcpy((void *)j, serialized, sizeof(*j)); 971 serialized += sizeof(*j); 983 char *user = consumestr(&serialized, &length); 997 consumebytes(gid_list_size, &serialized, &length); 1009 char *chrootdir = consumestr(&serialized, &length); 1018 char *hostname = consumestr(&serialized, &length); 1027 char *alt_syscall_table = consumestr(&serialized, &length); 1042 void *program = consumebytes(program_len, &serialized, &length); 1066 const char *src = consumestr(&serialized, &length) [all...] |
/external/autotest/frontend/afe/ |
model_logic.py | 522 still want to include in the serialized dictionary. For [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PictureTest.java | 74 Picture serialized = Picture.createFromStream(new ByteArrayInputStream(bout.toByteArray())); local 76 verifyBalance(serialized);
|
/external/icu/tools/srcgen/ |
generate_android_icu4j.sh | 92 echo Repackaging serialized test data
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
Any.cs | 42 /// `Any` contains an arbitrary serialized protocol buffer message along with a 43 /// URL that describes the type of the serialized message. 134 /// serialized protocol buffer message. 166 /// Must be a valid serialized protocol buffer of the above specified type.
|
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
Player.java | 223 String serialized = Base64.getEncoder().encodeToString(MessageNano.toByteArray(playlist)); local 225 editor.putString(CURRENT_PLAYLIST_KEY, serialized); 267 String serialized = mSharedPrefs.getString(CURRENT_PLAYLIST_KEY, null); local 268 if (serialized == null) { 273 Playlist playlist = Playlist.parseFrom(Base64.getDecoder().decode(serialized));
|