Searched refs:meta (Results 1 – 2 of 2) sorted by relevance
237 final JSONObject meta = doc.readMetadata(); in includeDocument() local241 final String mimeType = meta.optString(Document.COLUMN_MIME_TYPE); in includeDocument()251 row.add(Document.COLUMN_DOCUMENT_ID, meta.optLong(Document.COLUMN_DOCUMENT_ID)); in includeDocument()252 row.add(Document.COLUMN_DISPLAY_NAME, meta.optString(Document.COLUMN_DISPLAY_NAME)); in includeDocument()253 row.add(Document.COLUMN_SIZE, meta.optLong(Document.COLUMN_SIZE)); in includeDocument()256 row.add(Document.COLUMN_LAST_MODIFIED, meta.optLong(Document.COLUMN_LAST_MODIFIED)); in includeDocument()271 final JSONObject meta = parentDoc.readMetadata(); in isChildDocument() local272 if (Document.MIME_TYPE_DIR.equals(meta.getString(Document.COLUMN_MIME_TYPE))) { in isChildDocument()273 final JSONArray children = meta.getJSONArray(KEY_CHILDREN); in isChildDocument()338 final JSONObject meta = new JSONObject(); in initDocument() local[all …]
149 final JSONObject meta = new JSONObject(rawMeta); in readMetadata() local152 if (meta.getLong(Document.COLUMN_DOCUMENT_ID) != mDocId) { in readMetadata()156 return meta; in readMetadata()210 public void writeMetadataAndContent(JSONObject meta, ParcelFileDescriptor contentIn) in writeMetadataAndContent() argument227 meta.put(Document.COLUMN_SIZE, plainLength); in writeMetadataAndContent()235 meta.put(Document.COLUMN_DOCUMENT_ID, mDocId); in writeMetadataAndContent()236 meta.put(Document.COLUMN_LAST_MODIFIED, System.currentTimeMillis()); in writeMetadataAndContent()243 meta.toString().getBytes(StandardCharsets.UTF_8)); in writeMetadataAndContent()