Home
last modified time | relevance | path

Searched refs:DIR (Results 1 – 25 of 28) sorted by relevance

12

/packages/modules/Bluetooth/system/gd/cert/
Dset_up_and_run_device_cert.sh3 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
147 cd "${DIR}"
151 $DRY_RUN sed -i "s/\"DUT\"/\"${DUT_SERIAL}\"/g" ${DIR}/devices_config.json
152 $DRY_RUN sed -i "s/\"CERT\"/\"${CERT_SERIAL}\"/g" ${DIR}/devices_config.json
/packages/apps/Launcher3/tools/
Dprint_db.py21 DIR = "db_files" variable
22 AUTO_FILE = DIR + "/launcher.db"
23 INDEX_FILE = DIR + "/index.html"
36 shutil.rmtree(DIR, True)
37 os.makedirs(DIR)
81 f = file(DIR + "/" + icon_fn, "w")
/packages/modules/StatsD/statsd/src/storage/
DStorageManager.cpp78 unique_ptr<DIR, decltype(&closedir)> dir(opendir(TRAIN_INFO_DIR), closedir); in findTrainInfoFileNameLocked()
438 unique_ptr<DIR, decltype(&closedir)> dir(opendir(TRAIN_INFO_DIR), closedir); in readAllTrainInfo()
470 unique_ptr<DIR, decltype(&closedir)> dir(opendir(path), closedir); in deleteAllFiles()
485 unique_ptr<DIR, decltype(&closedir)> dir(opendir(path), closedir); in deleteSuffixedFiles()
507 unique_ptr<DIR, decltype(&closedir)> dir(opendir(path), closedir); in sendBroadcast()
527 unique_ptr<DIR, decltype(&closedir)> dir(opendir(STATS_DATA_DIR), closedir); in hasConfigMetricsReport()
556 unique_ptr<DIR, decltype(&closedir)> dir(opendir(STATS_DATA_DIR), closedir); in appendConfigMetricsReport()
617 unique_ptr<DIR, decltype(&closedir)> dir(opendir(STATS_SERVICE_DIR), closedir); in readConfigFromDisk()
656 unique_ptr<DIR, decltype(&closedir)> dir(opendir(STATS_SERVICE_DIR), in readConfigFromDisk()
724 unique_ptr<DIR, decltype(&closedir)> dir(opendir(path), closedir); in trimToFit()
[all …]
/packages/services/Car/libs/procfs-inspector/server/
Ddirectory.h58 void operator()(DIR* dir) { in operator()
63 std::unique_ptr<DIR, Deleter> mDirectory;
/packages/services/Car/tools/scripts/
Denable_experimental_car_user.sh49 for DIR in "system" "vendor"
51 FULL_FILE=/${DIR}/etc/permissions/${XML_FILE}
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dfile_utils.cpp46 DIR *const dir = opendir(dirPath); in existsDir()
61 DIR *const dir = opendir(dirPath); in removeDirAndFiles()
/packages/modules/adb/client/
Dusb_linux.cpp135 std::unique_ptr<DIR, int(*)(DIR*)> bus_dir(opendir(base.c_str()), closedir); in find_usb_device()
144 std::unique_ptr<DIR, int(*)(DIR*)> dev_dir(opendir(bus_name.c_str()), closedir); in find_usb_device()
Dauth.cpp178 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(path.c_str()), closedir); in load_keys()
/packages/providers/MediaProvider/jni/include/libfuse_jni/
DReaddirHelper.h52 void addDirectoryEntriesFromLowerFs(DIR* dirp, bool (*const filter)(const dirent&),
/packages/modules/adb/
Dsysdeps.h247 extern DIR* adb_opendir(const char* dirname);
248 extern struct dirent* adb_readdir(DIR* dir);
249 extern int adb_closedir(DIR* dir);
281 inline void seekdir(DIR*, long) { in seekdir() argument
Dsysdeps_win32.cpp2505 DIR* adb_opendir(const char* path) { in adb_opendir()
2514 return reinterpret_cast<DIR*>(_wopendir(path_wide.c_str())); in adb_opendir()
2518 struct dirent* adb_readdir(DIR* dir) { in adb_readdir()
2555 int adb_closedir(DIR* dir) { in adb_closedir()
/packages/providers/MediaProvider/jni/
DReaddirHelper.cpp37 void addDirectoryEntriesFromLowerFs(DIR* dirp, bool (*const filter)(const dirent&), in addDirectoryEntriesFromLowerFs()
DMediaProviderWrapper.h142 DIR* dirp);
Dnode-inl.h67 explicit dirhandle(DIR* dir) : d(dir), next_off(0) { CHECK(dir != nullptr); } in dirhandle()
69 DIR* const d;
DMediaProviderWrapper.cpp374 uid_t uid, const string& path, DIR* dirp) { in GetDirectoryEntries()
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/
DUtils.cpp32 DIR* d; in getIfaceNames()
/packages/modules/Connectivity/service/jni/
Dcom_android_server_connectivity_ClatCoordinator.cpp107 V(kClatdDir, S_IFDIR|0750, ROOT, SYSTEM, "system_file", DIR); in verifyClatPerms()
116 V("/sys/fs/bpf", S_IFDIR|S_ISVTX|0777, ROOT, ROOT, "fs_bpf", DIR); in verifyClatPerms()
118 V("/sys/fs/bpf/net_shared", S_IFDIR|01777, ROOT, ROOT, "fs_bpf_net_shared", DIR); in verifyClatPerms()
/packages/services/Car/cpp/watchdog/server/src/
DUidProcStatsCollector.cpp493 auto procDirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(mPath.c_str()), closedir); in readUidProcStatsLocked()
605 auto taskDirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(taskDir.c_str()), closedir); in readProcessStatsLocked()
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DRegisteredNfcFServicesCacheTest.java82 private static final File DIR = new File("/"); field in RegisteredNfcFServicesCacheTest
161 when(mContext.getFilesDir()).thenReturn(DIR); in setUp()
215 Assert.assertEquals(cache.mDynamicSystemCodeNfcid2File.getBaseFile().getParentFile(), DIR); in testConstructor() local
217 DIR + "dynamic_systemcode_nfcid2.xml"); in testConstructor() local
DRegisteredServicesCacheTest.java92 private static final File DIR = new File("/"); field in RegisteredServicesCacheTest
175 when(mContext.getFilesDir()).thenReturn(DIR); in setUp()
266 .getParentFile(), DIR); in testConstructor() local
268 .getAbsolutePath(), DIR + RegisteredServicesCache.AID_XML_PATH); in testConstructor()
270 DIR); in testConstructor() local
272 .getAbsolutePath(), DIR + RegisteredServicesCache.OTHER_STATUS_PATH); in testConstructor()
/packages/services/Car/cpp/computepipe/runner/client_interface/
DDebuggerImpl.cpp68 DIR *directory = opendir(dirName.c_str()); in RecursiveCreateDir()
/packages/modules/Connectivity/netbpfload/
DNetBpfLoad.cpp102 DIR* dir; in loadAllElfObjects()
/packages/modules/adb/daemon/
Dfile_sync_service.cpp207 std::unique_ptr<DIR, int(*)(DIR*)> d(opendir(path), closedir); in do_list()
/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gattc_db_storage.cc383 std::unique_ptr<DIR, decltype(&closedir)> dirp(opendir(GATT_HASH_PATH), in bta_gattc_hash_remove_least_recently_used_if_possible()
/packages/services/Car/cpp/evs/sampleDriver/hidl/
DEvsEnumerator.cpp167 DIR* dir = opendir("/dev"); in enumerateCameras()

12