/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageManagerTests.java | 429 assertStartsWith("The APK path should point to the ASEC", 431 assertStartsWith("The public APK path should point to the ASEC", 433 assertStartsWith("The native library path should point to the ASEC", 480 assertStartsWith("The APK path should point to the ASEC", 482 assertStartsWith("The public APK path should point to the ASEC", 484 assertStartsWith("The native library path should point to the ASEC", 509 String path) { 510 if (!new File(path).exists()) { 516 stat = Os.lstat(path); 518 throw new AssertionError(reason + "\n" + "Got: " + path 508 assertDirOwnerGroupPermsIfExists(String reason, int uid, int gid, int perms, String path) argument [all...] |
/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/") 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/core/tests/coretests/src/android/os/ |
H A D | FileObserverTest.java | 40 public Observer(String path) { argument 41 super(path); 44 public void onEvent(int event, String path) { argument 50 map.put("path", path); 114 Log.i("FileObserverTest", "event: " + getEventString((Integer)map.get("event")) + " path: " + map.get("path"));
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | AsecTests.java | 392 String path = ms.getSecureContainerPath(SECURE_CONTAINER_PREFIX 395 File f = new File(path, "reference"); 416 String path = ms.getSecureContainerPath(SECURE_CONTAINER_PREFIX 419 File f = new File(path, "reference"); 486 String path = ms.getSecureContainerPath(SECURE_CONTAINER_PREFIX + "testContainerSize"); 489 File f = new File(path, "reference"); 499 assertNull("Getting the path for an invalid container should return null", 530 String path; field in class:AsecTests.StorageListener 545 public void onStorageStateChanged(String path, String oldState, String newState) { argument 549 this.path 610 onStorageStateChanged(String path, String oldState, String newState) argument [all...] |
H A D | StorageListener.java | 34 public void onStorageStateChanged(String path, String oldState, String newState) { argument
|
H A D | StorageManagerBaseTest.java | 81 * @param obbFilePath path to the OBB image file 82 * @param pathToContentsFile path to a file on the mounted OBB volume to open after the OBB 88 assertTrue("path to contents file cannot be null!", pathToContentsFile != null); 100 // the official OBB file path and the mount-request file path should be the same, but 140 * Returns the official path of the OBB file that was mounted 142 * This is not the mount path, but the normalized path to the actual OBB file 144 * @return a {@link String} representation of the path to the OBB file that was mounted 171 public void onObbStateChange(String path, in argument 465 doValidateIntContents(String path, String filename, int start, int end) argument 495 doValidateTextContents(String path, String filename, String contents) argument 530 doValidateZeroLongFile(String path, String filename, long size, boolean checkContents) argument [all...] |
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
H A D | DownloadManagerTestApp.java | 92 * Gets the path to the file that flags that a download has started. The file contains the 95 * @return The path of the file tracking that a download has started 100 String path = Environment.getExternalStorageDirectory().getPath(); 101 return path + File.separatorChar + DOWNLOAD_STARTED_FLAG;
|
/frameworks/base/core/tests/overlaytests/ |
H A D | testrunner.py | 19 TASK_IDMAP_PATH = 'idmap --path' 28 TASK_SETUP_IDMAP_PATH = 'setup idmap --path' 198 def __init__(self, path): 199 self.path = path 205 return self.path 208 return _adb_shell('mkdir -p %s' % self.path) 211 def __init__(self, path): 212 self.path = path [all...] |
/frameworks/base/docs/html/guide/ |
H A D | guide_toc.cs | 173 <li><a href="<?cs var:toroot ?>guide/topics/manifest/path-permission-element.html"><path-permission></a></li>
|
/frameworks/base/docs/html/reference/renderscript/ |
H A D | doxygen.css | 922 #nav-path { display: none; }
|
/frameworks/base/drm/java/android/drm/ |
H A D | DrmInfo.java | 38 // DRM scheme such as account id, path or multiple path's 65 * @param path The trigger data. 68 public DrmInfo(int infoType, String path, String mimeType) { argument 72 mData = DrmUtils.readBytes(path); 74 // As the given path is invalid,
|
H A D | DrmManagerClient.java | 361 * @param path Path to the content from which you are retrieving DRM constraints. 368 public ContentValues getConstraints(String path, int action) { argument 369 if (null == path || path.equals("") || !DrmStore.Action.isValid(action)) { 370 throw new IllegalArgumentException("Given usage or path is invalid/null"); 372 return _getConstraints(mUniqueId, path, action); 378 * @param path Path to the content from which you are retrieving metadata information. 383 public ContentValues getMetadata(String path) { argument 384 if (null == path || path 470 canHandle(String path, String mimeType) argument 557 getDrmObjectType(String path, String mimeType) argument 595 getOriginalMimeType(String path) argument 644 checkRightsStatus(String path) argument 671 checkRightsStatus(String path, int action) argument 701 removeRights(String path) argument 871 _getConstraints(int uniqueId, String path, int usage) argument 873 _getMetadata(int uniqueId, String path) argument 875 _canHandle(int uniqueId, String path, String mimeType) argument 884 _getDrmObjectType(int uniqueId, String path, String mimeType) argument 886 _getOriginalMimeType(int uniqueId, String path, FileDescriptor fd) argument 888 _checkRightsStatus(int uniqueId, String path, int action) argument 890 _removeRights(int uniqueId, String path) argument [all...] |
H A D | DrmUtils.java | 38 /* package */ static byte[] readBytes(String path) throws IOException { argument 39 File file = new File(path); 63 /* package */ static void writeToFile(final String path, byte[] data) throws IOException { argument 67 if (null != path && null != data) { 69 outputStream = new FileOutputStream(path); 77 /* package */ static void removeFile(String path) throws IOException { argument 78 File file = new File(path);
|
/frameworks/base/drm/jni/ |
H A D | android_drm_DrmManagerClient.cpp | 415 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) { 419 ->canHandle(uniqueId, Utility::getStringValue(env, path), 581 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) { 585 ->getDrmObjectType(uniqueId, Utility::getStringValue(env, path), 592 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jobject fileDescriptor) { 602 Utility::getStringValue(env, path), fd); 608 JNIEnv* env, jobject thiz, jint uniqueId, jstring path, int action) { 612 ->checkRightsStatus(uniqueId, Utility::getStringValue(env, path), action); 618 JNIEnv* env, jobject thiz, jint uniqueId, jstring path) { 621 ->removeRights(uniqueId, Utility::getStringValue(env, path))); 414 android_drm_DrmManagerClient_canHandle( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) argument 580 android_drm_DrmManagerClient_getDrmObjectType( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jstring mimeType) argument 591 android_drm_DrmManagerClient_getOriginalMimeType( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, jobject fileDescriptor) argument 607 android_drm_DrmManagerClient_checkRightsStatus( JNIEnv* env, jobject thiz, jint uniqueId, jstring path, int action) argument 617 android_drm_DrmManagerClient_removeRights( JNIEnv* env, jobject thiz, jint uniqueId, jstring path) argument [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 803 * Modify the current clip with the specified path. 805 * @param path The path to operate on the current clip 809 public boolean clipPath(@NonNull Path path, @NonNull Region.Op op) { argument 810 return native_clipPath(mNativeCanvasWrapper, path.ni(), op.nativeInt); 814 * Intersect the current clip with the specified path. 816 * @param path The path to intersect with the current clip 819 public boolean clipPath(@NonNull Path path) { argument 820 return clipPath(path, Regio 926 quickReject(@onNull Path path, @NonNull EdgeType type) argument 1273 drawPath(@onNull Path path, @NonNull Paint paint) argument 1864 drawTextOnPath(@onNull char[] text, int index, int count, @NonNull Path path, float hOffset, float vOffset, @NonNull Paint paint) argument 1887 drawTextOnPath(@onNull String text, @NonNull Path path, float hOffset, float vOffset, @NonNull Paint paint) argument [all...] |
H A D | FontFamily.java | 61 public boolean addFont(String path) { argument 62 return nAddFont(mNativePtr, path); 65 public boolean addFontWeightStyle(String path, int weight, boolean style) { argument 66 return nAddFontWeightStyle(mNativePtr, path, weight, style); 69 public boolean addFontFromAsset(AssetManager mgr, String path) { argument 70 return nAddFontFromAsset(mNativePtr, mgr, path); 75 private static native boolean nAddFont(long nativeFamily, String path); argument 76 private static native boolean nAddFontWeightStyle(long nativeFamily, String path, argument 79 String path); 78 nAddFontFromAsset(long nativeFamily, AssetManager mgr, String path) argument
|
H A D | Paint.java | 348 * The stroke ends with the path, and does not project beyond it. 353 * end of the path. 358 * of the path. 370 * join on a stroked path. The default is MITER. 895 * @param src input path 896 * @param dst output path (may be the same as src) 897 * @return true if the path should be filled, or false if it should be 2134 * Return the path (outline) for the specified text. 2138 * @param text The text to retrieve the path from 2143 * @param path Th 2146 getTextPath(char[] text, int index, int count, float x, float y, Path path) argument 2168 getTextPath(String text, int start, int end, float x, float y, Path path) argument 2282 native_getTextPath(long native_object, long native_typeface, int bidiFlags, char[] text, int index, int count, float x, float y, long path) argument 2284 native_getTextPath(long native_object, long native_typeface, int bidiFlags, String text, int start, int end, float x, float y, long path) argument [all...] |
H A D | Path.java | 22 * It can be drawn with canvas.drawPath(path, paint), either filled or stroked 24 * text on a path. 43 * Create an empty path 50 * Create a new path, copying the contents from the src path. 52 * @param src The path to copy from when initializing the new path 67 * Clear any lines and curves from the path, making it empty. 82 * Rewinds the path: clears any lines and curves from the path bu 143 op(Path path, Op op) argument [all...] |
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...] |
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.ni(), clip.mNativeRegion); 154 * the path will also be empty. 157 Path path = new Path(); 158 nativeGetBoundaryPath(mNativeRegion, path.ni()); 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...] |
H A D | Typeface.java | 179 * @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/graphics/java/android/graphics/drawable/ |
H A D | GradientDrawable.java | 625 Path path = buildRing(st); 626 canvas.drawPath(path, mFillPaint); 628 canvas.drawPath(path, mStrokePaint);
|
H A D | VectorDrawable.java | 117 * <dt><code><path></code></dt> 121 * <dd>Defines the name of the path.</dd> 123 * <dd>Defines path string. This is using exactly same format as "d" attribute 124 * in the SVG's path data. This is defined in the viewport space.</dd> 126 * <dd>Defines the color to fill the path (none if not present).</dd> 128 * <dd>Defines the color to draw the path outline (none if not present).</dd> 130 * <dd>The width a path stroke.</dd> 132 * <dd>The opacity of a path stroke.</dd> 134 * <dd>The opacity to fill the path with.</dd> 136 * <dd>The fraction of the path t 1259 toPath(Path path) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | PathShape.java | 25 * The path can be drawn to a Canvas with its own draw() method, 40 * @param path a Path that defines the geometric paths for this shape 48 public PathShape(Path path, float stdWidth, float stdHeight) { argument 49 mPath = 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);
|