/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/ |
D | ResolveInfoBuilder.java | 37 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/Settings/tests/robotests/src/com/android/settings/testutils/ |
D | ResolveInfoBuilder.java | 37 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/ |
D | ThemedIconUtils.java | 35 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/ |
D | WidgetAddFlowHandler.java | 36 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/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | PreviewUtils.java | 42 private ProviderInfo mProviderInfo; field in PreviewUtils 56 mProviderInfo = TextUtils.isEmpty(mProviderAuthority) ? null in PreviewUtils() 58 if (mProviderInfo != null && !TextUtils.isEmpty(mProviderInfo.readPermission)) { in PreviewUtils() 59 if (context.checkSelfPermission(mProviderInfo.readPermission) in PreviewUtils() 61 mProviderInfo = null; in PreviewUtils() 83 .authority(mProviderInfo.authority) in getUri() 90 return mProviderInfo != null; in supportsPreview()
|
/packages/apps/ThemePicker/src/com/android/customization/model/clock/ |
D | ContentProviderClockProvider.java | 28 private final ProviderInfo mProviderInfo; field in ContentProviderClockProvider 36 mProviderInfo = TextUtils.isEmpty(providerAuthority) ? null in ContentProviderClockProvider() 56 return mProviderInfo != null && mClockContentAvailable in isAvailable() 78 new ClocksFetchTask(mContext, mProviderInfo, options -> { in fetch() 102 private final ProviderInfo mProviderInfo; field in ContentProviderClockProvider.ClocksFetchTask 108 mProviderInfo = providerInfo; in ClocksFetchTask() 116 .authority(mProviderInfo.authority) in doInBackground()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppFileProvider.java | 38 private ProviderInfo mProviderInfo = null; field in BluetoothOppFileProvider 49 attachInfo(mContext, mProviderInfo); 66 mProviderInfo = info; in attachInfo() 79 super.attachInfo(mContext, mProviderInfo); in attachInfo()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardFeatureProviderImplTest.java | 113 private ProviderInfo mProviderInfo; field in DashboardFeatureProviderImplTest 132 mProviderInfo = new ProviderInfo(); in setUp() 133 mProviderInfo.packageName = mContext.getPackageName(); in setUp() 134 mProviderInfo.name = "provider"; in setUp() 135 mProviderInfo.authority = "com.android.settings"; in setUp() 177 final Tile tile = spy(new ProviderTile(mProviderInfo, CategoryKey.CATEGORY_HOMEPAGE, in bindPreference_shouldBindAllSwitchData() 334 final Tile tile = new ProviderTile(mProviderInfo, CategoryKey.CATEGORY_HOMEPAGE, in bindPreference_onCheckedChanged_shouldPutStateToContentProvider() 356 final Tile tile = new ProviderTile(mProviderInfo, CategoryKey.CATEGORY_HOMEPAGE, in bindPreference_onCheckedChangedError_shouldRevertCheckedState() 378 final Tile tile = new ProviderTile(mProviderInfo, CategoryKey.CATEGORY_HOMEPAGE, in bindPreference_callbackOnChanged_shouldLoadFromContentProvider()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/ |
D | CachingWidgetPreviewLoaderTest.java | 70 @Mock private LauncherAppWidgetProviderInfo mProviderInfo; field in CachingWidgetPreviewLoaderTest 91 mProviderInfo.provider = TEST_PROVIDER; in setUp() 92 when(mProviderInfo.getProfile()).thenReturn(new UserHandle(0)); in setUp() 101 mWidgetItem = new WidgetItem(mProviderInfo, testProfile, mIconCache); in setUp()
|