Home
last modified time | relevance | path

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

12345

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DActiveModeWardenTest.java155 public void onStateChanged(int state) { in onStateChanged() method in ActiveModeWardenTest.ClientModeCallback
164 public void onStateChanged(int state) { in onStateChanged() method in ActiveModeWardenTest.ScanOnlyModeCallback
190 mClientListener.onStateChanged(WifiManager.WIFI_STATE_ENABLED); in enterClientModeActiveState()
218 mScanOnlyListener.onStateChanged(WifiManager.WIFI_STATE_ENABLED); in enterScanOnlyModeActiveState()
368 mSoftApManagerCallback.onStateChanged(WifiManager.WIFI_AP_STATE_FAILED, 0); in testEnterSoftApModeActiveWhenAlreadyInSoftApMode()
386 mScanOnlyListener.onStateChanged(WifiManager.WIFI_STATE_UNKNOWN); in testScanOnlyModeFailureWhenActive()
403 mSoftApManagerCallback.onStateChanged(WifiManager.WIFI_AP_STATE_FAILED, 0); in testSoftApFailureWhenActive()
417 mScanOnlyListener.onStateChanged(WifiManager.WIFI_STATE_DISABLED); in testScanOnlyModeDisabledWhenActive()
434 mSoftApManagerCallback.onStateChanged(WifiManager.WIFI_AP_STATE_FAILED, 0); in testSoftApDisabledWhenActive()
447 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.java246 verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_FAILED, in startSoftApDefaultConfigFailedToLoad()
290 verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_FAILED, in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics()
333 verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_FAILED, in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics()
579 verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_FAILED, in startSoftApApInterfaceFailedToStart()
595 verify(mCallback, never()).onStateChanged(anyInt(), anyInt()); in stopWhenNotStarted()
619 order.verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLING, 0); in stopWhenStarted()
626 order.verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLED, 0); in stopWhenStarted()
654 order.verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLING, 0); in cleanStopOnInterfaceDestroyed()
661 order.verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLED, 0); in cleanStopOnInterfaceDestroyed()
681 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.java392 public void onStateChanged(int state) { in onStateChanged() method in ActiveModeWarden.ModeStateMachine.ClientModeActiveState.ClientListener
452 mClientModeCallback.onStateChanged(WifiManager.WIFI_STATE_UNKNOWN); in processMessage()
463 mClientModeCallback.onStateChanged(WifiManager.WIFI_STATE_DISABLED); in processMessage()
477 public void onStateChanged(int state) { in onStateChanged() method in ActiveModeWarden.ModeStateMachine.ScanOnlyModeActiveState.ScanOnlyListener
538 mScanOnlyCallback.onStateChanged(WifiManager.WIFI_STATE_UNKNOWN); in processMessage()
549 mScanOnlyCallback.onStateChanged(WifiManager.WIFI_STATE_DISABLED); in processMessage()
568 public void onStateChanged(int state, int reason) { in onStateChanged() method in ActiveModeWarden.SoftApCallbackImpl
578 mSoftApCallback.onStateChanged(state, reason); in onStateChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockSwitchTest.java111 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in onPluginConnected_showPluginBigClock()
178 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in onPluginDisconnected_hidePluginBigClock()
276 mStateListener.onStateChanged(StatusBarState.SHADE); in onStateChanged_GoneInShade()
291 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in onStateChanged_VisibleInKeyguard()
305 mStateListener.onStateChanged(StatusBarState.KEYGUARD); in setBigClockContainer_visible()
321 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/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java754 callbackCaptor.getValue().onStateChanged(WIFI_AP_STATE_ENABLED, 0); in softApCallbackProxyCallsOnStateChanged()
756 verify(mSoftApCallback).onStateChanged(WIFI_AP_STATE_ENABLED, 0); in softApCallbackProxyCallsOnStateChanged()
788 callbackCaptor.getValue().onStateChanged(WIFI_AP_STATE_ENABLING, 0); in softApCallbackProxyCallsOnMultipleUpdates()
790 callbackCaptor.getValue().onStateChanged(WIFI_AP_STATE_FAILED, SAP_START_FAILURE_GENERAL); in softApCallbackProxyCallsOnMultipleUpdates()
793 verify(mSoftApCallback).onStateChanged(WIFI_AP_STATE_ENABLING, 0); in softApCallbackProxyCallsOnMultipleUpdates()
795 verify(mSoftApCallback).onStateChanged(WIFI_AP_STATE_FAILED, SAP_START_FAILURE_GENERAL); in softApCallbackProxyCallsOnMultipleUpdates()
811 callbackCaptor.getValue().onStateChanged(WIFI_AP_STATE_ENABLED, 0); in softApCallbackIsCalledOnCorrectThread()
813 verify(mSoftApCallback).onStateChanged(WIFI_AP_STATE_ENABLED, 0); in softApCallbackIsCalledOnCorrectThread()
1139 callbackCaptor.getValue().onStateChanged(TrafficStateCallback.DATA_ACTIVITY_INOUT); in registerTrafficStateCallbackUsesMainLooperOnNullArgumentForHandler()
1141 verify(mTrafficStateCallback).onStateChanged(TrafficStateCallback.DATA_ACTIVITY_INOUT); in registerTrafficStateCallbackUsesMainLooperOnNullArgumentForHandler()
[all …]
/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.aidl38 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/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java373 mCallbacks.onStateChanged(mState); in onNotifyVisibleW()
473 mCallbacks.onStateChanged(mState); in onVolumeChangedW()
525 mCallbacks.onStateChanged(mState);
679 mCallbacks.onStateChanged(mState); in onSetActiveStreamW()
844 public void onStateChanged(final State state) { in onStateChanged() method in VolumeDialogControllerImpl.C
851 entry.getKey().onStateChanged(copy); in onStateChanged()
986 mCallbacks.onStateChanged(mState); in onChange()
1066 mCallbacks.onStateChanged(mState); in onReceive()
1097 mCallbacks.onStateChanged(mState); in onRemoteUpdate()
1111 mCallbacks.onStateChanged(mState);
[all …]
/frameworks/base/lowpan/java/android/net/lowpan/
DILowpanInterfaceListener.aidl32 oneway void onStateChanged(@utf8InCpp String value); in onStateChanged() method
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
DStatusBarStateController.java82 default void onStateChanged(int newState) { in onStateChanged() method

12345