Searched refs:UNKNOWN_LENGTH (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/android/content/res/
H A DAssetFileDescriptor.java41 public static final long UNKNOWN_LENGTH = -1; field in class:AssetFileDescriptor
53 * This must be 0 if length is UNKNOWN_LENGTH.
55 * {@link #UNKNOWN_LENGTH} if it extends to the end of the file.
67 * This must be 0 if length is UNKNOWN_LENGTH.
69 * {@link #UNKNOWN_LENGTH} if it extends to the end of the file.
80 "startOffset must be 0 when using UNKNOWN_LENGTH");
122 * {@link #UNKNOWN_LENGTH} if the asset extends to the end of the file.
123 * If the AssetFileDescriptor was constructed with {@link #UNKNOWN_LENGTH},
126 * returning that number if found or {@link #UNKNOWN_LENGTH} if it could
136 return len >= 0 ? len : UNKNOWN_LENGTH;
[all...]
/frameworks/base/core/java/android/provider/
H A DDocumentsContract.java852 return new AssetFileDescriptor(pfd, 0, AssetFileDescriptor.UNKNOWN_LENGTH, extras);
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DTestDocumentsProvider.java331 return new AssetFileDescriptor(fds[0], 0, AssetFileDescriptor.UNKNOWN_LENGTH);

Completed in 91 milliseconds