Searched defs:path (Results 126 - 150 of 317) sorted by relevance

1234567891011>>

/frameworks/base/cmds/idmap/
H A Dinspect.cpp101 printe("failed to read next path: buffer not initialized\n");
105 printe("failed to read next path: end of buffer reached at pos=0x%08x\n", pos_);
169 char path[PATH_LENGTH]; local
203 err = buf.nextPath(path);
208 print_path("", "base path", "%s", path);
210 if (!am.addAssetPath(String8(path), NULL)) {
211 printe("failed to add '%s' as asset path\n", path);
215 err = buf.nextPath(path);
[all...]
H A Dscan.cpp60 String8 flatten_path(const char *path) argument
62 String16 tmp(path);
67 int mkdir_p(const String8& path, uid_t uid, gid_t gid) argument
73 if (stat(path.string(), &st) == 0) {
76 if (mkdir_p(path.getPathDir(), uid, gid) < 0) {
79 if (mkdir(path.string(), 0755) != 0) {
82 if (chown(path.string(), uid, gid) == -1) {
85 if (chmod(path.string(), mode) == -1) {
144 int parse_apk(const char *path, const char *target_package_name) argument
146 UniquePtr<ZipFileRO> zip(ZipFileRO::open(path));
[all...]
/frameworks/base/core/java/android/animation/
H A DObjectAnimator.java74 * will cause the code to take an optimized path for these constrained circumstances. Other
237 * @param path The <code>Path</code> to animate values along.
238 * @return An ObjectAnimator object that is set up to animate along <code>path</code>.
241 Path path) {
242 PathKeyframes keyframes = KeyframeSet.ofPath(path);
278 * @param path The <code>Path</code> to animate values along.
279 * @return An ObjectAnimator object that is set up to animate along <code>path</code>.
282 Property<T, Integer> yProperty, Path path) {
283 PathKeyframes keyframes = KeyframeSet.ofPath(path);
324 * @param path Th
240 ofInt(Object target, String xPropertyName, String yPropertyName, Path path) argument
281 ofInt(T target, Property<T, Integer> xProperty, Property<T, Integer> yProperty, Path path) argument
327 ofMultiInt(Object target, String propertyName, Path path) argument
434 ofFloat(Object target, String xPropertyName, String yPropertyName, Path path) argument
476 ofFloat(T target, Property<T, Float> xProperty, Property<T, Float> yProperty, Path path) argument
523 ofMultiFloat(Object target, String propertyName, Path path) argument
598 ofObject(Object target, String propertyName, @Nullable TypeConverter<PointF, ?> converter, Path path) argument
675 ofObject(T target, @NonNull Property<T, V> property, @Nullable TypeConverter<PointF, V> converter, Path path) argument
[all...]
/frameworks/base/core/java/android/app/backup/
H A DBackupAgent.java466 if (DEBUG) Log.w(TAG, "Error canonicalizing path of " + file);
482 * operation. The agent is given the path to the file's original location as well
518 int type, String domain, String path, long mode, long mtime)
523 + " domain=" + domain + " relpath=" + path + " mode=" + mode
555 // Canonicalize the nominal path and verify that it lies within the stated domain
556 File outFile = new File(basePath, path);
559 if (DEBUG) Log.i(TAG, "[" + domain + " : " + path + "] mapped to " + outPath);
563 // Attempt to restore to a path outside the file's nominal domain.
570 // Not a supported output location, or bad path: we need to consume the data
573 if (DEBUG) Log.i(TAG, "[ skipping file " + path
517 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
717 doRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument
[all...]
/frameworks/base/core/java/android/hardware/usb/
H A DUsbManager.java460 * Sets the file path for USB mass storage backing file.
462 * @param path backing file path
466 public void setMassStorageBackingFile(String path) { argument
468 mService.setMassStorageBackingFile(path);
/frameworks/base/core/java/android/net/http/
H A DRequest.java59 /** The path component of this request */
101 * @param path path part of URI
108 Request(String method, HttpHost host, HttpHost proxyHost, String path, argument
115 mPath = path;
/frameworks/base/core/java/android/os/
H A DFileUtils.java74 public static int setPermissions(File path, int mode, int uid, int gid) { argument
75 return setPermissions(path.getAbsolutePath(), mode, uid, gid);
79 * Set owner and mode of of given path.
86 public static int setPermissions(String path, int mode, int uid, int gid) { argument
88 Os.chmod(path, mode);
90 Slog.w(TAG, "Failed to chmod(" + path + "): " + e);
96 Os.chown(path, uid, gid);
98 Slog.w(TAG, "Failed to chown(" + path + "): " + e);
135 * Return owning UID of given path, otherwise -1.
137 public static int getUid(String path) { argument
490 rewriteAfterRename(File beforeDir, File afterDir, String path) argument
[all...]
/frameworks/base/core/java/android/util/
H A DPathParser.java30 * @param pathData The string representing a path, the same as "d" string in svg file.
34 Path path = new Path();
38 PathDataNode.nodesToPath(nodes, path);
42 return path;
48 * @param pathData The string representing a path, the same as "d" string in svg file.
92 * @param nodesFrom The source path represented in an array of PathDataNode
93 * @param nodesTo The target path represented in an array of PathDataNode
118 * @param target The target path represented in an array of PathDataNode
119 * @param source The source path represented in an array of PathDataNode
135 // Note that 'e' or 'E' are not valid path command
282 nodesToPath(PathDataNode[] node, Path path) argument
308 addCommand(Path path, float[] current, char previousCmd, char cmd, float[] val) argument
[all...]
/frameworks/base/core/java/com/android/internal/content/
H A DNativeLibraryHelper.java100 final String path = codePaths.get(i);
101 apkHandles[i] = nativeOpenApk(path);
107 throw new IOException("Unable to open APK: " + path);
144 private static native long nativeOpenApk(String path); argument
256 private static void createNativeLibrarySubdir(File path) throws IOException { argument
257 if (!path.isDirectory()) {
258 path.delete();
260 if (!path.mkdir()) {
261 throw new IOException("Cannot create " + path.getPath());
265 Os.chmod(path
[all...]
/frameworks/base/core/jni/android/graphics/
H A DPathMeasure.cpp25 client to be sure not to edit the path while we have an active measure
28 This costs us the copy of the path, for the sake of not allowing a bad
30 native path has been modified).
33 later changes this, and is internally safe from changes to the path, then
36 Note that we do not have a reference on the java side to the java path.
38 reference, so that the java path would not get GD'd while the measure object
43 PathMeasurePair(const SkPath& path, bool forceClosed) argument
44 : fPath(path), fMeasure(fPath, forceClosed) {}
46 SkPath fPath; // copy of the user's path
57 const SkPath* path local
70 const SkPath* path = reinterpret_cast<SkPath*>(pathHandle); local
[all...]
/frameworks/base/core/jni/
H A Dandroid_media_JetPlayer.cpp129 android_media_JetPlayer_loadFromFile(JNIEnv *env, jobject thiz, jstring path) argument
142 const char *pathStr = env->GetStringUTFChars(path, NULL);
150 env->ReleaseStringUTFChars(path, pathStr);
H A Dcom_android_internal_net_NetworkStatsFactory.cpp97 jstring path, jint limitUid, jobjectArray limitIfacesObj, jint limitTag) {
98 ScopedUtfChars path8(env, path);
96 readNetworkStatsDetail(JNIEnv* env, jclass clazz, jobject stats, jstring path, jint limitUid, jobjectArray limitIfacesObj, jint limitTag) argument
/frameworks/base/core/tests/coretests/src/android/net/
H A DUriTest.java37 // Not a valid path, but this came from a user's test case.
38 builder.path("//foo");
50 .path("/rss/")
143 .path("/test/")
414 String path, String query, String fragment) {
420 if (path != null) {
421 sb.append(path);
442 uriString, ssp, uri, scheme, authority, path, query, fragment);
444 uriString, ssp, uri, scheme, authority, path, query, fragment);
451 uriString, ssp, uri, scheme, authority, path, quer
413 testHierarchical(String scheme, String authority, String path, String query, String fragment) argument
495 compareHierarchical(String uriString, String ssp, Uri uri, String scheme, String authority, String path, String query, String fragment) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DTypeface.java179 * @param path The file name of the font data in the assets directory
182 public static Typeface createFromAsset(AssetManager mgr, String path) { argument
185 if (fontFamily.addFontFromAsset(mgr, path)) {
190 throw new RuntimeException("Font asset not found " + path);
196 * @param path The path to the font data.
199 public static Typeface createFromFile(File path) { argument
200 return createFromFile(path.getAbsolutePath());
206 * @param path The full path t
209 createFromFile(String path) argument
[all...]
/frameworks/base/include/androidfw/
H A DAssetManager.h95 * added asset path will be examined first when searching for assets,
102 bool addAssetPath(const String8& path, int32_t* cookie);
103 bool addOverlayPath(const String8& path, int32_t* cookie);
121 * Return an asset path in the manager. 'which' must be between 0 and
161 * path hierarchy, and will not be seen by "AssetDir" or included
185 * Open a directory within a particular path of the asset manager.
239 String8 path; member in struct:android::AssetManager::asset_path
245 const asset_path& path);
247 const asset_path& path);
249 const asset_path& path, cons
[all...]
/frameworks/base/libs/hwui/
H A DDisplayListRenderer.h95 virtual bool clipPath(const SkPath* path, SkRegion::Op op);
139 virtual status_t drawPath(const SkPath* path, const SkPaint* paint);
147 virtual status_t drawTextOnPath(const char* text, int bytesCount, int count, const SkPath* path,
200 inline const SkPath* refPath(const SkPath* path) { argument
201 if (!path) return NULL;
203 const SkPath* pathCopy = mPathMap.valueFor(path);
204 if (pathCopy == NULL || pathCopy->getGenerationID() != path->getGenerationID()) {
205 SkPath* newPathCopy = new SkPath(*path);
206 newPathCopy->setSourcePath(path);
210 mPathMap.replaceValueFor(path, pathCop
[all...]
H A DStatefulBaseRenderer.cpp159 SkPath path; local
160 path.addRect(left, top, right, bottom);
162 return StatefulBaseRenderer::clipPath(&path, op);
165 bool StatefulBaseRenderer::clipPath(const SkPath* path, SkRegion::Op op) { argument
170 path->transform(transform, &transformed);
187 // region is the transformed input path, masked by the previous clip
/frameworks/base/media/java/android/media/
H A DMediaExtractor.java121 * Sets the data source (file-path or http URL) to use.
123 * @param path the path of the file, or the http URL
126 public final void setDataSource(String path, Map<String, String> headers) argument
144 MediaHTTPService.createHttpServiceBinderIfNecessary(path),
145 path,
152 String path,
157 * Sets the data source (file-path or http URL) to use.
159 * @param path the path o
150 nativeSetDataSource( IBinder httpServiceBinder, String path, String[] keys, String[] values) argument
168 setDataSource(String path) argument
[all...]
H A DMediaMetadataRetriever.java59 * @param path The path of the input media file.
60 * @throws IllegalArgumentException If the path is invalid.
62 public void setDataSource(String path) throws IllegalArgumentException { argument
63 if (path == null) {
69 is = new FileInputStream(path);
H A DMediaMuxer.java112 * Creates a media muxer that writes to the specified path.
113 * @param path The path of the output media file.
118 public MediaMuxer(String path, int format) throws IOException { argument
119 if (path == null) {
120 throw new IllegalArgumentException("path must not be null");
130 file = new RandomAccessFile(path, "rws");
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpServer.cpp140 jstring path = (jstring)env->GetObjectField(jstorage, field_MtpStorage_path); local
146 const char *pathStr = env->GetStringUTFChars(path, NULL);
153 env->ReleaseStringUTFChars(path, pathStr);
156 env->ReleaseStringUTFChars(path, pathStr);
/frameworks/base/media/jni/soundpool/
H A Dandroid_media_SoundPool_SoundPoolImpl.cpp49 android_media_SoundPool_SoundPoolImpl_load_URL(JNIEnv *env, jobject thiz, jstring path, jint priority) argument
53 if (path == NULL) {
57 const char* s = env->GetStringUTFChars(path, NULL);
59 env->ReleaseStringUTFChars(path, s);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardMultiUserAvatar.java114 protected String rewriteIconPath(String path) { argument
115 return path;
/frameworks/base/services/core/java/com/android/server/
H A DDropBoxManagerService.java135 * @param path to store drop box entries in
137 public DropBoxManagerService(final Context context, File path) { argument
138 mDropBoxDir = path;
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DMountServiceTests.java62 private String path; field in class:MountServiceTests.ObbObserver
68 public void onObbStateChange(String path, int state) { argument
69 Log.d(TAG, "Received message. path=" + path + ", state=" + state);
71 this.path = path;
80 return path;
89 this.path = null;
224 assertTrue("OBB mounted path should be a directory",
241 assertNull("OBB's mounted path shoul
[all...]

Completed in 471 milliseconds

1234567891011>>