Home
last modified time | relevance | path

Searched defs:controller (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/firmwareversion/
DMainlineModuleVersionPreferenceControllerTest.java69 final MainlineModuleVersionPreferenceController controller = in getAvailabilityStatus_noMainlineModuleProvider_unavailable() local
84 final MainlineModuleVersionPreferenceController controller = in getAvailabilityStatus_noMainlineModulePackageInfo_unavailable() local
94 final MainlineModuleVersionPreferenceController controller = in getAvailabilityStatus_hasMainlineModulePackageInfo_available() local
105 final MainlineModuleVersionPreferenceController controller = in updateState_canHandleV2Intent_setIntentToPreference() local
118 final MainlineModuleVersionPreferenceController controller = in updateState_canHandleV2Intent_preferenceShouldBeSelectable() local
132 final MainlineModuleVersionPreferenceController controller = in updateState_canHandleIntent_setIntentToPreference() local
146 final MainlineModuleVersionPreferenceController controller = in updateState_canHandleIntent_preferenceShouldBeSelectable() local
162 final MainlineModuleVersionPreferenceController controller = in updateState_cannotHandleIntent_setNullToPreference() local
174 final MainlineModuleVersionPreferenceController controller = in getSummary_versionIsNull_returnNull() local
184 final MainlineModuleVersionPreferenceController controller = in getSummary_versionIsMonth_returnMonth() local
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DWorkPolicyInfoPreferenceControllerTest.java59 WorkPolicyInfoPreferenceController controller = newControllerWithFeatureEnabled(); in testGetPreferenceType() local
67 WorkPolicyInfoPreferenceController controller = newControllerWithFeatureDisabled(); in testGetAvailabilityStatus_noFeature() local
75 WorkPolicyInfoPreferenceController controller = newControllerWithFeatureEnabled(); in testGetAvailabilityStatus_noAdmin() local
84 WorkPolicyInfoPreferenceController controller = newControllerWithFeatureEnabled(); in testGetAvailabilityStatus_adminWithoutReceiver() local
94 WorkPolicyInfoPreferenceController controller = newControllerWithFeatureEnabled(); in testGetAvailabilityStatus_adminWithReceiver() local
104 WorkPolicyInfoPreferenceController controller = newControllerWithFeatureDisabled(); in testUpdateStatus_noFeature() local
115 WorkPolicyInfoPreferenceController controller = newControllerWithFeatureEnabled(); in testUpdateStatus_noAdmin() local
125 WorkPolicyInfoPreferenceController controller = newControllerWithFeatureEnabled(); in testUpdateStatus_adminWithoutReceiver() local
137 WorkPolicyInfoPreferenceController controller = newControllerWithFeatureEnabled(); in testUpdateStatus_adminWithReceiver() local
149 WorkPolicyInfoPreferenceController controller = newControllerWithFeatureEnabled(); in testUpdateStatus_adminWithReceiverButNoPackageInfo() local
DManageDeviceAdminPreferenceControllerTest.java41 ManageDeviceAdminPreferenceController controller = newControllerWithFeatureEnabled(); in testUpdateState_noActiveAdminApps() local
52 ManageDeviceAdminPreferenceController controller = newControllerWithFeatureEnabled(); in testUpdateState_singleActiveAdminApp() local
63 ManageDeviceAdminPreferenceController controller = newControllerWithFeatureEnabled(); in testUpdateState_multipleActiveAdminApps() local
75 ManageDeviceAdminPreferenceController controller = newControllerWithFeatureDisabled(); in testGetAvailabilityStatus_deviceAdminDisabled() local
83 ManageDeviceAdminPreferenceController controller = newControllerWithFeatureEnabled(); in testGetAvailabilityStatus_deviceAdminEnabled() local
96 ManageDeviceAdminPreferenceController controller = newController(); in newControllerWithFeatureEnabled() local
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DRcsFeatureControllerTest.java95 RcsFeatureController controller = createFeatureController(); in testRcsFeatureManagerConnectDisconnect() local
115 RcsFeatureController controller = createFeatureController(); in testFeatureManagerConnectedAddRemoveFeature() local
130 RcsFeatureController controller = createFeatureController(); in testFeatureManagerConnectedRegister() local
166 RcsFeatureController controller = createFeatureController(); in testFeatureManagerConnectedHelper() local
202 RcsFeatureController controller = createFeatureController(); in testFeatureManagerDisconnectedAddFeature() local
213 RcsFeatureController controller = createFeatureController(); in testFeatureManagerDisconnectedException() local
258 RcsFeatureController controller = createFeatureController(); in testCarrierConfigChanged() local
273 RcsFeatureController controller = createFeatureController(); in testChangeSubId() local
287 RcsFeatureController controller = createFeatureController(); in testDestroy() local
300 RcsFeatureController controller = new RcsFeatureController(mContext, 0 /*slotId*/, in createFeatureController() local
DSipTransportControllerTest.java161 SipTransportController controller = createController(new TestExecutorService()); in isSupportedRcsNotConnected() local
173 SipTransportController controller = createController(new TestExecutorService()); in isSupportedInvalidSubId() local
185 SipTransportController controller = createController(new TestExecutorService()); in isSupportedSubIdChanged() local
198 SipTransportController controller = createController(new TestExecutorService()); in isSupportedSipTransportAvailableRcsConnected() local
211 SipTransportController controller = createController(new TestExecutorService()); in isSupportedSipTransportNotAvailableRcsDisconnected() local
226 SipTransportController controller = createController(new TestExecutorService()); in isSupportedSipTransportNotAvailableRcsConnected() local
239 SipTransportController controller = createController(new TestExecutorService()); in isSupportedImsServiceNotAvailableRcsConnected() local
254 SipTransportController controller = createController(new TestExecutorService()); in createImsServiceAvailableSubIdIncorrect() local
271 SipTransportController controller = createController(new TestExecutorService()); in createImsServiceDoesntSupportTransport() local
288 SipTransportController controller = createController(new TestExecutorService()); in createImsServiceNotAvailable() local
[all …]
DSipDelegateControllerTest.java96 SipDelegateController controller = getTestDelegateController(request, in testCreateDelegate() local
122 SipDelegateController controller = getTestDelegateController(request, in testCreateDeniedFeatures() local
150 SipDelegateController controller = getTestDelegateController(request, in testCreateDelegateTransportDied() local
165 SipDelegateController controller = getTestDelegateController(request, in testDestroyDelegate() local
194 SipDelegateController controller = getTestDelegateController(request, in testDestroyDelegateForce() local
222 SipDelegateController controller = getTestDelegateController(request, in testChangeSupportedFeatures() local
259 private void createSipDelegate(DelegateRequest request, SipDelegateController controller) in createSipDelegate()
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/autofill/
DPasswordsPreferenceControllerTest.java81 PasswordsPreferenceController controller = in getAvailabilityStatus_withoutInit_returnsUnavailable() local
88 PasswordsPreferenceController controller = in getAvailabilityStatus_noServices_returnsUnavailable() local
96 PasswordsPreferenceController controller = in getAvailabilityStatus_noPasswords_returnsUnavailable() local
103 PasswordsPreferenceController controller = in getAvailabilityStatus_withPasswords_returnsAvailable() local
110 PasswordsPreferenceController controller = in displayPreference_noServices_noPreferencesAdded() local
119 PasswordsPreferenceController controller = in displayPreference_noPasswords_noPreferencesAdded() local
131 PasswordsPreferenceController controller = in displayPreference_withPasswords_addsPreference() local
153 PasswordsPreferenceController controller = in createControllerWithServices() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DVibrationIntensityPreferenceControllerTest.java85 VibrationIntensityPreferenceController controller = createPreferenceController(3); in missingSetting_shouldReturnDefault() local
94 VibrationIntensityPreferenceController controller = createPreferenceController(3); in updateState_mainSwitchUpdates_shouldPreserveSettingBetweenUpdates() local
115 VibrationIntensityPreferenceController controller = createPreferenceController(3); in updateState_allLevelsSupported_shouldDisplayIntensityInSliderPosition() local
136 VibrationIntensityPreferenceController controller = createPreferenceController(2); in updateState_twoLevelsSupported_shouldDisplayMediumAndHighAtLastPosition() local
157 VibrationIntensityPreferenceController controller = createPreferenceController(1); in updateState_oneLevelSupported_shouldDisplayAllAtLastPosition() local
178 VibrationIntensityPreferenceController controller = createPreferenceController(3); in setProgress_mainSwitchDisabled_ignoresUpdates() local
194 VibrationIntensityPreferenceController controller = createPreferenceController(3); in setProgress_allSupportedPositions_updatesIntensitySetting() local
211 VibrationIntensityPreferenceController controller = createPreferenceController(2); in setProgress_twoSupportedPositions_updatesMediumPositionToHigh() local
230 VibrationIntensityPreferenceController controller = createPreferenceController(1); in setProgress_oneSupportedPosition_updatesOnPositionsToDeviceDefault() local
255 VibrationIntensityPreferenceController controller = in createPreferenceController() local
DVibrationPreferenceControllerTest.java66 VibrationPreferenceController controller = createPreferenceController(); in verifyConstants() local
73 VibrationPreferenceController controller = createPreferenceController(); in getAvailabilityStatus_noVibrator_returnUnsupportedOnDevice() local
81 VibrationPreferenceController controller = createPreferenceController(); in getAvailabilityStatus_withVibrator_returnAvailable() local
91 VibrationPreferenceController controller = createPreferenceController(); in getSummary_vibrateSettingNotSet_returnsOnText() local
102 VibrationPreferenceController controller = createPreferenceController(); in getSummary_vibrateSettingOn_returnsOnText() local
113 VibrationPreferenceController controller = createPreferenceController(); in getSummary_vibrateSettingOff_returnsOffText() local
121 VibrationPreferenceController controller = in createPreferenceController() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/privacy/
DWorkPolicyInfoPreferenceControllerTest.java63 WorkPolicyInfoPreferenceController controller = in getAvailabilityStatus_noWorkPolicyInfo_shouldReturnUnsupported() local
72 WorkPolicyInfoPreferenceController controller = in getAvailabilityStatus_haveWorkPolicyInfo_shouldReturnAvailable() local
81 WorkPolicyInfoPreferenceController controller = in getAvailabilityStatus_safetyCenterEnabled_shouldReturnUnsupported() local
90 WorkPolicyInfoPreferenceController controller = in handlePreferenceTreeClick_nonMatchingKey_shouldDoNothing() local
101 WorkPolicyInfoPreferenceController controller = in handlePreferenceTreeClick_matchingKey_shouldShowWorkPolicyInfo() local
DAccessibilityUsagePreferenceControllerTest.java70 final AccessibilityUsagePreferenceController controller = in getAvailabilityStatus_noEnabledServices_shouldReturnUnsupported() local
80 final AccessibilityUsagePreferenceController controller = in getAvailabilityStatus_enabledServices_shouldReturnAvailable() local
89 final AccessibilityUsagePreferenceController controller = in updateState_noEnabledServices_shouldHidePreference() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/emergency/
DMoreSettingsPreferenceControllerTest.java77 MoreSettingsPreferenceController controller = new MoreSettingsPreferenceController( in constructor_hasPackageConfig_shouldSetIntent() local
91 MoreSettingsPreferenceController controller = new MoreSettingsPreferenceController( in getAvailabilityStatus_whenIntentSet_shouldReturnAvailable() local
100 MoreSettingsPreferenceController controller = new MoreSettingsPreferenceController( in getAvailabilityStatus_whenPackageConfigIsUnavailable_shouldReturnUnsupported() local
113 MoreSettingsPreferenceController controller = new MoreSettingsPreferenceController( in getAvailabilityStatus_noSuitableIntent_shouldReturnUnsupportedDevice() local
128 MoreSettingsPreferenceController controller = new MoreSettingsPreferenceController( in getAvailabilityStatus_intentForANonSystemApp_shouldReturnUnsupportedDevice() local
DEmergencyGestureEntrypointPreferenceControllerTest.java79 EmergencyGestureEntrypointPreferenceController controller = in constructor_hasCustomPackageConfig_shouldSetIntent() local
90 EmergencyGestureEntrypointPreferenceController controller = in getAvailabilityStatus_configIsTrue_shouldReturnAvailable() local
101 EmergencyGestureEntrypointPreferenceController controller = in getAvailabilityStatus_configIsFalse_shouldReturnUnsupported() local
117 EmergencyGestureEntrypointPreferenceController controller = in getAvailabilityStatus_noSuitableIntent_shouldReturnAvailable() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/localepicker/
DAppLocalePickerActivityTest.java107 ActivityController<TestAppLocalePickerActivity> controller = in launchAppLocalePickerActivity_hasPackageName_success() local
118 ActivityController<TestAppLocalePickerActivity> controller = in launchAppLocalePickerActivity_appNoLocaleConfig_failed() local
136 ActivityController<TestAppLocalePickerActivity> controller = in launchAppLocalePickerActivity_appSignPlatformKey_failed() local
147 ActivityController<TestAppLocalePickerActivity> controller = in launchAppLocalePickerActivity_appMatchDisallowedPackage_failed() local
158 ActivityController<TestAppLocalePickerActivity> controller = in launchAppLocalePickerActivity_appNoLaunchEntry_failed() local
167 ActivityController<TestAppLocalePickerActivity> controller = in launchAppLocalePickerActivity_intentWithoutPackageName_failed() local
176 ActivityController<TestAppLocalePickerActivity> controller = in onLocaleSelected_getLocaleNotNull_getLanguageTag() local
193 ActivityController<TestAppLocalePickerActivity> controller = in onLocaleSelected_getLocaleNull_getEmptyLanguageTag() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/dream/
DDreamPickerControllerTest.java65 final DreamPickerController controller = new DreamPickerController(mContext, mBackend); in buildController() local
73 final DreamPickerController controller = buildController(); in isDisabledIfNoDreamsAvailable() local
80 final DreamPickerController controller = buildController(); in isEnabledIfDreamsAvailable() local
87 final DreamPickerController controller = buildController(); in testDreamDisplayedInList() local
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioninglisteners/
DProvisioningCompletedControllerTest.java62 ProvisioningCompletedController controller = new ProvisioningCompletedController( in provision_withNullUserId_doesNotTakeSystemAppsSnapshot() local
77 ProvisioningCompletedController controller = new ProvisioningCompletedController( in provision_leaveSystemAppsEnabled_doesNotTakeSystemAppsSnapshot() local
92 ProvisioningCompletedController controller = new ProvisioningCompletedController( in provision_doNotLeaveSystemAppsEnabled_takesSystemAppsSnapshot() local
110 ProvisioningCompletedController controller = new ProvisioningCompletedController( in provision_managedProfile_takesCrossProfileAppsSnapshot() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DDevelopmentSettingsDashboardFragmentTest.java196 final BluetoothA2dpHwOffloadPreferenceController controller = in onSwitchChanged_turnOff_andOffloadIsNotDefaultValue_shouldShowWarningDialog() local
218 final OemUnlockPreferenceController controller = mock(OemUnlockPreferenceController.class); in onOemUnlockDialogConfirmed_shouldCallControllerOemConfirmed() local
227 final OemUnlockPreferenceController controller = mock(OemUnlockPreferenceController.class); in onOemUnlockDialogConfirmed_shouldCallControllerOemDismissed() local
236 final AdbPreferenceController controller = mock(AdbPreferenceController.class); in onAdbDialogConfirmed_shouldCallControllerDialogConfirmed() local
246 final AdbPreferenceController controller = mock(AdbPreferenceController.class); in onAdbDialogDismissed_shouldCallControllerOemDismissed() local
256 final ClearAdbKeysPreferenceController controller = in onAdbClearKeysDialogConfirmed_shouldCallControllerDialogConfirmed() local
267 final LogPersistPreferenceController controller = in onDisableLogPersistDialogConfirmed_shouldCallControllerDialogConfirmed() local
278 final LogPersistPreferenceController controller = in onDisableLogPersistDialogRejected_shouldCallControllerDialogRejected() local
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/
DMediaPlayerWrapper.java86 MediaPlayerWrapper(Context context, MediaController controller, Looper looper) { in MediaPlayerWrapper()
154 MediaController.TransportControls controller = mMediaController.getTransportControls(); in playItemFromQueue() local
159 MediaController.TransportControls controller = mMediaController.getTransportControls(); in playCurrent() local
164 MediaController.TransportControls controller = mMediaController.getTransportControls(); in stopCurrent() local
169 MediaController.TransportControls controller = mMediaController.getTransportControls(); in pauseCurrent() local
174 MediaController.TransportControls controller = mMediaController.getTransportControls(); in seekTo() local
179 MediaController.TransportControls controller = mMediaController.getTransportControls(); in fastForward() local
184 MediaController.TransportControls controller = mMediaController.getTransportControls(); in rewind() local
189 MediaController.TransportControls controller = mMediaController.getTransportControls(); in skipToPrevious() local
194 MediaController.TransportControls controller = mMediaController.getTransportControls(); in skipToNext() local
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DRestrictAppPreferenceControllerTest.java125 final RestrictAppPreferenceController controller = new RestrictAppPreferenceController( in updateState_oneApp_showCorrectSummary() local
141 final RestrictAppPreferenceController controller = new RestrictAppPreferenceController( in updateState_twoRestrictedAppsForPrimaryUser_visibleAndShowCorrectSummary() local
157 final RestrictAppPreferenceController controller = new RestrictAppPreferenceController( in updateState_oneRestrictedAppForTwoUsers_showSummaryAndContainCorrectApp() local
175 final RestrictAppPreferenceController controller = new RestrictAppPreferenceController( in updateState_zeroRestrictApp_inVisible() local
187 final RestrictAppPreferenceController controller = new RestrictAppPreferenceController( in handlePreferenceTreeClick_startFragment() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DNightDisplayActivationPreferenceControllerTest.java84 final NightDisplayActivationPreferenceController controller = in isSliceableCorrectKey_returnsTrue() local
91 final NightDisplayActivationPreferenceController controller = in isSliceableIncorrectKey_returnsFalse() local
105 final NightDisplayActivationPreferenceController controller = in onClick_activates() local
116 final NightDisplayActivationPreferenceController controller = in onClick_deactivates() local
DBrightnessLevelPreferenceControllerTest.java110 BrightnessLevelPreferenceController controller = in onStart_shouldRegisterObserver() local
124 BrightnessLevelPreferenceController controller = in onStop_shouldUnregisterObserver() local
140 BrightnessLevelPreferenceController controller = in onStart_shouldSetSummary() local
210 final BrightnessLevelPreferenceController controller = in handlePreferenceTreeClick_transitionTypeNone_shouldPassToNextActivity() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DLockscreenDashboardFragmentTest.java85 final AmbientDisplayAlwaysOnPreferenceController controller = spy( in onAttach_alwaysOn_shouldInvokeSetters() local
96 final AmbientDisplayNotificationsPreferenceController controller = spy( in onAttach_notifications_shouldInvokeSetters() local
107 final DoubleTapScreenPreferenceController controller = spy( in onAttach_doubleTap_shouldInvokeSetters() local
117 final PickupGesturePreferenceController controller = spy( in onAttach_pickUp_shouldInvokeSetters() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationVolumePreferenceControllerTest.java108 NotificationVolumePreferenceController controller = in isAvailable_voiceCapable_aliasedWithRing_shouldReturnFalse() local
128 NotificationVolumePreferenceController controller = in isAvailable_voiceCapable_separatedFromRing_shouldReturnTrue() local
162 final NotificationVolumePreferenceController controller = in isSliceableCorrectKey_returnsTrue() local
206 NotificationVolumePreferenceController controller = in enableSeparateNotificationConfig_controllerBecomesAvailable() local
241 NotificationVolumePreferenceController controller = in disableSeparateNotificationConfig_controllerBecomesUnavailable() local
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningControllerFactoryTest.java68 AbstractProvisioningController controller = in testProfileOwner() local
79 AbstractProvisioningController controller = in testDeviceOwner() local
90 AbstractProvisioningController controller = in testFinancedDevice() local
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/
DBrandedAccountPreferenceControllerTest.java65 final BrandedAccountPreferenceController controller = in isAvailable_configOn_noAccount_off() local
79 final BrandedAccountPreferenceController controller = in isAvailable_accountIsAvailable_on() local
94 final BrandedAccountPreferenceController controller = in isAvailable_configOff_hasAccount_off() local

12345678910>>...12