/frameworks/base/media/java/android/media/ |
H A D | MiniThumbFile.java | 104 String path = randomAccessFilePath(MINI_THUMB_DATA_FILE_VERSION); 105 File directory = new File(path).getParentFile(); 112 File f = new File(path);
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
H A D | ObjectViewer.java | 65 public void setScanPath(String path) { argument 66 mPath = path; 75 public void onScanCompleted(String path, Uri uri) { argument
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
H A D | BugreportReceiver.java | 174 final String path = intent.getStringExtra(key); 175 if (path != null) { 176 return new File(path);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardMultiUserAvatar.java | 113 protected String rewriteIconPath(String path) { argument 115 return path.replace("system", "data"); 117 return path;
|
/frameworks/base/tests/DumpRenderTree/assets/ |
H A D | run_reliability_tests.py | 8 run_reliability_tests.py path/to/url/list 119 path = args[0] 142 if not os.path.exists(bugreport_dir): 144 if not os.path.isdir(bugreport_dir): 153 test_cmd = adb_cmd + " push \"" + path + "\" \"" + TEST_LIST_FILE + "\""
|
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
H A D | FBOSyncRS.java | 160 public void loadA3DFile(String path) { argument 161 FileA3D model = FileA3D.createFromFile(mRS, path); 163 initTextAllocation(path);
|
H A D | FBOTestRS.java | 159 public void loadA3DFile(String path) { argument 160 FileA3D model = FileA3D.createFromFile(mRS, path); 162 initTextAllocation(path);
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
H A D | SimpleModelRS.java | 158 public void loadA3DFile(String path) { argument 159 FileA3D model = FileA3D.createFromFile(mRS, path); 161 initTextAllocation(path);
|
/frameworks/compile/libbcc/tests/ |
H A D | test.py | 97 adb(["shell", "mkdir", os.path.join(root, d)]) 99 adb(["push", os.path.join(root, f), os.path.join("/system/bin/bccdata", root, f)]) 166 """Take a path that's correct on the x86 and convert to a path
|
/frameworks/compile/libbcc/tools/bcc_compat/ |
H A D | Main.cpp | 63 OptRuntimePath("rt-path", llvm::cl::desc("Specify the runtime library path"), 64 llvm::cl::value_desc("path")); 239 llvm::errs() << "Failed to determine the absolute path of `" << input_path 246 llvm::sys::path::replace_extension(output_path, "o"); 250 llvm::sys::path::remove_filename(output_path); 251 llvm::sys::path::append(output_path, "a.out"); 263 fprintf(stderr, "You must set \"-rt-path </path/to/libclcore.bc>\" with "
|
/frameworks/compile/mclinker/unittests/ |
H A D | ELFReaderTest.cpp | 59 Path path(TOPDIR); 60 path.append("unittests/test_x86_64.o"); 62 m_pInput = m_pIRBuilder->ReadInput("test_x86_64", path);
|
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
H A D | VariableSpeed.java | 175 public void setDataSource(String path) { argument 176 checkNotNull(path, "path"); 177 innerSetDataSource(new MediaPlayerDataSource(path));
|
/frameworks/native/opengl/libs/EGL/ |
H A D | Loader.cpp | 178 static void* load_wrapper(const char* path) { argument 179 void* so = dlopen(path, RTLD_NOW | RTLD_LOCAL); 180 ALOGE_IF(!so, "dlopen(\"%s\") failed: %s", path, dlerror());
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestBassBoostPath.cpp | 49 /* Play an audio path by opening a file descriptor on that path */ 50 void TestBassBoostPathFromFD(SLObjectItf sl, const char* path, int16_t boostStrength, bool alwaysOn) argument 119 int fd = open(path, O_RDONLY); 128 locatorUri.URI = (SLchar *) path; 256 fprintf(stdout, "Plays the sound file designated by the given path, "); 261 fprintf(stdout, "unless the --always-on option is specified before the path.\n"); 271 fprintf(stdout, "Usage: \t%s [--always-on] path bass_boost_strength\n", programName);
|
H A D | slesTestPlayFdPath.cpp | 49 /* Play an audio path by opening a file descriptor on that path */ 50 void TestPlayPathFromFD( SLObjectItf sl, const char* path, SLAint64 offset, SLAint64 size) argument 111 int fd = open(path, O_RDONLY); 113 perror(path); 198 fprintf(stdout, "Plays the sound file designated by the given path, "); 203 fprintf(stdout, "Usage: \t%s path offsetInBytes [sizeInBytes]\n", argv[0]);
|
H A D | slesTestVirtualizerPath.cpp | 49 /* Play an audio path by opening a file descriptor on that path */ 50 void TestVirtualizerPathFromFD( SLObjectItf sl, const char* path, int16_t virtStrength, argument 120 int fd = open(path, O_RDONLY); 129 locatorUri.URI = (SLchar *) path; 258 fprintf(stdout, "Plays the sound file designated by the given path, "); 263 fprintf(stdout, "unless the --always-on option is specified before the path.\n"); 273 fprintf(stdout, "Usage: \t%s [--always-on] path virtualization_strength\n", programName);
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
H A D | DefaultContainerService.java | 100 * @return Returns the new cache path where the resource has been copied into 230 public long calculateDirectorySize(String path) throws RemoteException { 233 final File dir = Environment.maybeTranslateEmulatedPathToInternal(new File(path)); 243 public long[] getFileSystemStats(String path) { 247 final StructStatFs stat = Libcore.os.statfs(path); 257 public void clearDirectory(String path) throws RemoteException { 260 final File directory = new File(path); 307 void eraseFiles(File path) { argument 308 if (path.isDirectory()) { 309 String[] files = path [all...] |
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 418 char path[256]; local 426 else if (sscanf(l, " %c %d %d %s", &pathType, &count, &pause, path) == 4) { 427 //LOGD("> type=%c, count=%d, pause=%d, path=%s", pathType, count, pause, path); 432 part.path = path; 446 const String8 path(entryName.getPathDir()); 450 if (path == animation.parts[j].path) {
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProvider.java | 341 // <path-permission> below removes this ability 346 final String path = uri.getPath(); 349 if (pathPerm != null && pp.match(path)) { 353 // any denied <path-permission> means we lose 362 // if we passed <path-permission> checks above, and no default 410 // <path-permission> below removes this ability 415 final String path = uri.getPath(); 418 if (pathPerm != null && pp.match(path)) { 422 // any denied <path-permission> means we lose 431 // if we passed <path [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
H A D | BridgeResources.java | 608 String path = value.getSecond().getValue(); 610 if (path != null) { 612 File f = new File(path); 618 if (path.toLowerCase().endsWith(NinePatch.EXTENSION_9PATCH)) { 642 String path = value.string.toString(); 644 File f = new File(path); 650 if (path.toLowerCase().endsWith(NinePatch.EXTENSION_9PATCH)) {
|
/frameworks/base/media/jni/ |
H A D | android_mtp_MtpDatabase.cpp | 96 virtual MtpObjectHandle beginSendObject(const char* path, 103 virtual void endSendObject(const char* path, 220 MtpObjectHandle MyMtpDatabase::beginSendObject(const char* path, argument 227 jstring pathStr = env->NewStringUTF(path); 238 void MyMtpDatabase::endSendObject(const char* path, MtpObjectHandle handle, argument 241 jstring pathStr = env->NewStringUTF(path); 755 MtpString path; local 759 MtpResponseCode result = getObjectFilePath(handle, path, length, format); 800 strncpy(ImageInfo.FileName, (const char *)path, PATH_MAX); 801 if (ReadJpegFile((const char*)path, READ_METADAT 818 MtpString path; local [all...] |
/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 426 public boolean clipPath(Path path) { argument 427 return nClipPath(mRenderer, path.mNativePath, Region.Op.INTERSECT.nativeInt); 431 public boolean clipPath(Path path, Region.Op op) { argument 432 return nClipPath(mRenderer, path.mNativePath, op.nativeInt); 435 private static native boolean nClipPath(int renderer, int path, int op); argument 508 public boolean quickReject(Path path, EdgeType type) { argument 509 path.computeBounds(mPathBounds, true); 983 public void drawPath(Path path, Paint paint) { argument 986 if (path.isSimplePath) { 987 if (path 998 nDrawPath(int renderer, int path, int paint) argument 1227 drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, float vOffset, Paint paint) argument 1242 nDrawTextOnPath(int renderer, char[] text, int index, int count, int path, float hOffset, float vOffset, int bidiFlags, int nativePaint) argument 1246 drawTextOnPath(String text, Path path, float hOffset, float vOffset, Paint paint) argument 1258 nDrawTextOnPath(int renderer, String text, int start, int end, int path, float hOffset, float vOffset, int bidiFlags, int nativePaint) argument [all...] |
/frameworks/base/drm/jni/ |
H A D | android_drm_DrmManagerClient.cpp | 413 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) { 417 ->canHandle(uniqueId, Utility::getStringValue(env, path), 579 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) { 583 ->getDrmObjectType(uniqueId, Utility::getStringValue(env, path), 590 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jobject fileDescriptor) { 600 Utility::getStringValue(env, path), fd); 606 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, int action) { 610 ->checkRightsStatus(uniqueId, Utility::getStringValue(env, path), action); 616 JNIEnv* env, jobject thiz, jint uniqueId, jstring path) { 619 ->removeRights(uniqueId, Utility::getStringValue(env, path)); 412 android_drm_DrmManagerClient_canHandle( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) argument 578 android_drm_DrmManagerClient_getDrmObjectType( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) argument 589 android_drm_DrmManagerClient_getOriginalMimeType( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jobject fileDescriptor) argument 605 android_drm_DrmManagerClient_checkRightsStatus( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, int action) argument 615 android_drm_DrmManagerClient_removeRights( JNIEnv* env, jobject thiz, jint uniqueId, jstring path) argument [all...] |
/frameworks/compile/mclinker/lib/Core/ |
H A D | IRBuilder.cpp | 149 const sys::fs::Path* path = NULL; local 150 // find out the real path of the namespec. 157 path = m_Config.options().directories().find(pNameSpec, Input::Archive); 162 path = m_Config.options().directories().find(pNameSpec, Input::DynObj); 167 path = m_Config.options().directories().find(pNameSpec, Input::Archive); 170 if (NULL == path) { 175 m_InputBuilder.createNode<InputTree::Positional>(pNameSpec, *path); 194 pMemOStream.getMemoryArea().handler()->path()); 214 pFileHandle.path()); 217 if (pFileHandle.path() [all...] |
/frameworks/base/services/input/ |
H A D | EventHub.cpp | 160 EventHub::Device::Device(int fd, int32_t id, const String8& path, argument 163 fd(fd), id(id), path(path), identifier(identifier), 633 if (device->path == devicePath) { 668 device->id, device->path.string()); 690 device->id, device->path.string()); 772 device->path.string(), 841 device->path.string(), event->when, time, now); 844 ALOGV("Event time is ok but failed the fast path and required " 1222 ALOGV("Dropping device: id=%d, path [all...] |