Home
last modified time | relevance | path

Searched refs:resolveActivity (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java136 final ResolveInfo info = mPackageManager.resolveActivity(mDisabledActivityIntent, 0); in testResolveDisabledActivity()
139 final ResolveInfo info2 = mPackageManager.resolveActivity( in testResolveDisabledActivity()
152 final ResolveInfo info = mPackageManager.resolveActivity(mEnabledActivityIntent, 0); in testResolveEnabledActivity()
232 final ResolveInfo info = mPackageManager.resolveActivity(mDisabledActivityIntent, 0); in testEnableActivity()
238 mPackageManager.resolveActivity(mDisabledActivityIntent, in testEnableActivity()
255 final ResolveInfo info = mPackageManager.resolveActivity(mEnabledActivityIntent, 0); in testDisableActivity()
262 mPackageManager.resolveActivity(mEnabledActivityIntent, in testDisableActivity()
266 final ResolveInfo info3 = mPackageManager.resolveActivity(mEnabledActivityIntent, in testDisableActivity()
647 mPackageManager.resolveActivity(mDisabledAppEnabledActivityIntent, 0); in DISABLED_testResolveEnabledActivityInDisabledApp()
650 final ResolveInfo info2 = mPackageManager.resolveActivity( in DISABLED_testResolveEnabledActivityInDisabledApp()
[all …]
/frameworks/base/core/java/android/app/
DTaskStackBuilder.java109 target = nextIntent.resolveActivity(mSourceContext.getPackageManager()); in addNextIntentWithParentStack()
135 target = parent.resolveActivity(mSourceContext.getPackageManager()); in addParentStack()
DApplicationErrorReport.java224 ResolveInfo info = pm.resolveActivity(intent, 0); in getErrorReportReceiver()
DApplicationPackageManager.java623 public ResolveInfo resolveActivity(Intent intent, int flags) { in resolveActivity() method in ApplicationPackageManager
886 ResolveInfo info = resolveActivity( in getActivityIcon()
922 ResolveInfo info = resolveActivity( in getActivityBanner()
955 ResolveInfo info = resolveActivity( in getActivityLogo()
/frameworks/base/docs/html/training/camera/
Dvideobasics.jd87 if (takeVideoIntent.resolveActivity(getPackageManager()) != null) {
95 {@link android.content.Intent#resolveActivity resolveActivity()}, which returns the
Dphotobasics.jd93 if (takePictureIntent.resolveActivity(getPackageManager()) != null) {
101 {@link android.content.Intent#resolveActivity resolveActivity()}, which returns the
217 if (takePictureIntent.resolveActivity(getPackageManager()) != null) {
/frameworks/base/core/java/android/content/pm/
DILauncherApps.aidl35 ResolveInfo resolveActivity(in Intent intent, in UserHandle user); in resolveActivity() method
DLauncherApps.java188 public LauncherActivityInfo resolveActivity(Intent intent, UserHandle user) { in resolveActivity() method in LauncherApps
190 ResolveInfo ri = mService.resolveActivity(intent, user); in resolveActivity()
/frameworks/support/v4/java/android/support/v4/app/
DTaskStackBuilder.java180 target = nextIntent.resolveActivity(mSourceContext.getPackageManager()); in addNextIntentWithParentStack()
210 target = parent.resolveActivity(mSourceContext.getPackageManager()); in addParentStack()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DMediaMimeTest.java121 return mContext.getPackageManager().resolveActivity( in resolveMime()
/frameworks/base/core/java/android/service/dreams/
DSandman.java55 ComponentName name = intent.resolveActivity(context.getPackageManager()); in shouldStartDockApp()
/frameworks/base/core/java/android/speech/
DRecognizerIntent.java332 ResolveInfo ri = context.getPackageManager().resolveActivity( in getVoiceDetailsIntent()
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
DSearchablesTest.java344 public ResolveInfo resolveActivity(Intent intent, int flags) { in resolveActivity() method in SearchablesTest.MyMockPackageManager
350 return mRealPackageManager.resolveActivity(intent, flags); in resolveActivity()
/frameworks/base/docs/html/guide/components/
Dintents-common.jd173 android.content.Intent#resolveActivity resolveActivity()} on your {@link android.content.Intent}
269 if (intent.resolveActivity(getPackageManager()) != null) {
353 if (intent.resolveActivity(getPackageManager()) != null) {
477 if (intent.resolveActivity(getPackageManager()) != null) {
562 if (intent.resolveActivity(getPackageManager()) != null) {
639 if (intent.resolveActivity(getPackageManager()) != null) {
695 if (intent.resolveActivity(getPackageManager()) != null) {
756 if (intent.resolveActivity(getPackageManager()) != null) {
836 if (intent.resolveActivity(getPackageManager()) != null) {
895 if (intent.resolveActivity(getPackageManager()) != null) {
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java279 return mOpenBatterySettings.resolveActivity(mContext.getPackageManager()) != null; in hasBatterySettings()
283 return mOpenSaverSettings.resolveActivity(mContext.getPackageManager()) != null; in hasSaverSettings()
/frameworks/base/docs/html/training/enterprise/
Dapp-compatibility.jd91 android.content.Intent#resolveActivity Intent.resolveActivity()}. If there is no
116 <strong>if (timerIntent.resolveActivity(getPackageManager()) == null)</strong> {
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSettingsManager.java745 resolveActivity(intent, matches, defaultPackage, device, null); in deviceAttached()
772 resolveActivity(intent, matches, defaultPackage, null, accessory); in accessoryAttached()
785 private void resolveActivity(Intent intent, ArrayList<ResolveInfo> matches, in resolveActivity() method in UsbSettingsManager
DUsbDebuggingManager.java355 if (packageManager.resolveActivity(intent, PackageManager.MATCH_DEFAULT_ONLY) != null) { in startConfirmationActivity()
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/intents/
Dsending.jd246 if (intent.resolveActivity(getPackageManager()) != null) {
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/intents/
Dsending.jd246 if (intent.resolveActivity(getPackageManager()) != null) {
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
DMemoryUsageTest.java114 getPackageManager().resolveActivity(intent, PackageManager.MATCH_DEFAULT_ONLY); in getLauncherPackageName()
/frameworks/base/docs/html-intl/intl/ko/training/basics/intents/
Dsending.jd246 if (intent.resolveActivity(getPackageManager()) != null) {
/frameworks/base/docs/html-intl/intl/ja/training/basics/intents/
Dsending.jd246 if (intent.resolveActivity(getPackageManager()) != null) {
/frameworks/base/docs/html-intl/intl/ru/training/basics/intents/
Dsending.jd246 if (intent.resolveActivity(getPackageManager()) != null) {
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java211 public ResolveInfo resolveActivity(Intent intent, UserHandle user) in resolveActivity() method in LauncherAppsService.LauncherAppsImpl

12