Home
last modified time | relevance | path

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

/system/extras/perfprofd/
Dperfprofdcore.h71 const char *encoded_file_path,
Dperfprofdcore.cc485 const char *encoded_file_path, in encode_to_proto() argument
522 FILE *fp = fopen(encoded_file_path, "w"); in encode_to_proto()
532 chmod(encoded_file_path, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH); in encode_to_proto()
/system/extras/perfprofd/tests/
Dperfprofd_test.cc60 static std::string encoded_file_path(int seq) in encoded_file_path() function
255 int perf_data_stat_result = stat(encoded_file_path(0).c_str(), &statb); in readEncodedProfile()
261 FILE *ifp = fopen(encoded_file_path(0).c_str(), "r"); in readEncodedProfile()
559 encode_to_proto(input_perf_data, encoded_file_path(0).c_str(), config, 0); in TEST_F()
631 encode_to_proto(input_perf_data, encoded_file_path(0).c_str(), config, 0); in TEST_F()
777 EXPECT_EQ(0, access(encoded_file_path(0).c_str(), F_OK)); in TEST_F()
778 EXPECT_NE(0, access(encoded_file_path(1).c_str(), F_OK)); in TEST_F()
779 EXPECT_EQ(0, access(encoded_file_path(2).c_str(), F_OK)); in TEST_F()