Home
last modified time | relevance | path

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

12

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DDisallowSharingIntoProfileTest.java54 new Intent(Intent.ACTION_SEND).setType("*/*"),
55 new Intent(Intent.ACTION_SEND_MULTIPLE).setType("*/*"));
59 new Intent(Intent.ACTION_GET_CONTENT).setType("*/*").addCategory(
61 new Intent(Intent.ACTION_OPEN_DOCUMENT).setType("*/*").addCategory(
63 new Intent(Intent.ACTION_PICK).setType("*/*").addCategory(
DNfcTest.java44 intent.setType(TEXT_MIME_TYPE); in getTextShareIntent()
/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/content/src/android/content/cts/
DAvailableIntentsTest.java243 addAppointmentIntent.setType("vnd.android.cursor.item/event"); in testCalendarAddAppointment()
254 intent.setType("vnd.android.cursor.dir/calls"); in testContactsCallLogs()
310 intent.setType("*/*"); in testOpenDocumentAny()
317 intent.setType("image/*"); in testOpenDocumentImage()
324 intent.setType("text/plain"); in testCreateDocument()
331 intent.setType("*/*"); in testGetContentAny()
338 intent.setType("image/*"); in testGetContentImage()
DIntentTest.java129 mIntent.setType(TEST_TYPE); in testReadFromParcel()
225 mIntent.setType(TEST_TYPE); in testAccessType()
264 mIntent.setType(TEST_TYPE); in testResolveType1()
266 mIntent.setType(null); in testResolveType1()
276 mIntent.setType(TEST_TYPE); in testResolveType2()
278 mIntent.setType(null); in testResolveType2()
384 mIntent.setType(TEST_TYPE); in testResolveTypeIfNeeded()
387 mIntent.setType(null); in testResolveTypeIfNeeded()
391 mIntent.setType(TEST_TYPE); in testResolveTypeIfNeeded()
395 mIntent.setType(null); in testResolveTypeIfNeeded()
[all …]
DReadableUriExtraToClipDataTest.java86 intent.setType("*/*"); in testUriExtraStreamMigratedToClipData_sendIntent()
98 intent.setType("*/*"); in testUriExtraStreamMigratedToClipData_sendMultipleIntent()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java145 intent.setType("*/*"); in testOpenSimple()
185 intent.setType("*/*"); in testOpenVirtual()
227 intent.setType(MIME_TYPE); in testCreateNew()
251 intent.setType("mime2/file2"); in testCreateExisting()
355 intent.setType("*/*"); in testGetContent_rootsShowing()
379 intent.setType("*/*"); in testGetContentWithQuery_matchingFileShowing()
398 intent.setType("*/*"); in testGetContent_returnsResultToCallingActivity()
587 intent.setType("*/*"); in testOpenDocumentAtInitialLocation()
639 intent.setType("plain/text"); in testCreateDocumentAtInitialLocation()
651 intent.setType("*/*"); in testCreateWebLink()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DIntentFiltersTestHelper.java60 new Intent(Intent.ACTION_SEND).setType("*/*"),
61 new Intent(Intent.ACTION_SEND_MULTIPLE).setType("*/*")
88 new Intent(Intent.ACTION_GET_CONTENT).setType("*/*").addCategory(
90 new Intent(Intent.ACTION_OPEN_DOCUMENT).setType("*/*").addCategory(
123 Uri.parse("http://example.com/oceans.mp4")).setType("video/mp4"),
125 Uri.parse("http://www.example.com/horse.mp3")).setType("audio/*"),
/cts/tests/signature/tests/src/android/signature/cts/tests/
DApiComplianceCheckerTest.java60 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testMissingClass()
307 clz.setType(JDiffClassDescription.JDiffType.INTERFACE); in testInnerInterface()
328 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testFinalClass()
389 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testAbstractClass()
402 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testRemovingAbstractFromAClass()
436 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testAddingFinalToAMethodInAFinalClass()
451 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testRemovingFinalToAMethodInAFinalClass()
DAbstractApiCheckerTest.java50 clz.setType(JDiffClassDescription.JDiffType.CLASS); in createClass()
82 clz.setType(JDiffClassDescription.JDiffType.INTERFACE); in createInterface()
/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/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DProjectedPresentation.java34 getWindow().setType(WindowManager.LayoutParams.TYPE_PRIVATE_PRESENTATION); in ProjectedPresentation()
/cts/tests/camera/src/android/hardware/cts/
DCameraCtsActivity.java42 mSurfaceView.getHolder().setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); in onCreate()
/cts/tests/tests/view/src/android/view/cts/
DActionModeTest.java71 mockActionMode.setType(ActionMode.TYPE_FLOATING); in testSetType()
74 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()
DDexParser.java129 fieldBuilder.setType(ClassUtils.getCanonicalName(dxField.getType())); in parse()
189 apiAnnotationBuilder.setType(ClassUtils.getCanonicalName(annotation.getType())); in getAnnotationList()
251 fieldBuilder.setType(ClassUtils.getCanonicalName(f.getType())); in processField()
DFileParser.java205 mFileEntryBuilder.setType(getType()); in parse()
/cts/suite/audio_quality/lib/src/
DSignalProcessingImpl.cpp228 val->setType(TaskCase::Value::ETypeI64); in run()
230 val->setType(TaskCase::Value::ETypeDouble); in run()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/
DSampleTestActivity.java112 intent.setType("text/plain"); in createFileAndShare()
/cts/tests/tests/location/src/android/location/cts/
DGnssNavigationMessageTest.java114 message.setType(GnssNavigationMessage.TYPE_GPS_L2CNAV); in setTestValues()
/cts/suite/audio_quality/lib/include/task/
DTaskCase.h71 inline void setType(Type type) { in setType() function
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVCameraPreview.java87 mHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); in initSurface()
/cts/tests/signature/lib/android/src/android/signature/cts/
DCurrentApi.java128 currentClass.setType(isInterface ? JDiffClassDescription.JDiffType.INTERFACE : in loadClassInfo()
/cts/tests/tests/media/src/android/media/cts/
DRemoteVirtualDisplayService.java176 getWindow().setType(WindowManager.LayoutParams.TYPE_PRIVATE_PRESENTATION); in TestPresentation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
DPlayVideoActivity.java85 mHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); in onCreate()

12