Home
last modified time | relevance | path

Searched refs:LocalOnlyHotspotCallback (Results 1 – 16 of 16) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarProjectionServiceTest.java177 WifiManager.LocalOnlyHotspotCallback callback = startProjectionLohs(false); in startLohs_success()
186 WifiManager.LocalOnlyHotspotCallback callback = startProjectionLohs(false); in stopLohs_success()
200 WifiManager.LocalOnlyHotspotCallback callback = startProjectionLohs(false); in startLohsWithStableCredentials_success()
218 private WifiManager.LocalOnlyHotspotCallback startProjectionLohs( in startProjectionLohs()
223 ArgumentCaptor<WifiManager.LocalOnlyHotspotCallback> lohsCallbackCaptor = in startProjectionLohs()
224 ArgumentCaptor.forClass(WifiManager.LocalOnlyHotspotCallback.class); in startProjectionLohs()
248 WifiManager.LocalOnlyHotspotCallback callback = startProjectionLohs(false); in resetProjectionAccessPointCredentials()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DLocalOnlyHotspotRequestInfoTest.java159 WifiManager.LocalOnlyHotspotCallback.ERROR_GENERIC); in verifySendFailedMessage()
160 verify(mCallback).onHotspotFailed(WifiManager.LocalOnlyHotspotCallback.ERROR_GENERIC); in verifySendFailedMessage()
DWifiServiceImplTest.java42 import static android.net.wifi.WifiManager.LocalOnlyHotspotCallback.ERROR_GENERIC;
43 import static android.net.wifi.WifiManager.LocalOnlyHotspotCallback.ERROR_INCOMPATIBLE_MODE;
44 import static android.net.wifi.WifiManager.LocalOnlyHotspotCallback.ERROR_NO_CHANNEL;
45 import static android.net.wifi.WifiManager.LocalOnlyHotspotCallback.ERROR_TETHERING_DISALLOWED;
46 import static android.net.wifi.WifiManager.LocalOnlyHotspotCallback.REQUEST_REGISTERED;
204 import android.net.wifi.WifiManager.LocalOnlyHotspotCallback;
3555 assertEquals(LocalOnlyHotspotCallback.REQUEST_REGISTERED, result); in registerLOHSRequestFull()
3651 assertEquals(LocalOnlyHotspotCallback.ERROR_INCOMPATIBLE_MODE, result); in testStartLocalOnlyHotspotFailsIfRequestorNotForegroundApp()
4744 assertEquals(LocalOnlyHotspotCallback.REQUEST_REGISTERED, result); in testRegisterLocalOnlyHotspotRequestAfterStoppedNoOnStartedCallback()
10742 assertEquals(LocalOnlyHotspotCallback.REQUEST_REGISTERED, result); in testFailureCallbacksTriggeredWhenSoftApFailsBecauseNonSupportedConfiguration()
/packages/services/Car/service/src/com/android/car/
DCarProjectionService.java60 import android.net.wifi.WifiManager.LocalOnlyHotspotCallback;
1213 private class ProjectionLocalOnlyHotspotCallback extends LocalOnlyHotspotCallback {
1261 case LocalOnlyHotspotCallback.ERROR_NO_CHANNEL: in onFailed()
1264 case LocalOnlyHotspotCallback.ERROR_TETHERING_DISALLOWED: in onFailed()
1267 case LocalOnlyHotspotCallback.ERROR_INCOMPATIBLE_MODE: in onFailed()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java634 WifiManager.LocalOnlyHotspotCallback cb = new WifiManager.LocalOnlyHotspotCallback() { in startLocalOnly()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java27 import static android.net.wifi.WifiManager.LocalOnlyHotspotCallback.ERROR_GENERIC;
28 import static android.net.wifi.WifiManager.LocalOnlyHotspotCallback.ERROR_NO_CHANNEL;
156 import android.net.wifi.WifiManager.LocalOnlyHotspotCallback;
2370 LocalOnlyHotspotCallback.ERROR_INCOMPATIBLE_MODE); in updateInterfaceIpState()
2379 LocalOnlyHotspotCallback.ERROR_GENERIC); in updateInterfaceIpState()
2385 LocalOnlyHotspotCallback.ERROR_GENERIC); in updateInterfaceIpState()
2465 return LocalOnlyHotspotCallback.ERROR_GENERIC; in start()
2482 return LocalOnlyHotspotCallback.ERROR_GENERIC; in start()
2487 return LocalOnlyHotspotCallback.REQUEST_REGISTERED; in start()
2520 LocalOnlyHotspotCallback.ERROR_INCOMPATIBLE_MODE); in stopAll()
[all …]
DWifiShellCommand.java27 import static android.net.wifi.WifiManager.LocalOnlyHotspotCallback.REQUEST_REGISTERED;
/packages/modules/Wifi/framework/api/
Dmodule-lib-lint-baseline.txt92 …nfiguration, java.util.concurrent.Executor, android.net.wifi.WifiManager.LocalOnlyHotspotCallback):
94 ….WifiManager#startLocalOnlyHotspot(android.net.wifi.WifiManager.LocalOnlyHotspotCallback, android.…
Dsystem-lint-baseline.txt112 …nfiguration, java.util.concurrent.Executor, android.net.wifi.WifiManager.LocalOnlyHotspotCallback):
114 ….WifiManager#startLocalOnlyHotspot(android.net.wifi.WifiManager.LocalOnlyHotspotCallback, android.…
Dlint-baseline.txt40 ….WifiManager#startLocalOnlyHotspot(android.net.wifi.WifiManager.LocalOnlyHotspotCallback, android.…
Dcurrent.txt544 … public void startLocalOnlyHotspot(android.net.wifi.WifiManager.LocalOnlyHotspotCallback, @Nullabl…
662 public static class WifiManager.LocalOnlyHotspotCallback {
663 ctor public WifiManager.LocalOnlyHotspotCallback();
Dsystem-current.txt819 …le java.util.concurrent.Executor, @Nullable android.net.wifi.WifiManager.LocalOnlyHotspotCallback);
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java27 import static android.net.wifi.WifiManager.LocalOnlyHotspotCallback.ERROR_GENERIC;
28 import static android.net.wifi.WifiManager.LocalOnlyHotspotCallback.ERROR_INCOMPATIBLE_MODE;
29 import static android.net.wifi.WifiManager.LocalOnlyHotspotCallback.ERROR_NO_CHANNEL;
30 import static android.net.wifi.WifiManager.LocalOnlyHotspotCallback.ERROR_TETHERING_DISALLOWED;
31 import static android.net.wifi.WifiManager.LocalOnlyHotspotCallback.REQUEST_REGISTERED;
107 import android.net.wifi.WifiManager.LocalOnlyHotspotCallback;
646 public class TestLocalOnlyHotspotCallback extends LocalOnlyHotspotCallback {
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiManager.java5851 public void startLocalOnlyHotspot(LocalOnlyHotspotCallback callback, in startLocalOnlyHotspot()
5883 @Nullable LocalOnlyHotspotCallback callback) { in startLocalOnlyHotspot()
5899 @Nullable LocalOnlyHotspotCallback callback) { in startLocalOnlyHotspotInternal()
5916 if (returnCode != LocalOnlyHotspotCallback.REQUEST_REGISTERED) { in startLocalOnlyHotspotInternal()
7117 public static class LocalOnlyHotspotCallback { class in WifiManager
7158 private final LocalOnlyHotspotCallback mCallback;
7171 @Nullable LocalOnlyHotspotCallback callback) { in LocalOnlyHotspotCallbackProxy()
7184 onHotspotFailed(LocalOnlyHotspotCallback.ERROR_GENERIC); in onHotspotStarted()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTethering.java493 new LocalOnlyHotspotCallback()); in startStateMachineUpdaters()
587 private class LocalOnlyHotspotCallback implements SoftApCallback { class in Tethering
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1731 Landroid/net/wifi/WifiManager$LocalOnlyHotspotCallback;->REQUEST_REGISTERED:I
1732 …d/net/wifi/WifiManager;Landroid/os/Looper;Landroid/net/wifi/WifiManager$LocalOnlyHotspotCallback;)V