/frameworks/wilhelm/tests/ |
H A D | mimeUri_test.cpp | 99 void TestPlayUri( SLObjectItf sl, const char* path) argument 147 uri.URI = (SLchar*) path;
|
/frameworks/wilhelm/tests/sandbox/streamSource/ |
H A D | slesTestPlayStream.cpp | 180 void TestPlayStream( SLObjectItf sl, const char* path) argument 205 file = fopen(path, "rb"); 388 fprintf(stdout, "Usage: %s path.ts\n", argv[0]);
|
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/ |
H A D | ParameterManagerWrapper.cpp | 283 string path = ""; local 307 status_t ParameterManagerWrapper::loadAudioPolicyCriteriaConfig(const char *path) argument 309 ALOG_ASSERT(path != NULL, "error in parsing file: empty path"); 313 data = (char *)load_file(path, NULL);
|
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyEffects.cpp | 719 status_t AudioPolicyEffects::loadAudioEffectConfig(const char *path) argument 724 data = (char *)load_file(path, NULL);
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.h | 77 String8 path; member in struct:android::BootAnimation::Animation::Part
|
/frameworks/base/core/java/android/accessibilityservice/ |
H A D | GestureDescription.java | 97 * Return the smallest key point (where a path starts or ends) that is at least a specified 151 StrokeDescription path = paths.get(i); 152 latestEnd = Math.max(latestEnd, path.mEndTime); 167 * added to a gesture, and the total gesture duration (earliest path start time to latest 168 * path end time) may not exceed {@link GestureDescription#getMaxGestureDuration()}. 218 * @param path The path to follow. Must have exactly one contour. The bounds of the path 219 * must not be negative. The path must not be empty. If the path ha 226 StrokeDescription(@onNull Path path, @IntRange(from = 0) long startTime, @IntRange(from = 0) long duration) argument 244 StrokeDescription(@onNull Path path, @IntRange(from = 0) long startTime, @IntRange(from = 0) long duration, boolean willContinue) argument 333 continueStroke(Path path, long startTime, long duration, boolean willContinue) argument [all...] |
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupAgent.java | 517 * If so, perform a {@link #fullBackupFileTree} which backs up the file or recurses if the path 722 // For all other verification, look at the canonicalized path 744 if (DEBUG) Log.w(TAG, "Error canonicalizing path of " + file); 746 Log.v(FullBackup.TAG_XML_PARSER, "Error canonicalizing path of " + file); 776 * operation. The agent is given the path to the file's original location as well 847 // Rather than figure out the <include/> domain based on the path (a lot of code, and 902 int type, String domain, String path, long mode, long mtime) 907 + " domain=" + domain + " relpath=" + path + " mode=" + mode 917 // Canonicalize the nominal path and verify that it lies within the stated domain 918 File outFile = new File(basePath, path); 901 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument 1129 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/os/storage/ |
H A D | StorageVolume.java | 122 public StorageVolume(String id, File path, File internalPath, String description, argument 126 mPath = Preconditions.checkNotNull(path); 160 * Returns the mount path for the volume. 162 * @return the mount path 170 * Returns the path of the underlying filesystem. 172 * @return the internal path
|
/frameworks/base/core/java/android/view/ |
H A D | DisplayCutout.java | 328 Path path = new Path(); 329 path.reset(); 330 path.moveTo(left, top); 331 path.lineTo(left, bottom); 332 path.lineTo(right, bottom); 333 path.lineTo(right, top); 334 path.close(); 335 return fromBounds(path); 343 public static DisplayCutout fromBounds(Path path) { argument 345 path [all...] |
/frameworks/base/core/java/android/view/textclassifier/ |
H A D | TextClassifierImplNative.java | 46 * a file path. 48 TextClassifierImplNative(String path) { argument 49 mModelPtr = nativeNewFromPath(path); 274 private static native long nativeNewFromPath(String path); argument
|
/frameworks/base/core/jni/ |
H A D | android_graphics_drawable_AnimatedVectorDrawable.cpp | 117 VectorDrawable::Path* path = reinterpret_cast<VectorDrawable::Path*>(nativePtr); local 120 PathDataPropertyValuesHolder* newHolder = new PathDataPropertyValuesHolder(path,
|
/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | UriTest.java | 37 // Not a valid path, but this came from a user's test case. 38 builder.path("//foo"); 50 .path("/rss/") 143 .path("/test/") 191 uri = Uri.parse("http://a:a@example.com:a@example2.com/path"); 195 assertEquals("/path", uri.getPath()); 197 uri = Uri.parse("http://a.foo.com\\.example.com/path"); 200 assertEquals("\\.example.com/path", uri.getPath()); 425 String path, String query, String fragment) { 431 if (path ! 424 testHierarchical(String scheme, String authority, String path, String query, String fragment) argument 506 compareHierarchical(String uriString, String ssp, Uri uri, String scheme, String authority, String path, String query, String fragment) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | StorageManagerBaseTest.java | 78 * @param obbFilePath path to the OBB image file 79 * @param pathToContentsFile path to a file on the mounted OBB volume to open after the OBB 85 assertTrue("path to contents file cannot be null!", pathToContentsFile != null); 97 // the official OBB file path and the mount-request file path should be the same, but 137 * Returns the official path of the OBB file that was mounted 139 * This is not the mount path, but the normalized path to the actual OBB file 141 * @return a {@link String} representation of the path to the OBB file that was mounted 168 public void onObbStateChange(String path, in argument 437 doValidateIntContents(String path, String filename, int start, int end) argument 467 doValidateTextContents(String path, String filename, String contents) argument 502 doValidateZeroLongFile(String path, String filename, long size, boolean checkContents) argument [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Region.java | 107 * Set the region to the area described by the path and clip. 109 * that is identical to the pixels that would be drawn by the path 112 public boolean setPath(Path path, Region clip) { argument 113 return nativeSetPath(mNativeRegion, path.readOnlyNI(), clip.mNativeRegion); 154 * the path will also be empty. 157 Path path = new Path(); 158 nativeGetBoundaryPath(mNativeRegion, path.mutateNI()); 159 return path; 163 * Set the path to the boundary of the region. If the region is empty, the 164 * path wil 166 getBoundaryPath(Path path) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | ClipArea.cpp | 232 void ClipArea::clipPathWithTransform(const SkPath& path, const mat4* transform, SkRegion::Op op) { argument 239 path.transform(skTransform, &transformed);
|
H A D | PathCache.cpp | 121 return shape.path.mGenerationID == rhs.shape.path.mGenerationID; 129 static void computePathBounds(const SkPath* path, const SkPaint* paint, PathTexture* texture, argument 131 const SkRect& bounds = path->getBounds(); 155 static sk_sp<Bitmap> drawPath(const SkPath* path, const SkPaint* paint, PathTexture* texture, argument 158 computePathBounds(path, paint, texture, width, height); 174 canvas.drawPath(*path, pathPaint); 230 // If there is a pending task, the path was not added 233 ALOGE("Removing path texture of size %d will leave " 270 PathTexture* PathCache::addTexture(const PathDescription& entry, const SkPath* path, argument 332 removeDeferred(const SkPath* path) argument 359 get(const SkPath* path, const SkPaint* paint) argument 389 remove(const SkPath* path, const SkPaint* paint) argument 395 precache(const SkPath* path, const SkPaint* paint) argument 448 SkPath path; local 470 SkPath path; local 491 SkPath path; local 514 SkPath path; local 541 SkPath path; local [all...] |
H A D | PathCache.h | 62 PathTask(const SkPath* path, const SkPaint* paint, PathTexture* texture) argument 63 : path(*path), paint(*paint), texture(texture) {} 65 // copied, since input path not guaranteed to survive for duration of task 66 const SkPath path; member in class:android::uirenderer::PathTask 74 * Alpha texture used to represent a path. 82 * Left coordinate of the path bounds. 86 * Top coordinate of the path bounds. 90 * Offset to draw the path at the correct origin. 122 } path; member in union:android::uirenderer::PathDescription::Shape [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
H A D | FatalTestCanvas.h | 45 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, argument 122 void onClipPath(const SkPath& path, SkClipOp, ClipEdgeStyle) { argument
|
/frameworks/base/media/java/android/media/ |
H A D | MediaExtractor.java | 146 * Sets the data source (file-path or http URL) to use. 148 * @param path the path of the file, or the http URL 150 * <p>When <code>path</code> refers to a network file the 157 public final void setDataSource(@NonNull String path, @Nullable Map<String, String> headers) argument 175 MediaHTTPService.createHttpServiceBinderIfNecessary(path), 176 path, 183 @NonNull String path, 188 * Sets the data source (file-path or http URL) to use. 190 * @param path th 181 nativeSetDataSource( @onNull IBinder httpServiceBinder, @NonNull String path, @Nullable String[] keys, @Nullable String[] values) argument 202 setDataSource(@onNull String path) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaScanner.cpp | 148 virtual status_t scanFile(const char* path, long long lastModified, argument 151 ALOGV("scanFile: path(%s), time(%lld), size(%lld) and isDir(%d)", 152 path, lastModified, fileSize, isDirectory); 155 if ((pathStr = mEnv->NewStringUTF(path)) == NULL) { 240 JNIEnv *env, jobject thiz, jstring path, jobject client) 249 if (path == NULL) { 254 const char *pathStr = env->GetStringUTFChars(path, NULL); 264 env->ReleaseStringUTFChars(path, pathStr); 269 JNIEnv *env, jobject thiz, jstring path, 281 if (path 239 android_media_MediaScanner_processDirectory( JNIEnv *env, jobject thiz, jstring path, jobject client) argument 268 android_media_MediaScanner_processFile( JNIEnv *env, jobject thiz, jstring path, jstring mimeType, jobject client) argument [all...] |
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
H A D | ExternalStorageProvider.java | 74 // docId format: root:path/to/file 94 public File path; field in class:ExternalStorageProvider.RootInfo 246 root.path = volume.getInternalPathForUser(userId); 248 root.docId = getDocIdForFile(root.path); 276 root.path = new File( 279 root.docId = getDocIdForFile(root.path); 304 String path = file.getAbsolutePath(); 306 // Find the most-specific root path 308 RootInfo mostSpecificRoot = getMostSpecificRootForPath(path, false); 311 // Try visible path i 342 getMostSpecificRootForPath(String path, boolean visible) argument 478 getDocumentUri(String path, List<UriPermission> accessUriPermissions) argument [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
H A D | BitmapRegionTileSource.java | 65 Log.w("BitmapRegionTileSource", "getting decoder failed for path " + pathName, e); 226 public FilePathBitmapSource(String path, int previewSize) { argument 228 mPath = path;
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | AccessibilityGestureDetector.java | 473 ArrayList<PointF> path = new ArrayList<>(); 475 path.add(lastDelimiter); 511 path.add(newDelimiter); 530 path.add(next); 531 Slog.i(LOG_TAG, "path=" + path.toString()); 534 return recognizeGesturePath(event, policyFlags, path); 543 * @param path A sequence of motion line segments derived from motion points in mStrokeBuffer. 548 ArrayList<PointF> path) { 550 if (path 547 recognizeGesturePath(MotionEvent event, int policyFlags, ArrayList<PointF> path) argument [all...] |
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
H A D | PerformAdbRestoreTask.java | 477 if (info.path.equals(BACKUP_MANIFEST_FILENAME)) { 496 } else if (info.path.equals(BACKUP_METADATA_FILENAME)) { 572 // The path needs to be canonical 573 if (!isCanonicalFilePath(info.path)) { 663 + " : " + info.path); 666 info.size, info.type, info.path, info.mode, 672 + " : " + info.path); 684 Slog.d(TAG, "Invoking agent to restore file " + info.path); 697 info.domain, info.path, info.mode, info.mtime, 800 private static boolean isCanonicalFilePath(String path) { argument [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | DropBoxManagerService.java | 173 * @param path to store drop box entries in 176 public DropBoxManagerService(final Context context, File path, Looper looper) { argument 178 mDropBoxDir = path; 390 pw.println(" -f|--file: print path of each entry's file"); 696 * Get a full-path {@link File} representing this entry.
|