/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetProviderInfo.java | 360 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/ |
D | CommunalContentModel.kt | 52 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/ |
D | FakeCommunalWidgetRepository.kt | 33 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/ |
D | ExternalStorageProviderTest.java | 64 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/ |
D | ProviderTile.java | 76 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/ |
D | CommunalWidgetHostTest.kt | 305 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/ |
D | ResolveInfo.java | 71 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/ |
D | CommunalEditModeViewModelTest.kt | 81 @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()
|
D | CommunalViewModelTest.kt | 104 @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/ |
D | CommunalWidgetRepository.kt | 119 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/ |
D | MediaRoute2Provider.java | 108 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/ |
D | ProviderGetSession.java | 91 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 …]
|
D | CredentialManagerServiceImpl.java | 67 @NonNull Object lock, int userId, CredentialProviderInfo providerInfo) { in CredentialManagerServiceImpl() argument 70 + providerInfo.getServiceInfo().getComponentName().flattenToString()); in CredentialManagerServiceImpl() 71 mInfo = providerInfo; in CredentialManagerServiceImpl()
|
D | ClearRequestSession.java | 67 public ProviderSession initiateProviderSession(CredentialProviderInfo providerInfo, in initiateProviderSession() argument 70 .createNewSession(mContext, mUserId, providerInfo, in initiateProviderSession() 74 + "and being added for: " + providerInfo.getComponentName()); in initiateProviderSession()
|
D | GetCandidateRequestSession.java | 102 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()
|
D | ProviderCreateSession.java | 73 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/ |
D | EabProviderTestable.java | 51 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/ |
D | PartnerSummaryActionsCollector.java | 198 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/ |
D | CommunalWidgetHost.kt | 186 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/ |
D | ProviderTestCase2.java | 154 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/ |
D | ComponentTest.java | 536 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/ |
D | CommunalWidgetRepositoryImplTest.kt | 141 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/ |
D | GetModel.kt | 202 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/ |
D | CommunalInteractor.kt | 402 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/ |
D | ResolveIntentHelper.java | 507 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 …]
|