Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java138 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/
DActivityStartInterceptor.java208 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/
DFakeContextBuilder.java62 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/
DTaskStackBuilder.java109 target = nextIntent.resolveActivity(mSourceContext.getPackageManager()); in addNextIntentWithParentStack()
135 target = parent.resolveActivity(mSourceContext.getPackageManager()); in addParentStack()
DHomeVisibilityObserver.java89 ResolveInfo info = mContext.getPackageManager().resolveActivity(intent, in isHomeActivityVisible()
/frameworks/base/telephony/common/com/android/internal/telephony/
DCellBroadcastUtils.java39 ResolveInfo resolveInfo = packageManager.resolveActivity( in getDefaultCellBroadcastReceiverPackageName()
/frameworks/base/tests/ActivityViewTest/src/com/google/android/test/activityview/
DActivityViewActivity.java49 if (intent.resolveActivity(getPackageManager()) != null) { in onCreate()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DPackageManagerWrapper.java76 public ResolveInfo resolveActivity(Intent intent, @ResolveInfoFlags int flags) { in resolveActivity() method in PackageManagerWrapper
/frameworks/base/services/core/java/com/android/server/utils/
DAppInstallerUtil.java28 ResolveInfo result = context.getPackageManager().resolveActivity(i, 0); in resolveIntent()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DMediaMimeTest.java121 return mContext.getPackageManager().resolveActivity( in resolveMime()
/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/packages/SystemUI/src/com/android/systemui/tuner/
DPluginFragment.java159 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/
DSandman.java55 ComponentName name = intent.resolveActivity(context.getPackageManager()); in shouldStartDockApp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DInstallCarrierAppTrampolineActivity.java97 if (showDialogIntent.resolveActivity(getPackageManager()) == null) { in onCreate()
/frameworks/base/core/java/android/speech/
DRecognizerIntent.java336 ResolveInfo ri = context.getPackageManager().resolveActivity( in getVoiceDetailsIntent()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbProfileGroupSettingsManager.java244 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/
DILauncherApps.aidl47 ActivityInfo resolveActivity( in resolveActivity() method
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringNotificationUpdaterTest.kt365 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/
DPreBootBroadcaster.java146 if (context.getPackageManager().resolveActivity(intent, 0) != null) {
/frameworks/base/core/java/android/view/textclassifier/intent/
DLabeledIntent.java108 final ResolveInfo resolveInfo = pm.resolveActivity(intent, 0); in resolve()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DHelpUtilsTest.java166 when(mPackageManager.resolveActivity(any(Intent.class), anyInt())) in prepareHelpMenuItem_shouldShowIcon()
/frameworks/base/packages/SettingsLib/HelpUtils/src/com/android/settingslib/
DHelpUtils.java154 ComponentName component = intent.resolveActivity(context.getPackageManager()); in getHelpIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DInflatedSmartReplies.java259 ResolveInfo resolveInfo = packageManagerWrapper.resolveActivity(intent, 0 /* flags */); in filterWhiteListedLockTaskApps()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstalledNotificationUtils.java190 ResolveInfo result = context.getPackageManager().resolveActivity(i, 0); in resolveIntent()
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
DAppCompatibility.java103 ResolveInfo resolveInfo = mPackageManager.resolveActivity( in setUp()

123