Home
last modified time | relevance | path

Searched refs:encodedProfile (Results 1 – 6 of 6) sorted by relevance

/system/extras/perfprofd/
Dperfprofd_io.h28 bool SerializeProtobuf(android::perfprofd::PerfprofdRecord* encodedProfile,
31 bool SerializeProtobuf(android::perfprofd::PerfprofdRecord* encodedProfile,
Dperfprofd_threaded_handler.h143 virtual bool ResultHandler(android::perfprofd::PerfprofdRecord* encodedProfile, in ResultHandler() argument
146 if (encodedProfile == nullptr) { in ResultHandler()
152 if (!dropbox::SendToDropbox(encodedProfile, config->destination_directory, &error_msg)) { in ResultHandler()
159 if (encodedProfile == nullptr) { in ResultHandler()
165 if (!SerializeProtobuf(encodedProfile, path.c_str(), config->compress)) { in ResultHandler()
Dperfprofdcore.cc431 ProtoUniquePtr encodedProfile( in encode_to_proto() local
435 if (encodedProfile == nullptr) { in encode_to_proto()
441 annotate_encoded_perf_profile(encodedProfile.get(), config, cpu_utilization); in encode_to_proto()
443 return encodedProfile; in encode_to_proto()
452 ProtoUniquePtr encodedProfile = encode_to_proto(data_file_path, in encode_to_proto() local
460 if (encodedProfile == nullptr || encodedProfile->events_size() == 0) { in encode_to_proto()
464 return android::perfprofd::SerializeProtobuf(encodedProfile.get(), in encode_to_proto()
Dperfprofd_io.cc260 bool SerializeProtobuf(android::perfprofd::PerfprofdRecord* encodedProfile, in SerializeProtobuf() argument
281 bool serialized = encodedProfile->SerializeToZeroCopyStream(out); in SerializeProtobuf()
296 bool SerializeProtobuf(PerfprofdRecord* encodedProfile, in SerializeProtobuf() argument
306 return SerializeProtobuf(encodedProfile, std::move(fd), compress); in SerializeProtobuf()
/system/extras/perfprofd/tests/
Dperfprofd_test.cc400 android::perfprofd::PerfprofdRecord& encodedProfile) in readEncodedProfile() argument
464 encodedProfile.ParseFromString(encoded); in readEncodedProfile()
871 void VerifyBasicCannedProfile(const android::perfprofd::PerfprofdRecord& encodedProfile) { in VerifyBasicCannedProfile()
872 const quipper::PerfDataProto& perf_data = encodedProfile; in VerifyBasicCannedProfile()
1016 android::perfprofd::PerfprofdRecord encodedProfile; in TEST_F() local
1017 readEncodedProfile(dest_dir, false, encodedProfile); in TEST_F()
1019 VerifyBasicCannedProfile(encodedProfile); in TEST_F()
1051 android::perfprofd::PerfprofdRecord encodedProfile; in TEST_F() local
1052 readEncodedProfile(dest_dir, true, encodedProfile); in TEST_F()
1054 VerifyBasicCannedProfile(encodedProfile); in TEST_F()
[all …]
/system/extras/perfprofd/dropbox/
Ddropbox.cc44 bool WriteDropboxFile(android::perfprofd::PerfprofdRecord* encodedProfile, in WriteDropboxFile() argument
83 if (!SerializeProtobuf(encodedProfile, std::move(tmp_fd), kCompress)) { in WriteDropboxFile()