Lines Matching refs:documentId
259 String[] getStorageDocumentIds(String documentId) in getStorageDocumentIds() argument
261 Preconditions.checkArgument(createIdentifier(documentId).mDocumentType == in getStorageDocumentIds()
272 documentId, in getStorageDocumentIds() argument
291 Cursor queryDocument(String documentId, String[] projection) { in queryDocument() argument
296 strings(documentId), in queryDocument()
330 Identifier getParentIdentifier(String documentId) throws FileNotFoundException { in getParentIdentifier() argument
335 strings(documentId), in getParentIdentifier()
344 throw new FileNotFoundException("Cannot find a row having ID = " + documentId); in getParentIdentifier()
401 void deleteDocument(String documentId) { in deleteDocument() argument
402 deleteDocumentsAndRootsRecursively(SELECTION_DOCUMENT_ID, strings(documentId)); in deleteDocument()
411 Identifier createIdentifier(String documentId) throws FileNotFoundException { in createIdentifier() argument
420 strings(documentId, ROW_STATE_VALID, ROW_STATE_INVALIDATED), in createIdentifier()
427 throw new FileNotFoundException("ID \"" + documentId + "\" is not found."); in createIdentifier()
434 documentId, in createIdentifier()
562 int getRowState(String documentId) throws FileNotFoundException { in getRowState() argument
567 strings(documentId), in getRowState() argument
579 void writeRowSnapshot(String documentId, ContentValues values) throws FileNotFoundException { in writeRowSnapshot() argument
584 strings(documentId), in writeRowSnapshot() argument
598 void updateObject(String documentId, int deviceId, String parentId, int[] operationsSupported, in updateObject() argument
609 strings(documentId)); in updateObject()
667 String documentId = DocumentsContract.getDocumentId(uri); in cleanDatabase() local
668 while (documentId != null) { in cleanDatabase()
669 if (ids.contains(documentId)) { in cleanDatabase()
672 ids.add(documentId); in cleanDatabase()
677 strings(documentId), in cleanDatabase() argument
681 documentId = cursor.moveToNext() ? cursor.getString(0) : null; in cleanDatabase()