Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDragAndDropManagerTests.java152 Arrays.asList(TestEnv.FILE_APK, TestEnv.FILE_JPG), in testStartDrag_SetsCorrectClipData()
154 Arrays.asList(TestEnv.FOLDER_0.derivedUri, TestEnv.FILE_APK.derivedUri, in testStartDrag_SetsCorrectClipData()
167 Arrays.asList(TestEnv.FILE_APK, TestEnv.FILE_JPG), in testStartDrag_SetsCorrectClipData_NullParent()
169 Arrays.asList(TestEnv.FOLDER_0.derivedUri, TestEnv.FILE_APK.derivedUri, in testStartDrag_SetsCorrectClipData_NullParent()
182 Arrays.asList(TestEnv.FILE_APK), in testStartDrag_BuildsCorrectShadow_SingleDoc()
184 Arrays.asList(TestEnv.FOLDER_0.derivedUri, TestEnv.FILE_APK.derivedUri), in testStartDrag_BuildsCorrectShadow_SingleDoc()
189 mShadowBuilder.title.assertLastArgument(TestEnv.FILE_APK.displayName); in testStartDrag_BuildsCorrectShadow_SingleDoc()
197 Arrays.asList(TestEnv.FILE_APK, TestEnv.FILE_JPG), in testStartDrag_BuildsCorrectShadow_MultipleDocs()
199 Arrays.asList(TestEnv.FOLDER_0.derivedUri, TestEnv.FILE_APK.derivedUri, in testStartDrag_BuildsCorrectShadow_MultipleDocs()
289 Arrays.asList(TestEnv.FILE_APK, TestEnv.FILE_JPG), in testUpdateStateToNotAllowed()
[all …]
DAbstractActionHandlerTest.java292 .setNextChildDocumentsReturns(TestEnv.FILE_APK, TestEnv.FILE_GIF); in testLoadChildrenDocuments()
302 assertEquals(TestEnv.FILE_APK, mEnv.model.getDocument(modelIds[0])); in testLoadChildrenDocuments()
466 .setNextChildDocumentsReturns(TestEnv.FILE_APK, TestEnv.FILE_GIF); in testLoadChildrenDocuments_failsWithNonRecentsAndEmptyStack()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java370 TestEnv.FILE_APK.authority = TestProvidersAccess.DOWNLOADS.authority; in testDocumentPicked_Downloads_ManagesApks()
372 mHandler.openDocument(TestEnv.FILE_APK, ActionHandler.VIEW_TYPE_PREVIEW, in testDocumentPicked_Downloads_ManagesApks()
390 TestEnv.FILE_APK.authority = TestProvidersAccess.DOWNLOADS.authority; in testDocumentPicked_Recent_ManagesApks()
392 mHandler.openDocument(TestEnv.FILE_APK, ActionHandler.VIEW_TYPE_PREVIEW, in testDocumentPicked_Recent_ManagesApks()
401 mHandler.openDocument(TestEnv.FILE_APK, ActionHandler.VIEW_TYPE_PREVIEW, in testDocumentPicked_Home_SendsActionViewForApks()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEnv.java57 public static DocumentInfo FILE_APK; field in TestEnv
170 FILE_APK = model.createFile("becareful.apk"); in reset()