Home
last modified time | relevance | path

Searched refs:EncryptedDocument (Results 1 – 3 of 3) sorted by relevance

/development/samples/Vault/tests/src/com/example/android/vault/
DEncryptedDocumentTest.java76 final EncryptedDocument doc = new EncryptedDocument(4, mFile, mDataKey, mMacKey); in testEmptyFile()
105 final EncryptedDocument doc = new EncryptedDocument(4, mFile, mDataKey, mMacKey); in testMetadataAndContents()
159 final EncryptedDocument doc = new EncryptedDocument(4, mFile, mDataKey, mMacKey); in testNormalMetadataOnly()
179 final EncryptedDocument doc1 = new EncryptedDocument(1, mFile, mDataKey, mMacKey); in testCopiedFile()
180 final EncryptedDocument doc4 = new EncryptedDocument(4, mFile, mDataKey, mMacKey); in testCopiedFile()
196 final EncryptedDocument doc = new EncryptedDocument(4, mFile, mDataKey, mMacKey); in testBitTwiddle()
216 final EncryptedDocument doc = new EncryptedDocument(4, mFile, mDataKey, mMacKey); in testErrorAbortsWrite()
/development/samples/Vault/src/com/example/android/vault/
DVaultProvider.java19 import static com.example.android.vault.EncryptedDocument.DATA_KEY_LENGTH;
20 import static com.example.android.vault.EncryptedDocument.MAC_KEY_LENGTH;
222 private EncryptedDocument getDocument(long docId) throws GeneralSecurityException { in getDocument()
224 return new EncryptedDocument(docId, file, mDataKey, mMacKey); in getDocument()
232 final EncryptedDocument doc = getDocument(docId); in includeDocument()
267 final EncryptedDocument parentDoc = getDocument(parentDocId); in isChildDocument()
312 final EncryptedDocument parentDoc = getDocument(parentDocId); in createDocument()
334 final EncryptedDocument doc = getDocument(docId); in initDocument()
358 final EncryptedDocument doc = getDocument(docId); in renameDocument()
396 final EncryptedDocument doc = getDocument(docId); in deleteDocumentTree()
[all …]
DEncryptedDocument.java63 public class EncryptedDocument { class
100 public EncryptedDocument(long docId, File file, SecretKey dataKey, SecretKey macKey) in EncryptedDocument() method in EncryptedDocument