Home
last modified time | relevance | path

Searched refs:dir (Results 1 – 25 of 341) sorted by relevance

12345678910>>...14

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dfile_utils.cpp46 DIR *const dir = opendir(dirPath); in existsDir() local
47 if (dir == NULL) { in existsDir()
50 closedir(dir); in existsDir()
61 DIR *const dir = opendir(dirPath); in removeDirAndFiles() local
62 if (dir == NULL) { in removeDirAndFiles()
67 while ((dirent = readdir(dir)) != NULL) { in removeDirAndFiles()
79 closedir(dir); in removeDirAndFiles()
83 closedir(dir); in removeDirAndFiles()
/packages/services/BuiltInPrintService/src/com/android/bips/util/
DFileUtils.java55 public static boolean makeDirectory(File dir) { in makeDirectory() argument
57 Log.d(TAG, "Testing file " + dir + " exists=" + dir.exists() + in makeDirectory()
58 " isDirectory=" + dir.isDirectory()); in makeDirectory()
60 if (dir.exists()) return dir.isDirectory(); in makeDirectory()
61 return dir.mkdir(); in makeDirectory()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java278 DirectoryFragment dir; in onOptionsItemSelected() local
288 dir = getDirectoryFragment(); in onOptionsItemSelected()
289 if (dir != null) { in onOptionsItemSelected()
290 dir.pasteFromClipboard(); in onOptionsItemSelected()
360 DirectoryFragment dir; in onKeyShortcut() local
374 dir = getDirectoryFragment(); in onKeyShortcut()
375 if (dir != null) { in onKeyShortcut()
376 dir.pasteFromClipboard(); in onKeyShortcut()
/packages/apps/Launcher3/src/com/android/launcher3/logging/
DUserEventDispatcher.java219 public void logActionOnContainer(int action, int dir, int containerType) { in logActionOnContainer() argument
220 logActionOnContainer(action, dir, containerType, 0); in logActionOnContainer()
223 public void logActionOnContainer(int action, int dir, int containerType, int pageIndex) { in logActionOnContainer() argument
226 event.action.dir = dir; in logActionOnContainer()
231 public void logActionOnItem(int action, int dir, int itemType) { in logActionOnItem() argument
235 event.action.dir = dir; in logActionOnItem()
/packages/apps/Messaging/src/com/android/messaging/util/
DDebugUtils.java219 final File dir = DebugUtils.getDebugFilesDir(); in doInBackgroundTimed() local
220 return dir.list(new FilenameFilter() { in doInBackgroundTimed()
222 public boolean accept(final File dir, final String filename) { in doInBackgroundTimed()
317 final File dir = getDebugFilesDir();
318 final File file = new File(dir, fileName);
326 final File dir = Environment.getExternalStorageDirectory();
327 return dir;
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/test/
DAndroidTestCase.java32 final File dir = Test.TEST_TMP_DIR; in getCacheDir() local
33 if (!dir.isDirectory()) { in getCacheDir()
34 dir.mkdirs(); in getCacheDir()
36 return dir; in getCacheDir()
/packages/apps/Music/src/com/android/music/
DMediaPlaybackActivity.java669 int dir = 0; in seekMethod1() local
672 dir = 0; in seekMethod1()
674 dir = 1; in seekMethod1()
676 dir = -1; in seekMethod1()
679 dir = -1; in seekMethod1()
681 dir = 1; in seekMethod1()
684 dir = 1; in seekMethod1()
686 dir = -1; in seekMethod1()
689 dir = -1; in seekMethod1()
691 dir = 1; in seekMethod1()
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/
Dutilityclass.dot21 edge [arrowtail=onormal, dir=back]
35 edge [arrowtail=onormal, dir=back]
53 edge [arrowtail=onormal, dir=back]
58 edge [arrowtail=odiamond, arrowhead=vee, dir=both]
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DFetchDownloadsLoader.java63 static DownloadsResult collectFiles(File dir) { in collectFiles() argument
64 return collectFiles(dir, new DownloadsResult()); in collectFiles()
67 private static DownloadsResult collectFiles(File dir, DownloadsResult result) { in collectFiles() argument
71 File downloadFiles[] = dir.listFiles(); in collectFiles()
/packages/apps/LegacyCamera/src/com/android/camera/
DStorage.java115 File dir = new File(DIRECTORY); in getAvailableSpace() local
116 dir.mkdirs(); in getAvailableSpace()
117 if (!dir.isDirectory() || !dir.canWrite()) { in getAvailableSpace()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java241 Integer dir = values.getAsInteger(BluetoothShare.DIRECTION); in insert() local
245 dir = BluetoothShare.DIRECTION_OUTBOUND; in insert()
247 if (dir == BluetoothShare.DIRECTION_OUTBOUND && con == null) { in insert()
250 if (dir == BluetoothShare.DIRECTION_INBOUND && con == null) { in insert()
254 filteredValues.put(BluetoothShare.DIRECTION, dir); in insert()
DBluetoothOppTransferAdapter.java72 int dir = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.DIRECTION)); in bindView() local
76 if (dir == BluetoothShare.DIRECTION_OUTBOUND) { in bindView()
110 if (dir == BluetoothShare.DIRECTION_INBOUND) { in bindView()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DFileUtils.java40 public static boolean deleteFilteredFiles(final File dir, final FilenameFilter fileNameFilter) { in deleteFilteredFiles() argument
41 if (!dir.isDirectory()) { in deleteFilteredFiles()
44 final File[] files = dir.listFiles(fileNameFilter); in deleteFilteredFiles()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
DDelegateFileFilter.java86 public boolean accept(File dir, String name) { in accept() argument
88 return filenameFilter.accept(dir, name); in accept()
90 return super.accept(dir, name); in accept()
DAbstractFileFilter.java52 public boolean accept(File dir, String name) { in accept() argument
53 return accept(new File(dir, name)); in accept()
/packages/services/Car/
Dapicheck.mk48 $(call intermediates-dir-for,$(LOCAL_MODULE_CLASS),$(car_module),,COMMON)/src
85 $(call intermediates-dir-for,$(LOCAL_MODULE_CLASS),$(car_module),,COMMON)/src
122 $(call intermediates-dir-for,$(LOCAL_MODULE_CLASS),$(car_module),,COMMON)/src
125 docs_proguard_intermediates_output := $(call intermediates-dir-for,$(LOCAL_MODULE_CLASS),$(LOCAL_MO…
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/
DUserHistoryDictionaryTests.java41 private static void printAllFiles(final File dir) { in printAllFiles() argument
42 Log.d(TAG, dir.getAbsolutePath()); in printAllFiles()
43 for (final File file : dir.listFiles()) { in printAllFiles()
/packages/apps/Contacts/src/com/android/contacts/util/
DContactPhotoUtils.java74 final File dir = context.getCacheDir(); in pathForTempPhoto() local
75 dir.mkdirs(); in pathForTempPhoto()
76 final File f = new File(dir, fileName); in pathForTempPhoto()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DSaveVideoFileUtils.java75 final File[] dir = new File[1]; in getSaveDirectory() local
81 dir[0] = new File(cursor.getString(0)).getParentFile(); in getSaveDirectory()
84 return dir[0]; in getSaveDirectory()
/packages/apps/Camera2/src/com/android/camera/
DStorage.java502 File dir = new File(DIRECTORY); in getAvailableSpace() local
503 dir.mkdirs(); in getAvailableSpace()
504 if (!dir.isDirectory() || !dir.canWrite()) { in getAvailableSpace()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DStorageUtils.java210 final File dir = dirs.removeFirst(); in listFilesRecursive() local
211 if (Objects.equals(dir.getName(), exclude)) continue; in listFilesRecursive()
213 final File[] children = dir.listFiles(); in listFilesRecursive()
/packages/apps/Settings/tests/robotests/
DAndroid.mk4 LOCAL_PATH:= $(call my-dir)
41 LOCAL_INSTRUMENT_SOURCE_DIRS := $(dir $(LOCAL_PATH))../src
/packages/services/Car/tools/bootio/
DAndroid.mk17 LOCAL_PATH := $(call my-dir)
36 $(call local-generated-sources-dir)/proto/$(LOCAL_PATH)
/packages/apps/TV/src/com/android/tv/tuner/source/
DFileTsStreamer.java391 File dir = new File(FILE_DIR); in addLocalStreamFiles() local
392 if (!dir.exists()) return; in addLocalStreamFiles()
394 File[] tsFiles = dir.listFiles(); in addLocalStreamFiles()
/packages/apps/Camera2/
Dproject.properties10 …Guard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11 #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

12345678910>>...14