/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | DeviceStateMonitorTest.java | 137 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/packages/SystemUI/tests/src/com/android/systemui/qs/carrier/ |
D | QSCarrierTest.java | 55 assertTrue(mQSCarrier.updateState(c)); in testUpdateState_first() 62 assertTrue(mQSCarrier.updateState(c)); in testUpdateState_same() 63 assertFalse(mQSCarrier.updateState(c)); in testUpdateState_same() 70 assertTrue(mQSCarrier.updateState(c)); in testUpdateState_changed() 74 assertTrue(mQSCarrier.updateState(other)); in testUpdateState_changed()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
D | AuthBiometricFaceViewTest.java | 73 .updateState(anyInt(), eq(AuthBiometricFaceView.STATE_AUTHENTICATING)); in testStateUpdated_whenDialogAnimatedIn() 78 mFaceView.updateState(AuthBiometricFaceView.STATE_AUTHENTICATING); in testIconUpdatesState_whenDialogStateUpdated() 80 .updateState(anyInt(), eq(AuthBiometricFaceView.STATE_AUTHENTICATING)); in testIconUpdatesState_whenDialogStateUpdated() 82 mFaceView.updateState(AuthBiometricFaceView.STATE_AUTHENTICATED); in testIconUpdatesState_whenDialogStateUpdated() 83 verify(mFaceView.mIconController).updateState( in testIconUpdatesState_whenDialogStateUpdated()
|
/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/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthBiometricView.java | 252 updateState(getStateForAfterError()); in AuthBiometricView() 258 updateState(STATE_AUTHENTICATING); in AuthBiometricView() 435 void updateState(@BiometricState int newState) { in updateState() method in AuthBiometricView 489 updateState(STATE_AUTHENTICATING); in onDialogAnimatedIn() 495 updateState(STATE_PENDING_CONFIRMATION); in onAuthenticationSucceeded() 497 updateState(STATE_AUTHENTICATED); in onAuthenticationSucceeded() 503 updateState(STATE_ERROR); in onAuthenticationFailed() 508 updateState(STATE_ERROR); in onError() 521 updateState(STATE_HELP); in onHelp() 608 updateState(STATE_AUTHENTICATED); in onFinishInflateInternal() [all …]
|
D | AuthBiometricFaceView.java | 96 public void updateState(int lastState, int newState) { in updateState() method in AuthBiometricFaceView.IconController 183 public void updateState(@BiometricState int newState) { in updateState() method in AuthBiometricFaceView 184 mIconController.updateState(mState, newState); in updateState() 192 super.updateState(newState); in updateState()
|
D | AuthBiometricFingerprintView.java | 66 public void updateState(@BiometricState int newState) { in updateState() method in AuthBiometricFingerprintView 70 super.updateState(newState); in updateState()
|
/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/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/ |
D | RecordingControllerTest.java | 122 mController.updateState(true); in testUpdateState() 126 mController.updateState(false); in testUpdateState() 142 mController.updateState(true); in testUserChange()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiStateTrackerTest.java | 63 mWifiStateTracker.updateState(relevantStates[i]); in testBatteryStatsUpdated() 77 mWifiStateTracker.updateState(irrelevantStates[i]); in testBatteryStatsNotUpdated()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerServiceImpl.java | 199 updateState(overlayPackage.overlayTarget, overlayPackage.packageName, in updateOverlaysForUser() 242 if (updateState(oi.targetPackageName, oi.packageName, newUserId, 0)) { in updateOverlaysForUser() 321 modified |= updateState(targetPackageName, oi.packageName, userId, flags); in updateAndRefreshOverlaysForTarget() 391 if (updateState(overlayPackage.overlayTarget, packageName, userId, 0)) { in onOverlayPackageAdded() 407 if (updateState(oi.targetPackageName, packageName, userId, 0)) { in onOverlayPackageChanged() 423 if (updateState(oi.targetPackageName, packageName, userId, in onOverlayPackageReplacing() 459 if (updateState(pkg.overlayTarget, packageName, userId, 0)) { in onOverlayPackageReplaced() 516 modified |= updateState(oi.targetPackageName, oi.packageName, userId, 0); in setEnabled() 571 modified |= updateState(targetPackageName, disabledOverlayPackageName, userId, 0); in setEnabledExclusive() 576 modified |= updateState(targetPackageName, packageName, userId, 0); in setEnabledExclusive() [all …]
|
/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/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccCarrierPrivilegeRules.java | 484 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/ |
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/screenrecord/ |
D | RecordingController.java | 171 updateState(false); in stopRecording() 182 public synchronized void updateState(boolean isRecording) { in updateState() method in RecordingController
|
D | RecordingService.java | 226 mController.updateState(true); in startRecording() 234 mController.updateState(false); in startRecording() 356 mController.updateState(false); in stopRecording()
|
/frameworks/base/media/java/android/media/ |
D | IMediaRoute2ProviderServiceCallback.aidl | 29 void updateState(in MediaRoute2ProviderInfo providerInfo); in updateState() method
|
D | PlayerBase.java | 154 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/ |
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/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/ |
D | EnableAdbPreferenceControllerTest.java | 133 mController.updateState(mPreference); in updateState_settingsOn_shouldCheck() 146 mController.updateState(mPreference); in updateState_settingsOff_shouldUncheck()
|
/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
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiStateTracker.java | 56 public void updateState(int state) { in updateState() method in WifiStateTracker
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/carrier/ |
D | QSCarrierGroupController.java | 204 mCarrierGroups[i].updateState(mInfos[i]); in handleUpdateState() 279 Runnable updateState) { in H() argument 282 mUpdateState = updateState; in H()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/ |
D | AbstractPreferenceController.java | 48 public void updateState(Preference preference) { in updateState() method in AbstractPreferenceController
|