Searched defs:encodedProfile (Results 1 - 5 of 5) sorted by relevance

/system/extras/perfprofd/dropbox/
H A Ddropbox.cc44 bool WriteDropboxFile(android::perfprofd::PerfprofdRecord* encodedProfile, argument
83 if (!SerializeProtobuf(encodedProfile, std::move(tmp_fd), kCompress)) {
/system/extras/perfprofd/
H A Dperfprofd_threaded_handler.h143 virtual bool ResultHandler(android::perfprofd::PerfprofdRecord* encodedProfile, argument
146 if (encodedProfile == nullptr) {
152 if (!dropbox::SendToDropbox(encodedProfile, config->destination_directory, &error_msg)) {
159 if (encodedProfile == nullptr) {
165 if (!SerializeProtobuf(encodedProfile, path.c_str(), config->compress)) {
H A Dperfprofd_io.cc260 bool SerializeProtobuf(android::perfprofd::PerfprofdRecord* encodedProfile, argument
281 bool serialized = encodedProfile->SerializeToZeroCopyStream(out);
296 bool SerializeProtobuf(PerfprofdRecord* encodedProfile, argument
306 return SerializeProtobuf(encodedProfile, std::move(fd), compress);
H A Dperfprofdcore.cc416 ProtoUniquePtr encodedProfile(
418 if (encodedProfile == nullptr) {
422 // All of the info in 'encodedProfile' is derived from the perf.data file;
424 annotate_encoded_perf_profile(encodedProfile.get(), config, cpu_utilization);
426 return encodedProfile;
435 ProtoUniquePtr encodedProfile = encode_to_proto(data_file_path, local
443 if (encodedProfile == nullptr || encodedProfile->perf_data().events_size() == 0) {
447 return android::perfprofd::SerializeProtobuf(encodedProfile.get(),
/system/extras/perfprofd/tests/
H A Dperfprofd_test.cc376 android::perfprofd::PerfprofdRecord& encodedProfile)
440 encodedProfile.ParseFromString(encoded);
716 void VerifyBasicCannedProfile(const android::perfprofd::PerfprofdRecord& encodedProfile) { argument
717 ASSERT_TRUE(encodedProfile.has_perf_data()) << test_logger.JoinTestLog(" ");
718 const quipper::PerfDataProto& perf_data = encodedProfile.perf_data();
862 android::perfprofd::PerfprofdRecord encodedProfile; local
863 readEncodedProfile(dest_dir, false, encodedProfile);
865 VerifyBasicCannedProfile(encodedProfile);
897 android::perfprofd::PerfprofdRecord encodedProfile; local
898 readEncodedProfile(dest_dir, true, encodedProfile);
374 readEncodedProfile(const std::string& dest_dir, bool compressed, android::perfprofd::PerfprofdRecord& encodedProfile) argument
946 android::perfprofd::PerfprofdRecord encodedProfile; local
1005 android::perfprofd::PerfprofdRecord encodedProfile; local
1092 android::perfprofd::PerfprofdRecord encodedProfile; local
1150 android::perfprofd::PerfprofdRecord encodedProfile; local
1222 android::perfprofd::PerfprofdRecord encodedProfile; local
[all...]

Completed in 116 milliseconds