Home
last modified time | relevance | path

Searched refs:encoded_file_path (Results 1 – 5 of 5) sorted by relevance

/system/extras/perfprofd/
Dperfprofd_io.h29 const char* encoded_file_path,
Dperfprofd_io.cc297 const char* encoded_file_path, in SerializeProtobuf() argument
299 unlink(encoded_file_path); // Attempt to unlink for a clean slate. in SerializeProtobuf()
301 unique_fd fd(open(encoded_file_path, kFlags, 0664)); in SerializeProtobuf()
303 PLOG(WARNING) << "Could not open " << encoded_file_path << " for serialization"; in SerializeProtobuf()
Dperfprofdcore.h68 const char *encoded_file_path,
Dperfprofdcore.cc447 const char *encoded_file_path, in encode_to_proto() argument
465 encoded_file_path, in encode_to_proto()
/system/extras/perfprofd/tests/
Dperfprofd_test.cc392 static std::string encoded_file_path(const std::string& dest_dir, in encoded_file_path() function
403 int perf_data_stat_result = stat(encoded_file_path(dest_dir, 0).c_str(), &statb); in readEncodedProfile()
409 FILE *ifp = fopen(encoded_file_path(dest_dir, 0).c_str(), "r"); in readEncodedProfile()
1012 encode_to_proto(input_perf_data, encoded_file_path(dest_dir, 0).c_str(), config, 0, nullptr); in TEST_F()
1047 encode_to_proto(input_perf_data, encoded_file_path(dest_dir, 0).c_str(), config, 0, nullptr); in TEST_F()
1098 encoded_file_path(dest_dir, 0).c_str(), in Run()
1213 encode_to_proto(input_perf_data, encoded_file_path(dest_dir, 0).c_str(), config, 0, nullptr); in TEST_F()
1550 EXPECT_EQ(0, access(encoded_file_path(dest_dir, 0).c_str(), F_OK)); in TEST_F()
1551 EXPECT_NE(0, access(encoded_file_path(dest_dir, 1).c_str(), F_OK)); in TEST_F()
1552 EXPECT_EQ(0, access(encoded_file_path(dest_dir, 2).c_str(), F_OK)); in TEST_F()