Searched refs:InstallAppsState (Results 1 – 5 of 5) sorted by relevance
92 public InstallAppsState createInstallAppsStateFor(String packageName, int uid) { in createInstallAppsStateFor()93 final InstallAppsState appState = new InstallAppsState(); in createInstallAppsStateFor()104 public static class InstallAppsState { class in AppStateInstallAppsBridge108 public InstallAppsState() { in InstallAppsState() method in AppStateInstallAppsBridge.InstallAppsState138 if (info.extraInfo == null || !(info.extraInfo instanceof InstallAppsState)) {141 InstallAppsState state = (InstallAppsState) info.extraInfo;
32 AppStateInstallAppsBridge.InstallAppsState appState = in testInstallAppsStateCanInstallApps()33 new AppStateInstallAppsBridge.InstallAppsState(); in testInstallAppsStateCanInstallApps()48 AppStateInstallAppsBridge.InstallAppsState appState = in testInstallAppsStateIsPotentialAppSource()49 new AppStateInstallAppsBridge.InstallAppsState(); in testInstallAppsStateIsPotentialAppSource()
35 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()
36 import com.android.settings.applications.AppStateInstallAppsBridge.InstallAppsState;49 private InstallAppsState mInstallAppsState;95 final InstallAppsState appsState = new AppStateInstallAppsBridge(context, null, null) in getPreferenceSummary()
66 AppStateInstallAppsBridge.InstallAppsState appState = in isPotentialAppSource()