Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java137 final ResolveInfo info = mPackageManager.resolveActivity(mDisabledActivityIntent, 0); in testResolveDisabledActivity()
140 final ResolveInfo info2 = mPackageManager.resolveActivity( in testResolveDisabledActivity()
153 final ResolveInfo info = mPackageManager.resolveActivity(mEnabledActivityIntent, 0); in testResolveEnabledActivity()
233 final ResolveInfo info = mPackageManager.resolveActivity(mDisabledActivityIntent, 0); in testEnableActivity()
239 mPackageManager.resolveActivity(mDisabledActivityIntent, in testEnableActivity()
256 final ResolveInfo info = mPackageManager.resolveActivity(mEnabledActivityIntent, 0); in testDisableActivity()
263 mPackageManager.resolveActivity(mEnabledActivityIntent, in testDisableActivity()
267 final ResolveInfo info3 = mPackageManager.resolveActivity(mEnabledActivityIntent, in testDisableActivity()
648 mPackageManager.resolveActivity(mDisabledAppEnabledActivityIntent, 0); in DISABLED_testResolveEnabledActivityInDisabledApp()
651 final ResolveInfo info2 = mPackageManager.resolveActivity( in DISABLED_testResolveEnabledActivityInDisabledApp()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActivityStartInterceptor.java139 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, null /*profilerInfo*/); in interceptQuietProfileIfNeeded()
166 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, null /*profilerInfo*/); in interceptSuspendPackageIfNeed()
200 mAInfo = mSupervisor.resolveActivity(mIntent, mRInfo, mStartFlags, null /*profilerInfo*/); in interceptWorkProfileChallengeIfNeeded()
DPreBootBroadcaster.java141 if (context.getPackageManager().resolveActivity(intent, 0) != null) {
/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/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/support/core-utils/java/android/support/v4/app/
DTaskStackBuilder.java181 target = nextIntent.resolveActivity(mSourceContext.getPackageManager()); in addNextIntentWithParentStack()
211 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/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/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/docs/html/guide/components/
Dintents-common.jd186 android.content.Intent#resolveActivity resolveActivity()} on your {@link
294 if (intent.resolveActivity(getPackageManager()) != null) {
386 if (intent.resolveActivity(getPackageManager()) != null) {
510 if (intent.resolveActivity(getPackageManager()) != null) {
595 if (intent.resolveActivity(getPackageManager()) != null) {
680 if (intent.resolveActivity(getPackageManager()) != null) {
741 if (intent.resolveActivity(getPackageManager()) != null) {
802 if (intent.resolveActivity(getPackageManager()) != null) {
882 if (intent.resolveActivity(getPackageManager()) != null) {
941 if (intent.resolveActivity(getPackageManager()) != null) {
[all …]
/frameworks/base/core/java/android/content/pm/
DILauncherApps.aidl41 ActivityInfo resolveActivity(in ComponentName component, in UserHandle user); in resolveActivity() method
DLauncherApps.java380 public LauncherActivityInfo resolveActivity(Intent intent, UserHandle user) { in resolveActivity() method in LauncherApps
382 ActivityInfo ai = mService.resolveActivity(intent.getComponent(), user); in resolveActivity()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSettingsManager.java532 resolveActivity(createDeviceAttachedIntent(device), device); in UsbSettingsManager()
745 resolveActivity(intent, device); in deviceAttached()
749 private void resolveActivity(Intent intent, UsbDevice device) { in resolveActivity() method in UsbSettingsManager
760 resolveActivity(intent, matches, defaultPackage, device, null); in resolveActivity()
789 resolveActivity(intent, matches, defaultPackage, null, accessory); in accessoryAttached()
802 private void resolveActivity(Intent intent, ArrayList<ResolveInfo> matches, in resolveActivity() method in UsbSettingsManager
/frameworks/support/customtabs/src/android/support/customtabs/
DCustomTabsClient.java102 ResolveInfo defaultViewHandlerInfo = pm.resolveActivity(activityIntent, 0); in getPackageName()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DQuickViewIntentBuilder.java197 return intent.resolveActivity(mPkgManager) != null; in hasRegisteredHandler()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DHelpUtils.java150 ComponentName component = intent.resolveActivity(context.getPackageManager()); in getHelpIntent()
/frameworks/base/docs/html-intl/intl/zh-tw/guide/components/
Dintents-filters.jd363 {@link android.content.Intent} 物件上呼叫 {@link android.content.Intent#resolveActivity
364 resolveActivity()}。如果結果不是 null,表示至少有一個應用程式能夠處理該意圖,可以放心呼叫
379 if (sendIntent.resolveActivity(getPackageManager()) != null) {
434 if (sendIntent.resolveActivity(getPackageManager()) != null) {
/frameworks/base/docs/html-intl/intl/ja/guide/components/
Dintents-filters.jd362 …ントを受け取るようにするには、{@link android.content.Intent} オブジェクトで {@link android.content.Intent#resolveActivity
363 resolveActivity()} を呼び出します。
379 if (sendIntent.resolveActivity(getPackageManager()) != null) {
434 if (sendIntent.resolveActivity(getPackageManager()) != null) {
/frameworks/base/docs/html-intl/intl/ko/guide/components/
Dintents-filters.jd363 …텐트를 수신하도록 확실히 하려면, {@link android.content.Intent} 객체의 {@link android.content.Intent#resolveActivity
364 resolveActivity()}를 호출합니다. 결과가 null이 아닌 경우,
379 if (sendIntent.resolveActivity(getPackageManager()) != null) {
434 if (sendIntent.resolveActivity(getPackageManager()) != null) {
/frameworks/base/docs/html-intl/intl/zh-cn/guide/components/
Dintents-filters.jd363 Intent,请对 {@link android.content.Intent} 对象调用 {@link android.content.Intent#resolveActivity
364 resolveActivity()}。如果结果为非空,则至少有一个应用能够处理该
379 if (sendIntent.resolveActivity(getPackageManager()) != null) {
434 if (sendIntent.resolveActivity(getPackageManager()) != null) {
/frameworks/base/docs/html-intl/intl/ru/guide/components/
Dintents-filters.jd363 …ет получен ли операцией объект Intent, вызовите метод {@link android.content.Intent#resolveActivity
364 resolveActivity()} для своего объекта {@link android.content.Intent}. Если результатом будет значен…
379 if (sendIntent.resolveActivity(getPackageManager()) != null) {
434 if (sendIntent.resolveActivity(getPackageManager()) != null) {
/frameworks/base/docs/html/work/
Dmanaged-profiles.jd84 android.content.Intent#resolveActivity Intent.resolveActivity()}. If there is no
109 <strong>if (timerIntent.resolveActivity(getPackageManager()) == null)</strong> {
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/intents/
Dsending.jd246 if (intent.resolveActivity(getPackageManager()) != null) {

123