/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | DeviceStateMonitorTest.java | 144 private void updateState(@StateType int stateType, @StateStatus int stateValue) { in updateState() method in DeviceStateMonitorTest 151 updateState(STATE_TYPE_RIL_CONNECTED, STATE_OFF); in updateAllStatesToOff() 152 updateState(STATE_TYPE_SCREEN, STATE_OFF); in updateAllStatesToOff() 153 updateState(STATE_TYPE_POWER_SAVE_MODE, STATE_OFF); in updateAllStatesToOff() 154 updateState(STATE_TYPE_CHARGING, STATE_OFF); in updateAllStatesToOff() 155 updateState(STATE_TYPE_TETHERING, STATE_OFF); in updateAllStatesToOff() 156 updateState(STATE_TYPE_RADIO_AVAILABLE, STATE_OFF); in updateAllStatesToOff() 157 updateState(STATE_TYPE_WIFI_CONNECTED, STATE_OFF); in updateAllStatesToOff() 158 updateState(STATE_TYPE_ALWAYS_SIGNAL_STRENGTH_REPORTED, STATE_OFF); in updateAllStatesToOff() 201 updateState(state, STATE_ON); in verifySetUnsolResponseFilter() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/carrier/ |
D | QSCarrierTest.java | 69 assertTrue(mQSCarrier.updateState(c, false)); in testUpdateState_first() 76 assertTrue(mQSCarrier.updateState(c, false)); in testUpdateState_same() 77 assertFalse(mQSCarrier.updateState(c, false)); in testUpdateState_same() 84 assertTrue(mQSCarrier.updateState(c, false)); in testUpdateState_changed() 88 assertTrue(mQSCarrier.updateState(other, false)); in testUpdateState_changed() 95 assertTrue(mQSCarrier.updateState(c, true)); in testUpdateState_singleCarrier_first() 102 mQSCarrier.updateState(c, true); in testUpdateState_singleCarrier_noShowIcon() 111 mQSCarrier.updateState(c, false); in testUpdateState_multiCarrier_showIcon() 120 mQSCarrier.updateState(c, true); in testUpdateState_changeSingleMultiSingle() 123 mQSCarrier.updateState(c, false); in testUpdateState_changeSingleMultiSingle() [all …]
|
D | QSCarrierGroupControllerTest.java | 275 verify(mQSCarrier1).updateState(any(), eq(true)); in testSingleCarrier() 276 verify(mQSCarrier2).updateState(any(), eq(true)); in testSingleCarrier() 277 verify(mQSCarrier3).updateState(any(), eq(true)); in testSingleCarrier() 294 verify(mQSCarrier1).updateState(any(), eq(false)); in testMultiCarrier() 295 verify(mQSCarrier2).updateState(any(), eq(false)); in testMultiCarrier() 296 verify(mQSCarrier3).updateState(any(), eq(false)); in testMultiCarrier()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
D | AuthBiometricFaceToFingerprintViewTest.java | 103 .updateState(anyInt(), eq(AuthBiometricFaceToFingerprintView.STATE_AUTHENTICATING)); in testStateUpdated_whenDialogAnimatedIn() 104 verify(mFaceToFpView.mUdfpsIconController, never()).updateState(anyInt()); in testStateUpdated_whenDialogAnimatedIn() 111 .updateState(anyInt(), eq(AuthBiometricFaceToFingerprintView.STATE_AUTHENTICATING)); in testIconUpdatesState_whenDialogStateUpdated() 112 verify(mFaceToFpView.mUdfpsIconController, never()).updateState(anyInt()); in testIconUpdatesState_whenDialogStateUpdated() 114 mFaceToFpView.updateState(AuthBiometricFaceView.STATE_AUTHENTICATED); in testIconUpdatesState_whenDialogStateUpdated() 115 verify(mFaceToFpView.mFaceIconController).updateState( in testIconUpdatesState_whenDialogStateUpdated() 118 verify(mFaceToFpView.mUdfpsIconController, never()).updateState(anyInt()); in testIconUpdatesState_whenDialogStateUpdated() 127 .updateState(anyInt(), eq(AuthBiometricFaceToFingerprintView.STATE_AUTHENTICATING)); in testStateUpdated_whenSwitchToFingerprint() 129 mFaceToFpView.updateState(AuthBiometricFaceToFingerprintView.STATE_ERROR); in testStateUpdated_whenSwitchToFingerprint() 132 verify(mFaceToFpView.mUdfpsIconController).updateState( in testStateUpdated_whenSwitchToFingerprint() [all …]
|
D | AuthBiometricFaceViewTest.java | 82 .updateState(anyInt(), eq(AuthBiometricFaceView.STATE_AUTHENTICATING)); in testStateUpdated_whenDialogAnimatedIn() 87 mFaceView.updateState(AuthBiometricFaceView.STATE_AUTHENTICATING); in testIconUpdatesState_whenDialogStateUpdated() 89 .updateState(anyInt(), eq(AuthBiometricFaceView.STATE_AUTHENTICATING)); in testIconUpdatesState_whenDialogStateUpdated() 91 mFaceView.updateState(AuthBiometricFaceView.STATE_AUTHENTICATED); in testIconUpdatesState_whenDialogStateUpdated() 92 verify(mFaceView.mFaceIconController).updateState( in testIconUpdatesState_whenDialogStateUpdated()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthBiometricFaceToFingerprintView.java | 54 void updateState(@BiometricState int newState) { in updateState() method in AuthBiometricFaceToFingerprintView.UdfpsIconController 55 updateState(mIconState, newState); in updateState() 59 protected void updateState(int lastState, int newState) { in updateState() method in AuthBiometricFaceToFingerprintView.UdfpsIconController 186 public void updateState(@BiometricState int newState) { in updateState() method in AuthBiometricFaceToFingerprintView 202 mUdfpsIconController.updateState(STATE_IDLE); in updateState() 205 mUdfpsIconController.updateState(newState); in updateState() 208 super.updateState(newState); in updateState()
|
D | AuthBiometricView.java | 283 updateState(getStateForAfterError()); in AuthBiometricView() 289 updateState(STATE_AUTHENTICATING); in AuthBiometricView() 481 public void updateState(@BiometricState int newState) { in updateState() method in AuthBiometricView 536 updateState(STATE_AUTHENTICATING); in onDialogAnimatedIn() 542 updateState(STATE_PENDING_CONFIRMATION); in onAuthenticationSucceeded() 544 updateState(STATE_AUTHENTICATED); in onAuthenticationSucceeded() 557 updateState(STATE_ERROR); in onAuthenticationFailed() 568 updateState(STATE_ERROR); in onError() 592 updateState(STATE_HELP); in onHelp() 684 updateState(STATE_AUTHENTICATED); in onFinishInflateInternal() [all …]
|
D | AuthBiometricFaceView.java | 115 protected void updateState(int lastState, int newState) { in updateState() method in AuthBiometricFaceView.IconController 217 public void updateState(@BiometricState int newState) { in updateState() method in AuthBiometricFaceView 218 mFaceIconController.updateState(mState, newState); in updateState() 226 super.updateState(newState); in updateState()
|
D | AuthBiometricFingerprintView.java | 68 public void updateState(@BiometricState int newState) { in updateState() method in AuthBiometricFingerprintView 72 super.updateState(newState); in updateState()
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
D | MainInteractionSession.java | 105 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/EasterEgg/src/com/android/egg/neko/ |
D | NekoTile.java | 43 updateState(); in onStartListening() 66 updateState(); in onPrefsChanged() 69 private void updateState() { in updateState() method in NekoTile
|
/frameworks/base/services/core/java/com/android/server/ |
D | ExtconStateObserver.java | 58 updateState(extconInfo, name, state); in onUEvent() 70 public abstract void updateState(ExtconInfo extconInfo, String eventName, @NonNull S state); in updateState() method in ExtconStateObserver
|
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/ |
D | NavigationBarButton.java | 157 boolean needsInvalidateForState = updateState(); in setState() 163 if (updateState()) { in setTintListCompat() 168 private boolean updateState() { in updateState() method in NavigationBarButton.TintedDrawable
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/ |
D | RecordingControllerTest.java | 124 mController.updateState(true); in testUpdateState() 128 mController.updateState(false); in testUpdateState() 173 mController.updateState(true); in testUserChange()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | RecordingController.java | 79 updateState(state); 195 updateState(false); in stopRecording() 205 public synchronized void updateState(boolean isRecording) { in updateState() method in RecordingController
|
D | RecordingService.java | 147 updateState(true); in onStartCommand() 151 updateState(false); in onStartCommand() 216 private void updateState(boolean state) { in updateState() method in RecordingService 220 mController.updateState(state); in updateState() 389 updateState(false); in stopRecording()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccCarrierPrivilegeRules.java | 496 updateState(STATE_LOADED, "Success!"); in handleMessage() 533 updateState(STATE_LOADED, "Success!"); in handleMessage() 544 updateState(STATE_ERROR, "Error parsing rules: " + ex); in handleMessage() 551 updateState(STATE_ERROR, errorMsg); in handleMessage() 567 updateState(STATE_ERROR, errorMsg); in handleMessage() 588 updateState(STATE_ERROR, "No ARA or ARF."); in handleMessage() 595 updateState(STATE_LOADED, "Success!"); in handleMessage() 726 private void updateState(int newState, String statusMessage) { in updateState() method in UiccCarrierPrivilegeRules
|
/frameworks/base/services/core/java/com/android/server/display/color/ |
D | AppSaturationController.java | 167 return updateState(); in setSaturationLevel() 177 return updateState(); in addColorTransformController() 193 private boolean updateState() { in updateState() method in AppSaturationController.SaturationController
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationShelfController.java | 107 public void updateState(StackScrollAlgorithm.StackScrollAlgorithmState algorithmState, in updateState() method in NotificationShelfController 110 mView.updateState(algorithmState, ambientState); in updateState()
|
/frameworks/base/core/java/android/service/voice/ |
D | AbstractHotwordDetector.java | 101 public void updateState(@Nullable PersistableBundle options, in updateState() method in AbstractHotwordDetector 119 mManagerService.updateState(identity, options, sharedMemory, callback); in updateStateLocked()
|
D | HotwordDetector.java | 98 void updateState(@Nullable PersistableBundle options, @Nullable SharedMemory sharedMemory); in updateState() method
|
/frameworks/base/media/java/android/media/ |
D | PlayerBase.java | 168 private void updateState(int state, int deviceId) { in updateState() method in PlayerBase 188 updateState(AudioPlaybackConfiguration.PLAYER_STATE_STARTED, deviceId); in baseStart() 205 updateState(AudioPlaybackConfiguration.PLAYER_STATE_PAUSED, 0); in basePause() 210 updateState(AudioPlaybackConfiguration.PLAYER_STATE_STOPPED, 0); in baseStop()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerServiceImpl.java | 224 if (updateState(oi, newUserId, 0)) { in updateOverlaysForUser() 312 modified |= updateState(oi, userId, flags); in updateOverlaysForTarget() 360 if (updateState(currentInfo, userId, flags)) { in updatePackageOverlays() 428 modified |= updateState(oi, userId, 0); in setEnabled() 474 modified |= updateState(disabledInfo, userId, 0); in setEnabledExclusive() 479 modified |= updateState(enabledInfo, userId, 0); in setEnabledExclusive() 541 if (updateState(oi, userId, 0)) { in registerFabricatedOverlay() 760 private boolean updateState(@NonNull final CriticalOverlayInfo info, in updateState() method in OverlayManagerServiceImpl
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkScorerAppManagerTest.java | 300 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/tests/UiBench/src/com/android/test/uibench/ |
D | NotificationShadeActivity.java | 51 updateState(mScroller.getCurrY()); 106 private void updateState(int expectedHeight) { in updateState() method in NotificationShadeActivity.FakeNotificationStackView
|