/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | StorageListener.java | 34 public void onStorageStateChanged(String path, String oldState, String newState) { argument
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | Menu.java | 62 void processDirectory(String path, boolean selection) { argument 63 int testCount = generateTestList(path); 75 private int generateTestList(String path) { argument 81 bos, path, false); // Don't ignore results
|
/frameworks/wilhelm/tests/automated/ |
H A D | Android.mk | 11 $(call include-path-for, wilhelm) \ 13 $(call include-path-for, wilhelm-ut)
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureStroke.java | 125 Path path = null; 133 if (path == null) { 134 path = new Path(); 135 path.moveTo(x, y); 142 path.quadTo(mX, mY, (x + mX) / 2, (y + mY) / 2); 149 mCachedPath = path; 155 * @param width the width of the bounding box of the target path 156 * @param height the height of the bounding box of the target path 159 * @return the path 175 Path path [all...] |
/frameworks/base/libs/hwui/ |
H A D | PathRenderer.h | 68 static SkRect computePathBounds(const SkPath& path, const SkPaint* paint); 70 static void convexPathVertices(const SkPath& path, const SkPaint* paint, 74 static bool convexPathPerimeterVertices(const SkPath &path, bool forceClose,
|
/frameworks/compile/mclinker/unittests/ |
H A D | FragmentRefTest.cpp | 46 Path path(TOPDIR); 47 path.append("unittests/test3.txt"); 49 MemoryArea* area = areaFactory->produce(path, FileHandle::ReadWrite);
|
H A D | TestLinkerTest.cpp | 47 mcld::sys::fs::Path path = TOPDIR; local 48 path.append("test/libs/ARM/Android/android-14"); 49 m_pLinker->setSysRoot(path);
|
/frameworks/opt/mms/src/java/com/google/android/mms/util/ |
H A D | DownloadDrmHelper.java | 90 * @param path Path to the file 96 public static String getOriginalMimeType(Context context, String path, String containingMime) { argument 100 if (drmClient.canHandle(path, null)) { 101 result = drmClient.getOriginalMimeType(path); 105 "Can't get original mime type since path is null or empty string.");
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | CsimFileHandler.java | 52 String path = getCommonIccEFPath(efid); 53 if (path == null) { 56 // the global 3g phone book path. 59 return path;
|
H A D | UsimFileHandler.java | 68 String path = getCommonIccEFPath(efid); 69 if (path == null) { 72 // the phone book path. 75 return path;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | SIMFileHandler.java | 72 String path = getCommonIccEFPath(efid); 73 if (path == null) { 76 return path;
|
/frameworks/base/core/jni/ |
H A D | android_ddm_DdmHandleNativeHeap.cpp | 65 char path[FILENAME_MAX]; local 66 sprintf(path, "/proc/%d/maps", pid); 69 int ret = stat(path, &sb); 74 int fd = open(path, O_RDONLY); 90 ALOGD("**** read %d bytes from '%s'", (int) header.mapSize, path);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaExtractor.java | 116 * Sets the data source (file-path or http URL) to use. 118 * @param path the path of the file, or the http URL 121 public final void setDataSource(String path, Map<String, String> headers) { argument 136 setDataSource(path, keys, values); 140 String path, String[] keys, String[] values); 143 * Sets the data source (file-path or http URL) to use. 145 * @param path the path of the file, or the http URL of the stream 147 * <p>When <code>path</cod 139 setDataSource( String path, String[] keys, String[] values) argument 154 setDataSource(String path) argument [all...] |
H A D | MediaFile.java | 278 public static MediaFileType getFileType(String path) { argument 279 int lastDot = path.lastIndexOf("."); 282 return sFileTypeMap.get(path.substring(lastDot + 1).toUpperCase()); 292 public static String getFileTitle(String path) { argument 294 int lastSlash = path.lastIndexOf('/'); 297 if (lastSlash < path.length()) { 298 path = path.substring(lastSlash); 302 int lastDot = path.lastIndexOf('.'); 304 path 314 getMimeTypeForFile(String path) argument [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
H A D | ScreenshotTest.java | 82 NewScreenshotObserver(String path) { argument 83 super(path, FileObserver.CREATE); 91 public void onEvent(int event, String path) { argument 92 Log.d(LOG_TAG, String.format("Detected new file added %s", path)); 94 mAddedPath = path;
|
/frameworks/compile/llvm-ndk-cc/tests/ |
H A D | test.py | 23 if not os.path.isfile(Actual): 27 if not os.path.isfile(Expect): 44 ' -I{0}'.format(os.path.dirname(os.path.realpath(Filename)))) 177 if os.path.isdir(Arg): 186 if os.path.isdir(File) and (File[0:2] == 'F_' or File[0:2] == 'P_'): 190 if os.path.isdir(Dir):
|
/frameworks/base/cmds/installd/ |
H A D | installd.c | 263 if (android_system_dirs.dirs[i].path != NULL) { 264 free(android_system_dirs.dirs[i].path); 318 char *system_app_path = build_string2(android_system_dirs.dirs[0].path, APP_SUBDIR); 319 android_system_dirs.dirs[0].path = system_app_path; 324 android_system_dirs.dirs[1].path = "/vendor/app/"; 325 android_system_dirs.dirs[1].len = strlen(android_system_dirs.dirs[1].path); 335 snprintf(version_path, PATH_MAX, "%s.layout_version", android_data_dir.path); 344 char *user_data_dir = build_string2(android_data_dir.path, SECONDARY_USER_PREFIX); 346 char *legacy_data_dir = build_string2(android_data_dir.path, PRIMARY_USER_PREFIX); 348 char *primary_data_dir = build_string3(android_data_dir.path, SECONDARY_USER_PREFI [all...] |
/frameworks/base/tests/DumpRenderTree/assets/ |
H A D | run_layout_tests.py | 46 fp = open(os.path.abspath(filename), "r"); 126 diff_result = os.path.join(results_dir, "layout_tests_diff.txt") 127 if os.path.exists(diff_result): 133 DiffResults(f, os.path.join(results_dir, result_file_name), 134 os.path.join(ref_dir, result_file_name), diff_result, 155 path = '/'; 157 path = ' '.join(args); 166 generate_test_list_cmd_str = adb_cmd + " shell am instrument -e class com.android.dumprendertree.LayoutTestsAutoTest#generateTestList -e path \"" + path + "\" -w com.android.dumprendertree/.LayoutTestsAutoRunner" 187 run_layout_test_cmd_postfix = " -e path \"" [all...] |
/frameworks/native/cmds/dumpstate/ |
H A D | dumpstate.c | 414 char path[PATH_MAX], tmp_path[PATH_MAX]; local 420 strlcpy(path, use_outfile, sizeof(path)); 425 strlcat(path, date, sizeof(path)); 428 strlcpy(screenshot_path, path, sizeof(screenshot_path)); 431 strlcat(path, ".txt", sizeof(path)); 432 if (do_compress) strlcat(path, ".gz", sizeof(path)); [all...] |
/frameworks/base/core/java/android/net/ |
H A D | Uri.java | 99 and a path component that begins with two slash characters. The 105 <scheme>://<authority><path>?<query> 256 * Gets the decoded path. 258 * @return the decoded path, or null if this is not a hierarchical URI 264 * Gets the encoded path. 266 * @return the encoded path, or null if this is not a hierarchical URI 306 * Gets the decoded path segments. 308 * @return decoded path segments, each without a leading or trailing '/' 313 * Gets the decoded last segment in the path. 315 * @return the decoded last segment or null if the path i 585 private PathPart path; field in class:Uri.StringUri 1137 private final PathPart path; field in class:Uri.HierarchicalUri 1141 HierarchicalUri(String scheme, Part authority, PathPart path, Part query, Part fragment) argument 1319 private PathPart path; field in class:Uri.Builder 1383 path(PathPart path) argument 1399 path(String path) argument 1410 encodedPath(String path) argument [all...] |
/frameworks/av/media/libmedia/ |
H A D | Android.mk | 64 $(call include-path-for, graphics corecg) \ 67 $(call include-path-for, audio-effects) \ 68 $(call include-path-for, audio-utils)
|
/frameworks/base/tests/LowStorageTest/src/com/android/lowstoragetest/ |
H A D | LowStorageTest.java | 51 File path = Environment.getDataDirectory(); 52 StatFs stat = new StatFs(path.getPath()); 79 File path = Environment.getDataDirectory(); 80 StatFs stat = new StatFs(path.getPath()); 121 File path = Environment.getDataDirectory(); 122 StatFs stat = new StatFs(path.getPath());
|
/frameworks/compile/mclinker/lib/Support/ |
H A D | Space.cpp | 86 fatal(diag::err_cannot_read_small_file) << pHandler.path() 97 error(diag::err_cannot_read_file) << pHandler.path() << start << size; 114 fatal(diag::err_cannot_read_small_file) << pHandler.path() 124 error(diag::err_cannot_mmap_file) << pHandler.path() << start << size; 148 error(diag::err_cannot_munmap_file) << pHandler.path(); 165 error(diag::err_cannot_write_file) << pHandler.path()
|
/frameworks/base/services/java/com/android/server/ |
H A D | MountService.java | 186 /** Map from path to {@link StorageVolume} */ 189 /** Map from path to state */ 338 final String path; field in class:MountService.UnmountCallBack 343 UnmountCallBack(String path, boolean force, boolean removeEncryption) { argument 345 this.path = path; 351 if (DEBUG_UNMOUNT) Slog.i(TAG, "Unmounting " + path); 352 doUnmountVolume(path, true, removeEncryption); 359 UmsEnableCallBack(String path, String method, boolean force) { argument 360 super(path, forc 373 ShutdownCallBack(String path, IMountShutdownObserver observer) argument 618 doShareUnshareVolume(String path, String method, boolean enable) argument 858 notifyVolumeStateChange(String label, String path, int oldState, int newState) argument 925 doMountVolume(String path) argument 989 doUnmountVolume(String path, boolean force, boolean removeEncryption) argument 1031 doFormatVolume(String path) argument 1047 doGetVolumeShared(String path, String method) argument 1516 mountVolume(String path) argument 1523 unmountVolume(String path, boolean force, boolean removeEncryption) argument 1545 formatVolume(String path) argument 1552 getStorageUsers(String path) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | TextLayout.h | 74 jint bidiFlags, jfloat x, jfloat y, SkPath* path); 78 SkPath* path, SkCanvas* canvas); 84 int bidiFlags, jfloat x, jfloat y, SkPath* path);
|