Home
last modified time | relevance | path

Searched refs:controller (Results 1 – 25 of 997) sorted by relevance

12345678910>>...40

/aosp12/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/dvr/
H A DDvrLibraryTest.java85 controller.pressBack(); in testCancel()
108 controller.assertHas( in testEmptyLibrary()
180 controller in testScheduleRecordings()
195 controller.assertHas( in testScheduleRecordings()
211 controller.assertHas( in testScheduleRecordings()
219 controller.assertHas( in testScheduleRecordings()
235 controller.assertHas( in testScheduleRecordings()
263 controller.assertHas( in testScheduleRecordings()
270 controller.assertHas( in testScheduleRecordings()
288 controller.assertHas( in testScheduleRecordings()
[all …]
/aosp12/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
H A DParentalControlsTest.java71 controller.pressDPadCenter(); in testRatingDependentSelect()
82 controller in testRatingDependentSelect()
92 controller.pressDPadCenter(); in testRatingDependentSelect()
95 controller.pressDPadCenter(); in testRatingDependentSelect()
97 controller.pressBack(); in testRatingDependentSelect()
98 controller.pressBack(); in testRatingDependentSelect()
99 controller.waitForIdleSync(); in testRatingDependentSelect()
106 controller in assertRatingViewIsChecked()
147 controller in prepareParentalControl()
155 controller.pressBack(); in prepareParentalControl()
[all …]
H A DLiveChannelsAppTest.java46 controller.waitForIdleSync(); in setUp()
58 controller.pressBack(); in testSettingsCancel()
70 controller.pressBack(); in testClosedCaptionsCancel()
88 controller.pressBack(); in testDisplayModeCancel()
95 controller.pressMenu(); in testMenu()
98 controller.assertHas(controller.menuHelper.getByChannels(), true); in testMenu()
111 controller.pressBack(); in testMultiAudioCancel()
119 controller.menuHelper.showMenu(); in testPinCancel()
123 controller.pressDPadCenter(); in testPinCancel()
125 new DialogHelper(controller.getUiDevice(), controller.getTargetResources()); in testPinCancel()
[all …]
H A DPlayControlsRowViewTest.java57 controller.pressDPadUp(); in setUp()
70 controller.pressBack(); in testFocusedViewInNormalCase()
83 controller.pressBack(); in testFocusedViewWithDisabledActionForward()
89 controller.pressBack(); in testFocusedViewWithDisabledActionForward()
115 new DialogHelper(controller.getUiDevice(), controller.getTargetResources()); in testKeepPausedWhileParentalControlChange()
122 controller.pressEnter(); in testKeepPausedWhileParentalControlChange()
123 controller.pressEnter(); in testKeepPausedWhileParentalControlChange()
124 controller.pressBack(); in testKeepPausedWhileParentalControlChange()
125 controller.pressBack(); in testKeepPausedWhileParentalControlChange()
139 controller.pressHome(); in testKeepPausedAfterVisitingHome()
[all …]
H A DChannelSourcesTest.java46 controller.liveChannelsHelper.assertAppStarted(); in testSetup_cancel()
47 controller.menuHelper.assertPressOptionsSettings(); in testSetup_cancel()
50 controller.sidePanelHelper.assertNavigateToItem( in testSetup_cancel()
52 controller.pressDPadCenter(); in testSetup_cancel()
54 controller.assertWaitForCondition( in testSetup_cancel()
58 controller.pressBack(); in testSetup_cancel()
64 controller.liveChannelsHelper.assertAppStarted(); in testSetupTwice_cancel()
68 controller.sidePanelHelper.assertNavigateToItem( in testSetupTwice_cancel()
70 controller.pressDPadCenter(2); in testSetupTwice_cancel()
72 controller.assertWaitForCondition( in testSetupTwice_cancel()
[all …]
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/display/whitebalance/
H A DAmbientLuxTest.java130 DisplayWhiteBalanceController controller = in testNoSpline() local
150 DisplayWhiteBalanceController controller = in testSpline_OneSegment() local
182 DisplayWhiteBalanceController controller = in testSpline_TwoSegments() local
219 DisplayWhiteBalanceController controller = in testSpline_VerticalSegment() local
238 DisplayWhiteBalanceController controller = in testSpline_InvalidEndBias() local
256 DisplayWhiteBalanceController controller = in testSpline_InvalidBeginBias() local
276 DisplayWhiteBalanceController controller = in testSpline_OneSegmentHighLight() local
309 DisplayWhiteBalanceController controller = in testSpline_TwoSegmentsHighLight() local
368 DisplayWhiteBalanceController controller = in testLowLight_DefaultAmbient() local
392 DisplayWhiteBalanceController controller = in testWhiteBalance_updateWithEmptyFilter() local
[all …]
/aosp12/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/sidepanel/
H A DCustomizeChannelListFragmentTest.java52 controller.liveChannelsHelper.assertAppStarted(); in setUp()
77 controller.sidePanelHelper.assertNavigateToItem( in testCustomizeChannelList_noraml()
79 controller.pressDPadCenter(); in testCustomizeChannelList_noraml()
87 controller.sidePanelHelper.assertNavigateToItem( in testCustomizeChannelList_noraml()
89 controller.pressDPadCenter(); in testCustomizeChannelList_noraml()
96 controller.pressBack(); in testCustomizeChannelList_noraml()
104 controller.pressBack(); in testCustomizeChannelList_noraml()
115 controller.sidePanelHelper.assertNavigateToItem( in testCustomizeChannelList_timeout()
117 controller.pressDPadCenter(); in testCustomizeChannelList_timeout()
127 controller.pressDPadCenter(); in testCustomizeChannelList_timeout()
[all …]
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
H A DSwitchesProviderTest.java91 controller.setKey("123"); in attachInfo_NoMetaDataInController_shouldThrowNullPointerException()
142 controller.setKey("123"); in getSwitchData_shouldReturnDataList()
160 controller.setKey("123"); in getSwitchDataByKey_shouldReturnData()
175 controller.setKey("123"); in isChecked_shouldReturnCheckedState()
196 controller.setKey("123"); in getProviderIcon_noImplementInterface_shouldReturnNull()
211 controller.setKey("123"); in getProviderIcon_implementInterface_shouldReturnIcon()
226 controller.setKey("123"); in getDynamicTitle_noImplementInterface_shouldReturnNull()
241 controller.setKey("123"); in getDynamicTitle_implementInterface_shouldReturnTitle()
257 controller.setKey("123"); in getDynamicSummary_noImplementInterface_shouldReturnNull()
272 controller.setKey("123"); in getDynamicSummary_implementInterface_shouldReturnSummary()
[all …]
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
H A DControlsControllerImplTest.kt17 package com.android.systemui.controls.controller
156 controller = ControlsControllerImpl(
177 controller.destroy()
200 assertEquals(user, controller.currentUserId)
244 controller.unsubscribe()
565 controller.replaceFavoritesForStructure(
576 controller.replaceFavoritesForStructure(
600 controller.replaceFavoritesForStructure(
626 controller.replaceFavoritesForStructure(
632 controller.replaceFavoritesForStructure(
[all …]
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
H A DConnectivityControllerTest.java461 controller.evaluateStateLocked(red); in testEvaluateStateLocked_JobWithoutConnectivity()
470 doReturn(true).when(controller) in testEvaluateStateLocked_JobWouldBeReady()
484 controller.evaluateStateLocked(red); in testEvaluateStateLocked_JobWouldBeReady()
492 controller.evaluateStateLocked(red); in testEvaluateStateLocked_JobWouldBeReady()
500 controller.evaluateStateLocked(blue); in testEvaluateStateLocked_JobWouldBeReady()
512 doReturn(false).when(controller) in testEvaluateStateLocked_JobWouldNotBeReady()
523 controller.evaluateStateLocked(red); in testEvaluateStateLocked_JobWouldNotBeReady()
536 controller.evaluateStateLocked(blue); in testEvaluateStateLocked_JobWouldNotBeReady()
576 controller.reevaluateStateLocked(12345); in testReevaluateStateLocked()
581 doReturn(true).when(controller) in testReevaluateStateLocked()
[all …]
/aosp12/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
H A DRcsFeatureControllerTest.java143 controller.getRegistrationTech(integer -> { in testFeatureManagerConnectedRegister()
175 controller.getRegistrationState(result -> { in testFeatureManagerConnectedHelper()
184 controller.getRegistrationState(result -> { in testFeatureManagerConnectedHelper()
192 controller.getRegistrationState(result -> { in testFeatureManagerConnectedHelper()
246 controller.getRegistrationTech(integer -> { in testFeatureManagerDisconnectedException()
264 controller.onCarrierConfigChangedForSubscription(); in testCarrierConfigChanged()
279 controller.updateAssociatedSubscription(2 /*new subId*/); in testChangeSubId()
291 controller.destroy(); in testDestroy()
302 controller.setFeatureConnectorFactory(mFeatureFactory); in createFeatureController()
305 controller.connect(); in createFeatureController()
[all …]
H A DSipTransportControllerTest.java162 controller.isSupported(TEST_SUB_ID); in isSupportedRcsNotConnected()
199 controller.onRcsConnected(mRcsManager); in isSupportedSipTransportAvailableRcsConnected()
212 controller.onRcsConnected(mRcsManager); in isSupportedSipTransportNotAvailableRcsDisconnected()
213 controller.onRcsDisconnected(); in isSupportedSipTransportNotAvailableRcsDisconnected()
227 controller.onRcsConnected(mRcsManager); in isSupportedSipTransportNotAvailableRcsConnected()
241 controller.onRcsConnected(mRcsManager); in isSupportedImsServiceNotAvailableRcsConnected()
255 controller.onRcsConnected(mRcsManager); in createImsServiceAvailableSubIdIncorrect()
272 controller.onRcsConnected(mRcsManager); in createImsServiceDoesntSupportTransport()
612 controller.onRcsDisconnected(); in testRcsManagerGoneDestroyTriggered()
632 controller.onDestroy(); in testDestroyTriggered()
[all …]
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
H A DAccessPointControllerImplTest.kt82 controller = AccessPointControllerImpl(
89 controller.init()
99 controller.addAccessPointCallback(callback)
105 controller.addAccessPointCallback(callback)
113 controller.addAccessPointCallback(callback)
122 controller.addAccessPointCallback(callback)
123 controller.scanForAccessPoints()
132 controller.addAccessPointCallback(callback)
133 controller.onWifiStateChanged()
143 controller.onWifiEntriesChanged()
[all …]
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
H A DBluetoothPairingDialogTest.java63 private BluetoothPairingController controller; field in BluetoothPairingDialogTest
79 when(controller.getDeviceVariantMessageId()) in dialogUpdatesControllerWithUserInput()
98 when(controller.getDeviceVariantMessageId()) in dialogEnablesSubmitButtonOnValidationFromController()
135 when(controller.getDeviceVariantMessageId()) in dialogAsksForPairCodeOnUserEntryVariant()
164 when(controller.getDialogType()) in dialogDisplaysPairCodeOnDisplayPasskeyVariant()
234 frag.setPairingController(controller); in dialogDoesNotAllowSwappingController()
237 frag.setPairingController(controller); in dialogDoesNotAllowSwappingController()
258 when(controller.getDeviceVariantMessageId()) in dialogPositiveButtonDisabledWhenUserInputInvalid()
338 when(controller.getDeviceVariantMessageId()) in dialogShowsMessageHintOnPinEntryView()
358 when(controller.getDeviceVariantMessageId()) in dialogHidesMessageAndHintWhenNotProvidedOnPinEntryView()
[all …]
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DVibratorControllerTest.java141 controller.setExternalControl(true); in setExternalControl_withCapability_enablesExternalControl()
196 controller.on(100, 10); in on_withDuration_turnsVibratorOn()
252 controller.on(100, 1); in off_turnsOffVibrator()
255 controller.off(); in off_turnsOffVibrator()
256 controller.off(); in off_turnsOffVibrator()
267 controller.on(10, 1); in registerVibratorStateListener_callbacksAreTriggered()
268 controller.on(100, 2); in registerVibratorStateListener_callbacksAreTriggered()
269 controller.off(); in registerVibratorStateListener_callbacksAreTriggered()
270 controller.off(); in registerVibratorStateListener_callbacksAreTriggered()
288 controller.on(10, 1); in unregisterVibratorStateListener_callbackNotTriggeredAfter()
[all …]
/aosp12/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
H A DSwitchesProvider.java79 controllers.forEach(controller -> { in onCreate()
80 final String key = controller.getSwitchKey(); in onCreate()
89 controller.setAuthority(mAuthority); in onCreate()
90 mControllerMap.put(key, controller); in onCreate()
113 if (controller == null) { in call()
120 return controller.getBundle(); in call()
124 if (controller instanceof ProviderIcon) { in call()
129 if (controller instanceof DynamicTitle) { in call()
136 if (controller instanceof DynamicSummary) { in call()
156 if (controller instanceof DynamicSummary) { in onCheckedChanged()
[all …]
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/enterprise/
H A DManagedDeviceActionDisabledByAdminControllerTest.java45 import org.robolectric.android.controller.ActivityController;
70 controller.setupLearnMoreButton(mContext); in setupLearnMoreButton_noUrl_negativeButtonSet()
83 controller.setupLearnMoreButton(mContext); in setupLearnMoreButton_validUrl_foregroundUser_launchesHelpPage()
96 controller.setupLearnMoreButton(mContext); in setupLearnMoreButton_validUrl_browserInPreferredUser_notForeground_showsAdminPolicies()
109 controller.setupLearnMoreButton(mContext); in setupLearnMoreButton_validUrl_browserInCurrentUser_launchesHelpPage()
122 controller.setupLearnMoreButton(mContext); in setupLearnMoreButton_validUrl_browserNotOnAnyUser_showsAdminPolicies()
131 assertThat(controller.getAdminSupportTitle(null)) in getAdminSupportTitleResource_noRestriction_works()
139 assertThat(controller.getAdminSupportTitle(RESTRICTION)) in getAdminSupportTitleResource_withRestriction_works()
180 ManagedDeviceActionDisabledByAdminController controller = in createController() local
187 controller.initialize(mTestUtils.createLearnMoreButtonLauncher()); in createController()
[all …]
/aosp12/system/core/libprocessgroup/cgrouprc/
H A Dcgroup_controller.cpp25 uint32_t ACgroupController_getVersion(const ACgroupController* controller) { in ACgroupController_getVersion() argument
26 CHECK(controller != nullptr); in ACgroupController_getVersion()
27 return controller->version(); in ACgroupController_getVersion()
30 uint32_t ACgroupController_getFlags(const ACgroupController* controller) { in ACgroupController_getFlags() argument
31 CHECK(controller != nullptr); in ACgroupController_getFlags()
32 return controller->flags(); in ACgroupController_getFlags()
35 const char* ACgroupController_getName(const ACgroupController* controller) { in ACgroupController_getName() argument
36 CHECK(controller != nullptr); in ACgroupController_getName()
37 return controller->name(); in ACgroupController_getName()
41 CHECK(controller != nullptr); in ACgroupController_getPath()
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/
H A DShadeViewDiffer.kt54 if (spec.controller != rootNode.controller) {
164 var node = nodes[spec.controller]
166 node = ShadeNode(spec.controller)
167 nodes[node.controller] = node
190 map[node.controller] = node
203 val controller: NodeController
205 val view = controller.view
210 get() = controller.nodeLabel
217 controller.addChildAt(child.controller, index)
221 controller.moveChildTo(child.controller, index)
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/network/telephony/
H A DAbstractMobileNetworkSettings.java59 AbstractPreferenceController controller) { in searchForPreference() argument
60 final String key = controller.getPreferenceKey(); in searchForPreference()
77 .filter(controller -> controller.isAvailable()) in onExpandButtonClick()
78 .forEach(controller -> { in onExpandButtonClick()
81 controller.updateState(preference); in onExpandButtonClick()
104 AbstractPreferenceController controller) { in updateVisiblePreferenceControllers() argument
110 mHiddenControllerList.add(controller); in updateVisiblePreferenceControllers()
113 if (!controller.isAvailable()) { in updateVisiblePreferenceControllers()
116 controller.updateState(preference); in updateVisiblePreferenceControllers()
136 controllers.forEach(controller -> { in redrawPreferenceControllers()
[all …]
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
H A DWorkPolicyInfoPreferenceControllerTest.java57 WorkPolicyInfoPreferenceController controller = newControllerWithFeatureEnabled(); in testGetPreferenceType() local
59 assertWithMessage("preferenceType").that(controller.getPreferenceType()) in testGetPreferenceType()
67 assertAvailability(controller.getAvailabilityStatus(), UNSUPPORTED_ON_DEVICE); in testGetAvailabilityStatus_noFeature()
75 assertAvailability(controller.getAvailabilityStatus(), DISABLED_FOR_PROFILE); in testGetAvailabilityStatus_noAdmin()
84 assertAvailability(controller.getAvailabilityStatus(), DISABLED_FOR_PROFILE); in testGetAvailabilityStatus_adminWithoutReceiver()
93 assertAvailability(controller.getAvailabilityStatus(), AVAILABLE); in testGetAvailabilityStatus_adminWithReceiver()
101 controller.updateState(mPreference); in testUpdateStatus_noFeature()
112 controller.updateState(mPreference); in testUpdateStatus_noAdmin()
123 controller.updateState(mPreference); in testUpdateStatus_adminWithoutReceiver()
135 controller.updateState(mPreference); in testUpdateStatus_adminWithReceiver()
[all …]
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/
H A DInputMethodSubtypeSwitchingControllerTest.java191 private void onUserAction(final ControllerImpl controller, in onUserAction() argument
230 assertRotationOrder(controller, true /* onlyCurrentIme */, in testControllerImpl()
232 assertRotationOrder(controller, true /* onlyCurrentIme */, in testControllerImpl()
278 onUserAction(controller, latinIme_fr); in testControllerImplWithUserAction()
282 onUserAction(controller, latinIme_fr); in testControllerImplWithUserAction()
286 onUserAction(controller, latinIme_fr); in testControllerImplWithUserAction()
292 assertRotationOrder(controller, true /* onlyCurrentIme */, in testControllerImplWithUserAction()
294 assertRotationOrder(controller, true /* onlyCurrentIme */, in testControllerImplWithUserAction()
302 onUserAction(controller, switchingUnawarelatinIme_hi); in testControllerImplWithUserAction()
307 onUserAction(controller, switchUnawareJapaneseIme_ja_jp); in testControllerImplWithUserAction()
[all …]
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/firmwareversion/
H A 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
108 controller.updateState(mPreference); in updateState_canHandleV2Intent_setIntentToPreference()
118 final MainlineModuleVersionPreferenceController controller = in updateState_canHandleV2Intent_preferenceShouldBeSelectable() local
121 controller.updateState(mPreference); in updateState_canHandleV2Intent_preferenceShouldBeSelectable()
135 controller.updateState(mPreference); in updateState_canHandleIntent_setIntentToPreference()
149 controller.updateState(mPreference); in updateState_canHandleIntent_preferenceShouldBeSelectable()
165 controller.updateState(mPreference); in updateState_cannotHandleIntent_setNullToPreference()
[all …]
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
H A DChannelEditorDialogControllerTest.kt54 private lateinit var controller: ChannelEditorDialogController
96 assertEquals(2, controller.paddedChannels.size)
107 0, controller.paddedChannels.size)
129 4, controller.paddedChannels.size)
139 controller.proposeEditForChannel(channel1, IMPORTANCE_NONE)
141 controller.apply()
157 controller.proposeSetAppNotificationsEnabled(false)
158 controller.apply()
172 controller.proposeSetAppNotificationsEnabled(true)
173 controller.apply()
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/development/
H A DDevelopmentSettingsDashboardFragment.java100 if (controller instanceof AdbOnChangeListener) {
295 if (controller == null || controller.isDefaultValue()) { in onSwitchChanged()
308 controller.onOemUnlockConfirmed(); in onOemUnlockDialogConfirmed()
315 controller.onOemUnlockDismissed(); in onOemUnlockDialogDismissed()
322 controller.onAdbDialogConfirmed(); in onEnableAdbDialogConfirmed()
330 controller.onAdbDialogDismissed(); in onEnableAdbDialogDismissed()
337 controller.onClearAdbKeysConfirmed(); in onAdbClearKeysDialogConfirmed()
344 controller.onDisableLogPersistDialogConfirmed(); in onDisableLogPersistDialogConfirmed()
351 controller.onDisableLogPersistDialogRejected(); in onDisableLogPersistDialogRejected()
358 controller.onA2dpHwDialogConfirmed(); in onA2dpHwDialogConfirmed()
[all …]

12345678910>>...40