Home
last modified time | relevance | path

Searched refs:callbackIdentifier (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java1411 final int callbackIdentifier = 1; in registerSoftApCallbackThrowsSecurityExceptionOnMissingPermissions() local
1413 callbackIdentifier); in registerSoftApCallbackThrowsSecurityExceptionOnMissingPermissions()
1426 final int callbackIdentifier = 1; in registerSoftApCallbackThrowsIllegalArgumentExceptionOnInvalidArguments() local
1427 mWifiServiceImpl.registerSoftApCallback(mAppBinder, null, callbackIdentifier); in registerSoftApCallbackThrowsIllegalArgumentExceptionOnInvalidArguments()
1443 final int callbackIdentifier = 1; in unregisterSoftApCallbackThrowsSecurityExceptionOnMissingPermissions() local
1444 mWifiServiceImpl.unregisterSoftApCallback(callbackIdentifier); in unregisterSoftApCallbackThrowsSecurityExceptionOnMissingPermissions()
1454 private void registerSoftApCallbackAndVerify(ISoftApCallback callback, int callbackIdentifier) in registerSoftApCallbackAndVerify() argument
1456 mWifiServiceImpl.registerSoftApCallback(mAppBinder, callback, callbackIdentifier); in registerSoftApCallbackAndVerify()
1467 final int callbackIdentifier = 1; in replacesOldCallbackWithNewCallbackWhenRegisteringTwice() local
1468 registerSoftApCallbackAndVerify(mClientSoftApCallback, callbackIdentifier); in replacesOldCallbackWithNewCallbackWhenRegisteringTwice()
[all …]
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl178 …oid registerSoftApCallback(in IBinder binder, in ISoftApCallback callback, int callbackIdentifier); in registerSoftApCallback() argument
180 void unregisterSoftApCallback(int callbackIdentifier); in unregisterSoftApCallback() argument
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiManagerTest.java695 ArgumentCaptor<Integer> callbackIdentifier = ArgumentCaptor.forClass(Integer.class); in unregisterSoftApCallbackCallGoesToWifiServiceImpl() local
698 any(ISoftApCallback.Stub.class), callbackIdentifier.capture()); in unregisterSoftApCallbackCallGoesToWifiServiceImpl()
701 verify(mWifiService).unregisterSoftApCallback(eq((int) callbackIdentifier.getValue())); in unregisterSoftApCallbackCallGoesToWifiServiceImpl()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java1143 int callbackIdentifier) { in registerSoftApCallback() argument
1163 mRegisteredSoftApCallbacks.remove(callbackIdentifier); in registerSoftApCallback()
1176 mRegisteredSoftApCallbacks.put(callbackIdentifier, callback); in registerSoftApCallback()
1203 public void unregisterSoftApCallback(int callbackIdentifier) { in unregisterSoftApCallback() argument
1212 mRegisteredSoftApCallbacks.remove(callbackIdentifier); in unregisterSoftApCallback()