Home
last modified time | relevance | path

Searched defs:dir (Results 1 – 25 of 125) sorted by relevance

12345

/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java55 File dir = getEmptyDir("testAddText"); in testAddText() local
181 File dir = getEmptyDir("testAddEntriesInTheFuture"); in testAddEntriesInTheFuture() local
253 File dir = getEmptyDir("testIsTagEnabled"); in testIsTagEnabled() local
286 File dir = getEmptyDir("testGetNextEntry"); in testGetNextEntry() local
331 File dir = getEmptyDir("testSizeLimits"); in testSizeLimits() local
432 File dir = getEmptyDir("testAgeLimits"); in testAgeLimits() local
472 File dir = getEmptyDir("testFileCountLimits"); in testFileCountLimits() local
525 File dir = new File(getEmptyDir("testCreateDropBoxManagerWith"), "InvalidDirectory"); in testCreateDropBoxManagerWithInvalidDirectory() local
548 File dir = getEmptyDir("testDropBoxEntrySerialization"); in testDropBoxEntrySerialization() local
711 File dir = getEmptyDir("testDropBoxEntrySerialization"); in testDropBoxEntrySerializationDoesntLeakFileDescriptors() local
DEntropyMixerTest.java31 File dir = getContext().getDir("testInitialWrite", Context.MODE_PRIVATE); in testInitialWrite() local
/frameworks/multidex/library/src/android/support/multidex/
DZipUtil.java57 CentralDirectory dir = findCentralDirectory(raf); in getZipCrc() local
99 CentralDirectory dir = new CentralDirectory(); in findCentralDirectory() local
106 static long computeCrcOfCentralDir(RandomAccessFile raf, CentralDirectory dir) in computeCrcOfCentralDir()
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/loaders/
DVolumeLoader.java37 public VolumeLoader(String dir) { in VolumeLoader()
70 String dir = p.getProperty("dir"); in getVolume() local
98 static Properties[] getPropertyFiles(File dir) { in getPropertyFiles()
DLoaderRaw.java51 public static Volume buildRSVolume(final RenderScript rs, File dir, Properties prop, in buildRSVolume()
/frameworks/base/core/java/android/net/
DSSLSessionCache.java86 public SSLSessionCache(File dir) throws IOException { in SSLSessionCache()
97 File dir = context.getDir("sslcache", Context.MODE_PRIVATE); in SSLSessionCache() local
/frameworks/base/core/java/android/text/
DAndroidBidi.java27 public static int bidi(int dir, char[] chs, byte[] chInfo, int n, boolean haveInfo) { in bidi()
61 public static Directions directions(int dir, byte[] levels, int lstart, in directions()
179 private native static int runBidi(int dir, char[] chs, byte[] chInfo, int n, boolean haveInfo); in runBidi()
DLayout.java280 int dir = getParagraphDirection(lineNum); in drawText() local
523 int dir = getParagraphDirection(line); in getLineStartPos() local
927 int dir = getParagraphDirection(line); in getHorizontal() local
960 int dir = getParagraphDirection(line); in getLineLeft() local
991 int dir = getParagraphDirection(line); in getLineRight() local
1063 int dir = getParagraphDirection(line); in getLineExtent() local
1085 int dir = getParagraphDirection(line); in getLineExtent() local
1617 int dir = getParagraphDirection(line); in getParagraphLeft() local
1629 int dir = getParagraphDirection(line); in getParagraphRight() local
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
DIconTest.java79 final File dir = getContext().getExternalFilesDir(null); in testWithBitmap() local
122 final File dir = getContext().getExternalFilesDir(null); in testWithBitmapResource() local
137 final File dir = getContext().getExternalFilesDir(null); in testWithFile() local
161 final File dir = getContext().getExternalFilesDir(null); in testAsync() local
214 final File dir = getContext().getExternalFilesDir(null); in testParcel() local
/frameworks/multidex/library/test/src/android/support/multidex/
DZipUtilTest.java69 CentralDirectory dir = ZipUtil.findCentralDirectory(raf); in testCrcRange() local
130 CentralDirectory dir = new CentralDirectory(); in testCrcValue() local
160 CentralDirectory dir = new CentralDirectory(); in testInvalidCrcValue() local
/frameworks/base/graphics/java/android/graphics/
DPath.java514 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { in detectSimplePath()
532 public void addRect(RectF rect, Direction dir) { in addRect()
545 public void addRect(float left, float top, float right, float bottom, Direction dir) { in addRect()
556 public void addOval(RectF oval, Direction dir) { in addOval()
565 public void addOval(float left, float top, float right, float bottom, Direction dir) { in addOval()
578 public void addCircle(float x, float y, float radius, Direction dir) { in addCircle()
614 public void addRoundRect(RectF rect, float rx, float ry, Direction dir) { in addRoundRect()
626 Direction dir) { in addRoundRect()
640 public void addRoundRect(RectF rect, float[] radii, Direction dir) { in addRoundRect()
656 Direction dir) { in addRoundRect()
[all …]
/frameworks/base/core/java/android/os/
DFileUtils.java371 public static boolean deleteOlderFiles(File dir, int minCount, long minAge) { in deleteOlderFiles()
429 public static boolean contains(File dir, File file) { in contains()
445 public static boolean deleteContentsAndDir(File dir) { in deleteContentsAndDir()
453 public static boolean deleteContents(File dir) { in deleteContents()
722 public static @NonNull String[] listOrEmpty(@Nullable File dir) { in listOrEmpty()
732 public static @NonNull File[] listFilesOrEmpty(@Nullable File dir) { in listFilesOrEmpty()
742 public static @NonNull File[] listFilesOrEmpty(@Nullable File dir, FilenameFilter filter) { in listFilesOrEmpty()
/frameworks/compile/mclinker/lib/MC/
DSearchDirs.cpp41 iterator dir, dirEnd = end(); in ~SearchDirs() local
48 MCLDDirectory* dir = new MCLDDirectory(pPath); in insert() local
/frameworks/native/cmds/installd/
Dutils.cpp101 DIR* dir = opendir(user_path.c_str()); in create_data_user_ce_package_path() local
226 DIR* dir = opendir(path.c_str()); in get_known_users() local
612 cache_dir_t* dir = (cache_dir_t*)_cache_malloc(cache, sizeof(cache_dir_t)+nameLen+1); in _add_cache_dir_t() local
642 static cache_file_t* _add_cache_file_t(cache_t* cache, cache_dir_t* dir, time_t modTime, in _add_cache_file_t()
675 DIR* dir, char *pathBase, char *pathPos, size_t pathAvailLen) in _add_cache_files()
852 DIR* dir = opendir(parent.c_str()); in read_path_inode() local
922 static char *create_dir_path(char path[PATH_MAX], cache_dir_t* dir) in create_dir_path()
939 static void delete_cache_dir(char path[PATH_MAX], cache_dir_t* dir) in delete_cache_dir()
992 cache_dir_t* dir = cache->dirs[i-1]; in clear_cache_files() local
1051 static int validate_path(const dir_rec_t* dir, const char* path, int maxSubdirs) { in validate_path()
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/helper/
DItemTouchHelperTest.java140 public void basicSwipeTest(int dir, int swipeDirs, int targetX) throws Throwable { in basicSwipeTest()
235 int dir; field in ItemTouchHelperTest.SwipeRecord
237 public SwipeRecord(RecyclerView.ViewHolder viewHolder, int dir) { in SwipeRecord()
/frameworks/base/tools/layoutlib/bridge/src/android/text/
DAndroidBidi_Delegate.java35 /*package*/ static int runBidi(int dir, char[] chars, byte[] charInfo, int count, in runBidi()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DBaseActivity.java301 DirectoryFragment dir = getDirectoryFragment(); in onOptionsItemSelected() local
510 DirectoryFragment dir = getDirectoryFragment(); in setDisplayFileSize() local
534 DirectoryFragment dir = getDirectoryFragment(); in setUserSortOrder() local
557 DirectoryFragment dir = getDirectoryFragment(); in setViewMode() local
616 DirectoryFragment dir = getDirectoryFragment(); in onBackPressed() local
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/
DSubActivity.java46 int dir = child.getId() == R.id.from_left ? 1 : -1; in onResume() local
/frameworks/base/core/java/android/text/style/
DLeadingMarginSpan.java68 int x, int dir, in drawLeadingMargin()
155 int x, int dir, in drawLeadingMargin()
/frameworks/base/core/jni/
Dandroid_text_AndroidCharacter.cpp77 int dir = u_charDirection(c); in getDirectionalities() local
87 int dir = u_charDirection(c); in getDirectionalities() local
Dandroid_text_AndroidBidi.cpp28 static jint runBidi(JNIEnv* env, jobject obj, jint dir, jcharArray chsArray, in runBidi()
/frameworks/base/tools/aapt/
DAaptAssets.cpp399 AaptGroupEntry::initFromDirName(const char* dir, String8* resType) in initFromDirName()
604 status_t AaptDir::addDir(const String8& name, const sp<AaptDir>& dir) in addDir()
627 sp<AaptDir> dir = new AaptDir(name, subdir->mPath.appendPathCopy(name)); in makeDir() local
662 DIR* dir = NULL; in slurpFullTree() local
907 sp<AaptDir> dir = this; in addFile() local
1135 DIR* dir = opendir(srcDir.string()); in slurpResourceTree() local
1183 sp<AaptDir> dir = makeDir(resType); in slurpResourceTree() local
1244 sp<AaptDir> dir = dirName == "" ? this : makeDir(dirName); in slurpResourceZip() local
1347 const sp<AaptDir>& dir = resdirs.itemAt(i); in filter() local
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
DMediaStoreSaver.java42 File dir = new File(file_path); in savePNG() local
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
DMediaStoreSaver.java43 File dir = new File(file_path); in save() local
/frameworks/av/media/libstagefright/id3/
Dtestid3.cpp119 DIR *dir = opendir(path); in scan() local

12345