Home
last modified time | relevance | path

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

12345

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DActiveModeWardenTest.java142 public void onStateChanged(int state) { in onStateChanged() method in ActiveModeWardenTest.ClientModeCallback
151 public void onStateChanged(int state) { in onStateChanged() method in ActiveModeWardenTest.ScanOnlyModeCallback
177 mClientListener.onStateChanged(WifiManager.WIFI_STATE_ENABLED); in enterClientModeActiveState()
205 mScanOnlyListener.onStateChanged(WifiManager.WIFI_STATE_ENABLED); in enterScanOnlyModeActiveState()
355 mSoftApManagerCallback.onStateChanged(WifiManager.WIFI_AP_STATE_FAILED, 0); in testEnterSoftApModeActiveWhenAlreadyInSoftApMode()
373 mScanOnlyListener.onStateChanged(WifiManager.WIFI_STATE_UNKNOWN); in testScanOnlyModeFailureWhenActive()
390 mSoftApManagerCallback.onStateChanged(WifiManager.WIFI_AP_STATE_FAILED, 0); in testSoftApFailureWhenActive()
404 mScanOnlyListener.onStateChanged(WifiManager.WIFI_STATE_DISABLED); in testScanOnlyModeDisabledWhenActive()
421 mSoftApManagerCallback.onStateChanged(WifiManager.WIFI_AP_STATE_FAILED, 0); in testSoftApDisabledWhenActive()
434 mSoftApManagerCallback.onStateChanged(WifiManager.WIFI_AP_STATE_ENABLED, 0); in callsWifiServiceCallbackOnSoftApStateChanged()
[all …]
DWifiTrafficPollerTest.java83 verify(mTrafficStateCallback).onStateChanged( in testClientNotification()
101 verify(mTrafficStateCallback, never()).onStateChanged(anyInt()); in testRemoveClient()
118 verify(mTrafficStateCallback).onStateChanged( in testRemoveClientWithWrongIdentifier()
148 verify(mTrafficStateCallback, never()).onStateChanged(anyInt()); in addCallbackFailureOnLinkToDeath()
DSoftApManagerTest.java216 verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_FAILED, in startSoftApDefaultConfigFailedToLoad()
259 verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_FAILED, in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics()
301 verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_FAILED, in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics()
543 verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_FAILED, in startSoftApApInterfaceFailedToStart()
559 verify(mCallback, never()).onStateChanged(anyInt(), anyInt()); in stopWhenNotStarted()
583 order.verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLING, 0); in stopWhenStarted()
590 order.verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLED, 0); in stopWhenStarted()
617 order.verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLING, 0); in cleanStopOnInterfaceDestroyed()
624 order.verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLED, 0); in cleanStopOnInterfaceDestroyed()
644 verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLING, 0); in noCallbackOnInterfaceDestroyedWhenAlreadyStopped()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DSysuiLifecycleTest.java62 verify(observer).onStateChanged(eq(lifecycle), eq(ON_CREATE)); in testAttach()
63 verify(observer).onStateChanged(eq(lifecycle), eq(ON_START)); in testAttach()
64 verify(observer).onStateChanged(eq(lifecycle), eq(ON_RESUME)); in testAttach()
83 verify(observer).onStateChanged(eq(lifecycle), eq(ON_PAUSE)); in testDetach()
84 verify(observer).onStateChanged(eq(lifecycle), eq(ON_STOP)); in testDetach()
85 verify(observer).onStateChanged(eq(lifecycle), eq(ON_DESTROY)); in testDetach()
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()
/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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAccessibilityController.java69 cb.onStateChanged(mAccessibilityEnabled, mTouchExplorationEnabled); in addStateChangedCallback()
79 mChangeCallbacks.get(i).onStateChanged(mAccessibilityEnabled, mTouchExplorationEnabled); in fireChanged()
96 void onStateChanged(boolean accessibilityEnabled, boolean touchExplorationEnabled); in onStateChanged() method
DSecurityController.java43 void onStateChanged(); in onStateChanged() method
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DActiveModeWarden.java390 public void onStateChanged(int state) { in onStateChanged() method in ActiveModeWarden.ModeStateMachine.ClientModeActiveState.ClientListener
450 mClientModeCallback.onStateChanged(WifiManager.WIFI_STATE_UNKNOWN); in processMessage()
461 mClientModeCallback.onStateChanged(WifiManager.WIFI_STATE_DISABLED); in processMessage()
475 public void onStateChanged(int state) { in onStateChanged() method in ActiveModeWarden.ModeStateMachine.ScanOnlyModeActiveState.ScanOnlyListener
536 mScanOnlyCallback.onStateChanged(WifiManager.WIFI_STATE_UNKNOWN); in processMessage()
547 mScanOnlyCallback.onStateChanged(WifiManager.WIFI_STATE_DISABLED); in processMessage()
566 public void onStateChanged(int state, int reason) { in onStateChanged() method in ActiveModeWarden.SoftApCallbackImpl
576 mSoftApCallback.onStateChanged(state, reason); in onStateChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockSwitchTest.java110 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in onPluginConnected_showPluginBigClock()
177 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in onPluginDisconnected_hidePluginBigClock()
275 mStateListener.onStateChanged(StatusBarState.SHADE); in onStateChanged_GoneInShade()
290 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in onStateChanged_VisibleInKeyguard()
304 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in setBigClockContainer_visible()
320 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in setBigClockContainer_gone()
/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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCallbackControllerTest.java57 observer.getValue().onStateChanged(owner, Event.ON_RESUME); in testAddCallback()
75 observer.getValue().onStateChanged(owner, Event.ON_PAUSE); in testRemoveCallback()
/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/wifi/java/android/net/wifi/
DITrafficStateCallback.aidl33 void onStateChanged(int state); in onStateChanged() method
DISoftApCallback.aidl36 void onStateChanged(int state, int failureReason); in onStateChanged() method
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/
DStateChangeListener.java20 void onStateChanged(int state); 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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowCallback.java19 void onStateChanged(boolean keyguardShowing, boolean keyguardOccluded, boolean bouncerShowing); in onStateChanged() method
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java751 callbackCaptor.getValue().onStateChanged(WIFI_AP_STATE_ENABLED, 0); in softApCallbackProxyCallsOnStateChanged()
753 verify(mSoftApCallback).onStateChanged(WIFI_AP_STATE_ENABLED, 0); in softApCallbackProxyCallsOnStateChanged()
785 callbackCaptor.getValue().onStateChanged(WIFI_AP_STATE_ENABLING, 0); in softApCallbackProxyCallsOnMultipleUpdates()
787 callbackCaptor.getValue().onStateChanged(WIFI_AP_STATE_FAILED, SAP_START_FAILURE_GENERAL); in softApCallbackProxyCallsOnMultipleUpdates()
790 verify(mSoftApCallback).onStateChanged(WIFI_AP_STATE_ENABLING, 0); in softApCallbackProxyCallsOnMultipleUpdates()
792 verify(mSoftApCallback).onStateChanged(WIFI_AP_STATE_FAILED, SAP_START_FAILURE_GENERAL); in softApCallbackProxyCallsOnMultipleUpdates()
808 callbackCaptor.getValue().onStateChanged(WIFI_AP_STATE_ENABLED, 0); in softApCallbackIsCalledOnCorrectThread()
810 verify(mSoftApCallback).onStateChanged(WIFI_AP_STATE_ENABLED, 0); in softApCallbackIsCalledOnCorrectThread()
1136 callbackCaptor.getValue().onStateChanged(TrafficStateCallback.DATA_ACTIVITY_INOUT); in registerTrafficStateCallbackUsesMainLooperOnNullArgumentForHandler()
1138 verify(mTrafficStateCallback).onStateChanged(TrafficStateCallback.DATA_ACTIVITY_INOUT); in registerTrafficStateCallbackUsesMainLooperOnNullArgumentForHandler()
[all …]
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
DStatusBarStateController.java83 default void onStateChanged(int newState) { in onStateChanged() method
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
DQSTileView.java50 public abstract void onStateChanged(State state); in onStateChanged() method in QSTileView
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java372 mCallbacks.onStateChanged(mState); in onNotifyVisibleW()
472 mCallbacks.onStateChanged(mState); in onVolumeChangedW()
524 mCallbacks.onStateChanged(mState);
678 mCallbacks.onStateChanged(mState); in onSetActiveStreamW()
843 public void onStateChanged(final State state) { in onStateChanged() method in VolumeDialogControllerImpl.C
850 entry.getKey().onStateChanged(copy); in onStateChanged()
985 mCallbacks.onStateChanged(mState); in onChange()
1065 mCallbacks.onStateChanged(mState); in onReceive()
1096 mCallbacks.onStateChanged(mState); in onRemoteUpdate()
1110 mCallbacks.onStateChanged(mState);
[all …]

12345