Home
last modified time | relevance | path

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

1234

/system/tools/aidl/
Dio_delegate.cpp204 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/
Dshared_libs_repack.py180 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/
Dupdate.py25 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)
Dinferno.sh2 SCRIPTPATH=$(dirname "$0")
Dsimpleperf_utils.py36 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/
Dverify_dto_inc.sh46 OVERLAY_DTS_DIR=`dirname "$OVERLAY_DTS"`
53 BASE_DTS_DIR=`dirname "$BASE_DTS"`
/system/core/rootdir/
Dueventd.rc9 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/
Dapp_test.py97 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")
Dtest_utils.py188 def check_exist(self, filename=None, dirname=None): argument
191 if dirname:
192 self.assertTrue(os.path.isdir(dirname), dirname)
Dcpp_app_test.py108 self.check_exist(dirname="annotated_files")
139 self.check_exist(dirname="annotated_files")
/system/netd/server/
DInterfaceController.cpp106 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/
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/bt/gd/cert/
Dset_up_and_run_device_cert.sh3 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
61 echo $(dirname "$rc")
/system/extras/perf2cfg/
Dperf2cfg_test.py20 this_dir = os.path.dirname(__file__)
/system/tools/hidl/test/format_test/
DAndroid.bp32 … "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/
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()
481 ssdir_name = dirname; in storage_init()
/system/sepolicy/build/
Dfile_utils.py28 parent_dir = os.path.dirname(file_path)
/system/chre/external/tflm/
Dtflm_sync_srcs.sh4 DEST_PATH=`dirname "${BASH_SOURCE[0]}"`/latest
/system/extras/systrace_analysis/
Danalyze_trace.py30 this_script_path = os.path.dirname(os.path.realpath(__file__))
/system/bt/build/dpkg/modp_b64/
Dgen-src-pkg.sh12 scriptdir="$( cd "$( dirname "$0" )" && pwd )"
/system/bt/build/dpkg/libchrome-822064/
Dgen-src-pkg.sh12 scriptdir="$( cd "$( dirname "$0" )" && pwd )"
/system/bt/build/dpkg/libchrome/
Dgen-src-pkg.sh12 scriptdir="$( cd "$( dirname "$0" )" && pwd )"
/system/tools/hidl/
Dupdate-makefiles-helper.sh38 find . -type f -name \*.hal -exec dirname {} \; | sort -u | \

1234