/frameworks/base/cmds/statsd/tests/ |
D | StatsService_test.cpp | 41 string serialized = config.SerializeAsString(); in TEST() local 44 service->addConfigurationChecked(123, 12345, {serialized.begin(), serialized.end()})); in TEST() 49 string serialized = ""; in TEST() local 52 service->addConfigurationChecked(123, 12345, {serialized.begin(), serialized.end()})); in TEST() 57 string serialized = "Invalid config!"; in TEST() local 60 service->addConfigurationChecked(123, 12345, {serialized.begin(), serialized.end()})); in TEST()
|
/frameworks/av/services/mediametrics/ |
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_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_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_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_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_codec.cpp | 189 std::string serialized; in statsd_codec() local 190 if (!metrics_proto.SerializeToString(&serialized)) { in statsd_codec() 196 android::util::BytesField bf_serialized( serialized.c_str(), serialized.size()); in statsd_codec() 203 ALOGV("NOT sending: private data (len=%zu)", strlen(serialized.c_str())); in statsd_codec()
|
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 | 508 byte[] serialized = perBssid.toAccessPoint().toByteArray(); in makeSerializedAccessPointExample() 509 return serialized; in makeSerializedAccessPointExample() 573 byte[] serialized = makeSerializedAccessPointExample(); in testAccessPointSerialization() 576 AccessPoint ap = AccessPoint.parseFrom(serialized); in testAccessPointSerialization() 614 byte[] serialized = makeSerializedAccessPointExample(); in testReproducableSerialization() 616 assertArrayEquals(serialized, makeSerializedAccessPointExample()); in testReproducableSerialization() 624 byte[] serialized = makeSerializedAccessPointExample(); in testAccessPointDeserialization() 629 AccessPoint.parseFrom(serialized)); in testAccessPointDeserialization() 632 String diag = hexStringFromByteArray(serialized); in testAccessPointDeserialization() 643 byte[] serialized = mWifiScoreCard.getNetworkListByteArray(false); in testNetworksSerialization() [all …]
|
D | WifiHealthMonitorTest.java | 336 byte[] serialized = makeSerializedExample(); in makeSwBuildChangeExample() 358 mBlobListeners.get(0).onBlobRetrieved(serialized); in makeSwBuildChangeExample() 409 byte[] serialized = wifiSystemInfoStats.toSystemInfoStats().toByteArray(); in testSerializationDeserialization() 410 SystemInfoStats systemInfoStats = SystemInfoStats.parseFrom(serialized); in testSerializationDeserialization() 693 byte[] serialized = makeSerializedExample(); in testClearReallyDoesClearTheState() 694 assertNotEquals(0, serialized.length); in testClearReallyDoesClearTheState() 704 byte [] serialized = makeSerializedExample(); in testPostBootAbnormalScanDetection() 728 mBlobListeners.get(0).onBlobRetrieved(serialized); in testPostBootAbnormalScanDetection() 730 SystemInfoStats systemInfoStats = SystemInfoStats.parseFrom(serialized); in testPostBootAbnormalScanDetection()
|
/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/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiScoreCard.java | 802 final byte[] serialized = finishPendingReadBytes(); in finishPendingRead() 803 if (serialized == null) return; in finishPendingRead() 806 ap = AccessPoint.parseFrom(serialized); in finishPendingRead() 1234 final byte[] serialized = finishPendingReadBytes(); in finishPendingRead() 1235 if (serialized == null) return; in finishPendingRead() 1238 ns = NetworkStats.parseFrom(serialized); in finishPendingRead() 1476 void readBackListener(byte[] serialized) { in readBackListener() argument 1477 if (serialized == null) return; in readBackListener() 1478 byte[] old = mPendingReadFromStore.getAndSet(serialized); in readBackListener() 1620 byte[] serialized = perBssid.toAccessPoint(/* No BSSID */ true).toByteArray(); in doWritesBssid() [all …]
|
D | WifiHealthMonitor.java | 781 final byte[] serialized = finishPendingReadBytes(); in finishPendingRead() 782 if (serialized == null) { in finishPendingRead() 788 systemInfoStats = SystemInfoStats.parseFrom(serialized); in finishPendingRead() 819 byte[] serialized = toSystemInfoStats().toByteArray(); in writeToMemory() 820 mMemoryStore.write(getL2Key(), SYSTEM_INFO_DATA_NAME, serialized); in writeToMemory() local
|
/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/services/core/java/com/android/server/pm/parsing/ |
D | PackageCacher.java | 108 byte[] serialized = p.marshall(); in toCacheEntryStatic() 111 return serialized; in toCacheEntryStatic()
|
/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/app/ |
D | ActivityManagerInternal.java | 293 String requiredPermission, Bundle bOptions, boolean serialized, boolean sticky, in broadcastIntentInPackage() argument 421 String[] requiredPermissions, boolean serialized, in broadcastIntent() argument
|
/frameworks/base/core/java/android/content/ |
D | IntentSender.java | 117 Bundle extras, boolean serialized, boolean sticky, int sendingUser) { in performReceive() argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsStorageTests.java | 426 byte[] serialized = PersistentData.toBytes(PersistentData.TYPE_SP, SOME_USER_ID, in testPersistentData_serializeUnserialize() 428 PersistentData deserialized = PersistentData.fromBytes(serialized); in testPersistentData_serializeUnserialize()
|
D | SyntheticPasswordTests.java | 463 byte[] serialized = new byte[] { in testPasswordData_deserialize() 473 PasswordData deserialized = PasswordData.fromBytes(serialized); in testPasswordData_deserialize()
|
/frameworks/ml/nn/common/ |
D | ExecutionBurstController.cpp | 370 const std::vector<FmqRequestDatum> serialized = serialize(request, measure, slots); in send() local 371 return sendPacket(serialized); in send()
|
D | ExecutionBurstServer.cpp | 468 const std::vector<FmqResultDatum> serialized = serialize(errorStatus, outputShapes, timing); in send() local 469 return sendPacket(serialized); in send()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | EventLogTags.logtags | 35 # Discard an undelivered serialized broadcast (timeout/ANR/crash)
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 1291 String serialized = getString(ENABLED_TRUST_AGENTS, userId); in getEnabledTrustAgents() local 1292 if (TextUtils.isEmpty(serialized)) { in getEnabledTrustAgents() 1295 String[] split = serialized.split(","); in getEnabledTrustAgents()
|