Home
last modified time | relevance | path

Searched refs:homePackageInfo (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DAppButtonRepositoryTest.kt79 val homePackageInfo = appButtonRepository.getHomePackageInfo() in getHomePackageInfo_empty() constant
81 assertThat(homePackageInfo.homePackages).isEmpty() in getHomePackageInfo_empty()
82 assertThat(homePackageInfo.currentDefaultHome).isNull() in getHomePackageInfo_empty()
89 val homePackageInfo = appButtonRepository.getHomePackageInfo() in getHomePackageInfo_noActivityInfo() constant
91 assertThat(homePackageInfo.homePackages).isEmpty() in getHomePackageInfo_noActivityInfo()
92 assertThat(homePackageInfo.currentDefaultHome).isNull() in getHomePackageInfo_noActivityInfo()
102 val homePackageInfo = appButtonRepository.getHomePackageInfo() in getHomePackageInfo_oneHome() constant
104 assertThat(homePackageInfo.homePackages).containsExactly(PACKAGE_NAME) in getHomePackageInfo_oneHome()
105 assertThat(homePackageInfo.currentDefaultHome).isSameInstanceAs(COMPONENT_NAME) in getHomePackageInfo_oneHome()
114 val homePackageInfo = appButtonRepository.getHomePackageInfo() in getHomePackageInfo_homeAlternateSignatureMatch() constant
[all …]
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DAppButtonRepository.kt119 val homePackageInfo = getHomePackageInfo() in <lambda>() constant
121 packageName !in homePackageInfo.homePackages -> false in <lambda>()
124 homePackageInfo.homePackages.size == 1 -> true in <lambda>()
126 packageName == homePackageInfo.currentDefaultHome?.packageName -> { in <lambda>()