Home
last modified time | relevance | path

Searched refs:parentIdentifier (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDocumentsProvider.java205 Identifier parentIdentifier = mDatabase.createIdentifier(parentDocumentId); in queryChildDocuments() local
207 openDevice(parentIdentifier.mDeviceId); in queryChildDocuments()
208 if (parentIdentifier.mDocumentType == MtpDatabaseConstants.DOCUMENT_TYPE_DEVICE) { in queryChildDocuments()
220 parentIdentifier = mDatabase.createIdentifier(storageDocIds[0]); in queryChildDocuments()
224 return getDocumentLoader(parentIdentifier).queryChildDocuments( in queryChildDocuments()
225 projection, parentIdentifier); in queryChildDocuments()
308 final Identifier parentIdentifier = mDatabase.getParentIdentifier(documentId); in deleteDocument() local
311 getDocumentLoader(parentIdentifier).cancelTask(parentIdentifier); in deleteDocument()
312 notifyChildDocumentsChange(parentIdentifier.mDocumentId); in deleteDocument()
313 if (parentIdentifier.mDocumentType == MtpDatabaseConstants.DOCUMENT_TYPE_STORAGE) { in deleteDocument()
[all …]
DMtpFileWriter.java91 final Identifier parentIdentifier = in flush() local
96 parentIdentifier.mDocumentId, in flush()
DMapper.java332 final Identifier parentIdentifier = getParentOrHaltMapping(parentId); in stopAddingDocuments() local
341 parentIdentifier == null || in stopAddingDocuments()
342 parentIdentifier.mDocumentType == DOCUMENT_TYPE_DEVICE; in stopAddingDocuments()
DDocumentLoader.java170 void cancelTask(Identifier parentIdentifier) { in cancelTask() argument
173 task = mTaskList.findTask(parentIdentifier); in cancelTask()