Home
last modified time | relevance | path

Searched refs:appFeatureProvider (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DAppDisableButtonTest.kt69 private val appFeatureProvider = fakeFeatureFactory.mockApplicationFeatureProvider constant
85 whenever(appFeatureProvider.keepEnabledPackages).thenReturn(emptySet()) in setUp()
123 whenever(appFeatureProvider.keepEnabledPackages).thenReturn(setOf(PACKAGE_NAME)) in getActionButton_isKeepEnabledPackages_cannotDisable()
DAppTimeSpentPreferenceTest.kt65 private val appFeatureProvider = fakeFeatureFactory.mockApplicationFeatureProvider constant in com.android.settings.spa.app.appinfo.AppTimeSpentPreferenceTest
70 whenever(appFeatureProvider.getTimeSpentInApp(PACKAGE_NAME)).thenReturn(TIME_SPENT) in setUp()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DLongBackgroundTasksDetailsPreferenceController.java49 ApplicationFeatureProvider appFeatureProvider) { in LongBackgroundTasksDetailsPreferenceController() argument
51 mAppFeatureProvider = appFeatureProvider; in LongBackgroundTasksDetailsPreferenceController()
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DAppTimeSpentPreference.kt64 private val appFeatureProvider = featureFactory.applicationFeatureProvider constant
75 emit(appFeatureProvider.getTimeSpentInApp(app.packageName).toString()) in isEnabled()