/system/extras/simpleperf/scripts/ |
D | update.py | 25 THIS_DIR = os.path.realpath(os.path.dirname(__file__)) 164 dirname = os.path.dirname(install_path) 165 if not os.path.isdir(dirname): 166 os.makedirs(dirname)
|
D | inferno.sh | 2 SCRIPTPATH=$(dirname "$0")
|
D | utils.py | 33 return os.path.dirname(os.path.realpath(__file__)) 111 dirname = os.path.join(get_script_dir(), 'bin') 117 dirname = os.path.join(dirname, 'windows') 121 dirname = os.path.join(dirname, 'darwin') 123 dirname = os.path.join(dirname, 'linux') 124 dirname = os.path.join(dirname, 'x86_64' if sys.maxsize > 2 ** 32 else 'x86') 125 binary_path = os.path.join(dirname, binary_name)
|
D | test.py | 254 def check_exist(self, filename=None, dirname=None): argument 257 if dirname: 258 self.assertTrue(os.path.isdir(dirname), dirname) 345 self.check_exist(dirname="binary_cache") 347 def check_file_under_dir(self, dirname, filename): argument 348 self.check_exist(dirname=dirname) 349 for _, _, files in os.walk(dirname): 353 self.fail("Failed to call check_file_under_dir(dir=%s, file=%s)" % (dirname, filename)) 402 self.check_exist(dirname="binary_cache") 419 self.check_exist(dirname="annotated_files") [all …]
|
/system/libufdt/tests/ |
D | verify_dto_inc.sh | 46 OVERLAY_DTS_DIR=`dirname "$OVERLAY_DTS"` 53 BASE_DTS_DIR=`dirname "$BASE_DTS"`
|
/system/core/rootdir/ |
D | ueventd.rc | 6 dirname /dev/graphics 10 dirname /dev/dri 14 dirname /dev/input 18 dirname /dev/snd
|
/system/tools/aidl/ |
D | io_delegate.cpp | 203 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/ |
D | InterfaceController.cpp | 106 const char* dirname, const char* subdirname, const char* basename, in writeValueToPath() argument 108 std::string path(StringPrintf("%s/%s/%s", dirname, subdirname, basename)); in writeValueToPath() 114 const std::string& dirname, in forEachInterface() argument 117 fn(dirname, "default"); in forEachInterface() 118 DIR* dir = opendir(dirname.c_str()); in forEachInterface() 120 ALOGE("Can't list %s: %s", dirname.c_str(), strerror(errno)); in forEachInterface() 131 fn(dirname, ent->d_name); in forEachInterface() 136 void setOnAllInterfaces(const char* dirname, const char* basename, const char* value) { in setOnAllInterfaces() argument 140 forEachInterface(dirname, fn); in setOnAllInterfaces()
|
/system/extras/postinst/ |
D | postinst.sh | 53 my_dir=$(dirname "$0")
|
/system/core/toolbox/ |
D | getevent.c | 280 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/bt/gd/cert/ |
D | set_up_and_run_device_cert.sh | 3 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" 61 echo $(dirname "$rc")
|
/system/tools/hidl/test/format_test/ |
D | Android.bp | 23 … "cp $$(dirname $(in) | uniq)/Android.bp $(genDir)/system/tools/hidl/test/format_test/1.0 && " + 24 "diff -r -C3 $(genDir)/system/tools/hidl/test/format_test/1.0 $$(dirname $(in) | uniq)",
|
/system/core/adb/coverage/ |
D | show.sh | 5 OUTPUT_DIR=$(realpath $(dirname "$0"))
|
D | report.sh | 5 OUTPUT_DIR=$(realpath $(dirname "$0"))
|
/system/core/trusty/storage/proxy/ |
D | storage.h | 42 int storage_init(const char *dirname);
|
D | storage.c | 468 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/ |
D | file_utils.py | 28 parent_dir = os.path.dirname(file_path)
|
/system/extras/systrace_analysis/ |
D | analyze_trace.py | 30 this_script_path = os.path.dirname(os.path.realpath(__file__))
|
/system/tools/hidl/ |
D | update-makefiles-helper.sh | 38 find . -type f -name \*.hal -exec dirname {} \; | sort -u | \
|
/system/bt/test/ |
D | run_host_unit_tests.py | 45 def check_dir_exists(dir, dirname): argument 47 print "Couldn't find %s (%s)!" % (dirname, dir)
|
/system/linkerconfig/ |
D | rundiff.sh | 21 cd $(dirname $0)
|
/system/extras/tests/workloads/ |
D | feedly-chrome.sh | 14 CMDDIR=$(dirname $0 2>/dev/null)
|
/system/linkerconfig/testdata/ |
D | prepare_root.sh | 89 cd $(dirname $0)
|
/system/extras/simpleperf/scripts/inferno/ |
D | inferno.py | 40 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/ |
D | latencytop.c | 201 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()
|