Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DActionIntentCreator.kt48 setDataAndType(uri, "image/png") in createShareIntent()
85 .setDataAndType(uri, "image/png") in createEditIntent()
DSaveImageInBackgroundTask.java252 sharingIntent.setDataAndType(uri, "image/png"); in createShareAction()
318 editIntent.setDataAndType(uri, "image/png"); in createEditAction()
DLongScreenshotActivity.java351 intent.setDataAndType(uri, "image/png"); in doEdit()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DIntentCreator.java45 shareIntent.setDataAndType( in getShareIntent()
67 editIntent.setDataAndType(uri, "image/*"); in getImageEditIntent()
/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/services/core/java/com/android/server/pm/
DVerificationUtils.java82 intent.setDataAndType(packageUri, PACKAGE_MIME_TYPE); in broadcastPackageVerified()
DVerificationParams.java265 integrityVerification.setDataAndType(Uri.fromFile(new File(mOriginInfo.mResolvedPath)), in sendIntegrityVerificationRequest()
391 verification.setDataAndType(Uri.fromFile(new File(mOriginInfo.mResolvedPath)), in sendPackageVerificationRequest()
DInstantAppResolver.java117 sanitizedIntent.setDataAndType(sanitizedUri, origIntent.getType()); in sanitizeIntent()
DPackageManagerService.java2339 intent.setDataAndType(Uri.parse("content://com.example/foo.apk"), PACKAGE_MIME_TYPE);
2532 intent.setDataAndType(Uri.fromFile(new File("foo.apk")), PACKAGE_MIME_TYPE);
DSettings.java3423 finalIntent.setDataAndType(builder.build(), mimeType);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DMediaMimeTest.java120 viewIntent.setDataAndType(uri, mime); in resolveMime()
/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/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/src/com/android/settingslib/users/
DAvatarPhotoController.java196 intent.setDataAndType(pictureUri, "image/*"); in cropPhoto()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java354 .setDataAndType(uri, "video/mp4"); in createSaveNotification()
/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.java8340 intent.setDataAndType(data, type); in parseCommandArgs()
8352 intent.setDataAndType(data, type); in parseCommandArgs()
9704 public @NonNull Intent setDataAndType(@Nullable Uri data, @Nullable String type) { in setDataAndType() method
9736 return setDataAndType(data.normalizeScheme(), normalizeMimeType(type)); in setDataAndTypeAndNormalize()
11688 intent.setDataAndType(data != null ? Uri.parse(data) : null, mimeType); in parseIntent()
/frameworks/base/telephony/common/com/android/internal/telephony/
DSmsApplication.java286 intent.setDataAndType(null, "application/vnd.wap.mms-message"); in getApplicationCollectionInternal()
/frameworks/base/core/java/android/app/
DContextImpl.java1642 intent.setDataAndType(intent.getData(), resolvedType); in removeStickyBroadcast()
1725 intent.setDataAndType(intent.getData(), resolvedType); in removeStickyBroadcastAsUser()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java834 .setDataAndType(Uri.fromFile(new File("foo.mp3")), AUDIO_MIME_TYPE); in grantDefaultSystemHandlerPermissions()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java454 intent.setDataAndType(bugreportUri, BUGREPORT_MIMETYPE); in sendRemoteBugreportFinishedBroadcast()
/frameworks/base/services/core/java/com/android/server/pm/pkg/parsing/
DParsingPackageUtils.java1821 intent.setDataAndType(data, dataType); in parseQueries()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java1173 resolveIntent.setDataAndType(uri, mimeType);
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java1348 intent.setDataAndType(r.intent.getData(), r.intent.getType()); in startNextMatchingActivity()

12