Home
last modified time | relevance | path

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

12

/cts/tests/tests/content/src/android/content/cts/
DAvailableIntentsTest.java169 addAppointmentIntent.setType("vnd.android.cursor.item/event"); in testCalendarAddAppointment()
180 intent.setType("vnd.android.cursor.dir/calls"); in testContactsCallLogs()
206 intent.setType("*/*"); in testOpenDocumentAny()
213 intent.setType("image/*"); in testOpenDocumentImage()
220 intent.setType("text/plain"); in testCreateDocument()
227 intent.setType("*/*"); in testGetContentAny()
234 intent.setType("image/*"); in testGetContentImage()
DIntentTest.java124 mIntent.setType(TEST_TYPE); in testReadFromParcel()
218 mIntent.setType(TEST_TYPE); in testAccessType()
257 mIntent.setType(TEST_TYPE); in testResolveType1()
259 mIntent.setType(null); in testResolveType1()
269 mIntent.setType(TEST_TYPE); in testResolveType2()
271 mIntent.setType(null); in testResolveType2()
358 mIntent.setType(TEST_TYPE); in testResolveTypeIfNeeded()
361 mIntent.setType(null); in testResolveTypeIfNeeded()
365 mIntent.setType(TEST_TYPE); in testResolveTypeIfNeeded()
369 mIntent.setType(null); in testResolveTypeIfNeeded()
[all …]
DReadableUriExtraToClipDataTest.java86 intent.setType("*/*"); in testUriExtraStreamMigratedToClipData_sendIntent()
98 intent.setType("*/*"); in testUriExtraStreamMigratedToClipData_sendMultipleIntent()
/cts/tests/signature-tests/src/android/signature/cts/tests/
DJDiffClassDescriptionTest.java84 clz.setType(JDiffClassDescription.JDiffType.CLASS); in createNormalClass()
99 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testMissingClass()
282 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testInnerClass()
295 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testInnerInnerClass()
308 clz.setType(JDiffClassDescription.JDiffType.INTERFACE); in testInnerInterface()
319 clz.setType(JDiffClassDescription.JDiffType.INTERFACE); in testInterface()
330 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testFinalClass()
387 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testAbstractClass()
399 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testRemovingAbstractFromAClass()
411 clz.setType(JDiffClassDescription.JDiffType.CLASS); in testAddingAbstractToAClass()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DIntentFiltersTestHelper.java55 new Intent(Intent.ACTION_SEND).setType("*/*"),
56 new Intent(Intent.ACTION_SEND_MULTIPLE).setType("*/*")
133 new Intent(Intent.ACTION_GET_CONTENT).setType("*/*").addCategory(
135 new Intent(Intent.ACTION_OPEN_DOCUMENT).setType("*/*").addCategory(
162 Uri.parse("http://example.com/oceans.mp4")).setType("video/mp4"),
164 Uri.parse("http://www.example.com/horse.mp3")).setType("audio/*"),
DNfcTestActivity.java96 shareIntent.setType("image/jpg"); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DProjectedPresentation.java34 getWindow().setType(WindowManager.LayoutParams.TYPE_PRIVATE_PRESENTATION); in ProjectedPresentation()
/cts/tests/tests/hardware/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.java38 actionMode.setType(ActionMode.TYPE_FLOATING); in testSetType()
41 actionMode.setType(ActionMode.TYPE_PRIMARY); in testSetType()
DWindowTest.java610 mWindow.setType(WindowManager.LayoutParams.TYPE_BASE_APPLICATION); in testSetType()
821 getWindow().setType(WindowManager.LayoutParams.TYPE_PRIVATE_PRESENTATION); in ProjectedPresentation()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DNfcTest.java44 intent.setType(TEXT_MIME_TYPE); in getTextShareIntent()
/cts/tools/signature-tools/src/signature/model/impl/
DSigAnnotation.java41 public void setType(IClassReference type) { in setType() method in SigAnnotation
DSigField.java56 public void setType(ITypeReference type) { in setType() method in SigField
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java128 intent.setType("*/*"); in testOpenSimple()
164 intent.setType(MIME_TYPE); in testCreateNew()
188 intent.setType("mime2/file2"); in testCreateExisting()
287 intent.setType("*/*"); in testGetContent()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVCameraPreview.java74 mHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); in initSurface()
/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.java111 intent.setType("text/plain"); in createFileAndShare()
/cts/tools/signature-tools/src/signature/converter/dex/
DDexToSigConverter.java491 annotationField.setType(parser.parseNonGenericType(dexMethod in convertAnnotationField()
507 enumConstant.setType(factory.getClassReference(typePackageName, in convertEnumConstant()
543 field.setType(parser.fieldType); in convertField()
547 field.setType(parser.parseNonGenericType(dexField.getType())); in convertField()
817 .setType(factory.getClassReference(packageName, className)); in convertAnnotation()
892 sigAnnotation.setType(factory.getClassReference(packageName, in convertEncodedValue()
/cts/suite/audio_quality/lib/include/task/
DTaskCase.h71 inline void setType(Type type) { in setType() function
/cts/tools/signature-tools/src/signature/converter/doclet/
DDocletToSigConverter.java229 annotationField.setType(convertTypeReference(annotationElement in convertClass()
525 f.setType(convertTypeReference(field.type())); in convertField()
535 ec.setType(convertTypeReference(enumConstant.type())); in convertEnumConstant()
572 a.setType(annotationType); in convertAnnotation()
/cts/tests/tests/media/src/android/media/cts/
DRingtoneManagerTest.java123 mRingtoneManager.setType(RingtoneManager.TYPE_ALARM); in testSetType()
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()
/cts/tests/signature/src/android/signature/cts/
DSignatureTest.java280 currentClass.setType(isInterface ? JDiffClassDescription.JDiffType.INTERFACE : in loadClassInfo()
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java308 getWindow().setType(mWindowType); in onCreate()

12