Searched refs:get_path_from_string (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/cmds/installd/ |
D | globals.cpp | 64 if (get_path_from_string(&android_data_dir, data) < 0) { in init_globals_from_data_and_root() 99 if (get_path_from_string(&android_mnt_expand_dir, "/mnt/expand/") < 0) { in init_globals_from_data_and_root() 118 if (get_path_from_string(&android_root_dir, root) < 0) { in init_globals_from_data_and_root()
|
D | utils.h | 131 int get_path_from_string(dir_rec_t* rec, const char* path);
|
D | utils.cpp | 1007 int ret = get_path_from_string(rec, path); in get_path_from_env() 1021 int get_path_from_string(dir_rec_t* rec, const char* path) { in get_path_from_string() function
|
/frameworks/native/cmds/installd/tests/ |
D | installd_utils_test.cpp | 274 EXPECT_EQ(-1, get_path_from_string(&test1, (const char *) NULL)) in TEST_F() 280 EXPECT_EQ(-1, get_path_from_string(&test1, "")) in TEST_F() 286 EXPECT_EQ(-1, get_path_from_string(&test1, "mnt/asec")) in TEST_F() 293 EXPECT_EQ(0, get_path_from_string(&test1, "/mnt/asec")) in TEST_F() 304 EXPECT_EQ(0, get_path_from_string(&test3, "/data/app/")) in TEST_F()
|