Home
last modified time | relevance | path

Searched refs:ConcreteClientModeManager (Results 1 – 25 of 45) sorted by relevance

12

/packages/modules/Wifi/service/java/com/android/server/wifi/
DMakeBeforeBreakManager.java100 public final ConcreteClientModeManager oldPrimary;
102 public final ConcreteClientModeManager newPrimary;
105 @NonNull ConcreteClientModeManager oldPrimary, in MakeBeforeBreakInfo()
106 @NonNull ConcreteClientModeManager newPrimary) { in MakeBeforeBreakInfo()
140 public void onInternetValidated(@NonNull ConcreteClientModeManager clientModeManager) { in MakeBeforeBreakManager()
146 @NonNull ConcreteClientModeManager clientModeManager) { in MakeBeforeBreakManager()
152 @NonNull ConcreteClientModeManager clientModeManager, in MakeBeforeBreakManager()
170 if (!(activeModeManager instanceof ConcreteClientModeManager)) { in onActiveModeManagerAdded()
188 if (!(activeModeManager instanceof ConcreteClientModeManager)) { in onActiveModeManagerRemoved()
192 ConcreteClientModeManager clientModeManager = in onActiveModeManagerRemoved()
[all …]
DClientModeImplListener.java27 default void onL2Connected(@NonNull ConcreteClientModeManager clientModeManager) {} in onL2Connected()
33 default void onL3Connected(@NonNull ConcreteClientModeManager clientModeManager) {} in onL3Connected()
39 default void onInternetValidated(@NonNull ConcreteClientModeManager clientModeManager) {} in onInternetValidated()
47 default void onInternetValidationFailed(@NonNull ConcreteClientModeManager clientModeManager, in onInternetValidationFailed()
54 default void onConnectionStart(@NonNull ConcreteClientModeManager clientModeManager) {} in onConnectionStart()
62 default void onConnectionEnd(@NonNull ConcreteClientModeManager clientModeManager) {} in onConnectionEnd()
69 default void onCaptivePortalDetected(@NonNull ConcreteClientModeManager clientModeManager) {} in onCaptivePortalDetected()
DMultiInternetManager.java156 if (!(activeModeManager instanceof ConcreteClientModeManager)) { in onActiveModeManagerAdded()
159 final ConcreteClientModeManager ccm = (ConcreteClientModeManager) activeModeManager; in onActiveModeManagerAdded()
176 if (!(activeModeManager instanceof ConcreteClientModeManager)) { in onActiveModeManagerRemoved()
179 final ConcreteClientModeManager ccm = (ConcreteClientModeManager) activeModeManager; in onActiveModeManagerRemoved()
203 if (!(activeModeManager instanceof ConcreteClientModeManager)) { in onActiveModeManagerRoleChanged()
206 final ConcreteClientModeManager ccm = (ConcreteClientModeManager) activeModeManager; in onActiveModeManagerRoleChanged()
218 public void onInternetValidated(@NonNull ConcreteClientModeManager clientModeManager) { in onInternetValidated()
254 public void onL3Connected(@NonNull ConcreteClientModeManager clientModeManager) { in onL3Connected()
281 public void onConnectionEnd(@NonNull ConcreteClientModeManager clientModeManager) { in onConnectionEnd()
293 for (ConcreteClientModeManager cmm : mActiveModeWarden.getClientModeManagersInRoles( in onConnectionEnd()
[all …]
DClientModeImplMonitor.java47 public void onL2Connected(@NonNull ConcreteClientModeManager clientModeManager) { in onL2Connected()
55 public void onL3Connected(@NonNull ConcreteClientModeManager clientModeManager) { in onL3Connected()
62 public void onInternetValidated(@NonNull ConcreteClientModeManager clientModeManager) { in onInternetValidated()
69 public void onConnectionStart(@NonNull ConcreteClientModeManager clientModeManager) { in onConnectionStart()
76 public void onConnectionEnd(@NonNull ConcreteClientModeManager clientModeManager) { in onConnectionEnd()
83 public void onCaptivePortalDetected(@NonNull ConcreteClientModeManager clientModeManager) { in onCaptivePortalDetected()
DActiveModeWarden.java119 private final Set<ConcreteClientModeManager> mClientModeManagers = new ArraySet<>();
166 private ConcreteClientModeManager mLastPrimaryClientModeManager = null;
324 @Nullable ConcreteClientModeManager prevPrimaryClientModeManager, in onChange()
325 @Nullable ConcreteClientModeManager newPrimaryClientModeManager); in onChange()
336 private final ArrayDeque<ConcreteClientModeManager> mClientModeManagers =
344 void inter(ConcreteClientModeManager clientModeManager) { in inter()
366 for (ConcreteClientModeManager clientModeManager : mClientModeManagers) { in dump()
473 @Nullable ConcreteClientModeManager prevPrimaryClientModeManager, in invokeOnPrimaryClientModeManagerChangedCallbacks()
474 @Nullable ConcreteClientModeManager newPrimaryClientModeManager) { in invokeOnPrimaryClientModeManagerChangedCallbacks()
562 ConcreteClientModeManager cm = getPrimaryClientModeManagerNullable(); in registerPrimaryClientModeManagerChangedCallback()
[all …]
DConcreteClientModeManager.java103 public class ConcreteClientModeManager implements ClientModeManager { class
133 private Listener<ConcreteClientModeManager> mModeListener;
154 ConcreteClientModeManager( in ConcreteClientModeManager() method in ConcreteClientModeManager
156 WifiNative wifiNative, @NonNull Listener<ConcreteClientModeManager> listener, in ConcreteClientModeManager()
409 mModeListener.onStartFailure(ConcreteClientModeManager.this); in continueToStopWifi()
555 @Nullable public final Listener<ConcreteClientModeManager> modeListener;
562 @Nullable Listener<ConcreteClientModeManager> modeListener) { in RoleChangeInfo()
582 @Nullable Listener<ConcreteClientModeManager> modeListener) { in setRole()
933 mModeListener.onStarted(ConcreteClientModeManager.this); in setRoleInternalAndInvokeCallback()
941 mModeListener.onRoleChanged(ConcreteClientModeManager.this); in setRoleInternalAndInvokeCallback()
[all …]
DWifiCountryCode.java152 public void onConnectionStart(@NonNull ConcreteClientModeManager clientModeManager) { in onConnectionStart()
162 public void onConnectionEnd(@NonNull ConcreteClientModeManager clientModeManager) { in onConnectionEnd()
328 if (am instanceof ConcreteClientModeManager) { in isAllCmmReady()
679 && am instanceof ConcreteClientModeManager) { in setCountryCodeNative()
687 ConcreteClientModeManager cm = (ConcreteClientModeManager) am; in setCountryCodeNative()
DClientModeManagerBroadcastQueue.java131 @Nullable ConcreteClientModeManager prevPrimaryClientModeManager, in onChange()
132 @Nullable ConcreteClientModeManager newPrimaryClientModeManager) { in onChange()
DWifiMulticastLockManager.java219 @Nullable ConcreteClientModeManager prevPrimaryClientModeManager, in onChange()
220 @Nullable ConcreteClientModeManager newPrimaryClientModeManager) { in onChange()
DWifiDataStall.java129 @Nullable ConcreteClientModeManager prevPrimaryClientModeManager, in onChange()
130 @Nullable ConcreteClientModeManager newPrimaryClientModeManager) { in onChange()
143 public void onConnectionEnd(@NonNull ConcreteClientModeManager clientModeManager) { in onConnectionEnd()
DWifiInjector.java864 @NonNull ConcreteClientModeManager clientModeManager, in makeClientModeImpl()
917 public ConcreteClientModeManager makeClientModeManager( in makeClientModeManager()
918 @NonNull ClientModeManager.Listener<ConcreteClientModeManager> listener, in makeClientModeManager()
922 return new ConcreteClientModeManager( in makeClientModeManager()
DWifiConnectivityManager.java397 final ConcreteClientModeManager primaryCcm = mActiveModeWarden in handleConnectToMultiInternetConnectionInternal()
519 if (!(cm instanceof ConcreteClientModeManager)) { in handleConnectToMultiInternetConnectionInternal()
526 ConcreteClientModeManager ccm = (ConcreteClientModeManager) cm; in handleConnectToMultiInternetConnectionInternal()
1788 final ConcreteClientModeManager secondaryCcm = mActiveModeWarden in connectToNetworkUsingCmm()
3089 ConcreteClientModeManager clientModeManager, int state) { in handleConnectionStateChanged()
DHalDeviceManager.java108 private final Map<String, ConcreteClientModeManager> mClientModeManagers = new ArrayMap<>();
328 @NonNull ConcreteClientModeManager concreteClientModeManager) { in createStaIface()
360 @NonNull ConcreteClientModeManager concreteClientModeManager) { in createStaIface()
2050 ConcreteClientModeManager cmm = mClientModeManagers.get(existingIfaceInfo.name); in allowedToDelete()
2097 ConcreteClientModeManager cmm = mClientModeManagers.get( in allowedToDelete()
DSoftApManager.java205 public void onL2Connected(@NonNull ConcreteClientModeManager clientModeManager) {
709 private void onL2Connected(@NonNull ConcreteClientModeManager clientModeManager) { in onL2Connected()
2202 ConcreteClientModeManager cmm = (ConcreteClientModeManager) message.obj; in processMessageImpl()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DActiveModeWardenTest.java165 @Mock ConcreteClientModeManager mClientModeManager;
194 Listener<ConcreteClientModeManager> mClientListener;
259 mClientListener = (Listener<ConcreteClientModeManager>) args[0]; in setUp()
797 ConcreteClientModeManager additionalClientModeManager = in testSwitchFromConnectModeToScanOnlyModeRemovesAdditionalCMMs()
798 mock(ConcreteClientModeManager.class); in testSwitchFromConnectModeToScanOnlyModeRemovesAdditionalCMMs()
801 Listener<ConcreteClientModeManager> additionalClientListener = in testSwitchFromConnectModeToScanOnlyModeRemovesAdditionalCMMs()
888 ConcreteClientModeManager currentCmm = (ConcreteClientModeManager) currentCMMs.get(0); in testPrimaryNotCreatedTwice()
3044 private Listener<ConcreteClientModeManager> requestAdditionalClientModeManager( in requestAdditionalClientModeManager()
3046 ConcreteClientModeManager additionalClientModeManager, in requestAdditionalClientModeManager()
3053 Mutable<Listener<ConcreteClientModeManager>> additionalClientListener = in requestAdditionalClientModeManager()
[all …]
DWifiDataStallTest.java187 mPrimaryModeChangeCallback.onChange(null, mock(ConcreteClientModeManager.class)); in setUp()
223 .thenReturn(mock(ConcreteClientModeManager.class)); in setWifiEnabled()
224 mModeChangeCallback.onActiveModeManagerAdded(mock(ConcreteClientModeManager.class)); in setWifiEnabled()
227 mModeChangeCallback.onActiveModeManagerRemoved(mock(ConcreteClientModeManager.class)); in setWifiEnabled()
344 ConcreteClientModeManager cmm = mock(ConcreteClientModeManager.class); in verifyDataStallTxFailureAfterConnectionEnd()
357 mPrimaryModeChangeCallback.onChange(mock(ConcreteClientModeManager.class), null); in verifyDataStallTxFailureAfterWifiToggle()
359 mPrimaryModeChangeCallback.onChange(null, mock(ConcreteClientModeManager.class)); in verifyDataStallTxFailureAfterWifiToggle()
DClientModeManagerBroadcastQueueTest.java51 @Mock private ConcreteClientModeManager mPrimaryManager;
52 @Mock private ConcreteClientModeManager mSecondaryManager;
DMakeBeforeBreakManagerTest.java49 @Mock private ConcreteClientModeManager mOldPrimaryCmm;
50 @Mock private ConcreteClientModeManager mNewPrimaryCmm;
51 @Mock private ConcreteClientModeManager mUnrelatedCmm;
DWifiMulticastLockManagerTest.java55 @Mock ConcreteClientModeManager mClientModeManager;
56 @Mock ConcreteClientModeManager mClientModeManager2;
DMboOceControllerTest.java49 @Mock ConcreteClientModeManager mClientModeManager;
DWifiCountryCodeTest.java98 @Mock ConcreteClientModeManager mClientModeManager;
400 ConcreteClientModeManager secondaryClientModeManager = in telephonyCountryCodeChangeAfterL2ConnectedOnTwoClientModeManager()
401 mock(ConcreteClientModeManager.class); in telephonyCountryCodeChangeAfterL2ConnectedOnTwoClientModeManager()
DWifiConnectivityManagerTest.java317 @Mock private ConcreteClientModeManager mPrimaryClientModeManager;
318 @Mock private ConcreteClientModeManager mSecondaryClientModeManager;
544 private void setupMockForClientModeManager(ConcreteClientModeManager cmm) { in setupMockForClientModeManager()
690 ConcreteClientModeManager cmm = mock(ConcreteClientModeManager.class); in testPrimaryToSecondaryTransientDoesNotDisableWifi()
704 ConcreteClientModeManager cmm = mock(ConcreteClientModeManager.class); in testPrimaryToScanOnlyWillDisableWifi()
763 ConcreteClientModeManager secondaryCmm = mock(ConcreteClientModeManager.class); in disconnectedOnPrimaryCmm_connectUsingPrimaryCmm()
1493 private void mockClientManagerInfo(ConcreteClientModeManager clientManager, in mockClientManagerInfo()
6080 ConcreteClientModeManager primaryCmm = mock(ConcreteClientModeManager.class); in includeSecondaryStaWhenPresentInGetCandidatesFromScan()
6088 ConcreteClientModeManager secondaryCmm = mock(ConcreteClientModeManager.class); in includeSecondaryStaWhenPresentInGetCandidatesFromScan()
6123 ConcreteClientModeManager primaryCmm = mock(ConcreteClientModeManager.class); in includeSecondaryStaWhenNotPresentButAvailableInGetCandidatesFromScan()
[all …]
DMultiInternetManagerTest.java66 @Mock private ConcreteClientModeManager mPrimaryCmm;
67 @Mock private ConcreteClientModeManager mSecondaryCmm;
DWifiHealthMonitorTest.java365 .thenReturn(mock(ConcreteClientModeManager.class)); in setWifiEnabled()
366 mModeChangeCallback.onActiveModeManagerAdded(mock(ConcreteClientModeManager.class)); in setWifiEnabled()
369 mModeChangeCallback.onActiveModeManagerRemoved(mock(ConcreteClientModeManager.class)); in setWifiEnabled()
DConcreteClientModeManagerTest.java102 ConcreteClientModeManager mClientModeManager;
108 @Mock ActiveModeManager.Listener<ConcreteClientModeManager> mListener;
267 private ConcreteClientModeManager createClientModeManager(ActiveModeManager.ClientRole role) { in createClientModeManager()
268 return new ConcreteClientModeManager(mContext, mLooper.getLooper(), mClock, mWifiNative, in createClientModeManager()
1506 ActiveModeManager.Listener<ConcreteClientModeManager> newListener = in clientInConnectModeChangeRoles()

12