Home
last modified time | relevance | path

Searched refs:providerInfo (Results 1 – 25 of 69) sorted by relevance

123

/frameworks/base/core/java/android/appwidget/
DAppWidgetProviderInfo.java360 public ActivityInfo providerInfo; field in AppWidgetProviderInfo
408 this.providerInfo = in.readTypedObject(ActivityInfo.CREATOR); in AppWidgetProviderInfo()
424 CharSequence label = providerInfo.loadLabel(packageManager); in loadLabel()
448 return loadDrawable(context, density, providerInfo.getIconResource(), true); in loadIcon()
485 providerInfo.packageName, in loadDescription()
487 providerInfo.applicationInfo); in loadDescription()
501 return new UserHandle(UserHandle.getUserId(providerInfo.applicationInfo.uid)); in getProfile()
509 return providerInfo; in getActivityInfo()
535 out.writeTypedObject(this.providerInfo, flags); in writeToParcel()
568 that.providerInfo = this.providerInfo; in clone()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/model/
DCommunalContentModel.kt52 val providerInfo: AppWidgetProviderInfo, constant in com.android.systemui.communal.domain.model.CommunalContentModel.WidgetContent.Widget
63 (providerInfo.widgetFeatures and WIDGET_FEATURE_RECONFIGURABLE != 0) &&
64 providerInfo.configure != null
69 val providerInfo: AppWidgetProviderInfo constant in com.android.systemui.communal.domain.model.CommunalContentModel.WidgetContent.DisabledWidget
76 get() = providerInfo.providerInfo?.applicationInfo
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/communal/data/repository/
DFakeCommunalWidgetRepository.kt33 val providerInfo = AppWidgetProviderInfo().apply { this.provider = provider } in addWidget() constant
36 onConfigured(id, providerInfo, priority) in addWidget()
53 private fun onConfigured(id: Int, providerInfo: AppWidgetProviderInfo, priority: Int) { in onConfigured()
55 listOf(CommunalWidgetContentModel.Available(id, providerInfo, priority)) in onConfigured()
/frameworks/base/packages/ExternalStorageProvider/tests/src/com/android/externalstorage/
DExternalStorageProviderTest.java64 final ProviderInfo providerInfo = new ProviderInfo(); in onCreate_shouldUpdateVolumes() local
65 providerInfo.authority = AUTHORITY; in onCreate_shouldUpdateVolumes()
66 providerInfo.grantUriPermissions = true; in onCreate_shouldUpdateVolumes()
67 providerInfo.exported = true; in onCreate_shouldUpdateVolumes()
70 spyProvider.attachInfoForTesting(sTargetContext, providerInfo)); in onCreate_shouldUpdateVolumes()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DProviderTile.java76 final ProviderInfo providerInfo = infoList.get(0).providerInfo; in getComponentInfo() local
77 mComponentInfo = providerInfo; in getComponentInfo()
78 setMetaData(TileUtils.getEntryDataFromProvider(context, providerInfo.authority, in getComponentInfo()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/widgets/
DCommunalWidgetHostTest.kt305 val providerInfo by collectLastValue(underTest.appWidgetProviders) in providerInfo_clearsWhenStopListening() constant
306 assertThat(providerInfo) in providerInfo_clearsWhenStopListening()
318 assertThat(providerInfo).isEmpty() in providerInfo_clearsWhenStopListening()
328 val providerInfo by collectLastValue(underTest.appWidgetProviders) in providerInfo_onUpdate() constant
334 assertThat(providerInfo) in providerInfo_onUpdate()
351 assertThat(providerInfo) in providerInfo_onUpdate()
367 val providerInfo by collectLastValue(underTest.appWidgetProviders) in providerInfo_updateWhenANewWidgetIsBound() constant
373 assertThat(providerInfo) in providerInfo_updateWhenANewWidgetIsBound()
389 assertThat(providerInfo) in providerInfo_updateWhenANewWidgetIsBound()
406 val providerInfo by collectLastValue(underTest.appWidgetProviders) in providerInfo_updateWhenWidgetRemoved() constant
[all …]
/frameworks/base/core/java/android/content/pm/
DResolveInfo.java71 public ProviderInfo providerInfo; field in ResolveInfo
215 if (providerInfo != null) return providerInfo; in getComponentInfo()
384 } else if (providerInfo != null) { in dump()
386 providerInfo.dump(pw, prefix + " ", dumpFlags); in dump()
425 providerInfo = orig.providerInfo; in ResolveInfo()
485 } else if (providerInfo != null) { in writeToParcel()
487 providerInfo.writeToParcel(dest, parcelableFlags); in writeToParcel()
528 providerInfo = null; in ResolveInfo()
537 providerInfo = ProviderInfo.CREATOR.createFromParcel(source); in ResolveInfo()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/view/viewmodel/
DCommunalEditModeViewModelTest.kt81 @Mock private lateinit var providerInfo: AppWidgetProviderInfo variable in com.android.systemui.communal.view.viewmodel.CommunalEditModeViewModelTest
111 whenever(providerInfo.profile).thenReturn(UserHandle(MAIN_USER_INFO.id)) in setUp()
137 providerInfo = providerInfo, in communalContent_onlyWidgetsAndCtaTileAreShownInEditMode()
142 providerInfo = providerInfo, in communalContent_onlyWidgetsAndCtaTileAreShownInEditMode()
207 providerInfo = providerInfo, in deleteWidget()
212 providerInfo = providerInfo, in deleteWidget()
DCommunalViewModelTest.kt104 @Mock private lateinit var providerInfo: AppWidgetProviderInfo in <lambda>() variable
146 whenever(providerInfo.profile).thenReturn(UserHandle(MAIN_USER_INFO.id)) in <lambda>()
206 providerInfo = providerInfo, in <lambda>()
211 providerInfo = providerInfo, in <lambda>()
304 providerInfo = providerInfo, in <lambda>()
649 providerInfo = providerInfo, in <lambda>()
654 providerInfo = providerInfo, in <lambda>()
712 providerInfo = providerInfo, in <lambda>()
717 providerInfo = providerInfo, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/repository/
DCommunalWidgetRepository.kt119 providerInfo = providers[widget.widgetId] in entries()
133 if (widgetEntries.any { it.providerInfo == null }) { in widgetEntries()
296 providerInfo = entry.providerInfo!!, in mapToContentModel()
310 if (entry.providerInfo != null) { in mapToContentModel()
313 providerInfo = entry.providerInfo!!, in mapToContentModel()
340 var providerInfo: AppWidgetProviderInfo? = null, variable in CommunalWidgetEntry
/frameworks/base/services/core/java/com/android/server/media/
DMediaRoute2Provider.java108 void setProviderState(MediaRoute2ProviderInfo providerInfo) { in setProviderState() argument
109 if (providerInfo == null) { in setProviderState()
112 mProviderInfo = new MediaRoute2ProviderInfo.Builder(providerInfo) in setProviderState()
125 void setAndNotifyProviderState(MediaRoute2ProviderInfo providerInfo) { in setAndNotifyProviderState() argument
126 setProviderState(providerInfo); in setAndNotifyProviderState()
/frameworks/base/services/credentials/java/com/android/server/credentials/
DProviderGetSession.java91 CredentialProviderInfo providerInfo, in createNewSession() argument
95 filterOptions(providerInfo.getCapabilities(), in createNewSession()
97 providerInfo, getRequestSession.mHybridService); in createNewSession()
103 providerInfo, in createNewSession()
118 + providerInfo.getComponentName()); in createNewSession()
127 CredentialProviderInfo providerInfo, in createNewSession() argument
131 filterOptions(providerInfo.getCapabilities(), in createNewSession()
133 providerInfo, getRequestSession.mHybridService); in createNewSession()
139 providerInfo, in createNewSession()
154 + providerInfo.getComponentName()); in createNewSession()
[all …]
DCredentialManagerServiceImpl.java67 @NonNull Object lock, int userId, CredentialProviderInfo providerInfo) { in CredentialManagerServiceImpl() argument
70 + providerInfo.getServiceInfo().getComponentName().flattenToString()); in CredentialManagerServiceImpl()
71 mInfo = providerInfo; in CredentialManagerServiceImpl()
DClearRequestSession.java67 public ProviderSession initiateProviderSession(CredentialProviderInfo providerInfo, in initiateProviderSession() argument
70 .createNewSession(mContext, mUserId, providerInfo, in initiateProviderSession()
74 + "and being added for: " + providerInfo.getComponentName()); in initiateProviderSession()
DGetCandidateRequestSession.java102 public ProviderSession initiateProviderSession(CredentialProviderInfo providerInfo, in initiateProviderSession() argument
105 .createNewSession(mContext, mUserId, providerInfo, in initiateProviderSession()
109 + "being added for: " + providerInfo.getComponentName()); in initiateProviderSession()
112 if (providerInfo.isPrimary()) { in initiateProviderSession()
DProviderCreateSession.java73 CredentialProviderInfo providerInfo, in createNewSession() argument
77 createProviderRequest(providerInfo.getCapabilities(), in createNewSession()
80 providerInfo.isSystemProvider()); in createNewSession()
84 providerInfo, in createNewSession()
98 + providerInfo.getComponentName()); in createNewSession()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/eab/
DEabProviderTestable.java51 ProviderInfo providerInfo = new ProviderInfo(); in initializeForTesting() local
52 providerInfo.authority = EabProvider.AUTHORITY; in initializeForTesting()
54 attachInfoForTesting(context, providerInfo); in initializeForTesting()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/summary/
DPartnerSummaryActionsCollector.java198 resolveInfo.providerInfo != null in getSummaryContentProviderResolveInfo()
199 && resolveInfo.providerInfo.applicationInfo != null in getSummaryContentProviderResolveInfo()
200 && (resolveInfo.providerInfo.applicationInfo.flags in getSummaryContentProviderResolveInfo()
218 if (resolveInfo.providerInfo == null || TextUtils.isEmpty( in getSummaryContentProviderUri()
219 resolveInfo.providerInfo.authority)) { in getSummaryContentProviderUri()
225 .authority(resolveInfo.providerInfo.authority) in getSummaryContentProviderUri()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/widgets/
DCommunalWidgetHost.kt186 private fun onProviderInfoUpdated(appWidgetId: Int, providerInfo: AppWidgetProviderInfo?) { in <lambda>()
189 _appWidgetProviders.value.toMutableMap().also { it[appWidgetId] = providerInfo } in <lambda>()
198 override fun onUpdateProviderInfo(providerInfo: AppWidgetProviderInfo?) { in <lambda>()
199 onUpdateProviderInfo(appWidgetId, providerInfo) in <lambda>()
/frameworks/base/test-runner/src/android/test/
DProviderTestCase2.java154 ProviderInfo providerInfo = new ProviderInfo(); in createProviderForTest() local
155 providerInfo.authority = authority; in createProviderForTest()
156 MockContentProvider.attachInfoForTesting(instance, context, providerInfo); in createProviderForTest()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java536 ProviderInfo providerInfo = in testResolveEnabledProvider() local
538 assertNotNull(providerInfo); in testResolveEnabledProvider()
539 assertTrue(providerInfo.enabled); in testResolveEnabledProvider()
548 ProviderInfo providerInfo = in testResolveDisabledProvider() local
550 assertNull(providerInfo); in testResolveDisabledProvider()
563 ProviderInfo providerInfo = in testEnableProvider() local
565 assertNull(providerInfo); in testEnableProvider()
581 ProviderInfo providerInfo = in testDisableProvider() local
583 assertNotNull(providerInfo); in testDisableProvider()
584 assertTrue(providerInfo.enabled); in testDisableProvider()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/
DCommunalWidgetRepositoryImplTest.kt141 providerInfo = providerInfoA, in communalWidgets_queryWidgetsFromDb()
177 providerInfo = providerInfoA, in communalWidgets_widgetsWithoutMatchingProvidersAreSkipped()
182 providerInfo = providerInfoB, in communalWidgets_widgetsWithoutMatchingProvidersAreSkipped()
212 providerInfo = providerInfoA, in communalWidgets_updatedWhenProvidersUpdate()
217 providerInfo = providerInfoB, in communalWidgets_updatedWhenProvidersUpdate()
235 providerInfo = providerInfoC, in communalWidgets_updatedWhenProvidersUpdate()
240 providerInfo = providerInfoB, in communalWidgets_updatedWhenProvidersUpdate()
567 providerInfo = providerInfoA, in pendingWidgets()
626 providerInfo = providerInfoA, in pendingWidgets_pendingWidgetBecomesAvailableAfterInstall()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/getflow/
DGetModel.kt202 providerInfoList.forEach { providerInfo -> in toProviderDisplayInfo() method
203 authenticationEntryList.addAll(providerInfo.authenticationEntryList) in toProviderDisplayInfo()
204 providerInfo.remoteEntry?.let { in toProviderDisplayInfo()
210 providerInfo.credentialEntryList.forEach { in toProviderDisplayInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/
DCommunalInteractor.kt402 if (widget.providerInfo.widgetCategory and allowedCategories != 0) { in <lambda>()
406 providerInfo = widget.providerInfo, in <lambda>()
408 inQuietMode = isQuietModeEnabled(widget.providerInfo.profile) in <lambda>()
413 providerInfo = widget.providerInfo, in <lambda>()
442 model.providerInfo.profile.identifier in <lambda>()
532 currentUserIds.contains(widget.providerInfo.profile?.identifier) in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/
DResolveIntentHelper.java507 ri.providerInfo = pi; in queryIntentContentProvidersInternal()
546 info.providerInfo.packageName, 0); in applyPostContentProviderResolutionFilter()
552 final boolean isEphemeralApp = info.providerInfo.applicationInfo.isInstantApp(); in applyPostContentProviderResolutionFilter()
554 if (isEphemeralApp && instantAppPkgName.equals(info.providerInfo.packageName)) { in applyPostContentProviderResolutionFilter()
555 if (info.providerInfo.splitName != null in applyPostContentProviderResolutionFilter()
556 && !ArrayUtils.contains(info.providerInfo.applicationInfo.splitNames, in applyPostContentProviderResolutionFilter()
557 info.providerInfo.splitName)) { in applyPostContentProviderResolutionFilter()
574 info.providerInfo.packageName, in applyPostContentProviderResolutionFilter()
575 info.providerInfo.applicationInfo.longVersionCode, in applyPostContentProviderResolutionFilter()
576 info.providerInfo.splitName); in applyPostContentProviderResolutionFilter()
[all …]

123