Searched refs:read_file (Results 1 – 9 of 9) sorted by relevance
/system/core/init/ |
D | util_test.cpp | 30 EXPECT_FALSE(read_file("/proc/does-not-exist", &s)); in TEST() 41 EXPECT_FALSE(read_file(tf.path, &s)) << strerror(errno); in TEST() 51 EXPECT_FALSE(read_file(tf.path, &s)) << strerror(errno); in TEST() 59 EXPECT_FALSE(read_file("/charger", &s)); in TEST() 66 EXPECT_TRUE(read_file("/proc/version", &s)); in TEST() 85 EXPECT_TRUE(read_file(tf.path, &read_back_contents)) << strerror(errno); in TEST() 96 EXPECT_TRUE(read_file(path, &s2)); in TEST() 111 EXPECT_TRUE(read_file(tf.path, &s2)); in TEST() 114 EXPECT_TRUE(read_file(tf.path, &s2)); in TEST()
|
D | util.h | 37 bool read_file(const std::string& path, std::string* content);
|
D | init_parser.cpp | 99 if (!read_file(path, &data)) { in ParseConfigFile()
|
D | ueventd_parser.cpp | 230 if (!read_file(fn, &data)) { in ueventd_parse_config_file()
|
D | util.cpp | 164 bool read_file(const std::string& path, std::string* content) { in read_file() function
|
D | property_service.cpp | 514 if (!read_file(filename, &data)) { in load_properties_from_file()
|
D | builtins.cpp | 656 if (read_file(args[1], &data)) { in do_copy()
|
/system/core/trusty/keymaster/ |
D | trusty_keymaster_device_test.cpp | 436 static string read_file(const string& file_name) { in read_file() function 445 string pk8_key = read_file("../../../../system/keymaster/rsa_privkey_pk8.der"); in TEST_F() 468 string pk8_key = read_file("../../../../system/keymaster/ec_privkey_pk8.der"); in TEST_F()
|
/system/keymaster/ |
D | android_keymaster_test.cpp | 1671 static string read_file(const string& file_name) { in read_file() function 1682 string pk8_key = read_file("rsa_privkey_pk8.der"); in TEST_P() 1719 string pk8_key = read_file("rsa_privkey_pk8.der"); in TEST_P() 1732 string pk8_key = read_file("rsa_privkey_pk8.der"); in TEST_P() 1745 string pk8_key = read_file("ec_privkey_pk8.der"); in TEST_P() 1777 string pk8_key = read_file("ec_privkey_pk8.der"); in TEST_P() 1809 string pk8_key = read_file("ec_privkey_pk8.der"); in TEST_P() 3243 string km1_sw = read_file("km1_sw_rsa_512.blob"); in TEST_P() 3260 string km1_sw = read_file("km1_sw_rsa_512_unversioned.blob"); in TEST_P() 3277 string km1_sw = read_file("km1_sw_ecdsa_256.blob"); in TEST_P() [all …]
|