/frameworks/support/core-utils/api21/android/support/v4/provider/ |
DocumentsContractApi21.java | 57 final String documentId = c.getString(0); 59 documentId);
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
RootScanner.java | 157 final String documentId = mDatabase.getDocumentIdForDevice(device.deviceId); 158 if (documentId == null) { 162 mDatabase.getMapper().startAddingDocuments(documentId); 164 documentId, device.eventsSupported, device.roots)) { 167 if (mDatabase.getMapper().stopAddingDocuments(documentId)) {
|
MtpDatabase.java | 253 * @param documentId Document ID that points a device. 257 String[] getStorageDocumentIds(String documentId) 259 Preconditions.checkArgument(createIdentifier(documentId).mDocumentType == 270 documentId, 285 * @param documentId 289 Cursor queryDocument(String documentId, String[] projection) { 294 strings(documentId), 324 * @param documentId 328 Identifier getParentIdentifier(String documentId) throws FileNotFoundException { 333 strings(documentId), [all...] |
MtpDocumentsProvider.java | 188 public Cursor queryDocument(String documentId, String[] projection) 193 return mDatabase.queryDocument(documentId, projection); 236 String documentId, String mode, CancellationSignal signal) 239 Log.d(TAG, "openDocument: " + documentId); 241 final Identifier identifier = mDatabase.createIdentifier(documentId); 251 fileSize = getFileSize(documentId); 257 return mAppFuse.openFile(Integer.parseInt(documentId), modeFlag); 267 return mAppFuse.openFile(Integer.parseInt(documentId), modeFlag); 287 String documentId, 290 final Identifier identifier = mDatabase.createIdentifier(documentId); [all...] |
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
DocumentsProviderHelper.java | 69 public RootInfo getRoot(String documentId) throws RemoteException { 75 if (documentId.equals(getCursorString(cursor, Root.COLUMN_ROOT_ID))) { 79 throw new IllegalArgumentException("Can't find matching root for id=" + documentId); 81 throw new RuntimeException("Can't load root for id=" + documentId , e); 106 return createDocument(root.documentId, mimeType, name); 109 public Uri createDocumentWithFlags(String documentId, String mimeType, String name, int flags, 114 in.putString(StubProvider.EXTRA_PARENT_ID, documentId); 165 assertChildCount(root.documentId, expected); 184 assertHasFile(root.documentId, name); 203 assertHasDirectory(root.documentId, name) [all...] |
StubProvider.java | 134 mStorage.put(rootInfo.document.documentId, rootInfo.document); 158 row.add(Root.COLUMN_DOCUMENT_ID, info.document.documentId); 165 public Cursor queryDocument(String documentId, String[] projection) 169 final StubDocument file = mStorage.get(documentId); 191 mStorage.put(document.documentId, document); 192 Log.d(TAG, "Created document " + document.documentId); 195 DocumentsContract.buildDocumentUri(mAuthority, document.documentId), 198 return document.documentId; 202 public void deleteDocument(String documentId) 204 final StubDocument document = mStorage.get(documentId); [all...] |
/frameworks/base/packages/DocumentsUI/perf-tests/src/com/android/documentsui/ |
StressProvider.java | 141 public Cursor queryDocument(String documentId, String[] projection) 144 final StubDocument document = mDocuments.get(documentId); 183 row.add(Root.COLUMN_DOCUMENT_ID, root.documentId); 258 final String documentId; 260 public StubRoot(String id, String documentId) { 262 this.documentId = documentId;
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
RecentsProvider.java | 108 public static Uri buildState(String authority, String rootId, String documentId) { 110 .appendPath("state").appendPath(authority).appendPath(rootId).appendPath(documentId) 188 final String documentId = uri.getPathSegments().get(3); 191 new String[] { authority, rootId, documentId }, null, null, sortOrder); 220 final String documentId = uri.getPathSegments().get(3); 224 key.put(StateColumns.DOCUMENT_ID, documentId); 230 new String[] { authority, rootId, documentId });
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
DocumentInfo.java | 50 public String documentId; 69 documentId = null; 88 documentId = DurableUtils.readNullableString(in); 107 DurableUtils.writeNullableString(out, documentId); 156 this.documentId = getCursorString(cursor, Document.COLUMN_DOCUMENT_ID); 203 derivedUri = DocumentsContract.buildDocumentUri(authority, documentId); 209 + "docId=" + documentId
|
RootInfo.java | 89 public String documentId; 110 documentId = null; 130 documentId = DurableUtils.readNullableString(in); 149 DurableUtils.writeNullableString(out, documentId); 186 root.documentId = getCursorString(cursor, Root.COLUMN_DOCUMENT_ID);
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
MtpDocumentsProviderTest.java | 542 final String documentId = mProvider.createDocument("2", "text/plain", "test.txt"); 544 final ParcelFileDescriptor fd = mProvider.openDocument(documentId, "w", null); 551 final ParcelFileDescriptor fd = mProvider.openDocument(documentId, "r", null); [all...] |
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/ |
MyDocumentsProvider.java | 192 public boolean isChildDocument(String parentDocumentId, String documentId) { 194 if (doc.docId.equals(documentId)) { 198 if (isChildDocument(doc.docId, documentId)) { 217 public String renameDocument(String documentId, String displayName) 219 mDocs.get(documentId).displayName = displayName; 224 public void deleteDocument(String documentId) throws FileNotFoundException { 225 final Doc doc = mDocs.get(documentId); 233 public void removeDocument(String documentId, String parentDocumentId) 237 final Doc doc = mDocs.get(documentId); 267 public Cursor queryDocument(String documentId, String[] projection [all...] |
/frameworks/base/core/java/android/provider/ |
DocumentsProvider.java | 187 * @param documentId child to verify. 191 public boolean isChildDocument(String parentDocumentId, String documentId) { 239 * @param documentId the document to rename. 245 public String renameDocument(String documentId, String displayName) 259 * @param documentId the document to delete. 262 public void deleteDocument(String documentId) throws FileNotFoundException { 315 * @param documentId the document to remove. 319 public void removeDocument(String documentId, String parentDocumentId) 366 * @param documentId the document to return. 371 public abstract Cursor queryDocument(String documentId, String[] projection [all...] |
/prebuilts/sdk/21/ |
android.jar | |
/external/libgdx/backends/gdx-backend-android/libs/ |
android-4.4.jar | |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/20/ |
android.jar | |
/prebuilts/sdk/current/support/v4/ |
android-support-v4.jar | |
/prebuilts/sdk/current/support/v13/ |
android-support-v13.jar | |