/system/tools/aidl/ |
D | io_delegate.cpp | 204 static Result<void> add_list_files(const string& dirname, vector<string>* result) { in add_list_files() argument 205 AIDL_FATAL_IF(result == nullptr, dirname); in add_list_files() 206 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(dirname.c_str()), closedir); in add_list_files() 209 return Error() << "Failed to read directory '" << dirname << "': " << strerror(errno); in add_list_files() 217 return Error() << "Failed to read directory entry in '" << dirname in add_list_files() 227 result->emplace_back(dirname + OS_PATH_SEPARATOR + ent->d_name); in add_list_files() 229 if (auto ret = add_list_files(dirname + OS_PATH_SEPARATOR + ent->d_name, result); !ret.ok()) { in add_list_files()
|
/system/apex/tests/testdata/sharedlibs/build/ |
D | shared_libs_repack.py | 180 os.path.dirname(apexer_cmd) + ':prebuilts/sdk/tools/linux/bin' 207 os.path.join(os.path.dirname(_get_host_tools_path()), 'lib64') + ':' + 208 os.path.join(os.path.dirname(_get_host_tools_path()), 'lib')) 217 dirname = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) 219 return os.path.join(dirname, tool_name) 220 return dirname 231 os.path.dirname(_get_host_tools_path()), 'framework', 'signapk.jar'), 405 os.rmdir(os.path.dirname(lib))
|
/system/extras/simpleperf/scripts/ |
D | update.py | 25 THIS_DIR = os.path.realpath(os.path.dirname(__file__)) 154 dirname = os.path.dirname(install_path) 155 if not os.path.isdir(dirname): 156 os.makedirs(dirname)
|
D | inferno.sh | 2 SCRIPTPATH=$(dirname "$0")
|
D | simpleperf_utils.py | 36 return os.path.dirname(os.path.realpath(__file__)) 124 dirname = os.path.join(get_script_dir(), 'bin') 130 dirname = os.path.join(dirname, 'windows') 134 dirname = os.path.join(dirname, 'darwin') 136 dirname = os.path.join(dirname, 'linux') 137 dirname = os.path.join(dirname, 'x86_64' if sys.maxsize > 2 ** 32 else 'x86') 138 binary_path = os.path.join(dirname, binary_name) 200 ndk_path = os.path.dirname(os.path.abspath(get_script_dir())) 229 path = os.path.dirname(path)
|
/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 | 9 dirname /dev/graphics 13 dirname /dev/dri 17 dirname /dev/input 21 dirname /dev/snd 25 dirname /dev/dma_heap
|
/system/extras/simpleperf/scripts/test/ |
D | app_test.py | 97 self.check_exist(dirname="binary_cache") 99 def check_file_under_dir(self, dirname, filename): argument 100 self.check_exist(dirname=dirname) 101 for _, _, files in os.walk(dirname): 105 self.fail("Failed to call check_file_under_dir(dir=%s, file=%s)" % (dirname, filename)) 154 self.check_exist(dirname="binary_cache") 171 self.check_exist(dirname="annotated_files")
|
D | test_utils.py | 188 def check_exist(self, filename=None, dirname=None): argument 191 if dirname: 192 self.assertTrue(os.path.isdir(dirname), dirname)
|
D | cpp_app_test.py | 108 self.check_exist(dirname="annotated_files") 139 self.check_exist(dirname="annotated_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/extras/perf2cfg/ |
D | perf2cfg_test.py | 20 this_dir = os.path.dirname(__file__)
|
/system/tools/hidl/test/format_test/ |
D | Android.bp | 32 … "cp $$(dirname $(in) | uniq)/Android.bp $(genDir)/system/tools/hidl/test/format_test/1.0 && " + 33 "diff -r -C3 $(genDir)/system/tools/hidl/test/format_test/1.0 $$(dirname $(in) | uniq)",
|
/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() 481 ssdir_name = dirname; in storage_init()
|
/system/sepolicy/build/ |
D | file_utils.py | 28 parent_dir = os.path.dirname(file_path)
|
/system/chre/external/tflm/ |
D | tflm_sync_srcs.sh | 4 DEST_PATH=`dirname "${BASH_SOURCE[0]}"`/latest
|
/system/extras/systrace_analysis/ |
D | analyze_trace.py | 30 this_script_path = os.path.dirname(os.path.realpath(__file__))
|
/system/bt/build/dpkg/modp_b64/ |
D | gen-src-pkg.sh | 12 scriptdir="$( cd "$( dirname "$0" )" && pwd )"
|
/system/bt/build/dpkg/libchrome-822064/ |
D | gen-src-pkg.sh | 12 scriptdir="$( cd "$( dirname "$0" )" && pwd )"
|
/system/bt/build/dpkg/libchrome/ |
D | gen-src-pkg.sh | 12 scriptdir="$( cd "$( dirname "$0" )" && pwd )"
|
/system/tools/hidl/ |
D | update-makefiles-helper.sh | 38 find . -type f -name \*.hal -exec dirname {} \; | sort -u | \
|