Home
last modified time | relevance | path

Searched refs:getEmptyState (Results 1 – 8 of 8) sorted by relevance

/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/emptystate/
DCompositeEmptyStateProviderTest.kt32 override fun getEmptyState(listAdapter: ResolverListAdapter) = emptyState1 in getEmptyState() method in com.android.intentresolver.emptystate.CompositeEmptyStateProviderTest
36 override fun getEmptyState(listAdapter: ResolverListAdapter) = emptyState2 in getEmptyState() method in com.android.intentresolver.emptystate.CompositeEmptyStateProviderTest
40 override fun getEmptyState(listAdapter: ResolverListAdapter) = null in getEmptyState() method in com.android.intentresolver.emptystate.CompositeEmptyStateProviderTest
51 assertThat(provider.getEmptyState(listAdapter)).isSameInstanceAs(emptyState1) in getEmptyState()
57 assertThat(provider.getEmptyState(listAdapter)).isNull() in testComposedProvider_allProvidersReturnNull_composedResultIsNull()
63 assertThat(provider.getEmptyState(listAdapter)).isNull() in testComposedProvider_noEmptyStateIfNoDelegateProviders()
DNoCrossProfileEmptyStateProviderTest.kt112 assertThat(provider.getEmptyState(workListAdapter)).isNull() in sameProfilePermitted()
129 val result = provider.getEmptyState(workListAdapter) in testPersonalToWork()
149 val result = provider.getEmptyState(personalListAdapter) in testWorkToPersonal()
169 val result = provider.getEmptyState(privateListAdapter) in testWorkToPrivate()
192 assertThat(provider.getEmptyState(personalListAdapter)).isNull() in testPrivateToPersonal()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/emptystate/
DCompositeEmptyStateProvider.kt29 override fun getEmptyState(resolverListAdapter: ResolverListAdapter): EmptyState? { in getEmptyState() method in com.android.intentresolver.emptystate.CompositeEmptyStateProvider
30 return providers.firstNotNullOfOrNull { it.getEmptyState(resolverListAdapter) } in getEmptyState()
DEmptyStateProvider.java34 default EmptyState getEmptyState(ResolverListAdapter resolverListAdapter) { in getEmptyState() method
DNoAppsAvailableEmptyStateProvider.java58 public EmptyState getEmptyState(ResolverListAdapter resolverListAdapter) { in getEmptyState() method in NoAppsAvailableEmptyStateProvider
DWorkProfilePausedEmptyStateProvider.java63 public EmptyState getEmptyState(ResolverListAdapter resolverListAdapter) { in getEmptyState() method in WorkProfilePausedEmptyStateProvider
DNoCrossProfileEmptyStateProvider.java70 public EmptyState getEmptyState(ResolverListAdapter adapter) { in getEmptyState() method in NoCrossProfileEmptyStateProvider
/packages/modules/IntentResolver/java/src/com/android/intentresolver/profiles/
DMultiProfilePagerAdapter.java618 EmptyState emptyState = mEmptyStateProvider.getEmptyState(activeListAdapter); in shouldSkipRebuild()
638 final EmptyState emptyState = mEmptyStateProvider.getEmptyState(listAdapter); in showEmptyResolverListEmptyState()