/frameworks/native/cmds/installd/ |
D | utils.c | 22 const dir_rec_t* dir, in create_pkg_path_in_dir() argument 37 if ((pkgname_len + dir->len + postfix_len) >= PKG_PATH_MAX) { in create_pkg_path_in_dir() 44 if (append_and_increment(&dst, dir->path, &dst_size) < 0 in create_pkg_path_in_dir() 94 dir_rec_t dir; in create_pkg_path() local 95 dir.path = prefix; in create_pkg_path() 96 dir.len = prefix_len; in create_pkg_path() 98 return create_pkg_path_in_dir(path, &dir, pkgname, postfix); in create_pkg_path() 313 int lookup_media_dir(char basepath[PATH_MAX], const char *dir) in lookup_media_dir() argument 325 CACHE_NOISY(ALOGI("Looking up %s in %s\n", dir, basepath)); in lookup_media_dir() 328 if ((dirpos-basepath+strlen(dir)) >= (PATH_MAX-1)) { in lookup_media_dir() [all …]
|
/frameworks/base/core/jni/ |
D | android_text_AndroidCharacter.cpp | 76 int dir = u_charDirection(c); in getDirectionalities() local 77 if (dir < 0 || dir >= U_CHAR_DIRECTION_COUNT) in getDirectionalities() 78 dir = PROPERTY_UNDEFINED; in getDirectionalities() 80 dir = directionality_map[dir]; in getDirectionalities() 82 dest[i++] = dir; in getDirectionalities() 83 dest[i] = dir; in getDirectionalities() 86 int dir = u_charDirection(c); in getDirectionalities() local 87 if (dir < 0 || dir >= U_CHAR_DIRECTION_COUNT) in getDirectionalities() 90 dest[i] = directionality_map[dir]; in getDirectionalities()
|
/frameworks/compile/mclinker/lib/MC/ |
D | SearchDirs.cpp | 43 iterator dir, dirEnd = end(); in ~SearchDirs() local 44 for (dir = begin(); dir!=dirEnd; ++dir) { in ~SearchDirs() 45 delete (*dir); in ~SearchDirs() 51 MCLDDirectory* dir = new MCLDDirectory(pPath); in insert() local 52 if (dir->isInSysroot()) in insert() 53 dir->setSysroot(m_SysRoot); in insert() 55 if (exists(dir->path()) && is_directory(dir->path())) { in insert() 56 m_DirList.push_back(dir); in insert() 60 delete dir; in insert()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Path.java | 477 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { in detectSimplePath() argument 480 mLastDirection = dir; in detectSimplePath() 482 if (mLastDirection != dir) { in detectSimplePath() 497 public void addRect(RectF rect, Direction dir) { in addRect() argument 501 detectSimplePath(rect.left, rect.top, rect.right, rect.bottom, dir); in addRect() 502 native_addRect(mNativePath, rect, dir.nativeInt); in addRect() 514 public void addRect(float left, float top, float right, float bottom, Direction dir) { in addRect() argument 515 detectSimplePath(left, top, right, bottom, dir); in addRect() 516 native_addRect(mNativePath, left, top, right, bottom, dir.nativeInt); in addRect() 525 public void addOval(RectF oval, Direction dir) { in addOval() argument [all …]
|
/frameworks/base/core/java/android/text/ |
D | AndroidBidi.java | 27 public static int bidi(int dir, char[] chs, byte[] chInfo, int n, boolean haveInfo) { in bidi() argument 36 switch(dir) { in bidi() 37 case Layout.DIR_REQUEST_LTR: dir = 0; break; in bidi() 38 case Layout.DIR_REQUEST_RTL: dir = 1; break; in bidi() 39 case Layout.DIR_REQUEST_DEFAULT_LTR: dir = -2; break; in bidi() 40 case Layout.DIR_REQUEST_DEFAULT_RTL: dir = -1; break; in bidi() 41 default: dir = 0; break; in bidi() 44 int result = runBidi(dir, chs, chInfo, n, haveInfo); in bidi() 61 public static Directions directions(int dir, byte[] levels, int lstart, in directions() argument 67 int baseLevel = dir == Layout.DIR_LEFT_TO_RIGHT ? 0 : 1; in directions() [all …]
|
D | Layout.java | 237 int dir = getParagraphDirection(i); in drawText() local 285 if (dir == DIR_RIGHT_TO_LEFT) { in drawText() 286 margin.drawLeadingMargin(canvas, paint, right, dir, ltop, in drawText() 291 margin.drawLeadingMargin(canvas, paint, left, dir, ltop, in drawText() 314 align = (dir == DIR_LEFT_TO_RIGHT) ? in drawText() 317 align = (dir == DIR_LEFT_TO_RIGHT) ? in drawText() 323 if (dir == DIR_LEFT_TO_RIGHT) { in drawText() 331 if (dir == DIR_LEFT_TO_RIGHT) { in drawText() 347 tl.set(paint, buf, start, end, dir, directions, hasTabOrEmoji, tabStops); in drawText() 476 int dir = getParagraphDirection(line); in getLineStartPos() local [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
D | AndroidBidi_Delegate.java | 35 /*package*/ static int runBidi(int dir, char[] chars, byte[] charInfo, int count, in runBidi() argument 38 switch (dir) { in runBidi() 43 dir = Bidi.LEVEL_DEFAULT_LTR; in runBidi() 46 dir = Bidi.LEVEL_DEFAULT_RTL; in runBidi() 51 dir = Bidi.LEVEL_DEFAULT_LTR; in runBidi() 53 Bidi bidi = new Bidi(chars, 0, null, 0, count, dir); in runBidi()
|
/frameworks/base/tools/aapt/ |
D | DirectoryWalker.h | 59 dir = NULL; in openDir() 60 dir = opendir(mBasePath.string() ); in openDir() 62 if (dir == NULL) in openDir() 74 struct dirent* entryPtr = readdir(dir); in nextEntry() 89 closedir(dir); in closeDir() 95 DIR* dir;
|
D | Bundle.h | 127 void setAssetSourceDir(const char* dir) { mAssetSourceDir = dir; } in setAssetSourceDir() argument 129 void setCrunchedOutputDir(const char* dir) { mCrunchedOutputDir = dir; } in setCrunchedOutputDir() argument 133 void addResourceSourceDir(const char* dir) { mResourceSourceDirs.insertAt(dir,0); } in addResourceSourceDir() argument 139 void setRClassDir(const char* dir) { mRClassDir = dir; } in setRClassDir() argument 145 void setResourceIntermediatesDir(const char* dir) { mResourceIntermediatesDir = dir; } in setResourceIntermediatesDir() argument
|
/frameworks/base/core/java/android/net/ |
D | SSLSessionCache.java | 48 public SSLSessionCache(File dir) throws IOException { in SSLSessionCache() argument 49 mSessionCache = FileClientSessionCache.usingDirectory(dir); in SSLSessionCache() 59 File dir = context.getDir("sslcache", Context.MODE_PRIVATE); in SSLSessionCache() local 62 cache = FileClientSessionCache.usingDirectory(dir); in SSLSessionCache() 64 Log.w(TAG, "Unable to create SSL session cache in " + dir, e); in SSLSessionCache()
|
/frameworks/base/media/java/android/media/videoeditor/ |
D | VideoEditorFactory.java | 49 final File dir = new File(projectPath); in create() local 50 if (!dir.exists()) { in create() 51 if (!dir.mkdirs()) { in create() 59 if (!new File(dir, ".nomedia").createNewFile()) { in create()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | DropBoxTest.java | 110 File dir = getEmptyDir("testAddFile"); 113 File f0 = new File(dir, "f0.txt"); 114 File f1 = new File(dir, "f1.txt.gz"); 115 File f2 = new File(dir, "f2.dat"); 116 File f3 = new File(dir, "f2.dat.gz"); 177 File dir = getEmptyDir("testAddEntriesInTheFuture"); in testAddEntriesInTheFuture() local 181 FileWriter w0 = new FileWriter(new File(dir, "DropBoxTest@" + (before + 5000) + ".txt")); in testAddEntriesInTheFuture() 186 FileWriter w1 = new FileWriter(new File(dir, "DropBoxTest@" + (before + 100000) + ".txt")); in testAddEntriesInTheFuture() 191 File f2 = new File(dir, "DropBoxTest@" + (before + 100001) + ".txt.gz"); in testAddEntriesInTheFuture() 197 new FileOutputStream(new File(dir, "DropBoxTest@" + (before + 100002) + ".lost")).close(); in testAddEntriesInTheFuture() [all …]
|
/frameworks/av/media/libstagefright/id3/ |
D | testid3.cpp | 119 DIR *dir = opendir(path); in scan() local 121 if (dir == NULL) { in scan() 125 rewinddir(dir); in scan() 128 while ((ent = readdir(dir)) != NULL) { in scan() 150 closedir(dir); in scan() 151 dir = NULL; in scan()
|
/frameworks/compile/libbcc/ |
D | Android.mk | 20 LOCAL_PATH := $(call my-dir) 48 $(call intermediates-dir-for,SHARED_LIBRARIES,libclcore.bc,,)/libclcore.bc \ 49 $(call intermediates-dir-for,SHARED_LIBRARIES,libclcore_debug.bc,,)/libclcore_debug.bc 53 $(call intermediates-dir-for,SHARED_LIBRARIES,libclcore_neon.bc,,)/libclcore_neon.bc 57 intermediates := $(call local-intermediates-dir) 64 $(hide) mkdir -p $(dir $@)
|
D | libbcc-gen-build-info.mk | 36 $(call intermediates-dir-for, \ 39 $(call intermediates-dir-for, \ 45 GEN := $(local-intermediates-dir)/BuildInfo.cpp
|
/frameworks/base/tools/layoutlib/ |
D | Android.mk | 16 LOCAL_PATH := $(my-dir) 36 built_ext_data := $(call intermediates-dir-for, \ 39 built_layoutlib_create_jar := $(call intermediates-dir-for, \ 58 $(hide) mkdir -p $(dir $@)
|
/frameworks/base/data/keyboards/ |
D | Android.mk | 17 LOCAL_PATH := $(call my-dir) 25 intermediates := $(call intermediates-dir-for,ETC,$(LOCAL_MODULE),,COMMON) 32 $(hide) mkdir -p $(dir $@) && touch $@
|
/frameworks/base/packages/InputDevices/ |
D | Android.mk | 15 LOCAL_PATH:= $(call my-dir) 34 intermediates := $(call intermediates-dir-for,ETC,$(LOCAL_MODULE),,COMMON) 42 $(hide) mkdir -p $(dir $@) && touch $@
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
D | Texture2D.java | 44 public Texture2D(String dir, String file) { in Texture2D() argument 46 setFileDir(dir); in Texture2D() 55 public void setFileDir(String dir) { in setFileDir() argument 56 mFileDir = dir; in setFileDir()
|
D | TextureCube.java | 45 public TextureCube(String dir, String file) { in TextureCube() argument 47 setFileDir(dir); in TextureCube() 56 public void setFileDir(String dir) { in setFileDir() argument 57 mFileDir = dir; in setFileDir()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | SamplingProfilerIntegration.java | 59 File dir = new File(SNAPSHOT_DIR); 60 dir.mkdirs(); in dir.mkdirs() 62 dir.setWritable(true, false); in dir.setWritable() 64 dir.setExecutable(true, false); in dir.setExecutable() 65 if (dir.isDirectory()) {
|
/frameworks/base/core/jni/android/graphics/ |
D | Path.cpp | 167 …oid addRect__RectFI(JNIEnv* env, jobject clazz, SkPath* obj, jobject rect, SkPath::Direction dir) { in addRect__RectFI() argument 170 obj->addRect(rect_, dir); in addRect__RectFI() 173 … clazz, SkPath* obj, jfloat left, jfloat top, jfloat right, jfloat bottom, SkPath::Direction dir) { in addRect__FFFFI() argument 178 obj->addRect(left_, top_, right_, bottom_, dir); in addRect__FFFFI() 181 …static void addOval(JNIEnv* env, jobject clazz, SkPath* obj, jobject oval, SkPath::Direction dir) { in addOval() argument 184 obj->addOval(oval_, dir); in addOval() 187 …NIEnv* env, jobject clazz, SkPath* obj, jfloat x, jfloat y, jfloat radius, SkPath::Direction dir) { in addCircle() argument 191 obj->addCircle(x_, y_, radius_, dir); in addCircle() 203 jfloat rx, jfloat ry, SkPath::Direction dir) { in addRoundRectXY() argument 208 obj->addRoundRect(rect_, rx_, ry_, dir); in addRoundRectXY() [all …]
|
/frameworks/base/core/tests/coretests/ |
D | Android.mk | 1 ACTUAL_LOCAL_PATH := $(call my-dir) 32 FrameworkCoreTests_intermediates := $(call intermediates-dir-for,APPS,$(LOCAL_PACKAGE_NAME))/test_a… 40 …apks_res): $(FrameworkCoreTests_intermediates)/raw/%: $(call intermediates-dir-for,APPS,FrameworkC…
|
/frameworks/native/opengl/tests/testPauseResume/ |
D | Android.mk | 5 TOP_LOCAL_PATH:= $(call my-dir) 9 LOCAL_PATH:= $(call my-dir)
|
/frameworks/native/opengl/tests/testFramerate/ |
D | Android.mk | 5 TOP_LOCAL_PATH:= $(call my-dir) 10 LOCAL_PATH:= $(call my-dir)
|