Home
last modified time | relevance | path

Searched refs:dirname (Results 1 – 25 of 55) sorted by relevance

123

/system/extras/verity/
Dverity_signer5 VERITYSIGNER_HOME=`dirname "$0"`
6 VERITYSIGNER_HOME=`dirname "$VERITYSIGNER_HOME"`
Dboot_signer5 BOOTSIGNER_HOME=`dirname "$0"`
6 BOOTSIGNER_HOME=`dirname "$BOOTSIGNER_HOME"`
/system/extras/libfscrypt/
Dfscrypt.cpp62 static void log_ls(const char* dirname) { in log_ls() argument
63 std::array<const char*, 3> argv = {"ls", "-laZ", dirname}; in log_ls()
91 static bool is_dir_empty(const char *dirname, bool *is_empty) in is_dir_empty() argument
94 auto dirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(dirname), closedir); in is_dir_empty()
96 PLOG(ERROR) << "Unable to read directory: " << dirname; in is_dir_empty()
104 PLOG(ERROR) << "Unable to read directory: " << dirname; in is_dir_empty()
/system/extras/simpleperf/scripts/
Dupdate.py26 THIS_DIR = os.path.realpath(os.path.dirname(__file__))
148 dirname = os.path.dirname(install_path)
149 if not os.path.isdir(dirname):
150 os.makedirs(dirname)
Dinferno.sh2 SCRIPTPATH=$(dirname "$0")
Dutils.py33 return os.path.dirname(os.path.realpath(__file__))
100 dirname = os.path.join(get_script_dir(), 'bin')
106 dirname = os.path.join(dirname, 'windows')
110 dirname = os.path.join(dirname, 'darwin')
112 dirname = os.path.join(dirname, 'linux')
113 dirname = os.path.join(dirname, 'x86_64' if sys.maxsize > 2 ** 32 else 'x86')
114 binary_path = os.path.join(dirname, binary_name)
Dtest.py209 self.check_exist(dirname="binary_cache")
211 def check_exist(self, filename=None, dirname=None): argument
214 if dirname:
215 self.assertTrue(os.path.isdir(dirname), dirname)
217 def check_file_under_dir(self, dirname, filename): argument
218 self.check_exist(dirname=dirname)
219 for _, _, files in os.walk(dirname):
223 self.fail("Failed to call check_file_under_dir(dir=%s, file=%s)" % (dirname, filename))
281 self.check_exist(dirname="binary_cache")
298 self.check_exist(dirname="annotated_files")
[all …]
/system/libufdt/tests/
Dverify_dto_inc.sh46 OVERLAY_DTS_DIR=`dirname "$OVERLAY_DTS"`
53 BASE_DTS_DIR=`dirname "$BASE_DTS"`
/system/core/rootdir/
Dueventd.rc6 dirname /dev/graphics
10 dirname /dev/dri
14 dirname /dev/input
18 dirname /dev/snd
/system/tools/aidl/
Dio_delegate.cpp203 static void add_list_files(const string& dirname, vector<string>* result) { in add_list_files() argument
205 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(dirname.c_str()), closedir); in add_list_files()
212 result->emplace_back(dirname + OS_PATH_SEPARATOR + ent->d_name); in add_list_files()
214 add_list_files(dirname + OS_PATH_SEPARATOR + ent->d_name, result); in add_list_files()
/system/netd/server/
DInterfaceController.cpp114 const char* dirname, const char* subdirname, const char* basename, in writeValueToPath() argument
116 std::string path(StringPrintf("%s/%s/%s", dirname, subdirname, basename)); in writeValueToPath()
122 const std::string& dirname, in forEachInterface() argument
125 fn(dirname, "default"); in forEachInterface()
126 DIR* dir = opendir(dirname.c_str()); in forEachInterface()
128 ALOGE("Can't list %s: %s", dirname.c_str(), strerror(errno)); in forEachInterface()
139 fn(dirname, ent->d_name); in forEachInterface()
144 void setOnAllInterfaces(const char* dirname, const char* basename, const char* value) { in setOnAllInterfaces() argument
148 forEachInterface(dirname, fn); in setOnAllInterfaces()
/system/extras/postinst/
Dpostinst.sh53 my_dir=$(dirname "$0")
/system/core/toolbox/
Dgetevent.c280 const char *dirname = "/sys/kernel/debug/hid"; in print_hid_descriptor() local
290 dir = opendir(dirname); in print_hid_descriptor()
295 snprintf(filename, sizeof(filename), "%s/%s/rdesc", dirname, de->d_name); in print_hid_descriptor()
431 static int read_notify(const char *dirname, int nfd, int print_flags) in read_notify() argument
450 strcpy(devname, dirname); in read_notify()
473 static int scan_dir(const char *dirname, int print_flags) in scan_dir() argument
479 dir = opendir(dirname); in scan_dir()
482 strcpy(devname, dirname); in scan_dir()
/system/core/trusty/storage/proxy/
Dstorage.h42 int storage_init(const char *dirname);
Dstorage.c468 int storage_init(const char *dirname) in storage_init() argument
476 ssdir_fd = open(dirname, O_RDONLY); in storage_init()
479 dirname, strerror(errno)); in storage_init()
482 ssdir_name = dirname; in storage_init()
/system/sepolicy/build/
Dfile_utils.py28 parent_dir = os.path.dirname(file_path)
/system/extras/systrace_analysis/
Danalyze_trace.py30 this_script_path = os.path.dirname(os.path.realpath(__file__))
/system/tools/hidl/
Dupdate-makefiles-helper.sh38 find . -type f -name \*.hal -exec dirname {} \; | sort -u | \
/system/bt/test/
Drun_host_unit_tests.py44 def check_dir_exists(dir, dirname): argument
46 print "Couldn't find %s (%s)!" % (dirname, dir)
/system/extras/simpleperf/
Dgtest_main.cpp73 testdata_dir = std::string(dirname(argv[0])) + "/testdata"; in main()
/system/extras/tests/workloads/
Dfeedly-chrome.sh14 CMDDIR=$(dirname $0 2>/dev/null)
Dyoutube.sh29 CMDDIR=$(dirname $0 2>/dev/null)
Dchromefling.sh37 CMDDIR=$(dirname $0 2>/dev/null)
/system/extras/simpleperf/scripts/inferno/
Dinferno.py40 SCRIPTS_PATH = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
157 with open(os.path.join(os.path.dirname(__file__), local_path), 'r') as f:
/system/extras/latencytop/
Dlatencytop.c201 char dirname[MAX_FILENAME]; in read_process_stats() local
207 sprintf(dirname, "/proc/%d/task", pid); in read_process_stats()
208 dir = opendir(dirname); in read_process_stats()

123