Home
last modified time | relevance | path

Searched refs:InstallAppsState (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/applications/
DAppStateInstallAppsBridge.java92 public InstallAppsState createInstallAppsStateFor(String packageName, int uid) { in createInstallAppsStateFor()
93 final InstallAppsState appState = new InstallAppsState(); in createInstallAppsStateFor()
104 public static class InstallAppsState { class in AppStateInstallAppsBridge
108 public InstallAppsState() { in InstallAppsState() method in AppStateInstallAppsBridge.InstallAppsState
138 if (info.extraInfo == null || !(info.extraInfo instanceof InstallAppsState)) {
141 InstallAppsState state = (InstallAppsState) info.extraInfo;
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/
DAppStateInstallAppsBridgeTest.java32 AppStateInstallAppsBridge.InstallAppsState appState = in testInstallAppsStateCanInstallApps()
33 new AppStateInstallAppsBridge.InstallAppsState(); in testInstallAppsStateCanInstallApps()
48 AppStateInstallAppsBridge.InstallAppsState appState = in testInstallAppsStateIsPotentialAppSource()
49 new AppStateInstallAppsBridge.InstallAppsState(); in testInstallAppsStateIsPotentialAppSource()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DExternalSourcesDetailsTest.java35 import com.android.settings.applications.AppStateInstallAppsBridge.InstallAppsState;
100 .thenReturn(mock(InstallAppsState.class)); in refreshUi_hasApplicationInfo_shouldReturnTrue()
126 .thenReturn(mock(InstallAppsState.class)); in refreshUi_userRestrictionsUnknownSources_disablesSwitchPreference()
165 .thenReturn(mock(InstallAppsState.class)); in refreshUi_userRestrictionsUnknownSourcesGlobally_disablesSwitchPreference()
204 .thenReturn(mock(InstallAppsState.class)); in refreshUi_bothUnknownSourcesUserRestrictions_disableSwitchPreference()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DExternalSourcesDetails.java36 import com.android.settings.applications.AppStateInstallAppsBridge.InstallAppsState;
49 private InstallAppsState mInstallAppsState;
95 final InstallAppsState appsState = new AppStateInstallAppsBridge(context, null, null) in getPreferenceSummary()
DExternalSourceDetailPreferenceController.java66 AppStateInstallAppsBridge.InstallAppsState appState = in isPotentialAppSource()