Searched defs:dir (Results 51 - 69 of 69) sorted by relevance

123

/frameworks/native/cmds/installd/
H A Dutils.c22 const dir_rec_t* dir,
37 if ((pkgname_len + dir->len + postfix_len) >= PKG_PATH_MAX) {
44 if (append_and_increment(&dst, dir->path, &dst_size) < 0
94 dir_rec_t dir; local
95 dir.path = prefix;
96 dir.len = prefix_len;
98 return create_pkg_path_in_dir(path, &dir, pkgname, postfix);
343 ALOGE("_copy_dir_files failed to copy dir permissions\n");
346 ALOGE("_copy_dir_files failed to change dir owner\n");
425 int lookup_media_dir(char basepath[PATH_MAX], const char *dir) argument
21 create_pkg_path_in_dir(char path[PKG_PATH_MAX], const dir_rec_t* dir, const char* pkgname, const char* postfix) argument
558 cache_dir_t* dir = (cache_dir_t*)_cache_malloc(cache, sizeof(cache_dir_t)+nameLen+1); local
588 _add_cache_file_t(cache_t* cache, cache_dir_t* dir, time_t modTime, const char *name) argument
620 _add_cache_files(cache_t *cache, cache_dir_t *parentDir, const char *dirName, DIR* dir, char *pathBase, char *pathPos, size_t pathAvailLen) argument
784 create_dir_path(char path[PATH_MAX], cache_dir_t* dir) argument
801 delete_cache_dir(char path[PATH_MAX], cache_dir_t* dir) argument
854 cache_dir_t* dir = cache->dirs[i-1]; local
913 validate_path(const dir_rec_t* dir, const char* path) argument
1044 const dir_rec_t* dir = NULL; local
[all...]
/frameworks/base/core/jni/
H A DAndroidRuntime.cpp349 static int hasDir(const char* dir) argument
352 int res = stat(dir, &s);
H A Dandroid_util_AssetManager.cpp366 AssetDir* dir = am->openDir(fileName8.c_str()); local
368 if (dir == NULL) {
373 size_t N = dir->getFileCount();
375 jobjectArray array = env->NewObjectArray(dir->getFileCount(),
378 delete dir;
383 const String8& name = dir->getFileName(i);
386 delete dir;
393 delete dir;
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp711 jint contextStart, jint contextCount, jint dir, jint offset, jint cursorOpt) {
714 jint result = doTextRunCursor(env, paint, textArray, contextStart, contextCount, dir,
721 jint contextStart, jint contextEnd, jint dir, jint offset, jint cursorOpt) {
725 contextEnd - contextStart, dir, offset, cursorOpt);
710 getTextRunCursor___C(JNIEnv* env, jobject clazz, jlong paintHandle, jcharArray text, jint contextStart, jint contextCount, jint dir, jint offset, jint cursorOpt) argument
720 getTextRunCursor__String(JNIEnv* env, jobject clazz, jlong paintHandle, jstring text, jint contextStart, jint contextEnd, jint dir, jint offset, jint cursorOpt) argument
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp207 ap.type == kFileTypeDirectory ? "dir" : "zip", ap.path.string());
1190 * Pass in "" for the root dir.
1228 ALOGV("Adding directory %s from dir %s", dirName, ap.path.string());
1253 * Pass in "" for the root dir.
1282 ALOGV("Adding directory %s from dir %s", dirName, ap.path.string());
1332 //printf("+++ not found in cache: dir '%s'\n", (const char*) path);
1347 * Pick out the stuff in the current dir by examining the pathname.
1365 /* no longer in the dir or its subdirs */
1440 DIR* dir; local
1444 ALOGV("Scanning dir '
[all...]
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp62 "!.svn:!.git:!.ds_store:!*.scc:.*:<dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~";
72 // - Entry can have the flag "<dir>" to match only directories
111 if (strncasecmp(token, "<dir>" , 5) == 0) {
140 type == kFileTypeDirectory ? "dir" : "file",
423 AaptGroupEntry::initFromDirName(const char* dir, String8* resType) argument
425 const char* q = strchr(dir, '-');
428 typeLen = q - dir;
430 typeLen = strlen(dir);
433 String8 type(dir, typeLen);
628 status_t AaptDir::addDir(const String8& name, const sp<AaptDir>& dir) argument
651 sp<AaptDir> dir = new AaptDir(name, subdir->mPath.appendPathCopy(name)); local
686 DIR* dir = NULL; local
931 sp<AaptDir> dir = this; local
1159 DIR* dir = opendir(srcDir.string()); local
1207 sp<AaptDir> dir = makeDir(resType); local
1268 sp<AaptDir> dir = dirName == "" ? this : makeDir(dirName); local
1371 const sp<AaptDir>& dir = resdirs.itemAt(i); local
[all...]
H A DBundle.h136 void addAssetSourceDir(const char* dir) { mAssetSourceDirs.insertAt(dir,0); } argument
138 void setCrunchedOutputDir(const char* dir) { mCrunchedOutputDir = dir; } argument
142 void addResourceSourceDir(const char* dir) { mResourceSourceDirs.insertAt(dir,0); } argument
148 void setRClassDir(const char* dir) { mRClassDir = dir; } argument
156 void setResourceIntermediatesDir(const char* dir) { mResourceIntermediatesDir = dir; } argument
[all...]
H A DCommand.cpp2002 AssetDir* dir = assets.openNonAssetDir(assetsCookie, "lib"); local
2003 if (dir != NULL) {
2004 if (dir->getFileCount() > 0) {
2006 for (size_t i=0; i<dir->getFileCount(); i++) {
2008 dir->getFileName(i).string()));
2054 delete dir;
2207 static status_t addResourcesToBuilder(const sp<AaptDir>& dir, const sp<ApkBuilder>& builder, bool ignoreConfig=false) { argument
2208 const size_t numDirs = dir->getDirs().size();
2211 const sp<AaptDir>& subDir = dir->getDirs().valueAt(i);
2222 const size_t numFiles = dir
[all...]
H A DResource.cpp382 static void collect_files(const sp<AaptDir>& dir, argument
385 const DefaultKeyedVector<String8, sp<AaptGroup> >& groups = dir->getFiles();
439 NOISY(printf("Collecting dir #%d %p: %s, leaf %s\n", i, d.get(), d->getPath().string(),
443 // don't try to include the res dir
444 NOISY(printf("Removing dir leaf %s\n", d->getLeaf().string()));
/frameworks/minikin/libs/minikin/
H A DLayout.cpp77 const uint16_t* chars, size_t start, size_t count, size_t nchars, bool dir)
81 mPaintFlags(paint.paintFlags), mIsRtl(dir),
76 LayoutCacheKey(const FontCollection* collection, const MinikinPaint& paint, FontStyle style, const uint16_t* chars, size_t start, size_t count, size_t nchars, bool dir) argument
/frameworks/native/services/inputflinger/
H A DEventHub.cpp1022 ALOGE("scan dir failed for %s\n", DEVICE_PATH);
1592 DIR *dir; local
1594 dir = opendir(dirname);
1595 if(dir == NULL)
1600 while((de = readdir(dir))) {
1608 closedir(dir);
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp2824 DIR *dir = opendir(teePath); local
2826 if (dir != NULL) {
2834 int rc = readdir_r(dir, &de, &result);
2854 (void) closedir(dir);
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java2025 * @param dir either {@link #DIRECTION_RTL} or {@link #DIRECTION_LTR}
2034 int dir, int offset, int cursorOpt) {
2044 contextStart, contextLength, dir, offset, cursorOpt);
2065 * @param dir either {@link #DIRECTION_RTL} or {@link #DIRECTION_LTR}
2074 int contextEnd, int dir, int offset, int cursorOpt) {
2079 dir, offset, cursorOpt);
2083 contextStart, contextEnd, dir, offset, cursorOpt, this);
2089 int result = getTextRunCursor(buf, 0, contextLen, dir, offset - contextStart, cursorOpt);
2112 * @param dir either {@link #DIRECTION_RTL} or {@link #DIRECTION_LTR}
2121 int dir, in
2033 getTextRunCursor(char[] text, int contextStart, int contextLength, int dir, int offset, int cursorOpt) argument
2073 getTextRunCursor(CharSequence text, int contextStart, int contextEnd, int dir, int offset, int cursorOpt) argument
2120 getTextRunCursor(String text, int contextStart, int contextEnd, int dir, int offset, int cursorOpt) argument
2277 native_getTextRunCursor(long native_object, char[] text, int contextStart, int contextLength, int dir, int offset, int cursorOpt) argument
2279 native_getTextRunCursor(long native_object, String text, int contextStart, int contextEnd, int dir, int offset, int cursorOpt) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/
H A Dgradle-wrapper.jar ... success int i String[] children java.io.File dir private void unzip (java.io.File, java. ...
/frameworks/multidex/gradle/wrapper/
H A Dgradle-wrapper.jar ... success int i String[] children java.io.File dir private void unzip (java.io.File, java. ...
/frameworks/support/gradle/wrapper/
H A Dgradle-wrapper.jar ... success int i String[] children java.io.File dir private void unzip (java.io.File, java. ...
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java4254 + mX.step + " dir=" + mX.dir + " acc=" + mX.acceleration
4257 + mY.step + " dir=" + mY.dir + " acc=" + mY.acceleration
4368 int dir; field in class:ViewRootImpl.TrackballAxis
4376 dir = 0;
4393 if (dir < 0) {
4400 dir = 1;
4403 if (dir > 0) {
4410 dir
[all...]
/frameworks/base/core/java/android/widget/
H A DTextView.java6901 int dir = layout.getParagraphDirection(line);
6910 a = dir == Layout.DIR_LEFT_TO_RIGHT ? Layout.Alignment.ALIGN_LEFT :
6913 a = dir == Layout.DIR_LEFT_TO_RIGHT ? Layout.Alignment.ALIGN_RIGHT :
6929 if (dir < 0) {
9290 public int getTextRunCursor(int contextStart, int contextEnd, int dir, argument
9294 contextCount, dir, offset + mStart, cursorOpt);
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java4136 private void scanDirLI(File dir, int parseFlags, int scanFlags, long currentTime) { argument
4137 final File[] files = dir.listFiles();
4139 Log.d(TAG, "No files in app dir " + dir);
4144 Log.d(TAG, "Scanning app dir " + dir + " scanFlags=" + scanFlags
5479 // We only do this here for apps not on a system dir, because those
5696 Log.v(TAG, "Want this data dir: " + dataPath);
5867 if (DEBUG_INSTALL) Slog.i(TAG, "Linking native library dir for " + path);
5879 "Failed linking native library dir (use
[all...]

Completed in 639 milliseconds

123