Home
last modified time | relevance | path

Searched refs:read_file (Results 1 – 9 of 9) sorted by relevance

/system/core/init/
Dutil_test.cpp30 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()
Dutil.h37 bool read_file(const std::string& path, std::string* content);
Dinit_parser.cpp99 if (!read_file(path, &data)) { in ParseConfigFile()
Dueventd_parser.cpp230 if (!read_file(fn, &data)) { in ueventd_parse_config_file()
Dutil.cpp164 bool read_file(const std::string& path, std::string* content) { in read_file() function
Dproperty_service.cpp514 if (!read_file(filename, &data)) { in load_properties_from_file()
Dbuiltins.cpp656 if (read_file(args[1], &data)) { in do_copy()
/system/core/trusty/keymaster/
Dtrusty_keymaster_device_test.cpp436 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/
Dandroid_keymaster_test.cpp1671 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 …]