/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestEnv.java | 151 FILE_TXT = model.createFile("woowoo.txt"); in reset() 152 FILE_PNG = model.createFile("peppey.png"); in reset() 153 FILE_JPG = model.createFile("jiffy.jpg"); in reset() 154 FILE_GIF = model.createFile("glibby.gif"); in reset() 155 FILE_PDF = model.createFile("busy.pdf"); in reset() 156 FILE_MP4 = model.createFile("cameravideo.mp4"); in reset() 157 FILE_APK = model.createFile("becareful.apk"); in reset() 158 FILE_PARTIAL = model.createFile( in reset() 162 FILE_READ_ONLY = model.createFile("topsecretsystemfile.bin", 0); in reset() 163 FILE_ARCHIVE = model.createFile("whatsinthere.zip"); in reset() [all …]
|
D | TestModel.java | 72 public DocumentInfo createFile(String name) { in createFile() method in TestModel 73 return createFile( in createFile() 80 public DocumentInfo createFile(String name, int flags) { in createFile() method in TestModel
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | GlobalSearchLoaderTest.java | 71 final DocumentInfo doc = mEnv.model.createFile(SEARCH_STRING + ".jpg", FILE_FLAG); in setUp() 175 final DocumentInfo pdfDoc = mEnv.model.createFile(SEARCH_STRING + ".pdf"); in testSearchResult_includeSearchString() 178 final DocumentInfo apkDoc = mEnv.model.createFile(SEARCH_STRING + ".apk"); in testSearchResult_includeSearchString() 181 final DocumentInfo testApkDoc = mEnv.model.createFile("test.apk"); in testSearchResult_includeSearchString() 206 final DocumentInfo pdfDoc = mEnv.model.createFile(SEARCH_STRING + ".pdf"); in testSearchResult_includeDifferentRoot() 209 final DocumentInfo apkDoc = mEnv.model.createFile(SEARCH_STRING + ".apk"); in testSearchResult_includeDifferentRoot() 212 final DocumentInfo testApkDoc = mEnv.model.createFile("test.apk"); in testSearchResult_includeDifferentRoot()
|
D | RecentsLoaderTests.java | 93 final DocumentInfo doc = mEnv.model.createFile("freddy.jpg", in testDocumentsNotMovable() 123 final DocumentInfo doc = mEnv.model.createFile("freddy.jpg"); in testContentsUpdate_observable()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ |
D | DirectoryAddonsAdapterTest.java | 73 mEnv.model.createFile("b"); // id will be "2" in testGetPosition() 96 mEnv.model.createFile(name); in testItemCount_allFiles() 105 mEnv.model.createFile(name); in testAddsInfoMessage_WithDirectoryChildren()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | StubProvider.java | 193 File file = createFile(parent, mimeType, displayName); in createDocument() 589 File file = createFile(parent, mimeType, displayName); in createDocument() 603 private File createFile(StubDocument parent, String mimeType, String displayName) in createFile() method in StubProvider 702 final File file = createFile(rootId, path, mimeType, content); in createRegularFile() 717 final File file = createFile(rootId, path, mimeType, content); in createVirtualFile() 744 private File createFile(String rootId, String path, String mimeType, byte[] content) in createFile() method in StubProvider
|
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/ |
D | StressProvider.java | 109 document = StubDocument.createFile( in onCreate() 227 public static StubDocument createFile(Context context, String mimeType, int thumbnail, in createFile() method in StressProvider.StubDocument
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/storagelifetime/ |
D | StorageLifetimeFragment.java | 122 Files.createFile(filePath); in getFilePath()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | FileCache.java | 189 public File createFile() throws IOException { in createFile() method in FileCache
|