/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
D | BlockingCaptureCallback.java | 128 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()
|
D | BlockingSessionCallback.java | 156 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()
|
D | BlockingExtensionSessionCallback.java | 139 mStateChangeListener.onStateChanged(SESSION_CLOSED); in onClosed() 148 mStateChangeListener.onStateChanged(SESSION_CONFIGURED); in onConfigured() 157 mStateChangeListener.onStateChanged(SESSION_CONFIGURE_FAILED); in onConfigureFailed()
|
/frameworks/base/services/foldables/devicestateprovider/tests/src/com/android/server/policy/ |
D | BookStyleDeviceStatePolicyTest.java | 244 verify(mListener).onStateChanged(mDeviceStateCaptor.capture()); in test_noSensorEventsYet_reportOpenedState() 255 verify(mListener).onStateChanged(mDeviceStateCaptor.capture()); in test_deviceClosedSensorEventsBecameAvailable_reportsClosedState() 264 verify(mListener).onStateChanged(mDeviceStateCaptor.capture()); in test_hingeAngleClosed_reportsClosedState() 273 verify(mListener).onStateChanged(mDeviceStateCaptor.capture()); in test_hingeAngleFullyOpened_reportsOpenedState() 285 verify(mListener).onStateChanged(mDeviceStateCaptor.capture()); in test_unfoldingFromClosedToFullyOpened_reportsOpenedEvent() 296 verify(mListener).onStateChanged(mDeviceStateCaptor.capture()); in test_foldingFromFullyOpenToFullyClosed_movesToClosedState() 311 verify(mListener, atLeastOnce()).onStateChanged(mDeviceStateCaptor.capture()); in test_slowUnfolding_reportsEventsInOrder() 330 verify(mListener, atLeastOnce()).onStateChanged(mDeviceStateCaptor.capture()); in test_slowFolding_reportsEventsInOrder() 346 verify(mListener, atLeastOnce()).onStateChanged(mDeviceStateCaptor.capture()); in test_hingeAngleOpen_screenOff_reportsHalfFolded() 369 verify(mListener, atLeastOnce()).onStateChanged(mDeviceStateCaptor.capture()); in test_slowUnfoldingWithScreenOff_reportsEventsInOrder() [all …]
|
D | FoldableDeviceStateProviderTest.java | 163 verify(listener).onStateChanged(mIntegerCaptor.capture()); in create_allMatchingStatesDefaultsToTheFirstIdentifier() 179 verify(listener).onStateChanged(mIntegerCaptor.capture()); in create_multipleMatchingStatesDefaultsToTheLowestIdentifier() 191 verify(listener, never()).onStateChanged(anyInt()); in test_hingeAngleUpdatedFirstTime_switchesToMatchingState() 196 verify(listener).onStateChanged(mIntegerCaptor.capture()); in test_hingeAngleUpdatedFirstTime_switchesToMatchingState() 208 verify(listener, never()).onStateChanged(anyInt()); in test_hallSensorUpdatedFirstTime_switchesToMatchingState() 214 verify(listener).onStateChanged(mIntegerCaptor.capture()); in test_hallSensorUpdatedFirstTime_switchesToMatchingState() 227 verify(listener).onStateChanged(mIntegerCaptor.capture()); in test_hingeAngleUpdatedSecondTime_switchesToMatchingState() 233 verify(listener).onStateChanged(mIntegerCaptor.capture()); in test_hingeAngleUpdatedSecondTime_switchesToMatchingState() 246 verify(listener).onStateChanged(mIntegerCaptor.capture()); in test_hallSensorUpdatedSecondTime_switchesToMatchingState() 253 verify(listener).onStateChanged(mIntegerCaptor.capture()); in test_hallSensorUpdatedSecondTime_switchesToMatchingState() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | LifecycleFragmentTest.java | 60 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/transition/ |
D | ScrimShadeTransitionController.kt | 54 onStateChanged() in onPanelStateChanged() 59 onStateChanged() in onPanelExpansionChanged() 62 private fun onStateChanged() { in onStateChanged() method
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/ |
D | OneHandedTutorialHandlerTest.java | 85 mSpiedTutorialHandler.onStateChanged(STATE_ENTERING); in testOnStateChangedEntering_createViewAndAttachToWindow() 97 mSpiedTutorialHandler.onStateChanged(STATE_NONE); in testOnStateChangedNone_removeViewAndAttachToWindow() 111 mSpiedTutorialHandler.onStateChanged(STATE_NONE); in testOnStateChangedNone_shouldNotAttachWindow() 125 mSpiedTutorialHandler.onStateChanged(STATE_ENTERING); in testOnConfigurationChanged_shouldUpdateViewContent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | AccessibilityController.java | 70 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/services/tests/servicestests/src/com/android/server/policy/ |
D | DeviceStateProviderImplTest.java | 145 verify(listener).onStateChanged(mIntegerCaptor.capture()); in assertDefaultProviderValues() 175 verify(listener).onStateChanged(mIntegerCaptor.capture()); in create_multipleMatchingStatesDefaultsToLowestIdentifier() 278 verify(listener, never()).onStateChanged(mIntegerCaptor.capture()); in create_lidSwitch() 282 verify(listener).onStateChanged(mIntegerCaptor.capture()); in create_lidSwitch() 290 verify(listener).onStateChanged(mIntegerCaptor.capture()); in create_lidSwitch() 375 verify(listener, never()).onStateChanged(mIntegerCaptor.capture()); in create_sensor() 387 verify(listener).onStateChanged(mIntegerCaptor.capture()); in create_sensor() 400 verify(listener).onStateChanged(mIntegerCaptor.capture()); in create_sensor() 413 verify(listener).onStateChanged(mIntegerCaptor.capture()); in create_sensor() 540 verify(listener).onStateChanged(mIntegerCaptor.capture()); in test_invalidSensorValues() [all …]
|
/frameworks/base/services/core/java/com/android/server/location/injector/ |
D | EmergencyHelper.java | 39 void onStateChanged(); in onStateChanged() method 67 listener.onStateChanged(); in dispatchEmergencyStateChanged()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | InsetsControllerTest.java | 174 mController.onStateChanged(state); in setup() 447 mController.onStateChanged(state); in testRestoreStartsAnimation() 662 mController.onStateChanged(copy); in testFrameUpdateDuringAnimation() 694 mController.onStateChanged(state1); in testResizeAnimation_withFlagAnimateResizing() 716 mController.onStateChanged(state2); in testResizeAnimation_withFlagAnimateResizing() 746 mController.onStateChanged(state1); in testResizeAnimation_withoutFlagAnimateResizing() 751 mController.onStateChanged(state2); in testResizeAnimation_withoutFlagAnimateResizing() 771 mController.onStateChanged(state1); in testResizeAnimation_sourceFrame() 775 mController.onStateChanged(state2); in testResizeAnimation_sourceFrame() 779 mController.onStateChanged(state1); in testResizeAnimation_sourceFrame() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/ |
D | DreamOverlayStateControllerTest.java | 84 verify(mCallback).onStateChanged(); in testStateChange_overlayActive() 90 verify(mCallback, never()).onStateChanged(); in testStateChange_overlayActive() 94 verify(mCallback).onStateChanged(); in testStateChange_overlayActive() 289 verify(mCallback, times(1)).onStateChanged(); in testNotifyLowLightChanged() 327 verify(mCallback, times(1)).onStateChanged(); in testNotifyEntryAnimationsFinishedChanged() 342 verify(mCallback, times(1)).onStateChanged(); in testNotifyDreamOverlayStatusBarVisibleChanged() 357 verify(mCallback, times(1)).onStateChanged(); in testNotifyHasAssistantAttentionChanged() 449 verify(callback1, never()).onStateChanged(); in testCallbacksIgnoredWhenWeakReferenceCleared() 450 verify(callback2).onStateChanged(); in testCallbacksIgnoredWhenWeakReferenceCleared()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/ |
D | SmartSpaceComplicationTest.java | 123 dreamCallbackCaptor.getValue().onStateChanged(); in testOverlayActive_addsTargetListener() 141 dreamCallbackCaptor.getValue().onStateChanged(); in testOverlayActive_targetsNonEmpty_addsComplication() 163 dreamCallbackCaptor.getValue().onStateChanged(); in testOverlayActive_targetsEmpty_addsComplication() 184 dreamCallbackCaptor.getValue().onStateChanged(); in testOverlayInActive_removesTargetListener_removesComplication() 195 dreamCallbackCaptor.getValue().onStateChanged(); in testOverlayInActive_removesTargetListener_removesComplication()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | OneHandedState.java | 100 mStateChangeListeners.forEach((listener) -> listener.onStateChanged(newState)); in setState() 118 default void onStateChanged(@State int newState) {} in onStateChanged() method
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | TouchInteractionController.java | 212 void onStateChanged(@State int state) { in onStateChanged() method in TouchInteractionController 224 executor.execute(() -> callback.onStateChanged(state)); in onStateChanged() 227 callback.onStateChanged(state); in onStateChanged() 448 void onStateChanged(@State int state); in onStateChanged() method
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/surfaceeffects/loadingeffect/ |
D | LoadingEffectTest.kt | 98 override fun onStateChanged( in play_animationStateChangesInOrder() method 141 override fun onStateChanged( in play_alreadyPlaying_playsOnlyOnce() method 186 override fun onStateChanged( in finish_finishesLoadingEffect() method 229 override fun onStateChanged( in finish_notMainState_hasNoEffect() method
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | RippleBackground.java | 76 onStateChanged(); in setState() 80 private void onStateChanged() { in onStateChanged() method in RippleBackground
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/ |
D | Renderer.java | 171 listener.onStateChanged(newState); in pushOnStateChanged() 210 public void onStateChanged(int newState); in onStateChanged() method
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/d2d/ |
D | CommunicatorTest.java | 80 mCommunicator.onStateChanged(null, Connection.STATE_ACTIVE); in testNegotiate() 98 mCommunicator.onStateChanged(null, Connection.STATE_ACTIVE); in testNegotiationFailed() 117 mCommunicator.onStateChanged(null, Connection.STATE_ACTIVE); in testNegotiationFailedNoProtocols()
|
/frameworks/base/core/java/android/os/ |
D | IWakeLockCallback.aidl | 23 oneway void onStateChanged(boolean enabled); in onStateChanged() method
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/ |
D | StateChangeListener.java | 20 void onStateChanged(int state); in onStateChanged() method
|
/frameworks/base/media/java/android/media/ |
D | IMediaRouterClient.aidl | 23 void onStateChanged(); in onStateChanged() method
|
/frameworks/base/media/java/android/media/tv/interactive/ |
D | ITvInteractiveAppServiceCallback.aidl | 25 void onStateChanged(int type, int state, int error); in onStateChanged() method
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | CallbackControllerTest.java | 59 observer.getValue().onStateChanged(owner, Event.ON_RESUME); in testAddCallback() 77 observer.getValue().onStateChanged(owner, Event.ON_PAUSE); in testRemoveCallback()
|