Home
last modified time | relevance | path

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

12345678910>>...12

/packages/apps/Launcher3/
Dupdate_system_wallpaper_cropper.py53 dir = os.path.dirname(file_path) variable
54 dir = dir.replace("launcher3", "wallpapercropper") variable
55 dir = dir.replace(src_dir, "src/") variable
56 cmd = 'cp %s %s/%s' % (file_path, framework_dir, dir)
Dupdate_gallery_files.py49 dir = os.path.dirname(file_path) variable
52 cmd = 'cp %s/%s WallpaperPicker/%s/' % (gallery_dir, file_path, dir)
/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/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/services/Car/car_product/sepolicy/
Dqcom-post-boot.te20 allow qcom-post-boot sysfs_thermal:dir search;
24 allow qcom-post-boot sysfs_rpm_resources:dir search;
28 allow qcom-post-boot sysfs_mpdecision:dir search;
32 allow qcom-post-boot sysfs_dcvs:dir search;
36 allow qcom-post-boot sysfs_bt_power:dir search;
Dmpdecision.te21 allow mpdecision sysfs_thermal:dir r_dir_perms;
25 allow mpdecision perfd_data_file:dir w_dir_perms;
/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]
Dmove1.dot27 a1 -> b1 [style="dashed", label="Move", dir=back]
44 a2 -> b2 [style=invis, dir=back]
/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/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/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/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/apps/Dialer/tools/gradle/
Dgradlew129 for dir in $ROOTDIRSRAW ; do
130 ROOTDIRS="$ROOTDIRS$SEP$dir"
201 --project-cache-dir=$ANDROID_CACHE_DIR \
/packages/apps/Music/src/com/android/music/
DMediaPlaybackActivity.java705 int dir = 0; in seekMethod1() local
707 if(x == lastX && y == lastY) dir = 0; in seekMethod1()
708 else if (y == 0 && lastY == 0 && x > lastX) dir = 1; in seekMethod1()
709 else if (y == 0 && lastY == 0 && x < lastX) dir = -1; in seekMethod1()
711 else if (y == 2 && lastY == 2 && x > lastX) dir = -1; in seekMethod1()
712 else if (y == 2 && lastY == 2 && x < lastX) dir = 1; in seekMethod1()
714 else if (y < lastY && x <= 4) dir = 1; in seekMethod1()
715 else if (y < lastY && x >= 5) dir = -1; in seekMethod1()
717 else if (y > lastY && x <= 4) dir = -1; in seekMethod1()
718 else if (y > lastY && x >= 5) dir = 1; in seekMethod1()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java246 Integer dir = values.getAsInteger(BluetoothShare.DIRECTION); in insert() local
251 dir = BluetoothShare.DIRECTION_OUTBOUND; in insert()
253 if (dir == BluetoothShare.DIRECTION_OUTBOUND && con == null) { in insert()
256 if (dir == BluetoothShare.DIRECTION_INBOUND && con == null) { in insert()
260 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/services/Car/libvehiclenetwork/proto/
DAndroid.mk16 LOCAL_PATH:= $(call my-dir)
34 generated_sources_dir := $(call local-generated-sources-dir)
/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/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/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/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
/packages/services/Telecomm/scripts/
Dtelecom_testing.sh94 --report-dir "$T/coverage/" \
97 --source-dir "$T/packages/services/Telecomm/src/"
/packages/apps/Calendar/
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
/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()

12345678910>>...12