Home
last modified time | relevance | path

Searched refs:onStateChanged (Results 1 – 25 of 153) sorted by relevance

1234567

/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingCaptureCallback.java128 mStateChangeListener.onStateChanged(CAPTURE_STARTED); in onCaptureStarted()
135 mStateChangeListener.onStateChanged(CAPTURE_PROGRESSED); in onCaptureProgressed()
142 mStateChangeListener.onStateChanged(CAPTURE_COMPLETED); in onCaptureCompleted()
149 mStateChangeListener.onStateChanged(CAPTURE_FAILED); in onCaptureFailed()
156 mStateChangeListener.onStateChanged(CAPTURE_SEQUENCE_COMPLETED); in onCaptureSequenceCompleted()
162 mStateChangeListener.onStateChanged(CAPTURE_SEQUENCE_ABORTED); in onCaptureSequenceAborted()
DBlockingSessionCallback.java156 mStateChangeListener.onStateChanged(SESSION_ACTIVE); in onActive()
163 mStateChangeListener.onStateChanged(SESSION_CLOSED); in onClosed()
175 mStateChangeListener.onStateChanged(SESSION_CONFIGURED); in onConfigured()
184 mStateChangeListener.onStateChanged(SESSION_CONFIGURE_FAILED); in onConfigureFailed()
193 mStateChangeListener.onStateChanged(SESSION_READY); in onReady()
DBlockingExtensionSessionCallback.java139 mStateChangeListener.onStateChanged(SESSION_CLOSED); in onClosed()
148 mStateChangeListener.onStateChanged(SESSION_CONFIGURED); in onConfigured()
157 mStateChangeListener.onStateChanged(SESSION_CONFIGURE_FAILED); in onConfigureFailed()
/frameworks/base/core/tests/devicestatetests/src/android/hardware/devicestate/
DDeviceStateManagerGlobalTest.java78 verify(callback1).onStateChanged(eq(mService.getMergedState())); in registerCallback()
81 verify(callback2).onStateChanged(eq(mService.getMergedState())); in registerCallback()
98 verify(callback1).onStateChanged(eq(mService.getMergedState())); in registerCallback()
100 verify(callback2).onStateChanged(eq(mService.getMergedState())); in registerCallback()
109 verify(callback1).onStateChanged(eq(mService.getMergedState())); in registerCallback()
110 verify(callback2).onStateChanged(eq(mService.getMergedState())); in registerCallback()
123 verify(callback).onStateChanged(eq(mService.getMergedState())); in unregisterCallback()
149 verify(callback).onStateChanged(eq(mService.getBaseState())); in submitRequest()
155 verify(callback).onStateChanged(eq(OTHER_DEVICE_STATE)); in submitRequest()
160 verify(callback).onStateChanged(eq(mService.getBaseState())); in submitRequest()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DLifecycleFragmentTest.java60 verify(observer).onStateChanged(eq(fragment), eq(ON_CREATE)); in testCreateLifecycle()
72 verify(observer).onStateChanged(eq(fragment), eq(ON_RESUME)); in testResumeLifecycle()
84 verify(observer).onStateChanged(eq(fragment), eq(ON_START)); in testStartLifecycle()
98 verify(observer).onStateChanged(eq(fragment), eq(ON_STOP)); in testStopLifecycle()
112 verify(observer).onStateChanged(eq(fragment), eq(ON_PAUSE)); in testPauseLifecycle()
127 verify(observer).onStateChanged(eq(fragment), eq(ON_DESTROY)); in testDestroyLifecycle()
DSysuiLifecycleTest.java81 verify(observer).onStateChanged(eq(lifecycle), eq(ON_CREATE)); in testAttach()
82 verify(observer).onStateChanged(eq(lifecycle), eq(ON_START)); in testAttach()
83 verify(observer).onStateChanged(eq(lifecycle), eq(ON_RESUME)); in testAttach()
98 verify(observer).onStateChanged(eq(lifecycle), eq(ON_PAUSE)); in testDetach()
99 verify(observer).onStateChanged(eq(lifecycle), eq(ON_STOP)); in testDetach()
100 verify(observer).onStateChanged(eq(lifecycle), eq(ON_DESTROY)); in testDetach()
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/
DDeviceStateProviderImplTest.java129 verify(listener).onStateChanged(mIntegerCaptor.capture()); in assertDefaultProviderValues()
157 verify(listener).onStateChanged(mIntegerCaptor.capture()); in create_multipleMatchingStatesDefaultsToLowestIdentifier()
196 verify(listener, never()).onStateChanged(mIntegerCaptor.capture()); in create_lidSwitch()
200 verify(listener).onStateChanged(mIntegerCaptor.capture()); in create_lidSwitch()
207 verify(listener).onStateChanged(mIntegerCaptor.capture()); in create_lidSwitch()
271 verify(listener, never()).onStateChanged(mIntegerCaptor.capture()); in create_sensor()
282 verify(listener).onStateChanged(mIntegerCaptor.capture()); in create_sensor()
294 verify(listener).onStateChanged(mIntegerCaptor.capture()); in create_sensor()
306 verify(listener).onStateChanged(mIntegerCaptor.capture()); in create_sensor()
356 verify(listener).onStateChanged(mIntegerCaptor.capture()); in create_invalidSensor()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
DOneHandedTutorialHandlerTest.java82 mSpiedTutorialHandler.onStateChanged(STATE_ENTERING); in testOnStateChangedEntering_createViewAndAttachToWindow()
94 mSpiedTutorialHandler.onStateChanged(STATE_NONE); in testOnStateChangedNone_removeViewAndAttachToWindow()
108 mSpiedTutorialHandler.onStateChanged(STATE_NONE); in testOnStateChangedNone_shouldNotAttachWindow()
122 mSpiedTutorialHandler.onStateChanged(STATE_ENTERING); in testOnConfigurationChanged_shouldUpdateViewContent()
DOneHandedBackgroundPanelOrganizerTest.java118 mSpiedBackgroundPanelOrganizer.onStateChanged(STATE_NONE); in testStateNone_onConfigurationChanged()
126 mSpiedBackgroundPanelOrganizer.onStateChanged(STATE_ACTIVE); in testStateActivate_onConfigurationChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAccessibilityController.java70 cb.onStateChanged(mAccessibilityEnabled, mTouchExplorationEnabled); in addStateChangedCallback()
80 mChangeCallbacks.get(i).onStateChanged(mAccessibilityEnabled, mTouchExplorationEnabled); in fireChanged()
97 void onStateChanged(boolean accessibilityEnabled, boolean touchExplorationEnabled); in onStateChanged() method
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedState.java100 mStateChangeListeners.forEach((listener) -> listener.onStateChanged(newState)); in setState()
118 default void onStateChanged(@State int newState) {} in onStateChanged() method
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleBackground.java76 onStateChanged(); in setState()
80 private void onStateChanged() { in onStateChanged() method in RippleBackground
/frameworks/base/lowpan/tests/src/android/net/lowpan/
DLowpanInterfaceTest.java84 mInterfaceListener.onStateChanged(LowpanInterface.STATE_OFFLINE); in testStateChangedCallback()
89 .onStateChanged( in testStateChangedCallback()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/d2d/
DCommunicatorTest.java73 mCommunicator.onStateChanged(null, Connection.STATE_ACTIVE); in testNegotiate()
91 mCommunicator.onStateChanged(null, Connection.STATE_ACTIVE); in testNegotiationFailed()
110 mCommunicator.onStateChanged(null, Connection.STATE_ACTIVE); in testNegotiationFailedNoProtocols()
/frameworks/base/core/java/android/hardware/devicestate/
DDeviceStateManager.java174 void onStateChanged(int state); in onStateChanged() method
197 public final void onStateChanged(int state) { in onStateChanged() method in DeviceStateManager.FoldStateListener
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
DRenderer.java171 listener.onStateChanged(newState); in pushOnStateChanged()
210 public void onStateChanged(int newState); in onStateChanged() method
/frameworks/base/core/tests/coretests/src/android/view/
DInsetsControllerTest.java435 mController.onStateChanged(state); in testRestoreStartsAnimation()
650 mController.onStateChanged(copy); in testFrameUpdateDuringAnimation()
671 mController.onStateChanged(state); in testCaptionInsetsStateAssemble()
678 mController.onStateChanged(state); in testCaptionInsetsStateAssemble()
726 mController.onStateChanged(mController.getState()); in testInsetsChangedCount_controlSystemBars()
737 mController.onStateChanged(mController.getState()); in testInsetsChangedCount_controlSystemBars()
755 mController.onStateChanged(mController.getState()); in testInsetsChangedCount_controlIme()
766 mController.onStateChanged(mController.getState()); in testInsetsChangedCount_controlIme()
780 mController.onStateChanged(newState); in testInsetsChangedCount_onStateChanged()
787 mController.onStateChanged(newState); in testInsetsChangedCount_onStateChanged()
[all …]
/frameworks/base/core/tests/uwbtests/src/android/uwb/
DAdapterStateListenerTest.java77 verify(callback, times(numTimes)).onStateChanged(anyInt(), anyInt());
245 verify(callback, times(1)).onStateChanged(stateOut, reasonOut);
270 verify(callback).onStateChanged(AdapterStateCallback.STATE_ENABLED_ACTIVE,
285 verify(callback2).onStateChanged(AdapterStateCallback.STATE_ENABLED_ACTIVE,
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/
DStateChangeListener.java20 void onStateChanged(int state); in onStateChanged() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowCallback.java19 void onStateChanged(boolean keyguardShowing, boolean keyguardOccluded, boolean bouncerShowing); in onStateChanged() method
/frameworks/base/media/java/android/media/
DIMediaRouterClient.aidl23 void onStateChanged(); in onStateChanged() method
DIRemoteDisplayCallback.aidl26 void onStateChanged(in RemoteDisplayState state); in onStateChanged() method
/frameworks/base/core/java/android/hardware/fingerprint/
DIFingerprintStateListener.aidl26 void onStateChanged(int newState); in onStateChanged() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCallbackControllerTest.java59 observer.getValue().onStateChanged(owner, Event.ON_RESUME); in testAddCallback()
77 observer.getValue().onStateChanged(owner, Event.ON_PAUSE); in testRemoveCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java408 mCallbacks.onStateChanged(mState); in onNotifyVisibleW()
496 mCallbacks.onStateChanged(mState); in onVolumeChangedW()
549 mCallbacks.onStateChanged(mState);
704 mCallbacks.onStateChanged(mState); in onSetActiveStreamW()
869 public void onStateChanged(final State state) { in onStateChanged() method in VolumeDialogControllerImpl.C
876 entry.getKey().onStateChanged(copy); in onStateChanged()
998 mCallbacks.onStateChanged(mState);
1018 mCallbacks.onStateChanged(mState);
1084 mCallbacks.onStateChanged(mState); in onChange()
1150 mCallbacks.onStateChanged(mState); in onReceive()
[all …]

1234567