/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/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 StructStatFs doStat(String path) { argument 44 return Libcore.os.statfs(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/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/libs/hwui/ |
H A D | PathCache.h | 35 PathCacheEntry(SkPath* path, SkPaint* paint): argument 37 this->path = path; 41 path = NULL; 46 LTE_INT(path) { 52 SkPath* path; member in struct:android::uirenderer::PathCacheEntry 57 * A simple LRU path cache. The cache has a maximum size expressed in bytes. 66 * Returns the texture associated with the specified path. If the texture 69 PathTexture* get(SkPath* path, SkPaint* paint); 73 void remove(SkPath* path); [all...] |
H A D | PathCache.cpp | 29 void computePathBounds(const SkPath* path, const SkPaint* paint, argument 31 const SkRect& bounds = path->getBounds(); 53 PathCache::PathCache(): ShapeCache<PathCacheEntry>("path", 57 void PathCache::remove(SkPath* path) { argument 61 if (mCache.getKeyAt(i).path == path) { 76 void PathCache::removeDeferred(SkPath* path) { argument 78 mGarbage.push(path); 90 PathTexture* PathCache::get(SkPath* path, SkPaint* paint) { argument 91 const SkPath* sourcePath = path [all...] |
/frameworks/base/media/java/android/media/ |
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/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/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 | 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/dumpstate/ |
H A D | dumpstate.h | 27 int dump_file(const char *title, const char* path); 39 pid_t redirect_to_file(FILE *redirect, char *path, int gzip_level); 57 void play_sound(const char* path);
|
/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
|
H A D | StorageEventListener.java | 34 * @param path the filesystem path for the storage 38 public void onStorageStateChanged(String path, String oldState, String newState) { argument
|
H A D | OnObbStateChangeListener.java | 80 * @param path path to the OBB file the state change has happened on 83 public void onObbStateChange(String path, int state) { argument
|
/frameworks/base/services/jni/ |
H A D | com_android_server_BatteryService.cpp | 136 static int readFromFile(const char* path, char* buf, size_t size) argument 138 if (!path) 140 int fd = open(path, O_RDONLY, 0); 142 ALOGE("Could not open '%s'", path); 159 static void setBooleanField(JNIEnv* env, jobject obj, const char* path, jfieldID fieldID) argument 165 if (readFromFile(path, buf, SIZE) > 0) { 173 static void setIntField(JNIEnv* env, jobject obj, const char* path, jfieldID fieldID) argument 179 if (readFromFile(path, buf, SIZE) > 0) { 185 static void setVoltageField(JNIEnv* env, jobject obj, const char* path, jfieldID fieldID) argument 191 if (readFromFile(path, bu 233 char path[PATH_MAX]; local [all...] |
/frameworks/base/cmds/installd/tests/ |
H A D | installd_utils_test.cpp | 52 android_app_dir.path = TEST_APP_DIR; 55 android_app_private_dir.path = TEST_APP_PRIVATE_DIR; 58 android_data_dir.path = TEST_DATA_DIR; 61 android_asec_dir.path = TEST_ASEC_DIR; 67 android_system_dirs.dirs[0].path = TEST_SYSTEM_DIR1; 70 android_system_dirs.dirs[1].path = TEST_SYSTEM_DIR2; 83 << badprefix1 << " should be allowed as a valid path"; 87 << badprefix2 << " should be allowed as a valid path"; 91 << badprefix3 << " should be allowed as a valid path"; 95 << badprefix4 << " should be allowed as a valid path"; 263 char path[PKG_PATH_MAX]; local 281 char path[PKG_PATH_MAX]; local 294 char path[PKG_PATH_MAX]; local 307 char path[PKG_PATH_MAX]; local 317 char path[PKG_PATH_MAX]; local 327 char path[PKG_PATH_MAX]; local 341 char path[PKG_PATH_MAX]; local 351 char path[PKG_PATH_MAX]; local 361 char path[PKG_PATH_MAX]; local 371 char path[PKG_PATH_MAX]; local 378 char path[PKG_PATH_MAX]; local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | PathMeasure.java | 24 * of a path, and/or to find the position and tangent along it, call 27 * Note that once a path is associated with the measure object, it is 28 * undefined if the path is subsequently modified and the the measure object 29 * is used. If the path is modified, you must call setPath with the path. 37 * Create a PathMeasure object associated with the specified path object 39 * path's length, and the position and tangent of any position along the 40 * path. 42 * Note that once a path is associated with the measure object, it is 43 * undefined if the path i 50 PathMeasure(Path path, boolean forceClosed) argument 60 setPath(Path path, boolean forceClosed) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | CacheUpdater.h | 30 // Make sure all the directories along this path exist 31 virtual void ensureDirectoriesExist(String8 path) = 0; 34 virtual void deleteFile(String8 path) = 0; 52 // Make sure all the directories along this path exist 53 virtual void ensureDirectoriesExist(String8 path) argument 55 // Check to see if we're dealing with a fully qualified path 62 // If something in the path doesn't exist, then walk the path backwards 64 if (stat(path.string(),&s) == -1) { 66 existsPath = path; 89 deleteFile(String8 path) argument [all...] |
/frameworks/base/tests/DumpRenderTree2/assets/ |
H A D | run_apache2.py | 42 tmp_WebKit = os.path.join("/tmp", "WebKit") 43 if not os.path.exists(tmp_WebKit): 46 # Get the path to android tree root based on the script location. 49 script_location = os.path.abspath(os.path.dirname(sys.argv[0])) 50 android_tree_root = os.path.join(script_location, parent, parent, parent, parent, parent) 51 android_tree_root = os.path.normpath(android_tree_root) 54 webkit_path = os.path.join("external", "webkit") 57 layout_tests_path = os.path.normpath(os.path [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/compile/mclinker/unittests/ |
H A D | FileHandleTest.cpp | 48 mcld::sys::fs::Path path(TOPDIR); 49 path.append("unittests/test.txt"); 50 ASSERT_TRUE(m_pTestee->open(path, FileHandle::ReadOnly)); 64 mcld::sys::fs::Path path(TOPDIR); 65 path.append("unittests/test.txt"); 67 int fd = ::open(path.native().c_str(), O_RDONLY); 88 mcld::sys::fs::Path path(TOPDIR); 89 path.append("unittests/test.txt"); 90 ASSERT_TRUE(m_pTestee->open(path, FileHandle::ReadOnly));
|
/frameworks/base/libs/androidfw/ |
H A D | InputDevice.cpp | 43 static void appendInputDeviceConfigurationFileRelativePath(String8& path, argument 45 path.append(CONFIGURATION_FILE_DIR[type]); 51 path.append(&ch, 1); 53 path.append(CONFIGURATION_FILE_EXTENSION[type]); 89 String8 path; local 90 path.setTo(getenv("ANDROID_ROOT")); 91 path.append("/usr/"); 92 appendInputDeviceConfigurationFileRelativePath(path, name, type); 94 ALOGD("Probing for system provided input device configuration file: path='%s'", path [all...] |
/frameworks/av/media/libeffects/visualizer/ |
H A D | Android.mk | 19 $(call include-path-for, graphics corecg) \ 20 $(call include-path-for, audio-effects)
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | FileList.java | 57 String path = (String)map.get("path"); 58 if ((new File(path)).isDirectory()) { 59 mPath = path; 63 processFile(path, false); 87 addItem(myData, "!LayoutTests path missing!", ""); 97 String path = sb.toString(); 98 File c = new File(path); 101 addItem(myData, "<"+files[i]+">", path); 106 addItem(myData, files[i], path); 113 addItem(List<Map> data, String name, String path) argument 158 processDirectory(String path, boolean selection) argument [all...] |