Home
last modified time | relevance | path

Searched refs:updateState (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DDeviceStateMonitorTest.java137 private void updateState(@StateType int stateType, @StateStatus int stateValue) { in updateState() method in DeviceStateMonitorTest
144 updateState(STATE_TYPE_RIL_CONNECTED, STATE_OFF); in updateAllStatesToOff()
145 updateState(STATE_TYPE_SCREEN, STATE_OFF); in updateAllStatesToOff()
146 updateState(STATE_TYPE_POWER_SAVE_MODE, STATE_OFF); in updateAllStatesToOff()
147 updateState(STATE_TYPE_CHARGING, STATE_OFF); in updateAllStatesToOff()
148 updateState(STATE_TYPE_TETHERING, STATE_OFF); in updateAllStatesToOff()
149 updateState(STATE_TYPE_RADIO_AVAILABLE, STATE_OFF); in updateAllStatesToOff()
150 updateState(STATE_TYPE_WIFI_CONNECTED, STATE_OFF); in updateAllStatesToOff()
151 updateState(STATE_TYPE_ALWAYS_SIGNAL_STRENGTH_REPORTED, STATE_OFF); in updateAllStatesToOff()
191 updateState(state, STATE_ON); in verifySetUnsolResponseFilter()
[all …]
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DMainInteractionSession.java105 updateState(); in onShow()
116 updateState(); in onHide()
235 void updateState() { in updateState() method in MainInteractionSession
289 updateState(); in onClick()
336 updateState(); in onClick()
400 updateState(); in onRequestConfirmation()
413 updateState(); in onRequestPickOption()
436 updateState(); in onRequestCompleteVoice()
446 updateState(); in onRequestAbortVoice()
460 updateState(); in onRequestCommand()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DBiometricDialogView.java229 updateState(STATE_AUTHENTICATED); in BiometricDialogView()
237 updateState(STATE_AUTHENTICATING); in BiometricDialogView()
287 updateState(STATE_AUTHENTICATING); in onAttachedToWindow()
299 updateState(mState); in onAttachedToWindow()
376 updateState(STATE_IDLE); in startDismiss()
461 updateState(STATE_ERROR); in onHelpReceived()
466 updateState(STATE_ERROR); in onAuthenticationFailed()
475 updateState(STATE_ERROR); in onErrorReceived()
481 public void updateState(int newState) { in updateState() method in BiometricDialogView
DFingerprintDialogView.java42 updateState(STATE_AUTHENTICATING); in handleResetMessage()
DBiometricDialogImpl.java265 mCurrentDialog.updateState(BiometricDialogView.STATE_PENDING_CONFIRMATION); in handleBiometricAuthenticated()
267 mCurrentDialog.updateState(BiometricDialogView.STATE_AUTHENTICATED); in handleBiometricAuthenticated()
/frameworks/base/services/core/java/com/android/server/
DExtconStateObserver.java58 updateState(extconInfo, name, state); in onUEvent()
70 public abstract void updateState(ExtconInfo extconInfo, String eventName, @NonNull S state); in updateState() method in ExtconStateObserver
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerServiceImpl.java190 updateState(overlayPackage.overlayTarget, overlayPackage.packageName, in updateOverlaysForUser()
233 if (updateState(oi.targetPackageName, oi.packageName, newUserId, 0)) { in updateOverlaysForUser()
312 modified |= updateState(targetPackageName, oi.packageName, userId, flags); in updateAndRefreshOverlaysForTarget()
380 if (updateState(overlayPackage.overlayTarget, packageName, userId, 0)) { in onOverlayPackageAdded()
396 if (updateState(oi.targetPackageName, packageName, userId, 0)) { in onOverlayPackageChanged()
412 if (updateState(oi.targetPackageName, packageName, userId, in onOverlayPackageReplacing()
446 if (updateState(pkg.overlayTarget, packageName, userId, 0)) { in onOverlayPackageReplaced()
503 modified |= updateState(oi.targetPackageName, oi.packageName, userId, 0); in setEnabled()
557 modified |= updateState(targetPackageName, disabledOverlayPackageName, userId, 0); in setEnabledExclusive()
562 modified |= updateState(targetPackageName, packageName, userId, 0); in setEnabledExclusive()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiStateTrackerTest.java62 mWifiStateTracker.updateState(relevantStates[i]); in testBatteryStatsUpdated()
76 mWifiStateTracker.updateState(irrelevantStates[i]); in testBatteryStatsNotUpdated()
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/
DNavigationBarButton.java157 boolean needsInvalidateForState = updateState(); in setState()
163 if (updateState()) { in setTintListCompat()
168 private boolean updateState() { in updateState() method in NavigationBarButton.TintedDrawable
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRules.java484 updateState(STATE_LOADED, "Success!"); in handleMessage()
521 updateState(STATE_LOADED, "Success!"); in handleMessage()
532 updateState(STATE_ERROR, "Error parsing rules: " + ex); in handleMessage()
539 updateState(STATE_ERROR, errorMsg); in handleMessage()
555 updateState(STATE_ERROR, errorMsg); in handleMessage()
576 updateState(STATE_ERROR, "No ARA or ARF."); in handleMessage()
583 updateState(STATE_LOADED, "Success!"); in handleMessage()
714 private void updateState(int newState, String statusMessage) { in updateState() method in UiccCarrierPrivilegeRules
/frameworks/base/services/core/java/com/android/server/display/color/
DAppSaturationController.java159 return updateState(); in setSaturationLevel()
168 return updateState(); in addColorTransformController()
175 private boolean updateState() { in updateState() method in AppSaturationController.SaturationController
/frameworks/base/media/java/android/media/
DPlayerBase.java154 private void updateState(int state) { in updateState() method in PlayerBase
171 updateState(AudioPlaybackConfiguration.PLAYER_STATE_STARTED); in baseStart()
193 updateState(AudioPlaybackConfiguration.PLAYER_STATE_PAUSED); in basePause()
198 updateState(AudioPlaybackConfiguration.PLAYER_STATE_STOPPED); in baseStop()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScorerAppManagerTest.java300 mNetworkScorerAppManager.updateState(); in testUpdateState_recommendationsForcedOff()
314 mNetworkScorerAppManager.updateState(); in testUpdateState_currentPackageValid()
333 mNetworkScorerAppManager.updateState(); in testUpdateState_currentPackageNotValid_validDefault()
348 mNetworkScorerAppManager.updateState(); in testUpdateState_currentPackageNotValid_invalidDefault()
360 mNetworkScorerAppManager.updateState(); in testUpdateState_currentPackageNull_defaultNull()
374 mNetworkScorerAppManager.updateState(); in testUpdateState_currentPackageEmpty_defaultEmpty()
389 mNetworkScorerAppManager.updateState(); in testUpdateState_currentPackageNotValid_sameAsDefault()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/
DEnableAdbPreferenceControllerTest.java133 mController.updateState(mPreference); in updateState_settingsOn_shouldCheck()
146 mController.updateState(mPreference); in updateState_settingsOff_shouldUncheck()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DNotificationShadeActivity.java51 updateState(mScroller.getCurrY());
106 private void updateState(int expectedHeight) { in updateState() method in NotificationShadeActivity.FakeNotificationStackView
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateTracker.java61 public void updateState(int state) { in updateState() method in WifiStateTracker
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/
DAbstractPreferenceController.java48 public void updateState(Preference preference) { in updateState() method in AbstractPreferenceController
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java337 private void updateState() { in updateState() method in SecurityControllerImpl
389 updateState();
398 updateState();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationIconContainer.java241 updateState(); in onLayout()
250 private void updateState() { in updateState() method in NotificationIconContainer
666 updateState(); in showIconIsolated()
672 updateState(); in setIsolatedIconLocation()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/
DAbstractEnableAdbPreferenceController.java78 public void updateState(Preference preference) { in updateState() method in AbstractEnableAdbPreferenceController
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java305 protected void updateState(DetailedState detailedState, String reason) { in updateState() method in Vpn
877 updateState(DetailedState.IDLE, "prepare"); in prepareInternal()
1128 updateState(DetailedState.CONNECTED, "agentConnect");
1152 updateState(DetailedState.DISCONNECTED, "agentDisconnect");
1243 updateState(DetailedState.CONNECTING, "establish");
2061 updateState(DetailedState.CONNECTING, "startLegacyVpn");
2653 updateState(DetailedState.FAILED, "checkpoint");
2688 updateState(DetailedState.CONNECTING, "execute");
2835 updateState(DetailedState.FAILED, e.getMessage());
3029 updateState(DetailedState.CONNECTING, "startPlatformVpn");
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarWifiView.java189 requestLayout = updateState(state.copy()); in applyWifiState()
197 private boolean updateState(WifiIconState state) { in updateState() method in StatusBarWifiView
DStatusBarMobileView.java140 requestLayout = updateState(state.copy()); in applyMobileState()
172 private boolean updateState(MobileIconState state) { in updateState() method in StatusBarMobileView
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/
DAbstractPreferenceControllerTest.java100 mTestPrefController.updateState(mPreference); in updateState_hasSummary_shouldSetSummary()
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java581 mAirplaneModeOn.updateState(mAirplaneState);
594 ((ToggleAction)mSilentModeAction).updateState(
764 mAirplaneModeOn.updateState(mAirplaneState);
820 mAirplaneModeOn.updateState(mAirplaneState);

123