Home
last modified time | relevance | path

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

123

/cts/tests/tests/content/src/android/content/cts/
DAvailableDocumentIntentsTest.java57 intent.setType("*/*"); in testOpenDocumentAny()
65 intent.setType("image/*"); in testOpenDocumentImage()
73 intent.setType("text/plain"); in testCreateDocument()
DReadableUriExtraToClipDataTest.java86 intent.setType("*/*"); in testUriExtraStreamMigratedToClipData_sendIntent()
98 intent.setType("*/*"); in testUriExtraStreamMigratedToClipData_sendMultipleIntent()
DIntentTest.java184 mIntent.setType(TEST_TYPE); in testReadFromParcel()
326 mIntent.setType(TEST_TYPE); in testAccessType()
371 mIntent.setType(TEST_TYPE); in testResolveType1()
373 mIntent.setType(null); in testResolveType1()
385 mIntent.setType(TEST_TYPE); in testResolveType2()
387 mIntent.setType(null); in testResolveType2()
504 mIntent.setType(TEST_TYPE); in testResolveTypeIfNeeded()
507 mIntent.setType(null); in testResolveTypeIfNeeded()
511 mIntent.setType(TEST_TYPE); in testResolveTypeIfNeeded()
515 mIntent.setType(null); in testResolveTypeIfNeeded()
[all …]
/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/PhotoPicker/src/android/photopicker/cts/
DActionGetContentOnlyTest.java107 intent.setType("audio/*"); in testMimeTypeFilter()
125 intent.setType("image/*"); in testExtraMimeTypeFilter()
152 intent.setType("image/*"); in testBrowse_singleSelect()
185 intent.setType("image/*"); in testBrowse_multiSelect()
207 intent.setType("image/*"); in testChooserIntent_mediaFilter()
220 intent.setType("*/*"); in testChooserIntent_nonMediaFilter()
230 intent.setType("image/*"); in testPickerAccentColorWithGetContent()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DAutomaticZenRuleTest.java162 .setType(mType) in testBuilder()
203 .setType(mType) in testBuilder_fromInstance()
234 .setType(mType) in testWriteToParcelFromBuilder()
268 .setType(mType) in testEquals()
280 .setType(mType) in testEquals()
297 .setType(mType) in testHashCode()
309 .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/tests/devicepolicy/src/android/devicepolicy/cts/
DCrossProfileSharingTest.java98 new Intent(Intent.ACTION_GET_CONTENT).setType("*/*").addCategory(
100 new Intent(Intent.ACTION_OPEN_DOCUMENT).setType("*/*").addCategory(
102 new Intent(Intent.ACTION_PICK).setType("*/*").addCategory(
109 new Intent(ACTION_SEND).setType("*/*"),
110 new Intent(Intent.ACTION_SEND_MULTIPLE).setType("*/*")
120 new Intent(ACTION_SEND).setType("text/plain").addCategory(CATEGORY_DEFAULT)
/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/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()
366 clz.setType(JDiffClassDescription.JDiffType.INTERFACE); in testInnerInterface()
406 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testFinalClass()
514 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testAbstractClass()
527 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testRemovingAbstractFromAClass()
539 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testRemovingAbstractFromAClass_PreviousApi()
743 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testAddingFinalToAMethodInAFinalClass()
758 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testRemovingFinalToAMethodInAFinalClass()
/cts/hostsidetests/media/app/MediaRouteProviderApps/src/android/media/router/cts/
DBaseFakeRouteProviderService.java56 .setType(type) in createPublicRoute()
97 .setType(type) in createActiveScanOnlyRoute()
/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/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.java39 sendIntent.setType("text/plain"); in createChooserIntent()
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/
DDeviceOwnerComponent.kt198 (deviceOwner as DeviceOwner).setType(type) in ensureHasDeviceOwner()
282 (originalDeviceOwnerCopy as DeviceOwner).setType(it) in teardownShareableState()
294 (deviceOwner as DeviceOwner).setType(it) in teardownShareableState()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DNfcTest.java57 intent.setType(TEXT_MIME_TYPE); in getTextShareIntent()
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContractIntentsTest.java54 intent.setType(ContactsContract.Contacts.CONTENT_ITEM_TYPE); in testGetContentContactDir()
/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/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/extensions/util/
DSidecarUtil.java188 newDisplayFeature.setType(d.getType()); in assertEqualWindowLayoutInfo()
243 newDisplayFeature.setType(d.getType()); in getMutualDisplayFeatures()

123