Searched refs:currentDefaultHome (Results 1 – 4 of 4) sorted by relevance
66 currentDefaultHome: ComponentName? = null, in mockGetHomeActivities()71 currentDefaultHome in mockGetHomeActivities()82 assertThat(homePackageInfo.currentDefaultHome).isNull() in getHomePackageInfo_empty()92 assertThat(homePackageInfo.currentDefaultHome).isNull() in getHomePackageInfo_noActivityInfo()99 currentDefaultHome = COMPONENT_NAME, in getHomePackageInfo_oneHome()105 assertThat(homePackageInfo.currentDefaultHome).isSameInstanceAs(COMPONENT_NAME) in getHomePackageInfo_oneHome()141 currentDefaultHome = COMPONENT_NAME, in uninstallDisallowedDueToHomeApp_isNotSystemAndIsCurrentHomeAndHasOnlyOneHomeApp()158 currentDefaultHome = COMPONENT_NAME, in uninstallDisallowedDueToHomeApp_isNotSystemAndIsCurrentHomeAndHasOtherHomeApps()176 currentDefaultHome = COMPONENT_NAME, in uninstallDisallowedDueToHomeApp_isSystemAndIsCurrentHomeAndHasOtherHomeApps()
67 val currentDefaultHome = packageManager.getHomeActivities(homeActivities) in <lambda>() constant75 return HomePackages(homePackages, currentDefaultHome) in <lambda>()126 packageName == homePackageInfo.currentDefaultHome?.packageName -> { in <lambda>()146 val currentDefaultHome: ComponentName?, in <lambda>() constant in com.android.settings.spa.app.appinfo.AppButtonRepository.HomePackages
493 ComponentName currentDefaultHome = mPm.getHomeActivities(homeActivities); in shouldDisableUninstallForHomeApp() local513 } else if (currentDefaultHome == null) { in shouldDisableUninstallForHomeApp()520 return mPackageName.equals(currentDefaultHome.getPackageName()); in shouldDisableUninstallForHomeApp()
433 ComponentName currentDefaultHome = mPm.getHomeActivities(homeActivities); in updateUninstallButton() local434 if (currentDefaultHome == null) { in updateUninstallButton()438 } else if (mPackageInfo.packageName.equals(currentDefaultHome.getPackageName())) { in updateUninstallButton()