Searched refs:providerInfo (Results 1 – 11 of 11) sorted by relevance
31 ProviderInfo providerInfo = null; in create() local33 providerInfo = in create()41 return create(providerInfo); in create()51 ProviderInfo providerInfo = new ProviderInfo(); in create() local52 providerInfo.authority = authority; in create()53 return create(providerInfo); in create()62 public ContentProviderController<T> create(ProviderInfo providerInfo) { in create() argument71 contentProvider.attachInfo(baseContext, providerInfo); in create()73 if (providerInfo != null) { in create()74 ShadowContentResolver.registerProviderInternal(providerInfo.authority, contentProvider); in create()
34 AppWidgetProviderInfo providerInfo = new AppWidgetProviderInfo(); in shouldKnowItsAppWidgetProviderInfo() local35 appWidgetHostView.setAppWidget(0, providerInfo); in shouldKnowItsAppWidgetProviderInfo()36 assertThat(appWidgetHostView.getAppWidgetInfo()).isSameAs(providerInfo); in shouldKnowItsAppWidgetProviderInfo()
1110 ProviderInfo providerInfo = new ProviderInfo(); in queryIntentContentProviders_Match() local1111 providerInfo.authority = "com.robolectric"; in queryIntentContentProviders_Match()1112 resolveInfo.providerInfo = providerInfo; in queryIntentContentProviders_Match()1118 assertThat(contentProviders.get(0).providerInfo.authority).isEqualTo(providerInfo.authority); in queryIntentContentProviders_Match()1127 info1.providerInfo = new ProviderInfo(); in queryIntentContentProviders_MatchSystemOnly()1128 info1.providerInfo.applicationInfo = new ApplicationInfo(); in queryIntentContentProviders_MatchSystemOnly()1131 info2.providerInfo = new ProviderInfo(); in queryIntentContentProviders_MatchSystemOnly()1132 info2.providerInfo.applicationInfo = new ApplicationInfo(); in queryIntentContentProviders_MatchSystemOnly()1133 info2.providerInfo.applicationInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in queryIntentContentProviders_MatchSystemOnly()1160 resolveInfo.providerInfo = new ProviderInfo(); in queryIntentContentProviders_MatchDisabledComponents()[all …]
128 AppWidgetProviderInfo providerInfo = new AppWidgetProviderInfo(); in bindAppWidgetId_shouldRecordAppWidgetInfo() local129 providerInfo.provider = provider; in bindAppWidgetId_shouldRecordAppWidgetInfo()130 shadowAppWidgetManager.addInstalledProvider(providerInfo); in bindAppWidgetId_shouldRecordAppWidgetInfo()134 assertSame(providerInfo, appWidgetManager.getAppWidgetInfo(90210)); in bindAppWidgetId_shouldRecordAppWidgetInfo()
298 ProviderInfo providerInfo = captor.getValue(); in registerProvider_shouldAttachProviderInfo() local300 assertThat(providerInfo.authority).isEqualTo("the-authority"); in registerProvider_shouldAttachProviderInfo()301 assertThat(providerInfo.grantUriPermissions).isEqualTo(true); in registerProvider_shouldAttachProviderInfo()
83 ProviderInfo providerInfo = new ProviderInfo(); in withoutManifest_shouldRegisterWithContentResolver() local84 providerInfo.authority = "some-authority"; in withoutManifest_shouldRegisterWithContentResolver()85 controller.create(providerInfo); in withoutManifest_shouldRegisterWithContentResolver()87 …ContentProviderClient client = contentResolver.acquireContentProviderClient(providerInfo.authority… in withoutManifest_shouldRegisterWithContentResolver()
101 public void addBoundWidget(int appWidgetId, AppWidgetProviderInfo providerInfo) { in addBoundWidget() argument102 addInstalledProvider(providerInfo); in addBoundWidget()103 bindAppWidgetId(appWidgetId, providerInfo.provider); in addBoundWidget()104 widgetInfos.get(appWidgetId).info = providerInfo; in addBoundWidget()
639 ProviderInfo providerInfo =641 if (providerInfo != null) {642 providers.put(providerInfo.authority, createAndInitialize(providerInfo));827 private static ContentProvider createAndInitialize(ProviderInfo providerInfo) {830 (ContentProvider) Class.forName(providerInfo.name).getDeclaredConstructor().newInstance();831 provider.attachInfo(RuntimeEnvironment.application, providerInfo);839 throw new RuntimeException("Error instantiating class " + providerInfo.name);
291 for (ProviderInfo providerInfo : packageInfo.providers) { in resolveContentProvider()292 if (name.equals(providerInfo.authority)) { // todo: support multiple authorities in resolveContentProvider()293 return new ProviderInfo(providerInfo); in resolveContentProvider()378 || (VERSION.SDK_INT >= VERSION_CODES.KITKAT && resolveInfo.providerInfo != null); in filterResolvedComponent()625 resolveInfo.providerInfo = provider.info; in buildResolveInfo()897 resolveInfoList, flags, (resolveInfo) -> resolveInfo.providerInfo)); in queryIntentContentProviders()905 Arrays.asList(resolvedProvider), flags, (resolveInfo) -> resolveInfo.providerInfo)); in queryIntentContentProviders()912 (resolveInfo) -> resolveInfo.providerInfo)); in queryIntentContentProviders()
300 Build.VERSION.SDK_INT >= KITKAT ? info.providerInfo : null in addResolveInfoForIntent()350 } else if (resolveInfo.providerInfo != null) { in getPackageName()351 return resolveInfo.providerInfo.packageName; in getPackageName()
META-INF/MANIFEST.MF org/jetbrains/kotlin/utils/JavaSdkUtil.class JavaSdkUtil ...