Home
last modified time | relevance | path

Searched refs:getController (Results 1 – 25 of 202) sorted by relevance

123456789

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/inputmethod/
DKeyboardManagementPreferenceControllerTest.java111 mControllerHelper.getController().refreshUi(); in refreshUi_permitAllInputMethods_preferenceCountIs4()
127 mControllerHelper.getController().refreshUi(); in refreshUi_multiplteAllowedImeByOrganization_allPreferencesVisible()
145 mControllerHelper.getController().refreshUi(); in refreshUi_multipleEnabledInputMethods_allPreferencesEnabled()
163 mControllerHelper.getController().refreshUi(); in refreshUi_multipleEnabledInputMethods_allPreferencesChecked()
182 mControllerHelper.getController().refreshUi(); in refreshUi_disallowedByOrganization_noPreferencesShown()
197 mControllerHelper.getController().refreshUi(); in refreshUi_verifyPreferenceIcon()
214 mControllerHelper.getController().refreshUi(); in refreshUi_verifyPreferenceTitle()
231 mControllerHelper.getController().refreshUi(); in refreshUi_verifyPreferenceSummary()
247 mControllerHelper.getController().refreshUi(); in refreshUi_oneInputMethod_noneEnabled_oneInputMethodPreferenceInView()
259 mControllerHelper.getController().refreshUi(); in refreshUi_oneInputMethod_noneEnabled_preferenceEnabled()
[all …]
DEnabledKeyboardPreferenceControllerTest.java97 mControllerHelper.getController().refreshUi(); in refreshUi_permitAllInputMethods()
109 mControllerHelper.getController().refreshUi(); in refreshUi_hasAllowedImeByOrganization()
121 mControllerHelper.getController().refreshUi(); in refreshUi_disallowedByOrganization()
132 mControllerHelper.getController().refreshUi(); in refreshUi_verifyPreferenceIcon()
145 mControllerHelper.getController().refreshUi(); in refreshUi_verifyPreferenceTitle()
158 mControllerHelper.getController().refreshUi(); in refreshUi_verifyPreferenceSummary()
173 mControllerHelper.getController().refreshUi(); in performClick_launchSettingsActivity()
197 mControllerHelper.getController().refreshUi(); in performClick_noSettingsActivity_noCrash()
DKeyboardPreferenceControllerTest.java92 mControllerHelper.getController().refreshUi(); in refreshUi_noInputMethodInfo()
105 mControllerHelper.getController().refreshUi(); in refreshUi_permitAllInputMethods_hasOneInputMethodInfo()
120 mControllerHelper.getController().refreshUi(); in refreshUi_permitAllInputMethods_hasTwoInputMethodInfo()
137 mControllerHelper.getController().refreshUi(); in refreshUi_permitAllInputMethods_hasThreeInputMethodInfo()
154 mControllerHelper.getController().refreshUi(); in refreshUi_hasAllowedImeByOrganization()
168 mControllerHelper.getController().refreshUi(); in refreshUi_disallowedByOrganization()
/packages/apps/DeskClock/src/com/android/deskclock/
DHandleApiCalls.java132 Controller.getController().notifyVoiceFailure(activity, reason); in dismissAlarm()
157 Controller.getController().notifyVoiceFailure(activity, reason); in dismissAlarmInstance()
163 Controller.getController().notifyVoiceSuccess(activity, reason); in dismissAlarmInstance()
186 Controller.getController().notifyVoiceFailure(mActivity, reason); in doInBackground()
210 Controller.getController().notifyVoiceSuccess(mActivity, voiceMessage); in doInBackground()
230 Controller.getController().notifyVoiceSuccess(mActivity, voiceMessage); in doInBackground()
272 Controller.getController().notifyVoiceFailure(mActivity, reason); in doInBackground()
292 Controller.getController().notifyVoiceSuccess(activity, reason); in snoozeAlarm()
309 Controller.getController().notifyVoiceFailure(this, voiceMessage); in handleSetAlarm()
319 Controller.getController().notifyVoiceFailure(this, voiceMessage); in handleSetAlarm()
[all …]
DDeskClockApplication.java42 Controller.getController().setContext(applicationContext); in onCreate()
43 Controller.getController().addEventTracker(new LogEventTracker(applicationContext)); in onCreate()
DAlarmInitReceiver.java76 Controller.getController().updateShortcuts(); in onReceive()
85 Controller.getController().updateShortcuts(); in onReceive()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothDevicePickerPreferenceControllerTest.java144 mControllerHelper.getController().setLaunchIntent(launchIntent); in onStart_appliesFilterType()
160 mControllerHelper.getController().setLaunchIntent(launchIntent); in onDeviceClicked_bondedDevice_sendsPickedIntent()
181 mControllerHelper.getController().setLaunchIntent(launchIntent); in onDeviceClicked_bondedDevice_goesBack()
196 mControllerHelper.getController().setLaunchIntent(launchIntent); in onDeviceClicked_unbondedDevice_doesNotNeedAuth_sendsPickedIntent()
213 mControllerHelper.getController().setLaunchIntent(launchIntent); in onDeviceClicked_unbondedDevice_needsAuth_startsPairing()
228 mControllerHelper.getController().setLaunchIntent(launchIntent); in onDeviceClicked_unbondedDevice_needsAuth_pairingStartFails_resumesScanning()
245 mControllerHelper.getController().setLaunchIntent(launchIntent); in onDeviceBondStateChanged_selectedDeviceBonded_sendsPickedIntent()
254 mControllerHelper.getController().onDeviceBondStateChanged( in onDeviceBondStateChanged_selectedDeviceBonded_sendsPickedIntent()
266 mControllerHelper.getController().setLaunchIntent(launchIntent); in onDeviceBondStateChanged_selectedDeviceBonded_goesBack()
275 mControllerHelper.getController().onDeviceBondStateChanged( in onDeviceBondStateChanged_selectedDeviceBonded_goesBack()
[all …]
DBluetoothDevicePreferenceControllerTest.java87 mControllerHelper.getController().setCachedDevice(mDevice); in setUp()
110 assertThat(mControllerHelper.getController().getAvailabilityStatus()).isEqualTo( in getAvailabilityStatus_disallowConfigBluetooth_disabledForUser()
140 assertThat(mControllerHelper.getController().getUpdateStateCallCount()).isEqualTo(2); in started_onDeviceAttributesChanged_refreshesUi()
145 assertThat(mControllerHelper.getController().getUpdateStateCallCount()).isEqualTo(3); in started_onDeviceAttributesChanged_refreshesUi()
DBluetoothDeviceAddressPreferenceControllerTest.java75 controllerHelper.getController().setCachedDevice(device); in refreshUi_setsAddress()
79 controllerHelper.getController().refreshUi(); in refreshUi_setsAddress()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/legal/
DLegalPreferenceControllerTest.java83 Intent intent = mControllerHelper.getController().getIntent(); in refreshUi_intentResolvesToActivity_isVisible()
105 mControllerHelper.getController().refreshUi(); in refreshUi_intentResolvesToActivity_isVisible()
112 Intent intent = mControllerHelper.getController().getIntent(); in refreshUi_intentResolvesToActivity_updatesTitle()
131 mControllerHelper.getController().refreshUi(); in refreshUi_intentResolvesToActivity_updatesTitle()
138 Intent intent = mControllerHelper.getController().getIntent(); in refreshUi_intentResolvesToActivity_updatesIntentToSpecificActivity()
163 mControllerHelper.getController().refreshUi(); in refreshUi_intentResolvesToActivity_updatesIntentToSpecificActivity()
173 packageManager.addResolveInfoForIntent(mControllerHelper.getController().getIntent(), in refreshUi_intentResolvesToNull_isNotVisible()
177 mControllerHelper.getController().refreshUi(); in refreshUi_intentResolvesToNull_isNotVisible()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountDetailsPreferenceControllerTest.java65 mController = helper.getController(); in setUp()
82 AccountDetailsPreferenceController.class).getController(); in checkInitialized_accountSetAndUserHandleSet_doesNothing()
92 AccountDetailsPreferenceController.class).getController(); in checkInitialized_nullAccount_throwsIllegalStateException()
101 AccountDetailsPreferenceController.class).getController(); in checkInitialized_nullUserHandle_throwsIllegalStateException()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/
DConditionManager.java67 final DisplayableChecker future = new DisplayableChecker(getController(card.getId())); in getDisplayableCards()
91 getController(id).onPrimaryClick(context); in onPrimaryClick()
100 getController(id).onActionClick(); in onActionClick()
143 private <T extends ConditionalCardController> T getController(long id) { in getController() method in ConditionManager
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DConditionManager.java67 final DisplayableChecker future = new DisplayableChecker(getController(card.getId())); in getDisplayableCards()
91 getController(id).onPrimaryClick(context); in onPrimaryClick()
100 getController(id).onActionClick(); in onActionClick()
143 private <T extends ConditionalCardController> T getController(long id) { in getController() method in ConditionManager
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DCycleResetDayOfMonthPickerPreferenceControllerTest.java65 mControllerHelper.getController().setNetworkPolicyEditor(mPolicyEditor); in setUp()
66 mControllerHelper.getController().setNetworkTemplate(mNetworkTemplate); in setUp()
74 mControllerHelper.getController().refreshUi(); in performClick_startsDialogWithStartingValue()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardManagerTest.java325 pool.getController(mContext, in onWindowFocusChanged_hasFocusAndNoConditional_startMonitoringConditionCard()
328 … doReturn(controller).when(pool).getController(mContext, ContextualCard.CardType.CONDITIONAL); in onWindowFocusChanged_hasFocusAndNoConditional_startMonitoringConditionCard()
343 pool.getController(mContext, in onWindowFocusChanged_hasFocusAndHasConditionals_startMonitoringConditionCard()
346 … doReturn(controller).when(pool).getController(mContext, ContextualCard.CardType.CONDITIONAL); in onWindowFocusChanged_hasFocusAndHasConditionals_startMonitoringConditionCard()
361 pool.getController(mContext, in onWindowFocusChanged_loseFocusAndHasConditionals_stopMonitoringConditionCard()
364 … doReturn(controller).when(pool).getController(mContext, ContextualCard.CardType.CONDITIONAL); in onWindowFocusChanged_loseFocusAndHasConditionals_stopMonitoringConditionCard()
377 pool.getController(mContext, in onWindowFocusChanged_loseFocusAndNoConditional_stopMonitoringConditionCard()
380 … doReturn(controller).when(pool).getController(mContext, ContextualCard.CardType.CONDITIONAL); in onWindowFocusChanged_loseFocusAndNoConditional_stopMonitoringConditionCard()
DControllerRendererPoolTest.java56 mPool.getController(mContext, mapping.mCardType).getClass()).isEqualTo( in getController_hasSupportedCardType_shouldReturnCorrespondingController()
66 mapping -> mPool.getController(mContext, mapping.mCardType)); in getController_hasSupportedCardType_shouldHaveTwoControllersInPool()
73 final ContextualCardController controller = mPool.getController(mContext, in getController_hasUnsupportedCardType_shouldReturnNullAndPoolIsEmpty()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/
DBluetoothMacAddressPreferenceControllerTest.java86 mControllerHelper.getController().refreshUi(); in refreshUi_setsAddress()
96 assertThat(mControllerHelper.getController().getAvailabilityStatus()).isEqualTo( in getAvailabilityStatus_featureBluetooth_unsupportedOnDevice()
105 assertThat(mControllerHelper.getController().getAvailabilityStatus()).isEqualTo( in getAvailabilityStatus_enableDefaultAdapter_available()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DMoreSpecialAccessPreferenceControllerTest.java88 assertThat(controllerHelper.getController().getAvailabilityStatus()).isEqualTo( in getAvailabilityStatus_noPermissionController_returnsUnsupportedOnDevice()
100 assertThat(controllerHelper.getController().getAvailabilityStatus()).isEqualTo( in getAvailabilityStatus_noResolvedActivity_returnsUnsupportedOnDevice()
114 assertThat(controllerHelper.getController().getAvailabilityStatus()).isEqualTo( in getAvailabilityStatus_resolvedActivity_returnsAvailable()
DAppOpsPreferenceControllerTest.java93 mController = mControllerHelper.getController(); in setUp()
111 mController = mControllerHelper.getController(); in checkInitialized_noOpCode_throwsIllegalStateException()
123 mController = mControllerHelper.getController(); in checkInitialized_noPermission_throwsIllegalStateException()
135 mController = mControllerHelper.getController(); in checkInitialized_noNegativeOpMode_throwsIllegalStateException()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiDialogActivity.java101 final AccessPoint accessPoint = dialog.getController().getAccessPoint(); in onForget()
130 final WifiConfiguration config = dialog.getController().getConfig(); in onSubmit()
131 final AccessPoint accessPoint = dialog.getController().getAccessPoint(); in onSubmit()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DBluetoothMediaBrowserService.java162 sBluetoothMediaBrowserService.mSession.getController().getTransportControls().play(); in play()
173 sBluetoothMediaBrowserService.mSession.getController().getTransportControls().pause(); in pause()
184 return sBluetoothMediaBrowserService.mSession.getController().getTransportControls(); in getTransportControls()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiDialogActivity.java109 final AccessPoint accessPoint = dialog.getController().getAccessPoint(); in onForget()
138 final WifiConfiguration config = dialog.getController().getConfig(); in onSubmit()
139 final AccessPoint accessPoint = dialog.getController().getAccessPoint(); in onSubmit()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DPreferenceControllerTest.java84 mController = mControllerHelper.getController(); in setUp()
189 mController = mControllerHelper.getController(); in onUxRestrictionsChanged_restricted_allPreferencesIgnore_preferenceEnabled()
206 mController = mControllerHelper.getController(); in onUxRestrictionsChanged_restricted_thisPreferenceIgnores_preferenceEnabled()
224 mController = mControllerHelper.getController(); in onUxRestrictionsChanged_restricted_uxRestrictionsNotIgnored_preferenceDisabled()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripLayout.java86 mFilmstripView.getController().goToFilmstrip();
174 mFilmstripView.getController().setListener(listener); in setFilmstripListener()
210 FilmstripController controller = mFilmstripView.getController(); in notifyShown()
334 if (mFilmstripView.getController().getCurrentAdapterIndex() == -1) { in onScroll()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DZenRuleCustomPrefContrTestBase.java34 abstract AbstractZenCustomRulePreferenceController getController(); in getController() method in ZenRuleCustomPrefContrTestBase
38 getController().onResume(mRule, RULE_ID); in updateControllerZenPolicy()

123456789