/frameworks/base/cmds/statsd/tests/ |
D | StatsService_test.cpp | 39 string serialized = config.SerializeAsString(); in TEST() local 42 service.addConfigurationChecked(123, 12345, {serialized.begin(), serialized.end()})); in TEST() 47 string serialized = ""; in TEST() local 50 service.addConfigurationChecked(123, 12345, {serialized.begin(), serialized.end()})); in TEST() 55 string serialized = "Invalid config!"; in TEST() local 58 service.addConfigurationChecked(123, 12345, {serialized.begin(), serialized.end()})); in TEST()
|
/frameworks/av/services/mediaanalytics/ |
D | statsd_extractor.cpp | 74 std::string serialized; in statsd_extractor() local 75 if (!metrics_proto.SerializeToString(&serialized)) { in statsd_extractor() 81 android::util::BytesField bf_serialized( serialized.c_str(), serialized.size()); in statsd_extractor() 88 ALOGV("NOT sending: private data (len=%zu)", strlen(serialized.c_str())); in statsd_extractor()
|
D | statsd_audiopolicy.cpp | 105 std::string serialized; in statsd_audiopolicy() local 106 if (!metrics_proto.SerializeToString(&serialized)) { in statsd_audiopolicy() 112 android::util::BytesField bf_serialized( serialized.c_str(), serialized.size()); in statsd_audiopolicy() 119 ALOGV("NOT sending: private data (len=%zu)", strlen(serialized.c_str())); in statsd_audiopolicy()
|
D | statsd_audiotrack.cpp | 129 std::string serialized; in statsd_audiotrack() local 130 if (!metrics_proto.SerializeToString(&serialized)) { in statsd_audiotrack() 136 android::util::BytesField bf_serialized( serialized.c_str(), serialized.size()); in statsd_audiotrack() 143 ALOGV("NOT sending: private data (len=%zu)", strlen(serialized.c_str())); in statsd_audiotrack()
|
D | statsd_audiorecord.cpp | 138 std::string serialized; in statsd_audiorecord() local 139 if (!metrics_proto.SerializeToString(&serialized)) { in statsd_audiorecord() 145 android::util::BytesField bf_serialized( serialized.c_str(), serialized.size()); in statsd_audiorecord() 152 ALOGV("NOT sending: private data (len=%zu)", strlen(serialized.c_str())); in statsd_audiorecord()
|
D | statsd_codec.cpp | 159 std::string serialized; in statsd_codec() local 160 if (!metrics_proto.SerializeToString(&serialized)) { in statsd_codec() 166 android::util::BytesField bf_serialized( serialized.c_str(), serialized.size()); in statsd_codec() 173 ALOGV("NOT sending: private data (len=%zu)", strlen(serialized.c_str())); in statsd_codec()
|
D | statsd_recorder.cpp | 169 std::string serialized; in statsd_recorder() local 170 if (!metrics_proto.SerializeToString(&serialized)) { in statsd_recorder() 176 android::util::BytesField bf_serialized( serialized.c_str(), serialized.size()); in statsd_recorder() 183 ALOGV("NOT sending: private data (len=%zu)", strlen(serialized.c_str())); in statsd_recorder()
|
D | statsd_nuplayer.cpp | 150 std::string serialized; in statsd_nuplayer() local 151 if (!metrics_proto.SerializeToString(&serialized)) { in statsd_nuplayer() 157 android::util::BytesField bf_serialized( serialized.c_str(), serialized.size()); in statsd_nuplayer() 164 ALOGV("NOT sending: private data (len=%zu)", strlen(serialized.c_str())); in statsd_nuplayer()
|
D | statsd_audiothread.cpp | 187 std::string serialized; in statsd_audiothread() local 188 if (!metrics_proto.SerializeToString(&serialized)) { in statsd_audiothread() 194 android::util::BytesField bf_serialized( serialized.c_str(), serialized.size()); in statsd_audiothread() 201 ALOGV("NOT sending: private data (len=%zu)", strlen(serialized.c_str())); in statsd_audiothread()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiScoreCardTest.java | 264 byte[] serialized = perBssid.toAccessPoint().toByteArray(); in makeSerializedAccessPointExample() 265 return serialized; in makeSerializedAccessPointExample() 293 byte[] serialized = makeSerializedAccessPointExample(); in testAccessPointSerialization() 296 AccessPoint ap = AccessPoint.parseFrom(serialized); in testAccessPointSerialization() 328 byte[] serialized = makeSerializedAccessPointExample(); in testReproducableSerialization() 330 assertArrayEquals(serialized, makeSerializedAccessPointExample()); in testReproducableSerialization() 338 byte[] serialized = makeSerializedAccessPointExample(); in testDeserialization() 343 AccessPoint.parseFrom(serialized)); in testDeserialization() 346 String diag = hexStringFromByteArray(serialized); in testDeserialization() 357 byte[] serialized = mWifiScoreCard.getNetworkListByteArray(false); in testNetworksSerialization() [all …]
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | FlagNamespaceUtils.java | 137 private static List<String> toStringList(String serialized) { in toStringList() argument 138 if (serialized == null || serialized.length() == 0) { in toStringList() 141 return Arrays.asList(serialized.split(DELIMITER)); in toStringList()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiScoreCard.java | 481 void lazyMerge(byte[] serialized) { in lazyMerge() argument 482 if (serialized == null) return; in lazyMerge() 483 byte[] old = mPendingReadFromStore.getAndSet(serialized); in lazyMerge() 497 final byte[] serialized = mPendingReadFromStore.getAndSet(null); in finishPendingRead() 498 if (serialized == null) return; in finishPendingRead() 501 ap = AccessPoint.parseFrom(serialized); in finishPendingRead() 570 byte[] serialized = perBssid.toAccessPoint(/* No BSSID */ true).toByteArray(); in doWrites() 571 mMemoryStore.write(perBssid.getL2Key(), serialized); in doWrites() local 574 bytes += serialized.length; in doWrites()
|
/frameworks/base/libs/protoutil/tests/ |
D | ProtoOutputStream_test.cpp | 114 std::string serialized; in TEST() local 115 ASSERT_TRUE(proto.serializeToString(&serialized)); in TEST() 116 ASSERT_TRUE(primitives.ParseFromString(serialized)); in TEST() 161 std::string serialized(vec.data(), vec.data() + vec.size()); in TEST() local 162 ASSERT_TRUE(primitives.ParseFromString(serialized)); in TEST() 244 std::string serialized; in TEST() local 245 ASSERT_TRUE(proto.serializeToString(&serialized)); in TEST() 246 ASSERT_TRUE(complex.ParseFromString(serialized)); in TEST()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsStorageTests.java | 427 byte[] serialized = PersistentData.toBytes(PersistentData.TYPE_SP, SOME_USER_ID, in testPersistentData_serializeUnserialize() 429 PersistentData deserialized = PersistentData.fromBytes(serialized); in testPersistentData_serializeUnserialize() 482 byte[] serialized = CredentialHash.create( in testCredentialHash_serializeUnserialize() 484 CredentialHash deserialized = CredentialHash.fromBytes(serialized); in testCredentialHash_serializeUnserialize() 496 byte[] serialized = new byte[] { in testCredentialHash_unserialize_versionGatekeeper() 502 CredentialHash deserialized = CredentialHash.fromBytes(serialized); in testCredentialHash_unserialize_versionGatekeeper()
|
D | SyntheticPasswordTests.java | 472 byte[] serialized = new byte[] { in testPasswordData_deserialize() 482 PasswordData deserialized = PasswordData.fromBytes(serialized); in testPasswordData_deserialize()
|
/frameworks/base/tools/aapt2/ |
D | formats.md | 29 If the `entry_type` is equal to `RES_TABLE (0x00000000)`, the `data` field contains a serialized 39 | `header_size` | `header` | The serialized Protobuf message [aapt.pb.internal.CompiledFi…
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | RationalTest.java | 481 T serialized = deserialize(arr, klass); in serializeRoundTrip() local 482 return serialized; in serializeRoundTrip() 487 T serialized = serializeRoundTrip(obj); in assertEqualsAfterSerializing() local 488 assertEquals("Expected values to be equal after serialization round-trip", obj, serialized); in assertEqualsAfterSerializing()
|
/frameworks/base/core/java/android/content/ |
D | IntentSender.java | 117 Bundle extras, boolean serialized, boolean sticky, int sendingUser) { in performReceive() argument
|
/frameworks/base/core/java/android/app/ |
D | ActivityManagerInternal.java | 256 Bundle bOptions, boolean serialized, boolean sticky, int userId, in broadcastIntentInPackage() argument
|
/frameworks/ml/nn/common/ |
D | ExecutionBurstServer.cpp | 467 const std::vector<FmqResultDatum> serialized = serialize(errorStatus, outputShapes, timing); in send() local 468 return sendPacket(serialized); in send()
|
D | ExecutionBurstController.cpp | 368 const std::vector<FmqRequestDatum> serialized = serialize(request, measure, slots); in send() local 369 return sendPacket(serialized); in send()
|
/frameworks/base/tools/aapt2/compile/ |
D | Png.cpp | 51 void* serialized = android::Res_png_9patch::serialize(info9Patch, xDivs, in serialize9Patch() local 53 reinterpret_cast<android::Res_png_9patch*>(serialized)->deviceToFile(); in serialize9Patch() 54 return serialized; in serialize9Patch()
|
/frameworks/base/tools/aapt/ |
D | Images.cpp | 58 void* serialized = Res_png_9patch::serialize(info9Patch, xDivs, yDivs, colors); in serialize9patch() local 59 reinterpret_cast<Res_png_9patch*>(serialized)->deviceToFile(); in serialize9patch() 60 return serialized; in serialize9patch()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 1595 String serialized = getString(ENABLED_TRUST_AGENTS, userId); in getEnabledTrustAgents() local 1596 if (TextUtils.isEmpty(serialized)) { in getEnabledTrustAgents() 1599 String[] split = serialized.split(","); in getEnabledTrustAgents()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | EventLogTags.logtags | 62 # Discard an undelivered serialized broadcast (timeout/ANR/crash)
|