Home
last modified time | relevance | path

Searched refs:mProviderInfo (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/
DResolveInfoBuilder.java37 private ProviderInfo mProviderInfo; field in ResolveInfoBuilder
52 mProviderInfo = new ProviderInfo(); in setProvider()
53 mProviderInfo.authority = authority; in setProvider()
54 mProviderInfo.applicationInfo = new ApplicationInfo(); in setProvider()
56 mProviderInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in setProvider()
58 mProviderInfo.packageName = mPackageName; in setProvider()
59 mProviderInfo.applicationInfo.packageName = mPackageName; in setProvider()
60 mProviderInfo.name = className; in setProvider()
68 info.providerInfo = mProviderInfo; in build()
/packages/apps/ThemePicker/src/com/android/customization/model/themedicon/
DThemedIconUtils.java35 private ProviderInfo mProviderInfo; field in ThemedIconUtils
48 mProviderInfo = TextUtils.isEmpty(mProviderAuthority) ? null : in ThemedIconUtils()
50 if (mProviderInfo != null && !TextUtils.isEmpty(mProviderInfo.readPermission)) { in ThemedIconUtils()
51 if (mContext.checkSelfPermission(mProviderInfo.readPermission) in ThemedIconUtils()
53 mProviderInfo = null; in ThemedIconUtils()
67 .authority(mProviderInfo.authority) in getUriForPath()
78 return mProviderInfo != null; in isThemedIconAvailable()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetAddFlowHandler.java36 private final AppWidgetProviderInfo mProviderInfo; field in WidgetAddFlowHandler
39 mProviderInfo = providerInfo; in WidgetAddFlowHandler()
43 mProviderInfo = AppWidgetProviderInfo.CREATOR.createFromParcel(parcel); in WidgetAddFlowHandler()
53 mProviderInfo.writeToParcel(parcel, i); in writeToParcel()
59 .startBindFlow(launcher, appWidgetId, mProviderInfo, requestCode); in startBindFlow()
93 int featureFlags = mProviderInfo.widgetFeatures; in needsConfigure()
99 return mProviderInfo.configure != null && !configurationOptional; in needsConfigure()
103 return LauncherAppWidgetProviderInfo.fromProviderInfo(context, mProviderInfo); in getProviderInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFeatureProviderImplTest.java127 private ProviderInfo mProviderInfo; field in DashboardFeatureProviderImplTest
146 mProviderInfo = new ProviderInfo(); in setUp()
147 mProviderInfo.packageName = mContext.getPackageName(); in setUp()
148 mProviderInfo.name = "provider"; in setUp()
149 mProviderInfo.authority = "com.android.settings"; in setUp()
192 final Tile tile = spy(new ProviderTile(mProviderInfo, CategoryKey.CATEGORY_HOMEPAGE, in bindPreference_shouldBindAllSwitchData()
218 final Tile tile = new ProviderTile(mProviderInfo, CategoryKey.CATEGORY_HOMEPAGE, metaData); in bindPreference_providerTileWithPendingIntent_shouldBindIntent()
377 final Tile tile = new ProviderTile(mProviderInfo, CategoryKey.CATEGORY_HOMEPAGE, in bindPreference_onCheckedChanged_shouldPutStateToContentProvider()
398 final Tile tile = new ProviderTile(mProviderInfo, CategoryKey.CATEGORY_HOMEPAGE, in bindPreference_onCheckedChangedError_shouldRevertCheckedState()
419 final Tile tile = new ProviderTile(mProviderInfo, CategoryKey.CATEGORY_HOMEPAGE, in bindPreference_callbackOnChanged_shouldLoadFromContentProvider()
[all …]