Searched refs:path (Results 1 - 25 of 456) sorted by relevance

1234567891011>>

/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DMeasurementUtils.java24 public static long measureDirectory(String path) { argument
25 return native_measureDirectory(path);
28 private native static long native_measureDirectory(String path); argument
/frameworks/compile/libbcc/tests/debuginfo/
H A Dllvm-lit7 # 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 DSQLiteDatabaseConfiguration.java44 * 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/media/java/android/media/
H A DIMediaScannerService.aidl28 * @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 DIMediaScannerListener.aidl28 * @param path the path to the file that has been scanned.
32 void scanCompleted(String path, in Uri uri);
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DPathTest.java27 Path path = new Path();
29 final Path.FillType defaultFillType = path.getFillType();
33 path.setFillType(fillType);
34 path.reset();
35 assertEquals(path.getFillType(), fillType);
/frameworks/av/media/libmedia/
H A DMediaScanner.cpp69 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 DPathDestructionActivity.java31 * 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 DPathsCacheActivity.java50 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 DTextPathActivity.java61 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/base/core/java/android/os/storage/
H A DMountServiceListener.java36 * @param path The volume mount path.
42 void onStorageStateChange(String path, String oldState, String newState) { argument
H A DStorageEventListener.java34 * @param path the filesystem path for the storage
38 public void onStorageStateChanged(String path, String oldState, String newState) { argument
H A DOnObbStateChangeListener.java80 * @param path path to the OBB file the state change has happened on
83 public void onObbStateChange(String path, int state) { argument
/frameworks/native/cmds/installd/tests/
H A Dinstalld_utils_test.cpp52 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 DPathMeasure.java24 * 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/services/java/com/android/server/
H A DSerialService.java42 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 DCacheUpdater.h30 // 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/packages/Keyguard/scripts/
H A Dnew_merge.py14 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/base/core/java/android/gesture/
H A DOrientedBoundingBox.java56 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/core/java/android/os/
H A DStatFs.java32 * {@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 Libcore.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/compile/mclinker/unittests/
H A DFileHandleTest.cpp46 mcld::sys::fs::Path path(TOPDIR);
47 path.append("unittests/test.txt");
48 ASSERT_TRUE(m_pTestee->open(path, FileHandle::ReadOnly));
63 mcld::sys::fs::Path path(TOPDIR);
64 path.append("unittests/test.txt");
66 int fd = ::open(path.native().c_str(), O_RDONLY);
87 mcld::sys::fs::Path path(TOPDIR);
88 path.append("unittests/test.txt");
89 ASSERT_TRUE(m_pTestee->open(path, FileHandle::ReadOnly));
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.h31 int dump_file(const char *title, const char* path);
43 pid_t redirect_to_file(FILE *redirect, char *path, int gzip_level);
64 void play_sound(const char* path);
/frameworks/native/libs/input/
H A DInputDevice.cpp43 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 DAndroid.mk20 $(call include-path-for, graphics corecg) \
21 $(call include-path-for, audio-effects)
/frameworks/base/core/jni/
H A Dandroid_os_FileUtils.cpp36 jint android_os_FileUtils_getFatVolumeId(JNIEnv* env, jobject clazz, jstring path) argument
38 if (path == NULL) {
42 const char *pathStr = env->GetStringUTFChars(path, NULL);
53 env->ReleaseStringUTFChars(path, pathStr);

Completed in 1053 milliseconds

1234567891011>>