/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ActiveModeWardenTest.java | 155 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 …]
|
D | WifiTrafficPollerTest.java | 83 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()
|
D | SoftApManagerTest.java | 246 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/ |
D | SysuiLifecycleTest.java | 62 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()
|
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/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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | AccessibilityController.java | 69 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
|
D | SecurityController.java | 43 void onStateChanged(); in onStateChanged() method
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ActiveModeWarden.java | 392 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/ |
D | KeyguardClockSwitchTest.java | 111 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/ |
D | RippleBackground.java | 76 onStateChanged(); in setState() 80 private void onStateChanged() { in onStateChanged() method in RippleBackground
|
/frameworks/base/lowpan/tests/src/android/net/lowpan/ |
D | LowpanInterfaceTest.java | 84 mInterfaceListener.onStateChanged(LowpanInterface.STATE_OFFLINE); in testStateChangedCallback() 89 .onStateChanged( in testStateChangedCallback()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | CallbackControllerTest.java | 57 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/ |
D | WifiManagerTest.java | 754 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/ |
D | Renderer.java | 171 listener.onStateChanged(newState); in pushOnStateChanged() 210 public void onStateChanged(int newState); in onStateChanged() method
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | ITrafficStateCallback.aidl | 33 void onStateChanged(int state); in onStateChanged() method
|
D | ISoftApCallback.aidl | 38 void onStateChanged(int state, int failureReason); 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
|
D | IRemoteDisplayCallback.aidl | 26 void onStateChanged(in RemoteDisplayState state); in onStateChanged() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarWindowCallback.java | 19 void onStateChanged(boolean keyguardShowing, boolean keyguardOccluded, boolean bouncerShowing); in onStateChanged() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogControllerImpl.java | 373 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/ |
D | ILowpanInterfaceListener.aidl | 32 oneway void onStateChanged(@utf8InCpp String value); in onStateChanged() method
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/ |
D | StatusBarStateController.java | 82 default void onStateChanged(int newState) { in onStateChanged() method
|