Home
last modified time | relevance | path

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

/system/core/init/
Dutil_test.cpp25 EXPECT_FALSE(read_file("/proc/does-not-exist", &s)); in TEST()
32 EXPECT_TRUE(read_file("/proc/version", &s)); in TEST()
Dutil.h34 bool read_file(const char* path, std::string* content);
Dinit_parser.cpp99 if (!read_file(path.c_str(), &data)) { in ParseConfigFile()
Dueventd_parser.cpp230 if (!read_file(fn, &data)) { in ueventd_parse_config_file()
Dproperty_service.cpp393 if (read_file(filename, &data)) { in load_properties_from_file()
Dutil.cpp176 bool read_file(const char* path, std::string* content) { in read_file() function
/system/keymaster/
Dandroid_keymaster_test.cpp1755 static string read_file(const string& file_name) { in read_file() function
1766 string pk8_key = read_file("rsa_privkey_pk8.der"); in TEST_P()
1803 string pk8_key = read_file("rsa_privkey_pk8.der"); in TEST_P()
1816 string pk8_key = read_file("rsa_privkey_pk8.der"); in TEST_P()
1829 string pk8_key = read_file("ec_privkey_pk8.der"); in TEST_P()
1861 string pk8_key = read_file("ec_privkey_pk8.der"); in TEST_P()
1893 string pk8_key = read_file("ec_privkey_pk8.der"); in TEST_P()
3331 string km1_sw = read_file("km1_sw_rsa_512.blob"); in TEST_P()
3348 string km1_sw = read_file("km1_sw_rsa_512_unversioned.blob"); in TEST_P()
3365 string km1_sw = read_file("km1_sw_ecdsa_256.blob"); in TEST_P()
[all …]