/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | ComponentTest.java | 137 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/ |
D | ActivityStartInterceptor.java | 139 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()
|
D | PreBootBroadcaster.java | 141 if (context.getPackageManager().resolveActivity(intent, 0) != null) {
|
/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()
|
/frameworks/base/docs/html/training/camera/ |
D | videobasics.jd | 87 if (takeVideoIntent.resolveActivity(getPackageManager()) != null) { 95 {@link android.content.Intent#resolveActivity resolveActivity()}, which returns the
|
D | photobasics.jd | 93 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/ |
D | TaskStackBuilder.java | 181 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/ |
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/core/java/android/service/dreams/ |
D | Sandman.java | 55 ComponentName name = intent.resolveActivity(context.getPackageManager()); in shouldStartDockApp()
|
/frameworks/base/core/java/android/speech/ |
D | RecognizerIntent.java | 332 ResolveInfo ri = context.getPackageManager().resolveActivity( in getVoiceDetailsIntent()
|
/frameworks/base/docs/html/guide/components/ |
D | intents-common.jd | 186 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/ |
D | ILauncherApps.aidl | 41 ActivityInfo resolveActivity(in ComponentName component, in UserHandle user); in resolveActivity() method
|
D | LauncherApps.java | 380 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/ |
D | UsbSettingsManager.java | 532 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/ |
D | CustomTabsClient.java | 102 ResolveInfo defaultViewHandlerInfo = pm.resolveActivity(activityIntent, 0); in getPackageName()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | QuickViewIntentBuilder.java | 197 return intent.resolveActivity(mPkgManager) != null; in hasRegisteredHandler()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | HelpUtils.java | 150 ComponentName component = intent.resolveActivity(context.getPackageManager()); in getHelpIntent()
|
/frameworks/base/docs/html-intl/intl/zh-tw/guide/components/ |
D | intents-filters.jd | 363 {@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/ |
D | intents-filters.jd | 362 …ントを受け取るようにするには、{@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/ |
D | intents-filters.jd | 363 …텐트를 수신하도록 확실히 하려면, {@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/ |
D | intents-filters.jd | 363 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/ |
D | intents-filters.jd | 363 …ет получен ли операцией объект 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/ |
D | managed-profiles.jd | 84 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/ |
D | sending.jd | 246 if (intent.resolveActivity(getPackageManager()) != null) {
|