Home
last modified time | relevance | path

Searched refs:createController (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DUseOpenWifiPreferenceControllerTest.java99 private void createController() { in createController() method in UseOpenWifiPreferenceControllerTest
118 createController(); in testIsAvailable_returnsFalseWhenNoScorerSet()
126 createController(); in testIsAvailable_returnsFalseWhenScorersNotSupported()
134 createController(); in testIsAvailable_returnsTrueIfActiveScorerSupported()
143 createController(); in testIsAvailable_returnsTrueIfNonActiveScorerSupported()
150 createController(); in onPreferenceChange_nonMatchingKey_shouldDoNothing()
159 createController(); in onPreferenceChange_notAvailable_shouldDoNothing()
170 createController(); in onPreferenceChange_matchingKeyAndAvailable_enableShouldStartEnableActivity()
189 createController(); in onPreferenceChange_matchingKeyAndAvailable_disableShouldUpdateSetting()
202 createController(); in onActivityResult_nonmatchingRequestCode_shouldDoNothing()
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DDeviceOwnerProvisioningControllerTest.java74 createController(createProvisioningParamsBuilder().build()); in testRunAllTasks()
110 createController(createProvisioningParamsBuilder().setWifiInfo(null).build()); in testNoWifiInfo()
143 createController( in testNoDownloadInfo()
171 createController(createProvisioningParamsBuilder().build()); in testErrorAddWifiTask()
192 createController(createProvisioningParamsBuilder().build()); in testErrorDownloadAppTask()
216 createController( in testStart_useMobileDataTrueAndNoWifiInfo_runsConnectMobileNetworkTask()
226 createController( in testStart_useMobileDataTrueAndWifiInfo_runsAddWifiNetworkTask()
236 private void createController(ProvisioningParams params) { in createController() method in DeviceOwnerProvisioningControllerTest
DProfileOwnerProvisioningControllerTest.java95 createController(); in testRunAllTasks()
133 createController(); in testCancel()
178 createController(); in testError()
202 private void createController() { in createController() method in ProfileOwnerProvisioningControllerTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DOverlayCategoryPreferenceControllerTest.java75 mController = createController(); in setUp()
90 assertThat(createController().getPreferenceKey()).isEqualTo(TEST_CATEGORY); in getKey_returnsCategory()
97 assertThat(createController().isAvailable()).isTrue(); in isAvailable_true()
104 assertThat(createController().isAvailable()).isFalse(); in isAvailable_false()
214 private OverlayCategoryPreferenceController createController() { in createController() method in OverlayCategoryPreferenceControllerTest
DEmulateDisplayCutoutPreferenceControllerTest.java53 mController = createController(); in setUp()
59 assertThat(createController().getPreferenceKey()).isEqualTo("display_cutout_emulation"); in getKey_returnsDisplayCutoutEmulation()
62 private EmulateDisplayCutoutPreferenceController createController() { in createController() method in EmulateDisplayCutoutPreferenceControllerTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockGenericControllerTest.java73 mController = createController(PASSWORD_COMPLEXITY_NONE); in setUp()
241 ChooseLockGenericController controller = createController(PASSWORD_COMPLEXITY_HIGH); in upgradeQuality_complexityHigh_minQualityNumericComplex()
251 ChooseLockGenericController controller = createController(PASSWORD_COMPLEXITY_MEDIUM); in upgradeQuality_complexityMedium_minQualityNumericComplex()
261 ChooseLockGenericController controller = createController(PASSWORD_COMPLEXITY_LOW); in upgradeQuality_complexityLow_minQualitySomething()
267 private ChooseLockGenericController createController( in createController() method in ChooseLockGenericControllerTest
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DTelephonyRcsService.java57 RcsFeatureController createController(Context context, int slotId); in createController() method
69 public RcsFeatureController createController(Context context, int slotId) {
203 f = mFeatureFactory.createController(mContext, slotId); in updateFeatureControllerSubscription()
220 RcsFeatureController c = mFeatureFactory.createController(mContext, slotId); in constructFeatureController()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DAdminGrantedPermissionsPreferenceControllerTestBase.java65 mController = createController(true /* async */); in setUp()
101 = createController(false /* async */); in testIsAvailableSync()
130 protected abstract AdminGrantedPermissionsPreferenceControllerBase createController( in createController() method in AdminGrantedPermissionsPreferenceControllerTestBase
DCaCertsPreferenceControllerTestBase.java50 mController = createController(); in setUp()
88 abstract CaCertsPreferenceControllerBase createController(); in createController() method in CaCertsPreferenceControllerTestBase
DAdminGrantedCameraPermissionPreferenceControllerTest.java34 protected AdminGrantedPermissionsPreferenceControllerBase createController(boolean async) { in createController() method in AdminGrantedCameraPermissionPreferenceControllerTest
DAdminGrantedMicrophonePermissionPreferenceControllerTest.java34 protected AdminGrantedPermissionsPreferenceControllerBase createController(boolean async) { in createController() method in AdminGrantedMicrophonePermissionPreferenceControllerTest
DAdminGrantedLocationPermissionsPreferenceControllerTest.java35 protected AdminGrantedPermissionsPreferenceControllerBase createController(boolean async) { in createController() method in AdminGrantedLocationPermissionsPreferenceControllerTest
DAdminGrantedPermissionsPreferenceControllerBaseTest.java31 protected AdminGrantedPermissionsPreferenceControllerBase createController(boolean async) { in createController() method in AdminGrantedPermissionsPreferenceControllerBaseTest
DCaCertsManagedProfilePreferenceControllerTest.java40 CaCertsPreferenceControllerBase createController() { in createController() method in CaCertsManagedProfilePreferenceControllerTest
DCaCertsPreferenceControllerBaseTest.java39 CaCertsPreferenceControllerBase createController() { in createController() method in CaCertsPreferenceControllerBaseTest
DCaCertsCurrentUserPreferenceControllerTest.java69 CaCertsPreferenceControllerBase createController() { in createController() method in CaCertsCurrentUserPreferenceControllerTest
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DTelephonyRcsServiceTest.java69 doReturn(mFeatureControllerSlot0).when(mFeatureFactory).createController(any(), eq(0)); in setUp()
70 doReturn(mFeatureControllerSlot1).when(mFeatureFactory).createController(any(), eq(1)); in setUp()
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/
DBuglePhotoViewActivity.java28 public PhotoViewController createController() { in createController() method in BuglePhotoViewActivity