/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
H A D | MeasurementUtils.java | 24 public static long measureDirectory(String path) { argument 25 return native_measureDirectory(path); 28 private native static long native_measureDirectory(String path); argument
|
/frameworks/base/media/java/android/media/ |
H A D | MediaHTTPService.java | 33 String path) { 34 if (path.startsWith("http://") 35 || path.startsWith("https://") 36 || path.startsWith("widevine://")) { 32 createHttpServiceBinderIfNecessary( String path) argument
|
H A D | IMediaScannerService.aidl | 28 * @param path the path to the file to be scanned. 34 void requestScanFile(String path, String mimeType, in IMediaScannerListener listener); 39 * @param path the path to the file to be scanned. 43 void scanFile(String path, String mimeType);
|
H A D | IMediaScannerListener.aidl | 28 * @param path the path to the file that has been scanned. 32 void scanCompleted(String path, in Uri uri);
|
/frameworks/compile/libbcc/tests/debuginfo/ |
H A D | llvm-lit | 7 # to determine correct path for the root of the source tree. 10 llvm_source_root = os.path.join(android_source_root, 'external', 'llvm') 11 libbcc_source_root = os.path.join(android_source_root, 'frameworks', 'compile', 15 sys.path.append(os.path.join(llvm_source_root, 'utils', 'lit')) 20 'llvm_site_config' : os.path.join(libbcc_source_root, 'test', 'debuginfo',
|
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteDatabaseConfiguration.java | 44 * Special path used by in-memory databases. 49 * The database path. 51 public final String path; field in class:SQLiteDatabaseConfiguration 55 * This is derived from the path but is stripped to remove PII. 96 * @param path The database path. 99 public SQLiteDatabaseConfiguration(String path, int openFlags) { argument 100 if (path == null) { 101 throw new IllegalArgumentException("path must not be null."); 104 this.path 159 stripPathForLogs(String path) argument [all...] |
/frameworks/base/tools/aapt2/ |
H A D | Source.h | 33 std::string path; member in struct:aapt::Source 38 inline Source(const StringPiece& path) : path(path.toString()) { argument 41 inline Source(const StringPiece& path, size_t line) : path(path.toString()), line(line) { argument 45 return Source(path, line); 54 out << source.path; 62 return lhs.path [all...] |
/frameworks/support/v4/kitkat/android/support/v4/os/ |
H A D | EnvironmentCompatKitKat.java | 24 public static String getStorageState(File path) { argument 25 return Environment.getStorageState(path);
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
H A D | PathTest.java | 27 Path path = new Path(); 29 final Path.FillType defaultFillType = path.getFillType(); 33 path.setFillType(fillType); 34 path.reset(); 35 assertEquals(path.getFillType(), fillType);
|
/frameworks/base/core/java/android/os/ |
H A D | StatFs.java | 32 * {@code path}. Upon construction, the stat of the file system will be 36 * @param path path in the desired file system to stat. 38 public StatFs(String path) { argument 39 mStat = doStat(path); 42 private static StructStatVfs doStat(String path) { argument 44 return Os.statvfs(path); 46 throw new IllegalArgumentException("Invalid path: " + path, e); 52 * the same as re-constructing the object with the same file system path, 55 restat(String path) argument [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | PathDestructionActivity.java | 31 * scheme in particular, because we should be able to have the Java-level path finalized 32 * without destroying the underlying native path object until we are done referencing it 64 Path path = new Path(); 65 path.moveTo(left, top); 66 path.lineTo(right, top); 67 path.lineTo(right, bottom); 68 path.lineTo(left, bottom); 69 path.close(); 70 return path; 82 Path path; [all...] |
H A D | PathsCacheActivity.java | 50 Path path = new Path(); 51 buildPath(path); 52 return path; 55 private static void buildPath(Path path) { argument 56 path.moveTo(0.0f, 0.0f); 57 path.cubicTo(0.0f, 0.0f, 100.0f, 150.0f, 100.0f, 200.0f); 58 path.cubicTo(100.0f, 200.0f, 50.0f, 300.0f, -80.0f, 200.0f); 59 path.cubicTo(-80.0f, 200.0f, 100.0f, 200.0f, 200.0f, 0.0f); 63 Path path = new Path(); 64 buildLargePath(path); 68 buildLargePath(Path path) argument [all...] |
H A D | TextPathActivity.java | 61 Path path = new Path(); 64 drawTextAsPath(canvas, "Hello", path); 67 drawTextAsPath(canvas, "OpenGL", path); 70 private void drawTextAsPath(Canvas canvas, String text, Path path) { argument 72 mHugePaint.getTextPath(text, 0, count, 0, 0, path); 73 path.close(); 74 canvas.drawPath(path, mHugePaint);
|
/frameworks/native/cmds/installd/ |
H A D | globals.cpp | 54 if (android_system_dirs.dirs[i].path != NULL) { 55 free(android_system_dirs.dirs[i].path); 122 android_system_dirs.dirs[0].path = build_string2(android_root_dir.path, APP_SUBDIR); 123 android_system_dirs.dirs[0].len = strlen(android_system_dirs.dirs[0].path); 125 android_system_dirs.dirs[1].path = build_string2(android_root_dir.path, PRIV_APP_SUBDIR); 126 android_system_dirs.dirs[1].len = strlen(android_system_dirs.dirs[1].path); 128 android_system_dirs.dirs[2].path = strdup("/vendor/app/"); 129 android_system_dirs.dirs[2].len = strlen(android_system_dirs.dirs[2].path); [all...] |
H A D | installd_deps.h | 39 // Compute the output path for dex2oat. 40 extern bool calculate_oat_file_path(char path[PKG_PATH_MAX], 44 // Compute the output path for patchoat. 49 // Returns false if it failed to determine the odex file path. 51 extern bool calculate_odex_file_path(char path[PKG_PATH_MAX], 55 // Compute the output path into the dalvik cache. 56 extern bool create_cache_path(char path[PKG_PATH_MAX],
|
/frameworks/base/core/java/android/os/storage/ |
H A D | MountServiceListener.java | 36 * @param path The volume mount path. 42 void onStorageStateChange(String path, String oldState, String newState) { argument
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | SerialService.java | 42 String path = mSerialPorts[i]; 43 if (new File(path).exists()) { 44 ports.add(path); 52 public ParcelFileDescriptor openSerialPort(String path) { argument 55 if (mSerialPorts[i].equals(path)) { 56 return native_open(path); 59 throw new IllegalArgumentException("Invalid serial port " + path); 62 private native ParcelFileDescriptor native_open(String path); argument
|
/frameworks/base/tools/aapt/ |
H A D | CacheUpdater.h | 35 // Make sure all the directories along this path exist 36 virtual void ensureDirectoriesExist(String8 path) = 0; 39 virtual void deleteFile(String8 path) = 0; 57 // Make sure all the directories along this path exist 58 virtual void ensureDirectoriesExist(String8 path) argument 60 // Check to see if we're dealing with a fully qualified path 67 // If something in the path doesn't exist, then walk the path backwards 69 if (stat(path.string(),&s) == -1) { 71 existsPath = path; 94 deleteFile(String8 path) argument [all...] |
/frameworks/support/v4/donut/android/support/v4/view/animation/ |
H A D | PathInterpolatorDonut.java | 24 * A path interpolator implementation compatible with API 4+. 36 public PathInterpolatorDonut(Path path) { argument 37 final PathMeasure pathMeasure = new PathMeasure(path, false /* forceClosed */); 99 final Path path = new Path(); 100 path.moveTo(0.0f, 0.0f); 101 path.quadTo(controlX, controlY, 1.0f, 1.0f); 102 return path; 107 final Path path = new Path(); 108 path.moveTo(0.0f, 0.0f); 109 path [all...] |
/frameworks/base/packages/Keyguard/scripts/ |
H A D | new_merge.py | 14 def executable(path): 15 return os.path.isfile(path) and os.access(path, os.X_OK) 17 path, file = os.path.split(program) 18 if path and executable(program): 21 for path in os.environ["PATH"].split(os.pathsep): 22 exe = os.path.join(path, progra [all...] |
/frameworks/compile/mclinker/lib/MC/ |
H A D | SearchDirs.cpp | 52 if (exists(dir->path()) && is_directory(dir->path())) { 98 if (file == entry.path()->filename().native()) 99 return entry.path(); 106 if (file == entry.path()->stem().native()) { 108 entry.path()->extension().native()) { 109 return entry.path(); 120 if (file == entry.path()->stem().native() && 122 entry.path()->extension().native()) { 123 return entry.path(); [all...] |
/frameworks/compile/mclinker/lib/Script/ |
H A D | GroupCmd.cpp | 95 sys::fs::Path path; local 101 path = script.sysroot(); 102 path.append(token->name()); 105 path.assign(token->name()); 106 if (!sys::fs::exists(path)) { 107 // 3. Search through the library search path 111 path = *p; 115 if (!sys::fs::exists(path)) 116 fatal(diag::err_cannot_open_input) << path.filename() << path; 123 const sys::fs::Path* path = NULL; local [all...] |
/frameworks/av/media/libmedia/ |
H A D | MediaScanner.cpp | 69 char * path = strtok(skipList, ","); local 71 while (path) { 72 mSkipIndex[i++] = strlen(path); 73 path = strtok(NULL, ","); 82 const char *path, MediaScannerClient &client) { 83 int pathLength = strlen(path); 93 strcpy(pathBuffer, path); 109 bool MediaScanner::shouldSkipDirectory(char *path) { argument 110 if (path && mSkipList && mSkipIndex) { 111 int len = strlen(path); 81 processDirectory( const char *path, MediaScannerClient &client) argument 131 doProcessDirectory( char *path, int pathRemaining, MediaScannerClient &client, bool noMedia) argument 172 doProcessDirectoryEntry( char *path, int pathRemaining, MediaScannerClient &client, bool noMedia, struct dirent* entry, char* fileSpot) argument [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | OrientedBoundingBox.java | 56 Path path = new Path(); 64 path.moveTo(point[0], point[1]); 69 path.lineTo(point[0], point[1]); 74 path.lineTo(point[0], point[1]); 79 path.lineTo(point[0], point[1]); 81 path.close(); 83 return path;
|
/frameworks/base/tools/aapt2/util/ |
H A D | Files.h | 53 FileType getFileType(const StringPiece& path); 62 * Appends a path to `base`, separated by the directory separator. 67 * Makes all the directories in `path`. The last element in the path 70 bool mkdirs(const StringPiece& path); 73 * Returns all but the last part of the path. 75 StringPiece getStem(const StringPiece& path); 78 * Returns the last part of the path with extension. 80 StringPiece getFilename(const StringPiece& path); 83 * Returns the extension of the path [all...] |