Searched refs:isPotentialAppSource (Results 1 – 5 of 5) sorted by relevance
50 assertThat(appState.isPotentialAppSource()).isFalse(); in testInstallAppsStateIsPotentialAppSource()53 assertThat(appState.isPotentialAppSource()).isTrue(); in testInstallAppsStateIsPotentialAppSource()57 assertThat(appState.isPotentialAppSource()).isTrue(); in testInstallAppsStateIsPotentialAppSource()
42 return isPotentialAppSource() ? AVAILABLE : DISABLED_FOR_USER; in getAvailabilityStatus()61 boolean isPotentialAppSource() { in isPotentialAppSource() method in ExternalSourceDetailPreferenceController69 return appState.isPotentialAppSource(); in isPotentialAppSource()
130 if (!mInstallAppsState.isPotentialAppSource()) { in refreshUi()
77 doReturn(false).when(mController).isPotentialAppSource(); in getAvailabilityStatus_notPotentialAppSource_shouldReturnDisabled()86 doReturn(true).when(mController).isPotentialAppSource(); in getAvailabilityStatus_isPotentialAppSource_shouldReturnAvailable()111 mController.isPotentialAppSource(); in isPotentialAppSource_nullPackageInfo_shouldNotCrash()
116 public boolean isPotentialAppSource() { in isPotentialAppSource() method in AppStateInstallAppsBridge.InstallAppsState142 return state.isPotentialAppSource();