/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | SoftApState.java | 40 public final class SoftApState implements Parcelable { class 62 public SoftApState(@WifiManager.WifiApState int state, in SoftApState() method in SoftApState 72 private SoftApState(@NonNull Parcel in) { in SoftApState() method in SoftApState 102 public static final Creator<SoftApState> CREATOR = new Creator<SoftApState>() { 105 public SoftApState createFromParcel(Parcel in) { 106 return new SoftApState(in); 111 public SoftApState[] newArray(int size) { 112 return new SoftApState[size]; 190 if (!(o instanceof SoftApState stateInfo)) return false; in equals()
|
D | SoftApState.aidl | 19 import android.net.wifi.SoftApState; 21 parcelable SoftApState;
|
D | ISoftApCallback.aidl | 22 import android.net.wifi.SoftApState; 37 void onStateChanged(in SoftApState state); in onStateChanged()
|
D | WifiManager.java | 6654 default void onStateChanged(@NonNull SoftApState state) { in onStateChanged() 6792 public void onStateChanged(SoftApState state) { in onStateChanged()
|
/packages/modules/NetworkStack/apishim/35/com/android/networkstack/apishim/ |
D | WifiManagerShimImpl.java | 23 import android.net.wifi.SoftApState; 67 public void onStateChanged(SoftApState state) { in startTetheredHotspot()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | SoftApManagerTest.java | 74 import android.net.wifi.SoftApState; 534 verify(mCallback).onStateChanged(eq(new SoftApState(WifiManager.WIFI_AP_STATE_FAILED, in startSoftApWithUserRejection() 598 verify(mCallback).onStateChanged(eq(new SoftApState(WifiManager.WIFI_AP_STATE_FAILED, in startSoftApDefaultConfigFailedToLoad() 634 verify(mCallback).onStateChanged(eq(new SoftApState(WifiManager.WIFI_AP_STATE_FAILED, in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics() 676 verify(mCallback).onStateChanged(eq(new SoftApState(WifiManager.WIFI_AP_STATE_FAILED, in testStartSoftApNotPossibleToCreateApInterfaceIncrementsMetrics() 713 verify(mCallback).onStateChanged(eq(new SoftApState( in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics() 1007 verify(mCallback).onStateChanged(eq(new SoftApState( in startSoftApApInterfaceFailedToStart() 1037 order.verify(mCallback).onStateChanged(eq(new SoftApState( in stopWhenStarted() 1051 order.verify(mCallback).onStateChanged(eq(new SoftApState( in stopWhenStarted() 1090 order.verify(mCallback).onStateChanged(eq(new SoftApState( in cleanStopOnInterfaceDestroyed() [all …]
|
D | ActiveModeWardenTest.java | 80 import android.net.wifi.SoftApState; 1020 SoftApState softApState = new SoftApState( in callsWifiServiceCallbackOnSoftApStateChanged() 1039 SoftApState softApState = new SoftApState( in doesntCallWifiServiceCallbackOnLOHSStateChanged() 1252 SoftApState softApState = new SoftApState( in shutdownWifiDoesNotCrashWhenSoftApExitsOnDestroyed() 1272 SoftApState softApState = new SoftApState( in onDestroyedCallbackDoesNotCrashWhenSoftApModeAlreadyStopped() 2281 ArgumentCaptor<SoftApState> softApStateCaptor = in testSoftApModeDoesNotToggleOnWhenInEcm() 2282 ArgumentCaptor.forClass(SoftApState.class); in testSoftApModeDoesNotToggleOnWhenInEcm()
|
D | WifiServiceImplTest.java | 194 import android.net.wifi.SoftApState; 1391 mLohsApCallback.onStateChanged(new SoftApState(apState, error, in changeLohsState() 1407 new SoftApState(WIFI_AP_STATE_ENABLED, 0, in testSetWifiEnabledFromNetworkSettingsHolderWhenApEnabled() 1435 new SoftApState(WIFI_AP_STATE_ENABLED, 0, in testSetWifiEnabledFromAppFailsWhenApEnabledForPreS() 1974 new SoftApState(WIFI_AP_STATE_ENABLED, 0, in testGetWifiApEnabled() 1977 new SoftApState( in testGetWifiApEnabled() 2436 verify(mClientSoftApCallback).onStateChanged(eq(new SoftApState(WIFI_AP_STATE_FAILED, in testStartTetheredHotspotRequestWithUserRestriction() 3670 new SoftApState(WIFI_AP_STATE_ENABLED, 0, in testTetheringDoesNotStartWhenAlreadyTetheringActive() 3698 new SoftApState(WIFI_AP_STATE_ENABLED, 0, in testStartTetheredHotspotDoesNotStartWhenAlreadyTetheringActive() 3724 new SoftApState(WIFI_AP_STATE_ENABLED, 0, in testStartTetheredHotspotRequestDoesNotStartWhenAlreadyTetheringActive() [all …]
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 1299 SoftApState state = new SoftApState(WIFI_AP_STATE_ENABLED, 0, in softApCallbackProxyCallsOnStateChanged() 1303 ArgumentCaptor<SoftApState> softApStateCaptor = ArgumentCaptor.forClass(SoftApState.class); in softApCallbackProxyCallsOnStateChanged() 1825 SoftApState state0 = new SoftApState(WIFI_AP_STATE_ENABLING, 0, in softApCallbackProxyCallsOnMultipleUpdates() 1828 SoftApState state1 = new SoftApState(WIFI_AP_STATE_FAILED, SAP_START_FAILURE_GENERAL, in softApCallbackProxyCallsOnMultipleUpdates() 1836 ArgumentCaptor<SoftApState> softApStateCaptor = in softApCallbackProxyCallsOnMultipleUpdates() 1837 ArgumentCaptor.forClass(SoftApState.class); in softApCallbackProxyCallsOnMultipleUpdates() 1855 SoftApState state = new SoftApState(WIFI_AP_STATE_ENABLED, 0, in softApCallbackIsCalledOnCorrectThread() 1859 ArgumentCaptor<SoftApState> softApStateCaptor = in softApCallbackIsCalledOnCorrectThread() 1860 ArgumentCaptor.forClass(SoftApState.class); in softApCallbackIsCalledOnCorrectThread() 1862 SoftApState softApState = softApStateCaptor.getValue(); in softApCallbackIsCalledOnCorrectThread() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 144 import android.net.wifi.SoftApState; 414 void onStateChanged(SoftApState state) {} in onStateChanged() 442 SoftApState state) { in notifyRegisterOnStateChanged() 1796 callback.onStateChanged(new SoftApState(WIFI_AP_STATE_FAILED, in startTetheredHotspotRequest() 1821 callback.onStateChanged(new SoftApState(WIFI_AP_STATE_FAILED, in startTetheredHotspotInternal() 1870 callback.onStateChanged(new SoftApState(WIFI_AP_STATE_FAILED, in startSoftApInternal() 2075 private SoftApState mSoftApState = 2076 new SoftApState(WIFI_AP_STATE_DISABLED, 0, null, null); 2087 public SoftApState getState() { in getState() 2093 public void setState(SoftApState softApState) { in setState() [all …]
|
D | SoftApManager.java | 34 import android.net.wifi.SoftApState; 735 mSoftApCallback.onStateChanged(new SoftApState( in updateApState()
|
D | ActiveModeWarden.java | 52 import android.net.wifi.SoftApState; 2057 callback.onStateChanged(new SoftApState( in processMessageInEmergencyMode()
|
D | WifiShellCommand.java | 64 import android.net.wifi.SoftApState; 240 public void onStateChanged(SoftApState state) { in onStateChanged()
|
/packages/modules/Wifi/framework/api/ |
D | system-current.txt | 508 …@FlaggedApi("com.android.wifi.flags.android_v_wifi_api") public final class SoftApState implements… 515 …field @NonNull public static final android.os.Parcelable.Creator<android.net.wifi.SoftApState> CRE… 1032 …ags.android_v_wifi_api") public default void onStateChanged(@NonNull android.net.wifi.SoftApState);
|