Home
last modified time | relevance | path

Searched refs:mResolveInfo (Results 1 – 9 of 9) sorted by relevance

/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/model/
DCandidateSuggestion.java94 private final ResolveInfo mResolveInfo; field in CandidateSuggestion
104 mResolveInfo = resolveInfo; in CandidateSuggestion()
145 if (!ProviderEligibilityChecker.isEligible(mContext, mId, mResolveInfo)) { in initIsEligible()
148 if (!ConnectivityEligibilityChecker.isEligible(mContext, mId, mResolveInfo)) { in initIsEligible()
151 if (!FeatureEligibilityChecker.isEligible(mContext, mId, mResolveInfo)) { in initIsEligible()
154 if (!AccountEligibilityChecker.isEligible(mContext, mId, mResolveInfo)) { in initIsEligible()
157 if (!DismissedChecker.isEligible(mContext, mId, mResolveInfo, mIgnoreAppearRule)) { in initIsEligible()
160 if (!AutomotiveEligibilityChecker.isEligible(mContext, mId, mResolveInfo)) { in initIsEligible()
179 final Bundle metaData = mResolveInfo.activityInfo.metaData; in updateBuilder()
190 iconRes = mResolveInfo.activityInfo.icon; in updateBuilder()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/system/legal/
DLegalPreferenceController.java39 private ResolveInfo mResolveInfo; field in LegalPreferenceController
54 mResolveInfo = findMatchingSpecificActivity(); in getAvailabilityStatus()
55 return mResolveInfo != null ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
60 if (mResolveInfo == null) { in updateState()
66 mResolveInfo.activityInfo.packageName, in updateState()
67 mResolveInfo.activityInfo.name)); in updateState()
69 preference.setTitle(mResolveInfo.loadLabel(mPackageManager)); in updateState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSettingsDumpServiceTest.java59 private ResolveInfo mResolveInfo; field in SettingsDumpServiceTest
67 PackageManager.MATCH_DEFAULT_ONLY)).thenReturn(mResolveInfo); in setUp()
74 mResolveInfo.activityInfo = new ActivityInfo(); in testDumpDefaultBrowser_DefaultBrowser_ReturnBrowserName()
75 mResolveInfo.activityInfo.packageName = PACKAGE_BROWSER; in testDumpDefaultBrowser_DefaultBrowser_ReturnBrowserName()
82 mResolveInfo.activityInfo = new ActivityInfo(); in testDumpDefaultBrowser_NoDefault_ReturnNull()
83 mResolveInfo.activityInfo.packageName = PACKAGE_NULL; in testDumpDefaultBrowser_NoDefault_ReturnNull()
106 mResolveInfo.activityInfo = new ActivityInfo(); in testDump_ReturnJsonObject()
107 mResolveInfo.activityInfo.packageName = PACKAGE_BROWSER; in testDump_ReturnJsonObject()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DThirdPartyAppCategory.java37 private final ResolveInfo mResolveInfo; field in ThirdPartyAppCategory
45 mResolveInfo = resolveInfo; in ThirdPartyAppCategory()
101 mResolveInfo.activityInfo.packageName, in show()
102 mResolveInfo.activityInfo.name); in show()
117 return mResolveInfo.loadIcon(context.getPackageManager()); in getOverlayIcon()
132 return mResolveInfo.activityInfo.packageName.equals(packageName); in containsThirdParty()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
DThirdPartyWallpaperInfo.java25 private final ResolveInfo mResolveInfo; field in ThirdPartyWallpaperInfo
29 mResolveInfo = resolveInfo; in ThirdPartyWallpaperInfo()
36 mResolveInfo.activityInfo.packageName, mResolveInfo.activityInfo.name); in onClick()
50 label.setText(mResolveInfo.loadLabel(context.getPackageManager())); in createView()
51 Drawable icon = mResolveInfo.loadIcon(context.getPackageManager()); in createView()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DMoreSpecialAccessPreferenceControllerTest.java58 private ResolveInfo mResolveInfo; field in MoreSpecialAccessPreferenceControllerTest
73 mResolveInfo = new ResolveInfo(); in setUp()
74 mResolveInfo.activityInfo = activityInfo; in setUp()
108 Collections.singletonList(mResolveInfo)); in getAvailabilityStatus_resolvedActivity_returnsAvailable()
122 Collections.singletonList(mResolveInfo)); in preferenceClicked_startsResolvedActivity()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DAppsRowItemData.java55 private final ResolveInfo mResolveInfo; field in AppsRowItemData.AppData
59 mResolveInfo = item.info; in AppData()
64 return mResolveInfo.loadIcon(context.getPackageManager()); in getIconDrawable()
69 mActionHandler.openRoot(mResolveInfo); in onClicked()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallScreeningServiceFilterTest.java85 private ResolveInfo mResolveInfo; field in CallScreeningServiceFilterTest
100 mResolveInfo = new ResolveInfo() {{ in setUp()
125 .thenReturn(Collections.singletonList(mResolveInfo)); in setUp()
172 mResolveInfo.serviceInfo = null; in testBadResolveEntry()
332 assertEquals(mResolveInfo.serviceInfo.packageName, capturedIntent.getPackage()); in verifyBindingIntent()
333 assertEquals(new ComponentName(mResolveInfo.serviceInfo.packageName, in verifyBindingIntent()
334 mResolveInfo.serviceInfo.name), capturedIntent.getComponent()); in verifyBindingIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileNetworkUtilsTest.java83 private ResolveInfo mResolveInfo; field in MobileNetworkUtilsTest
164 .thenReturn(Arrays.asList(mResolveInfo)); in buildConfigureIntent_hasActivityHandleIntent_returnIntent()