Home
last modified time | relevance | path

Searched refs:FILE_JPG (Results 1 – 6 of 6) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDragAndDropManagerTests.java152 Arrays.asList(TestEnv.FILE_APK, TestEnv.FILE_JPG), in testStartDrag_SetsCorrectClipData()
155 TestEnv.FILE_JPG.derivedUri), in testStartDrag_SetsCorrectClipData()
167 Arrays.asList(TestEnv.FILE_APK, TestEnv.FILE_JPG), in testStartDrag_SetsCorrectClipData_NullParent()
170 TestEnv.FILE_JPG.derivedUri), in testStartDrag_SetsCorrectClipData_NullParent()
197 Arrays.asList(TestEnv.FILE_APK, TestEnv.FILE_JPG), in testStartDrag_BuildsCorrectShadow_MultipleDocs()
200 TestEnv.FILE_JPG.derivedUri), in testStartDrag_BuildsCorrectShadow_MultipleDocs()
214 Arrays.asList(TestEnv.FOLDER_1, TestEnv.FILE_JPG), in testCanSpringOpen_ReturnsFalse_RootNotSupportCreate()
217 TestEnv.FILE_JPG.derivedUri), in testCanSpringOpen_ReturnsFalse_RootNotSupportCreate()
244 Arrays.asList(TestEnv.FOLDER_1, TestEnv.FILE_JPG), in testCanSpringOpen_ReturnsFalse_DocIsInvalidDestination()
247 TestEnv.FILE_JPG.derivedUri), in testCanSpringOpen_ReturnsFalse_DocIsInvalidDestination()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/
DInspectorControllerTest.java104 mDataSupplier.mDoc = TestEnv.FILE_JPG; in setUp()
138 mController.loadInfo(TestEnv.FILE_JPG.derivedUri, mUserId); // actual URI doesn't matter :) in testHideDebugByDefault()
150 mController.loadInfo(TestEnv.FILE_JPG.derivedUri, mUserId); // actual URI doesn't matter :) in testShowDebugUpdatesView()
162 mController.loadInfo(TestEnv.FILE_JPG.derivedUri, mUserId); // actual URI doesn't matter :) in testExtraTitleOverridesDisplayName()
195 mController.loadInfo(TestEnv.FILE_JPG.derivedUri, mUserId); // actual URI doesn't matter :) in testUpdateViewWithValidInput()
224 mController.loadInfo(TestEnv.FILE_JPG.derivedUri, mUserId); // actual URI doesn't matter :) in testShowInProvider_invisible()
237 mController.loadInfo(TestEnv.FILE_JPG.derivedUri, mUserId); // actual URI doesn't matter :) in testUpdateView_withNullValue()
246 DocumentInfo doc = TestEnv.clone(TestEnv.FILE_JPG); in testMetadata_GeoHandlerInstalled()
255 DocumentInfo doc = TestEnv.clone(TestEnv.FILE_JPG); in testMetadata_notDisplayedWhenNotReturned()
264 assert !TestEnv.FILE_JPG.isMetadataSupported(); in testMetadata_notDisplayedDocWithoutSupportFlag()
[all …]
DMediaViewTest.java73 MediaView.showExifData(mTable, mResources, TestEnv.FILE_JPG, exif, null, mGeo); in testShowExifData()
99 MediaView.showExifData(mTable, mResources, TestEnv.FILE_JPG, mMetadata, null, mGeo); in testShowExifData_PartialGpsTags()
114 MediaView.showExifData(mTable, mResources, TestEnv.FILE_JPG, mMetadata, null, mGeo); in testShowExifData_PartialDimensionTags()
164 MediaView.showExifData(mTable, mResources, TestEnv.FILE_JPG, mMetadata, null, badAddress); in testGetAddress()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java275 mHandler.finishPicking(TestEnv.FILE_JPG.derivedUri); in testIncreasePickCountRecordCalled()
280 mActivity.getApplicationContext(), TestEnv.FILE_JPG.derivedUri); in testIncreasePickCountRecordCalled()
381 mHandler.saveDocument(null, TestEnv.FILE_JPG); in testSaveDocument_ConfirmsOverwrite()
383 mEnv.dialogs.assertOverwriteConfirmed(TestEnv.FILE_JPG); in testSaveDocument_ConfirmsOverwrite()
404 mHandler.finishPicking(TestEnv.FILE_JPG.derivedUri); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent()
416 assertContent(result, TestEnv.FILE_JPG.derivedUri); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent()
431 mHandler.finishPicking(TestEnv.FILE_JPG.derivedUri, TestEnv.FILE_GIF.derivedUri); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent_MultipleSelection()
443 assertContent(result, TestEnv.FILE_JPG.derivedUri, TestEnv.FILE_GIF.derivedUri); in testFinishPicking_SetsCorrectResultAndFinishes_ActionGetContent_MultipleSelection()
456 mHandler.finishPicking(TestEnv.FILE_JPG.derivedUri); in testFinishPicking_SetsCorrectResultAndFinishes_ActionOpen()
468 assertContent(result, TestEnv.FILE_JPG.derivedUri); in testFinishPicking_SetsCorrectResultAndFinishes_ActionOpen()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DQuickViewIntentBuilderTest.java72 new QuickViewIntentBuilder(mContext, mRes, TestEnv.FILE_JPG, mEnv.model, false); in testSetsFullFeatures_RegularDocument()
92 new QuickViewIntentBuilder(mContext, mRes, TestEnv.FILE_JPG, mEnv.model, true); in testPickerFeatures_RegularDocument()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEnv.java53 public static DocumentInfo FILE_JPG; field in TestEnv
165 FILE_JPG = model.createFile("jiffy.jpg"); in reset()