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.java247 Identifier parentIdentifier = mDatabase.createIdentifier(parentDocumentId); in queryChildDocuments() local
249 openDevice(parentIdentifier.mDeviceId); in queryChildDocuments()
250 if (parentIdentifier.mDocumentType == MtpDatabaseConstants.DOCUMENT_TYPE_DEVICE) { in queryChildDocuments()
262 parentIdentifier = mDatabase.createIdentifier(storageDocIds[0]); in queryChildDocuments()
266 return getDocumentLoader(parentIdentifier).queryChildDocuments( in queryChildDocuments()
267 projection, parentIdentifier); in queryChildDocuments()
355 final Identifier parentIdentifier = mDatabase.getParentIdentifier(documentId); in deleteDocument() local
358 getDocumentLoader(parentIdentifier).cancelTask(parentIdentifier); in deleteDocument()
359 notifyChildDocumentsChange(parentIdentifier.mDocumentId); in deleteDocument()
360 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()