Searched refs:encoded_file_path (Results 1 – 5 of 5) sorted by relevance
/system/extras/perfprofd/ |
D | perfprofd_io.h | 29 const char* encoded_file_path,
|
D | perfprofd_io.cc | 297 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()
|
D | perfprofdcore.h | 68 const char *encoded_file_path,
|
D | perfprofdcore.cc | 447 const char *encoded_file_path, in encode_to_proto() argument 465 encoded_file_path, in encode_to_proto()
|
/system/extras/perfprofd/tests/ |
D | perfprofd_test.cc | 392 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()
|