Home
last modified time | relevance | path

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

12345

/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java140 final ResolveInfo info = mPackageManager.resolveActivity(mDisabledActivityIntent, 0); in testResolveDisabledActivity()
143 final ResolveInfo info2 = mPackageManager.resolveActivity( in testResolveDisabledActivity()
156 final ResolveInfo info = mPackageManager.resolveActivity(mEnabledActivityIntent, 0); in testResolveEnabledActivity()
236 final ResolveInfo info = mPackageManager.resolveActivity(mDisabledActivityIntent, 0); in testEnableActivity()
242 mPackageManager.resolveActivity(mDisabledActivityIntent, in testEnableActivity()
259 final ResolveInfo info = mPackageManager.resolveActivity(mEnabledActivityIntent, 0); in testDisableActivity()
266 mPackageManager.resolveActivity(mEnabledActivityIntent, in testDisableActivity()
270 final ResolveInfo info3 = mPackageManager.resolveActivity(mEnabledActivityIntent, in testDisableActivity()
651 mPackageManager.resolveActivity(mDisabledAppEnabledActivityIntent, 0); in DISABLED_testResolveEnabledActivityInDisabledApp()
654 final ResolveInfo info2 = mPackageManager.resolveActivity( in DISABLED_testResolveEnabledActivityInDisabledApp()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStartInterceptor.java258 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, in intercept()
303 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, null /*profilerInfo*/); in interceptQuietProfileIfNeeded()
328 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, null /*profilerInfo*/); in interceptSuspendedByAdminPackage()
360 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, null /*profilerInfo*/); in interceptSuspendedPackageIfNeeded()
380 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, null /*profilerInfo*/); in interceptLockTaskModeViolationPackageIfNeeded()
416 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, null /*profilerInfo*/); in interceptLockedProfileIfNeeded()
474 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, null /*profilerInfo*/); in interceptHarmfulAppIfNeeded()
515 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, /*profilerInfo=*/ null); in interceptHomeIfNeeded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DContextComponentHelper.java30 Activity resolveActivity(String className); in resolveActivity() method
DContextComponentResolver.java55 public Activity resolveActivity(String className) { in resolveActivity() method in ContextComponentResolver
/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()
/frameworks/base/packages/SettingsLib/ActivityEmbedding/src/com/android/settingslib/activityembedding/
DActivityEmbeddingUtils.java78 return intent.resolveActivity(context.getPackageManager()); in getEmbeddingActivityComponent()
/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/
DSystemServiceCallLoadTest.java57 ResolveInfo resolveInfo = mPackageManager.resolveActivity(intent, 0); in test()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlsUiController.kt46 fun resolveActivity(): Class<*> in show() method
/frameworks/base/telephony/common/com/android/internal/telephony/
DCellBroadcastUtils.java40 ResolveInfo resolveInfo = packageManager.resolveActivity( in getDefaultCellBroadcastReceiverPackageName()
/frameworks/base/services/core/java/com/android/server/utils/
DAppInstallerUtil.java28 ResolveInfo result = context.getPackageManager().resolveActivity(i, 0); in resolveIntent()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DPackageManagerWrapper.java76 public ResolveInfo resolveActivity(Intent intent, @ResolveInfoFlagsBits int flags) { in resolveActivity() method in PackageManagerWrapper
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/view/viewmodel/
DCommunalEditModeViewModelTest.kt257 whenever(packageManager.resolveActivity(any(), anyInt())).then { in onOpenWidgetPicker_launchesWidgetPickerActivity()
278 whenever(packageManager.resolveActivity(any(), anyInt())).thenReturn(null) in onOpenWidgetPicker_launcherActivityNotResolved_doesNotLaunchWidgetPickerActivity()
295 whenever(packageManager.resolveActivity(any(), anyInt())).then { in onOpenWidgetPicker_activityLaunchThrowsException_failure()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DMediaMimeTest.java120 return mContext.getPackageManager().resolveActivity( in resolveMime()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/
DSupervisedDeviceActionDisabledByAdminController.java78 intent.resolveActivity(context.getPackageManager()); in getPositiveButtonListener()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DInstallCarrierAppTrampolineActivity.java97 if (showDialogIntent.resolveActivity(getPackageManager()) == null) { in onCreate()
/frameworks/base/core/java/android/service/dreams/
DSandman.java52 ComponentName name = intent.resolveActivity(context.getPackageManager()); in shouldStartDockApp()
/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/debug/
DAdbNotifications.java72 ResolveInfo resolveInfo = context.getPackageManager().resolveActivity(intent, in createNotification()
/frameworks/base/core/java/android/speech/
DRecognizerIntent.java459 ResolveInfo ri = context.getPackageManager().resolveActivity( in getVoiceDetailsIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIAppComponentFactoryBase.kt128 return componentHelper.resolveActivity(className) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyDialogControllerTest.kt670 `when`(packageManager.resolveActivity(any(), any<ResolveInfoFlags>())) in <lambda>()
699 `when`(packageManager.resolveActivity(any(), any<ResolveInfoFlags>())) in <lambda>()
719 `when`(packageManager.resolveActivity(any(), any<ResolveInfoFlags>())) in <lambda>()
742 `when`(packageManager.resolveActivity(any(), any<ResolveInfoFlags>())) in <lambda>()
DPrivacyDialogControllerV2Test.kt678 `when`(packageManager.resolveActivity(any(), any<ResolveInfoFlags>())).thenAnswer { in <lambda>()
710 `when`(packageManager.resolveActivity(any(), any<ResolveInfoFlags>())).thenAnswer { in <lambda>()
729 `when`(packageManager.resolveActivity(any(), any<ResolveInfoFlags>())).thenAnswer { in <lambda>()
754 `when`(packageManager.resolveActivity(any(), any<ResolveInfoFlags>())).thenAnswer { in <lambda>()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbProfileGroupSettingsManager.java282 device -> resolveActivity(createDeviceAttachedIntent(device), in UsbProfileGroupSettingsManager()
920 resolveActivity(intent, device, true /* showMtpNotification */); in deviceAttached()
924 private void resolveActivity(Intent intent, UsbDevice device, boolean showMtpNotification) { in resolveActivity() method in UsbProfileGroupSettingsManager
941 resolveActivity(intent, matches, defaultActivity, device, null); in resolveActivity()
1072 resolveActivity(intent, matches, defaultActivity, null, accessory); in accessoryAttached()
1084 private void resolveActivity(@NonNull Intent intent, @NonNull ArrayList<ResolveInfo> matches, in resolveActivity() method in UsbProfileGroupSettingsManager
/frameworks/opt/car/services/updatableServices/src/com/android/server/wm/
DCarDisplayCompatActivityInterceptor.java102 ResolveInfo ri = packageManager.resolveActivity(intent, in CarDisplayCompatActivityInterceptor()

12345