Home
last modified time | relevance | path

Searched refs:setType (Results 1 – 25 of 68) sorted by relevance

123

/cts/tests/PhotoPicker/src/android/photopicker/cts/
DActionGetContentOnlyTest.java95 intent.setType("audio/*"); in testMimeTypeFilter()
110 intent.setType("image/*"); in testExtraMimeTypeFilter()
134 intent.setType("image/*"); in testBrowse_singleSelect()
160 intent.setType("image/*"); in testBrowse_multiSelect()
178 intent.setType("image/*"); in testChooserIntent_mediaFilter()
188 intent.setType("*/*"); in testChooserIntent_nonMediaFilter()
198 intent.setType("*/*"); in testPickerSupportedFromDocumentsUi()
210 intent.setType("*/*"); in testPickerLaunchTabWithGetContent()
224 intent.setType("image/*"); in testPickerAccentColorWithGetContent()
DPhotoPickerTest.java162 intent.setType("video/*"); in testLaunchPreviewMultipleForVideoAlbum()
244 intent.setType("video/*"); in testMultiSelect_longPress()
535 intent.setType(mimeType); in testMimeTypeFilter()
578 intent.setType("*/*"); in testExtraMimeTypeFilter()
616 intent.setType("image/*"); in testMimeTypeFilterPriority()
705 intent.setType("video/*"); in launchPreviewMultipleWithVideos()
830 intent.setType("*/*"); in launchPhotoPickerForIntent()
/cts/tests/tests/slice/src/android/slice/cts/
DSliceMetricsTest.java54 getLogMaker().setCategory(MetricsEvent.SLICE).setType(MetricsEvent.TYPE_OPEN)); in testLogVisible()
61 getLogMaker().setCategory(MetricsEvent.SLICE).setType(MetricsEvent.TYPE_CLOSE)); in testLogHidden()
69 .setType(MetricsEvent.TYPE_ACTION) in testLogOnTouch()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DDataProfileTest.java62 .setType(TYPE) in testConstructorAndGetters()
99 .setType(TYPE) in testEquals()
117 .setType(TYPE) in testEquals()
140 .setType(TYPE) in testNotEquals()
158 .setType(TYPE) in testNotEquals()
183 .setType(TYPE) in testParcel()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DAutomaticZenRuleTest.java170 .setType(mType) in testBuilder()
217 .setType(mType) in testBuilder_fromInstance()
251 .setType(mType) in testWriteToParcelFromBuilder()
288 .setType(mType) in testEquals()
300 .setType(mType) in testEquals()
320 .setType(mType) in testHashCode()
332 .setType(mType) in testHashCode()
/cts/hostsidetests/appcloning/test-apps/AppCloningIntentRedirectionApps/IntentRedirectionTestApp/src/com/android/cts/appcloning/intentredirectiontest/app/
DIntentRedirectionAppTest.java141 intent.setType("text/plain"); in buildIntentForTest()
146 intent.setType("text/plain"); in buildIntentForTest()
151 intent.setType("text/plain"); in buildIntentForTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DIntentFiltersTestHelper.java53 new Intent(Intent.ACTION_SEND).setType("*/*"),
54 new Intent(Intent.ACTION_SEND_MULTIPLE).setType("*/*")
81 new Intent(Intent.ACTION_GET_CONTENT).setType("*/*").addCategory(
83 new Intent(Intent.ACTION_OPEN_DOCUMENT).setType("*/*").addCategory(
116 Uri.parse("http://example.com/oceans.mp4")).setType("video/mp4"),
118 Uri.parse("http://www.example.com/horse.mp3")).setType("audio/*"),
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCrossProfileSharingTest.java94 new Intent(Intent.ACTION_GET_CONTENT).setType("*/*").addCategory(
96 new Intent(Intent.ACTION_OPEN_DOCUMENT).setType("*/*").addCategory(
98 new Intent(Intent.ACTION_PICK).setType("*/*").addCategory(
105 new Intent(ACTION_SEND).setType("*/*"),
106 new Intent(Intent.ACTION_SEND_MULTIPLE).setType("*/*")
116 new Intent(ACTION_SEND).setType("text/plain").addCategory(CATEGORY_DEFAULT)
/cts/hostsidetests/media/app/MediaRouteProviderApps/src/android/media/router/cts/
DBaseFakeRouteProviderService.java51 .setType(type) in createPublicRoute()
79 .setType(type) in createActiveScanOnlyRoute()
/cts/tests/signature/tests/src/android/signature/cts/tests/
DApiPresenceCheckerTest.java55 clz.setType(JDiffClassDescription.JDiffType.CLASS); in createClass()
63 clz.setType(JDiffClassDescription.JDiffType.CLASS); in createAbstractClass()
116 clz.setType(JDiffClassDescription.JDiffType.INTERFACE); in createInterface()
DApiComplianceCheckerTest.java76 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testMissingClass()
365 clz.setType(JDiffClassDescription.JDiffType.INTERFACE); in testInnerInterface()
405 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testFinalClass()
515 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testAbstractClass()
529 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testRemovingAbstractFromAClass()
542 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testRemovingAbstractFromAClass_PreviousApi()
748 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testAddingFinalToAMethodInAFinalClass()
763 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testRemovingFinalToAMethodInAFinalClass()
/cts/tests/tests/content/src/android/content/cts/
DAvailableIntentsTest.java321 addAppointmentIntent.setType("vnd.android.cursor.item/event"); in testCalendarAddAppointment()
332 intent.setType("vnd.android.cursor.dir/calls"); in testContactsCallLogs()
394 intent.setType("*/*"); in testOpenDocumentAny()
401 intent.setType("image/*"); in testOpenDocumentImage()
408 intent.setType("text/plain"); in testCreateDocument()
415 intent.setType("*/*"); in testGetContentAny()
422 intent.setType("image/*"); in testGetContentImage()
DReadableUriExtraToClipDataTest.java86 intent.setType("*/*"); in testUriExtraStreamMigratedToClipData_sendIntent()
98 intent.setType("*/*"); in testUriExtraStreamMigratedToClipData_sendMultipleIntent()
DIntentTest.java186 mIntent.setType(TEST_TYPE); in testReadFromParcel()
325 mIntent.setType(TEST_TYPE); in testAccessType()
370 mIntent.setType(TEST_TYPE); in testResolveType1()
372 mIntent.setType(null); in testResolveType1()
384 mIntent.setType(TEST_TYPE); in testResolveType2()
386 mIntent.setType(null); in testResolveType2()
503 mIntent.setType(TEST_TYPE); in testResolveTypeIfNeeded()
506 mIntent.setType(null); in testResolveTypeIfNeeded()
510 mIntent.setType(TEST_TYPE); in testResolveTypeIfNeeded()
514 mIntent.setType(null); in testResolveTypeIfNeeded()
[all …]
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DTestSuiteContentReport.java128 fEntry.setType(Entry.EntryType.CONFIG); in parseFileMetadata()
131 fEntry.setType(Entry.EntryType.APK); in parseFileMetadata()
133 fEntry.setType(Entry.EntryType.JAR); in parseFileMetadata()
135 fEntry.setType(Entry.EntryType.SO); in parseFileMetadata()
138 fEntry.setType(Entry.EntryType.FILE); in parseFileMetadata()
260 folderEntry.setType(Entry.EntryType.FOLDER); in parseFolder()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java256 intent.setType("*/*"); in testOpenSimple()
296 intent.setType("*/*"); in testOpenVirtual()
338 intent.setType(MIME_TYPE); in testCreateNew()
362 intent.setType("mime2/file2"); in testCreateExisting()
607 intent.setType("*/*"); in testGetContent_rootsShowing()
639 intent.setType("*/*"); in testGetContentWithQuery_matchingFileShowing()
672 intent.setType("*/*"); in testGetContent_returnsResultToCallingActivity()
860 intent.setType("*/*"); in testOpenDocumentAtInitialLocation()
920 intent.setType("plain/text"); in testCreateDocumentAtInitialLocation()
932 intent.setType("*/*"); in testCreateWebLink()
[all …]
/cts/hostsidetests/securitybulletin/test-apps/BUG-261036568/test-app/src/android/security/cts/BUG_261036568_test/
DDeviceTest.java142 sendIntent.setType("image/png"); in createSendImageIntent()
151 sendIntent.setType("text/plain"); in createSendTextIntentWithPreview()
170 sendIntent.setType("application/pdf"); in createSendFileIntentWithPreview()
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/
DDeviceOwnerComponent.kt195 (deviceOwner as DeviceOwner).setType(type) in ensureHasDeviceOwner()
279 (originalDeviceOwnerCopy as DeviceOwner).setType(it) in teardownShareableState()
291 (deviceOwner as DeviceOwner).setType(it) in teardownShareableState()
/cts/tests/PhotoPicker/src/android/photopicker/cts/util/
DPhotoPickerPackageUtils.java48 intent.setType("*/*"); in getDocumentsUiPackageName()
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/assertions/
DAssertionsByIntentResolution.java109 intent.setType(mimeTypes.iterator().next()); in intentGroup()
118 sendIntent.setType(mimeType); in intentSend()
/cts/tests/camera/src/android/hardware/cts/
DCameraCtsActivity.java43 mSurfaceView.getHolder().setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sharesheet/
DSharesheetChooserResultCopyActivity.java40 sendIntent.setType("text/plain"); in createChooserIntent()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DNfcTest.java57 intent.setType(TEXT_MIME_TYPE); in getTextShareIntent()
/cts/tests/tests/view/src/android/view/cts/
DActionModeTest.java82 mockActionMode.setType(ActionMode.TYPE_FLOATING); in testSetType()
85 mockActionMode.setType(ActionMode.TYPE_PRIMARY); in testSetType()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DZipParser.java139 entryBuilder.setType(Entry.EntryType.FOLDER); in parseFileContent()
141 entryBuilder.setType(Entry.EntryType.FILE); in parseFileContent()

123