Home
last modified time | relevance | path

Searched refs:setDataAndType (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DActionIntentCreator.kt49 setDataAndType(uri, "image/png") in createShare()
86 .setDataAndType(uri, "image/png") in createEdit()
/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/
DSystemServiceCallLoadTest.java55 intent.setDataAndType(Uri.parse("http://example.com/"), "text/plain"); in test()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DMediaMimeTest.java119 viewIntent.setDataAndType(uri, mime); in resolveMime()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DIntentCreator.java75 editIntent.setDataAndType(uri, "image/*"); in getImageEditIntent()
/frameworks/base/apct-tests/perftests/core/src/android/os/
DStrictModeTest.java62 intent.setDataAndType(Uri.parse("content://com.example/foobar"), "image/jpeg"); in causeVmViolations()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaFrameworkTest.java125 intent.setDataAndType(path, mimetype); in startPlayback()
/frameworks/base/services/core/java/com/android/server/pm/
DVerificationUtils.java90 intent.setDataAndType(packageUri, PACKAGE_MIME_TYPE); in broadcastPackageVerified()
DVerifyingSession.java290 integrityVerification.setDataAndType(Uri.fromFile(new File(mOriginInfo.mResolvedPath)), in sendIntegrityVerificationRequest()
440 verification.setDataAndType(Uri.fromFile(new File(mOriginInfo.mResolvedPath)), in sendPackageVerificationRequest()
590 requiredIntent.setDataAndType(Uri.fromFile(new File(mOriginInfo.mResolvedPath)), in sendPackageVerificationRequest()
DInstantAppResolver.java118 sanitizedIntent.setDataAndType(sanitizedUri, origIntent.getType()); in sanitizeIntent()
DPackageManagerService.java2651 intent.setDataAndType(Uri.parse("content://com.example/foo.apk"), PACKAGE_MIME_TYPE);
2847 intent.setDataAndType(Uri.fromFile(new File("foo.apk")), PACKAGE_MIME_TYPE);
DSettings.java3762 finalIntent.setDataAndType(builder.build(), mimeType);
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/
DAppIntegrityManagerServiceImplTest.java355 intent.setDataAndType(Uri.fromFile(mTestApkTwoCerts), PACKAGE_MIME_TYPE); in handleBroadcast_correctArgs_multipleCerts()
378 intent.setDataAndType(Uri.fromFile(mTestApkSourceStamp), PACKAGE_MIME_TYPE); in handleBroadcast_correctArgs_sourceStamp()
553 intent.setDataAndType(Uri.fromFile(mTestApk), PACKAGE_MIME_TYPE); in makeVerificationIntent()
/frameworks/base/packages/SettingsLib/AvatarPicker/src/
DAvatarPhotoController.java210 intent.setDataAndType(pictureUri, "image/*"); in cropPhoto()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java351 .setDataAndType(uri, "video/mp4"); in createSaveNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DLongScreenshotActivity.java357 intent.setDataAndType(uri, "image/png"); in doEdit()
/frameworks/base/core/java/android/os/storage/
DVolumeInfo.java513 intent.setDataAndType(uri, DocumentsContract.Root.MIME_TYPE_ITEM); in buildBrowseIntentForUser()
/frameworks/base/core/java/android/content/
DIntent.java8872 intent.setDataAndType(data, type); in parseCommandArgs()
8884 intent.setDataAndType(data, type); in parseCommandArgs()
10252 public @NonNull Intent setDataAndType(@Nullable Uri data, @Nullable String type) { in setDataAndType() method
10284 return setDataAndType(data.normalizeScheme(), normalizeMimeType(type)); in setDataAndTypeAndNormalize()
12296 intent.setDataAndType(data != null ? Uri.parse(data) : null, mimeType); in parseIntent()
/frameworks/base/telephony/common/com/android/internal/telephony/
DSmsApplication.java294 intent.setDataAndType(null, "application/vnd.wap.mms-message"); in getApplicationCollectionInternal()
/frameworks/base/core/java/android/app/
DContextImpl.java1712 intent.setDataAndType(intent.getData(), resolvedType); in removeStickyBroadcast()
1796 intent.setDataAndType(intent.getData(), resolvedType); in removeStickyBroadcastAsUser()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java852 .setDataAndType(Uri.fromFile(new File("foo.mp3")), AUDIO_MIME_TYPE); in grantDefaultSystemHandlerPermissions()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java462 intent.setDataAndType(bugreportUri, BUGREPORT_MIMETYPE); in sendRemoteBugreportFinishedBroadcast()
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingPackageUtils.java1920 intent.setDataAndType(data, dataType);
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java1373 intent.setDataAndType(r.intent.getData(), r.intent.getType()); in startNextMatchingActivity()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java9270 intent.setDataAndType(bugreportUri, RemoteBugreportManager.BUGREPORT_MIMETYPE);
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...

12