/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | ComponentTest.java | 138 final ResolveInfo info = mPackageManager.resolveActivity(mDisabledActivityIntent, 0); in testResolveDisabledActivity() 141 final ResolveInfo info2 = mPackageManager.resolveActivity( in testResolveDisabledActivity() 154 final ResolveInfo info = mPackageManager.resolveActivity(mEnabledActivityIntent, 0); in testResolveEnabledActivity() 234 final ResolveInfo info = mPackageManager.resolveActivity(mDisabledActivityIntent, 0); in testEnableActivity() 240 mPackageManager.resolveActivity(mDisabledActivityIntent, in testEnableActivity() 257 final ResolveInfo info = mPackageManager.resolveActivity(mEnabledActivityIntent, 0); in testDisableActivity() 264 mPackageManager.resolveActivity(mEnabledActivityIntent, in testDisableActivity() 268 final ResolveInfo info3 = mPackageManager.resolveActivity(mEnabledActivityIntent, in testDisableActivity() 649 mPackageManager.resolveActivity(mDisabledAppEnabledActivityIntent, 0); in DISABLED_testResolveEnabledActivityInDisabledApp() 652 final ResolveInfo info2 = mPackageManager.resolveActivity( in DISABLED_testResolveEnabledActivityInDisabledApp() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityStartInterceptor.java | 208 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, null /*profilerInfo*/); in interceptQuietProfileIfNeeded() 233 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, null /*profilerInfo*/); in interceptSuspendedByAdminPackage() 259 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, null /*profilerInfo*/); in interceptSuspendedPackageIfNeeded() 285 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, null /*profilerInfo*/); in interceptWorkProfileChallengeIfNeeded() 338 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, null /*profilerInfo*/); in interceptHarmfulAppIfNeeded()
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | FakeContextBuilder.java | 62 when(mPackageManager.resolveActivity(any(Intent.class), anyInt())).thenReturn(null); in FakeContextBuilder() 106 when(mPackageManager.resolveActivity(any(Intent.class), anyInt())).thenAnswer( in build()
|
/frameworks/base/core/java/android/app/ |
D | TaskStackBuilder.java | 109 target = nextIntent.resolveActivity(mSourceContext.getPackageManager()); in addNextIntentWithParentStack() 135 target = parent.resolveActivity(mSourceContext.getPackageManager()); in addParentStack()
|
D | HomeVisibilityObserver.java | 89 ResolveInfo info = mContext.getPackageManager().resolveActivity(intent, in isHomeActivityVisible()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | CellBroadcastUtils.java | 39 ResolveInfo resolveInfo = packageManager.resolveActivity( in getDefaultCellBroadcastReceiverPackageName()
|
/frameworks/base/tests/ActivityViewTest/src/com/google/android/test/activityview/ |
D | ActivityViewActivity.java | 49 if (intent.resolveActivity(getPackageManager()) != null) { in onCreate()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | PackageManagerWrapper.java | 76 public ResolveInfo resolveActivity(Intent intent, @ResolveInfoFlags int flags) { in resolveActivity() method in PackageManagerWrapper
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | AppInstallerUtil.java | 28 ResolveInfo result = context.getPackageManager().resolveActivity(i, 0); in resolveIntent()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | MediaMimeTest.java | 121 return mContext.getPackageManager().resolveActivity( in resolveMime()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/search/ |
D | SearchablesTest.java | 344 public ResolveInfo resolveActivity(Intent intent, int flags) { in resolveActivity() method in SearchablesTest.MyMockPackageManager 350 return mRealPackageManager.resolveActivity(intent, flags); in resolveActivity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | PluginFragment.java | 159 mHasSettings = pm.resolveActivity(new Intent(ACTION_PLUGIN_SETTINGS) in PluginPreference() 212 ResolveInfo result = v.getContext().getPackageManager().resolveActivity( in onBindViewHolder()
|
/frameworks/base/core/java/android/service/dreams/ |
D | Sandman.java | 55 ComponentName name = intent.resolveActivity(context.getPackageManager()); in shouldStartDockApp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | InstallCarrierAppTrampolineActivity.java | 97 if (showDialogIntent.resolveActivity(getPackageManager()) == null) { in onCreate()
|
/frameworks/base/core/java/android/speech/ |
D | RecognizerIntent.java | 336 ResolveInfo ri = context.getPackageManager().resolveActivity( in getVoiceDetailsIntent()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbProfileGroupSettingsManager.java | 244 device -> resolveActivity(createDeviceAttachedIntent(device), in UsbProfileGroupSettingsManager() 746 resolveActivity(intent, device, true /* showMtpNotification */); in deviceAttached() 749 private void resolveActivity(Intent intent, UsbDevice device, boolean showMtpNotification) { in resolveActivity() method in UsbProfileGroupSettingsManager 766 resolveActivity(intent, matches, defaultActivity, device, null); in resolveActivity() 822 resolveActivity(intent, matches, defaultActivity, null, accessory); in accessoryAttached() 834 private void resolveActivity(@NonNull Intent intent, @NonNull ArrayList<ResolveInfo> matches, in resolveActivity() method in UsbProfileGroupSettingsManager
|
/frameworks/base/core/java/android/content/pm/ |
D | ILauncherApps.aidl | 47 ActivityInfo resolveActivity( in resolveActivity() method
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringNotificationUpdaterTest.kt | 365 doReturn(null).`when`(pm).resolveActivity(any(), anyInt()) in testGetSettingsPackageName() 377 doReturn(resolveInfo).`when`(pm).resolveActivity(any(), anyInt()) in testGetSettingsPackageName()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PreBootBroadcaster.java | 146 if (context.getPackageManager().resolveActivity(intent, 0) != null) {
|
/frameworks/base/core/java/android/view/textclassifier/intent/ |
D | LabeledIntent.java | 108 final ResolveInfo resolveInfo = pm.resolveActivity(intent, 0); in resolve()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | HelpUtilsTest.java | 166 when(mPackageManager.resolveActivity(any(Intent.class), anyInt())) in prepareHelpMenuItem_shouldShowIcon()
|
/frameworks/base/packages/SettingsLib/HelpUtils/src/com/android/settingslib/ |
D | HelpUtils.java | 154 ComponentName component = intent.resolveActivity(context.getPackageManager()); in getHelpIntent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | InflatedSmartReplies.java | 259 ResolveInfo resolveInfo = packageManagerWrapper.resolveActivity(intent, 0 /* flags */); in filterWhiteListedLockTaskApps()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageInstalledNotificationUtils.java | 190 ResolveInfo result = context.getPackageManager().resolveActivity(i, 0); in resolveIntent()
|
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
D | AppCompatibility.java | 103 ResolveInfo resolveInfo = mPackageManager.resolveActivity( in setUp()
|