OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:android_system_dirs
(Results
1 - 5
of
5
) sorted by null
/frameworks/native/cmds/installd/
installd.c
256
for (i = 0; i <
android_system_dirs
.count; i++) {
257
if (
android_system_dirs
.dirs[i].path != NULL) {
258
free(
android_system_dirs
.dirs[i].path);
262
free(
android_system_dirs
.dirs);
297
android_system_dirs
.count = 2;
299
android_system_dirs
.dirs = calloc(
android_system_dirs
.count, sizeof(dir_rec_t));
300
if (
android_system_dirs
.dirs == NULL) {
306
if (get_path_from_env(&
android_system_dirs
.dirs[0], "ANDROID_ROOT") < 0) {
312
char *system_app_path = build_string2(
android_system_dirs
.dirs[0].path, APP_SUBDIR)
[
all
...]
installd.h
99
extern dir_rec_array_t
android_system_dirs
;
utils.c
803
for (i = 0; i <
android_system_dirs
.count; i++) {
804
const size_t dir_len =
android_system_dirs
.dirs[i].len;
805
if (!strncmp(path,
android_system_dirs
.dirs[i].path, dir_len)) {
commands.c
29
dir_rec_array_t
android_system_dirs
;
variable
[
all
...]
/frameworks/native/cmds/installd/tests/
installd_utils_test.cpp
64
android_system_dirs
.count = 2;
66
android_system_dirs
.dirs = (dir_rec_t*) calloc(
android_system_dirs
.count, sizeof(dir_rec_t));
67
android_system_dirs
.dirs[0].path = TEST_SYSTEM_DIR1;
68
android_system_dirs
.dirs[0].len = strlen(TEST_SYSTEM_DIR1);
70
android_system_dirs
.dirs[1].path = TEST_SYSTEM_DIR2;
71
android_system_dirs
.dirs[1].len = strlen(TEST_SYSTEM_DIR2);
75
free(
android_system_dirs
.dirs);
Completed in 31 milliseconds