Home
last modified time | relevance | path

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

12

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DDataProfileTest.java53 .setType(TYPE) in testConstructorAndGetters()
90 .setType(TYPE) in testEquals()
108 .setType(TYPE) in testEquals()
131 .setType(TYPE) in testNotEquals()
149 .setType(TYPE) in testNotEquals()
174 .setType(TYPE) in testParcel()
/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.java57 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.java244 addAppointmentIntent.setType("vnd.android.cursor.item/event"); in testCalendarAddAppointment()
255 intent.setType("vnd.android.cursor.dir/calls"); in testContactsCallLogs()
317 intent.setType("*/*"); in testOpenDocumentAny()
324 intent.setType("image/*"); in testOpenDocumentImage()
331 intent.setType("text/plain"); in testCreateDocument()
338 intent.setType("*/*"); in testGetContentAny()
345 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/tests/signature/tests/src/android/signature/cts/tests/
DAbstractApiCheckerTest.java50 clz.setType(JDiffClassDescription.JDiffType.CLASS); in createClass()
58 clz.setType(JDiffClassDescription.JDiffType.CLASS); in createAbstractClass()
90 clz.setType(JDiffClassDescription.JDiffType.INTERFACE); in createInterface()
DApiComplianceCheckerTest.java61 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testMissingClass()
308 clz.setType(JDiffClassDescription.JDiffType.INTERFACE); in testInnerInterface()
329 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testFinalClass()
375 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testAbstractClass()
388 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testRemovingAbstractFromAClass()
484 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testAddingFinalToAMethodInAFinalClass()
499 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testRemovingFinalToAMethodInAFinalClass()
/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/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/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/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DProjectedPresentation.java34 getWindow().setType(WindowManager.LayoutParams.TYPE_PRIVATE_PRESENTATION); in ProjectedPresentation()
/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/tests/camera/src/android/hardware/cts/
DCameraCtsActivity.java42 mSurfaceView.getHolder().setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); in onCreate()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContactsContractIntentsTest.java53 intent.setType(ContactsContract.Contacts.CONTENT_ITEM_TYPE); in testGetContentContactDir()
/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/tests/media/src/android/media/cts/
DRemoteVirtualDisplayService.java176 getWindow().setType(WindowManager.LayoutParams.TYPE_PRIVATE_PRESENTATION); in TestPresentation()

12