/frameworks/base/services/java/com/android/server/ |
H A D | SystemBackupAgent.java | 126 int type, String domain, String path, long mode, long mtime) 128 Slog.i(TAG, "Restoring file domain=" + domain + " path=" + path); 136 if (path.equals(WALLPAPER_INFO_FILENAME)) { 139 } else if (path.equals(WALLPAPER_IMAGE_FILENAME)) { 147 Slog.w(TAG, "Skipping unrecognized system file: [ " + domain + " : " + path + " ]"); 125 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
|
/frameworks/compile/slang/tests/ |
H A D | test.py | 31 if not os.path.isfile(actual): 35 if not os.path.isfile(expect): 203 if os.path.isdir(arg): 214 if os.path.isdir(f) and (f[0:2] == 'F_' or f[0:2] == 'P_'): 218 if os.path.isdir(f):
|
/frameworks/av/drm/libdrmframework/plugins/passthru/src/ |
H A D | DrmPassthruPlugIn.cpp | 55 DrmMetadata* DrmPassthruPlugIn::onGetMetadata(int uniqueId, const String8* path) { argument 60 int uniqueId, const String8* path, int action) { 159 bool DrmPassthruPlugIn::onCanHandle(int uniqueId, const String8& path) { argument 160 ALOGV("DrmPassthruPlugIn::canHandle: %s ", path.string()); 161 String8 extension = path.getPathExtension(); 166 String8 DrmPassthruPlugIn::onGetOriginalMimeType(int uniqueId, const String8& path, int fd) { argument 172 int uniqueId, const String8& path, const String8& mimeType) { 177 int DrmPassthruPlugIn::onCheckRightsStatus(int uniqueId, const String8& path, int action) { argument 195 bool DrmPassthruPlugIn::onValidateAction(int uniqueId, const String8& path, argument 201 status_t DrmPassthruPlugIn::onRemoveRights(int uniqueId, const String8& path) { argument 59 onGetConstraints( int uniqueId, const String8* path, int action) argument 171 onGetDrmObjectType( int uniqueId, const String8& path, const String8& mimeType) argument [all...] |
/frameworks/native/opengl/tests/hwc/ |
H A D | Android.mk | 25 $(call include-path-for, opengl-tests-includes) 53 $(call include-path-for, opengl-tests-includes) 84 $(call include-path-for, opengl-tests-includes) 113 $(call include-path-for, opengl-tests-includes) 142 $(call include-path-for, opengl-tests-includes)
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Region.java | 99 * Set the region to the area described by the path and clip. 101 * that is identical to the pixels that would be drawn by the path 104 public boolean setPath(Path path, Region clip) { argument 105 return nativeSetPath(mNativeRegion, path.ni(), clip.mNativeRegion); 146 * the path will also be empty. 149 Path path = new Path(); 150 nativeGetBoundaryPath(mNativeRegion, path.ni()); 151 return path; 155 * Set the path to the boundary of the region. If the region is empty, the 156 * path wil 158 getBoundaryPath(Path path) argument [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpServer.h | 81 ObjectEdit(MtpObjectHandle handle, const char* path, uint64_t size, argument 83 : mHandle(handle), mPath(path), mSize(size), mFormat(format), mFD(fd) { 113 void addEditObject(MtpObjectHandle handle, MtpString& path,
|
/frameworks/base/core/java/android/content/ |
H A D | UriMatcher.java | 148 * @param path the path to match. * may be used as a wild card for 153 public void addURI(String authority, String path, int code) argument 158 String[] tokens = path != null ? PATH_SPLIT_PATTERN.split(path) : null; 195 * Try to match against the path in a url. 197 * @param uri The url whose path we will match against.
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ProcessList.java | 223 private void writeFile(String path, String data) { argument 226 fos = new FileOutputStream(path); 229 Slog.w(ActivityManagerService.TAG, "Unable to write " + path);
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | Directory.h | 49 /// constructor - a directory whose path is pPath 75 /// path - the path of the directory 76 const Path& path() const function in class:mcld::sys::fs::Directory 138 Path* path(); 139 const Path* path() const;
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 108 DrmConstraints* FwdLockEngine::onGetConstraints(int uniqueId, const String8* path, int action) { argument 113 if (NULL != path && 114 (RightsStatus::RIGHTS_VALID == onCheckRightsStatus(uniqueId, *path, action))) { 122 DrmMetadata* FwdLockEngine::onGetMetadata(int uniqueId, const String8* path) { argument 127 if (NULL != path) { 225 bool FwdLockEngine::onCanHandle(int uniqueId, const String8& path) { argument 228 String8 extString = path.getPathExtension(); 264 const String8& path, 271 if (onCanHandle(uniqueId, path)) { 303 const String8& path, 263 onCheckRightsStatus(int uniqueId, const String8& path, int action) argument 302 onValidateAction(int uniqueId, const String8& path, int action, const ActionDescription& description) argument 312 onGetOriginalMimeType(int uniqueId, const String8& path, int fd) argument 335 onGetDrmObjectType(int uniqueId, const String8& path, const String8& mimeType) argument 356 onRemoveRights(int uniqueId, const String8& path) argument [all...] |
/frameworks/base/cmds/installd/ |
H A D | commands.c | 47 ALOGE("cannot create package path\n"); 52 ALOGE("cannot create package lib symlink origin path\n"); 57 ALOGE("cannot create package lib symlink dest path\n"); 156 ALOGE("cannot create package path\n"); 204 ALOGE("cannot create package lib symlink origin path\n"); 208 ALOGE("cannot create package lib symlink dest path\n"); 318 /* Create the full path to the package's data dir */ 382 snprintf(tmpdir, sizeof(tmpdir), "%s%s", android_data_dir.path, 409 strcpy(tmpdir, android_media_dir.path); 461 int rm_dex(const char *path) argument 486 char path[PKG_PATH_MAX]; local 598 create_cache_path(char path[PKG_PATH_MAX], const char *src) argument 800 mkinnerdirs(char* path, int basepos, mode_t mode, int uid, int gid, struct stat* statbuf) argument [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
H A D | FwdLockGlue.c | 43 * Creates all directories along the fully qualified path of the given file. 45 * @param[in] path A reference to the fully qualified path of a file. 50 static int FwdLockGlue_CreateDirectories(const char *path, mode_t mode) { argument 52 size_t partialPathLength = strlen(path); 59 if (path[i] == '/' && i > 0) { 66 partialPath[i] = path[i];
|
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteOpenHelper.java | 220 final String path = mContext.getDatabasePath(mName).getPath(); 221 db = SQLiteDatabase.openDatabase(path, mFactory, 234 final String path = mContext.getDatabasePath(mName).getPath(); 235 db = SQLiteDatabase.openDatabase(path, mFactory,
|
/frameworks/base/core/java/android/os/storage/ |
H A D | StorageVolume.java | 28 * filesystem path where it may be mounted. 54 public StorageVolume(File path, int descriptionId, boolean primary, boolean removable, argument 57 mPath = path; 81 public static StorageVolume fromTemplate(StorageVolume template, File path, UserHandle owner) { argument 82 return new StorageVolume(path, template.mDescriptionId, template.mPrimary, 88 * Returns the mount path for the volume. 90 * @return the mount path
|
/frameworks/base/tools/aapt/ |
H A D | FileFinder.h | 35 /* findFiles takes a path, a Vector of extensions, and a destination KeyedVector 36 * and places path/modification date key/values pointing to 39 * path is a valid system path 42 * compares the end of the path string so if the "." 49 * matching files encountered in subdirectories of path 62 * checkAndAddFile looks at a single file path and stat combo 71 * is added to the KeyedVector with the path as the key and the modification 75 static void checkAndAddFile(String8 path, const struct stat* stats,
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Typeface_Delegate.java | 141 /*package*/ static synchronized int nativeCreateFromAsset(AssetManager mgr, String path) { argument 148 /*package*/ static synchronized int nativeCreateFromFile(String path) { argument 149 if (path.startsWith(SYSTEM_FONTS) ) { 150 String relativePath = path.substring(SYSTEM_FONTS.length());
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | Main.java | 84 for (String path : osJarPath) { 85 log.info("Input : %1$s", path); 133 for (String path : osJarPath) { 134 log.info("- Input JAR : %1$s", path); 200 log.error("Missing parameter: path to input jar"); 204 log.error("Missing parameter: path to output jar");
|
/frameworks/compile/mclinker/lib/Support/ |
H A D | Directory.cpp | 166 Path* DirIterator::path() function in class:DirIterator 173 const Path* DirIterator::path() const function in class:DirIterator 239 const Path* x_path = path(); 240 const Path* y_path = y.path();
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
H A D | drm_file.c | 49 static int calcDirSize(char *path, int len, uint8_t includeSubdirs); 123 * calculate the size of everything inside path pointed directory 124 * this function will use path pointed buffer to store some extra info 126 * @param path the directory path need to calculate 127 * @param len length of the path buffer, not the path string length 128 * @param includeSubdirs also calculate all the subdirs in path holds? 131 static int calcDirSize(char *path, int len, uint8_t includeSubdirs) argument 139 int dirPathLen = strlen(path); [all...] |
/frameworks/compile/mclinker/unittests/Linker/ |
H A D | TestLinker.cpp | 128 if (exists(sd->path()) && is_directory(sd->path())) { 207 mcld::sys::fs::Path* path = NULL; local 208 // find out the real path of the namespec. 215 path = m_pInfo->options().directories().find(pNameSpec, 221 path = m_pInfo->options().directories().find(pNameSpec, 228 path = m_pInfo->options().directories().find(pNameSpec, 232 if (NULL == path) { 237 mcld::Input* input = m_pInfo->inputFactory().produce(pNameSpec, *path, 246 if (!handler->open(*path, mcl [all...] |
/frameworks/base/core/jni/ |
H A D | android_os_SELinux.cpp | 175 * path: the location of the file system object 178 * Exception: NullPointerException is thrown if either path or context strign are NULL 180 static jboolean setFileCon(JNIEnv *env, jobject clazz, jstring path, jstring con) { argument 185 if (path == NULL) { 195 const char *objectPath = env->GetStringUTFChars(path, NULL); 208 env->ReleaseStringUTFChars(path, objectPath); 218 * Purpose: retrieves the context associated with the given path in the file system 220 * path: given path in the file system 224 * Exceptions: NullPointerException if the path objec 226 getFileCon(JNIEnv *env, jobject clazz, jstring path) argument [all...] |
/frameworks/wilhelm/tests/ |
H A D | Android.mk | 21 $(call include-path-for, wilhelm) \
|
/frameworks/base/core/jni/android/graphics/ |
H A D | TextLayout.cpp | 51 // Draws or gets the path of a paragraph of text on a single line, running bidi and shaping. 52 // This will draw if canvas is not null, otherwise path must be non-null and it will create 53 // a path representing the text that would have been drawn. 55 jint bidiFlags, jfloat x, jfloat y, SkPath *path) { 64 paint->getTextPath(value->getGlyphs(), value->getGlyphsCount() * 2, x_, y_, path); 92 jint bidiFlags, jfloat x, jfloat y, SkPath *path) { 93 handleText(paint, text, len, bidiFlags, x, y, path); 99 SkPath* path, SkCanvas* canvas) { 111 canvas->drawTextOnPathHV(value->getGlyphs(), value->getGlyphsCount() * 2, *path, h_, v_, *paint); 54 handleText(SkPaint *paint, const jchar* text, jsize len, jint bidiFlags, jfloat x, jfloat y, SkPath *path) argument 91 getTextPath(SkPaint *paint, const jchar *text, jsize len, jint bidiFlags, jfloat x, jfloat y, SkPath *path) argument 97 drawTextOnPath(SkPaint* paint, const jchar* text, int count, int bidiFlags, jfloat hOffset, jfloat vOffset, SkPath* path, SkCanvas* canvas) argument
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | AsecTests.java | 392 String path = ms.getSecureContainerPath(SECURE_CONTAINER_PREFIX 395 File f = new File(path, "reference"); 416 String path = ms.getSecureContainerPath(SECURE_CONTAINER_PREFIX 419 File f = new File(path, "reference"); 486 String path = ms.getSecureContainerPath(SECURE_CONTAINER_PREFIX + "testContainerSize"); 489 File f = new File(path, "reference"); 499 assertNull("Getting the path for an invalid container should return null", 530 String path; field in class:AsecTests.StorageListener 545 public void onStorageStateChanged(String path, String oldState, String newState) { argument 549 this.path 610 onStorageStateChanged(String path, String oldState, String newState) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | UriTest.java | 35 // Not a valid path, but this came from a user's test case. 36 builder.path("//foo"); 48 .path("/rss/") 141 .path("/test/") 412 String path, String query, String fragment) { 418 if (path != null) { 419 sb.append(path); 440 uriString, ssp, uri, scheme, authority, path, query, fragment); 442 uriString, ssp, uri, scheme, authority, path, query, fragment); 449 uriString, ssp, uri, scheme, authority, path, quer 411 testHierarchical(String scheme, String authority, String path, String query, String fragment) argument 493 compareHierarchical(String uriString, String ssp, Uri uri, String scheme, String authority, String path, String query, String fragment) argument [all...] |