Home
last modified time | relevance | path

Searched refs:activeModeManager (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DMakeBeforeBreakManager.java166 public void onActiveModeManagerAdded(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerAdded() argument
170 if (!(activeModeManager instanceof ConcreteClientModeManager)) { in onActiveModeManagerAdded()
175 if (activeModeManager.getRole() == ROLE_CLIENT_SECONDARY_TRANSIENT) { in onActiveModeManagerAdded()
179 + activeModeManager.getRole()); in onActiveModeManagerAdded()
184 public void onActiveModeManagerRemoved(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerRemoved() argument
188 if (!(activeModeManager instanceof ConcreteClientModeManager)) { in onActiveModeManagerRemoved()
193 (ConcreteClientModeManager) activeModeManager; in onActiveModeManagerRemoved()
218 public void onActiveModeManagerRoleChanged(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerRoleChanged() argument
222 if (!(activeModeManager instanceof ConcreteClientModeManager)) { in onActiveModeManagerRoleChanged()
226 (ConcreteClientModeManager) activeModeManager; in onActiveModeManagerRoleChanged()
DClientModeManagerBroadcastQueue.java144 public void onActiveModeManagerAdded(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerAdded() argument
149 public void onActiveModeManagerRoleChanged(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerRoleChanged() argument
154 public void onActiveModeManagerRemoved(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerRemoved() argument
155 if (!(activeModeManager instanceof ClientModeManager)) { in onActiveModeManagerRemoved()
158 ClientModeManager clientModeManager = (ClientModeManager) activeModeManager; in onActiveModeManagerRemoved()
DActiveModeManager.java40 void onStarted(@NonNull T activeModeManager); in onStarted() argument
44 void onStopped(@NonNull T activeModeManager); in onStopped() argument
48 void onRoleChanged(@NonNull T activeModeManager); in onRoleChanged() argument
52 void onStartFailure(@NonNull T activeModeManager); in onStartFailure() argument
DWifiCountryCode.java108 public void onActiveModeManagerAdded(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerAdded() argument
109 if (activeModeManager.getRole() instanceof ActiveModeManager.ClientRole) { in onActiveModeManagerAdded()
113 mAmmToReadyForChangeMap.put(activeModeManager, true); in onActiveModeManagerAdded()
115 } else if (activeModeManager instanceof SoftApManager) { in onActiveModeManagerAdded()
118 mAmmToReadyForChangeMap.put(activeModeManager, true); in onActiveModeManagerAdded()
123 public void onActiveModeManagerRemoved(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerRemoved() argument
124 if (mAmmToReadyForChangeMap.remove(activeModeManager) != null) { in onActiveModeManagerRemoved()
125 if (activeModeManager instanceof ActiveModeManager.ClientRole) { in onActiveModeManagerRemoved()
137 public void onActiveModeManagerRoleChanged(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerRoleChanged() argument
138 if (activeModeManager.getRole() == ActiveModeManager.ROLE_CLIENT_PRIMARY) { in onActiveModeManagerRoleChanged()
[all …]
DMultiInternetManager.java151 public void onActiveModeManagerAdded(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerAdded() argument
156 if (!(activeModeManager instanceof ConcreteClientModeManager)) { in onActiveModeManagerAdded()
159 final ConcreteClientModeManager ccm = (ConcreteClientModeManager) activeModeManager; in onActiveModeManagerAdded()
171 public void onActiveModeManagerRemoved(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerRemoved() argument
176 if (!(activeModeManager instanceof ConcreteClientModeManager)) { in onActiveModeManagerRemoved()
179 final ConcreteClientModeManager ccm = (ConcreteClientModeManager) activeModeManager; in onActiveModeManagerRemoved()
198 public void onActiveModeManagerRoleChanged(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerRoleChanged() argument
203 if (!(activeModeManager instanceof ConcreteClientModeManager)) { in onActiveModeManagerRoleChanged()
206 final ConcreteClientModeManager ccm = (ConcreteClientModeManager) activeModeManager; in onActiveModeManagerRoleChanged()
DActiveModeWarden.java291 void onActiveModeManagerAdded(@NonNull ActiveModeManager activeModeManager); in onActiveModeManagerAdded() argument
298 void onActiveModeManagerRemoved(@NonNull ActiveModeManager activeModeManager); in onActiveModeManagerRemoved() argument
305 void onActiveModeManagerRoleChanged(@NonNull ActiveModeManager activeModeManager); in onActiveModeManagerRoleChanged() argument
445 private void invokeOnAddedCallbacks(@NonNull ActiveModeManager activeModeManager) { in invokeOnAddedCallbacks() argument
447 Log.v(TAG, "ModeManager added " + activeModeManager); in invokeOnAddedCallbacks()
450 callback.onActiveModeManagerAdded(activeModeManager); in invokeOnAddedCallbacks()
454 private void invokeOnRemovedCallbacks(@NonNull ActiveModeManager activeModeManager) { in invokeOnRemovedCallbacks() argument
456 Log.v(TAG, "ModeManager removed " + activeModeManager); in invokeOnRemovedCallbacks()
459 callback.onActiveModeManagerRemoved(activeModeManager); in invokeOnRemovedCallbacks()
463 private void invokeOnRoleChangedCallbacks(@NonNull ActiveModeManager activeModeManager) { in invokeOnRoleChangedCallbacks() argument
[all …]
DWifiNetworkFactory.java428 public void onActiveModeManagerAdded(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerAdded() argument
435 public void onActiveModeManagerRemoved(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerRemoved() argument
436 if (!(activeModeManager instanceof ClientModeManager)) return; in onActiveModeManagerRemoved()
438 Log.v(TAG, "ModeManager removed " + activeModeManager.getInterfaceName()); in onActiveModeManagerRemoved()
441 if (activeModeManager == mClientModeManager in onActiveModeManagerRemoved()
448 public void onActiveModeManagerRoleChanged(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerRoleChanged() argument
449 if (!(activeModeManager instanceof ClientModeManager)) return; in onActiveModeManagerRoleChanged()
451 Log.v(TAG, "ModeManager role changed " + activeModeManager.getInterfaceName()); in onActiveModeManagerRoleChanged()
454 if (activeModeManager == mClientModeManager in onActiveModeManagerRoleChanged()
DWifiDataStall.java102 public void onActiveModeManagerAdded(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerAdded() argument
107 public void onActiveModeManagerRemoved(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerRemoved() argument
112 public void onActiveModeManagerRoleChanged(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerRoleChanged() argument
DWifiHealthMonitor.java133 public void onActiveModeManagerAdded(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerAdded() argument
138 public void onActiveModeManagerRemoved(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerRemoved() argument
143 public void onActiveModeManagerRoleChanged(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerRoleChanged() argument
DWifiConnectivityManager.java1277 public void onActiveModeManagerAdded(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerAdded() argument
1282 public void onActiveModeManagerRemoved(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerRemoved() argument
1287 public void onActiveModeManagerRoleChanged(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerRoleChanged() argument
1291 if (activeModeManager.getPreviousRole() == ROLE_CLIENT_PRIMARY in onActiveModeManagerRoleChanged()
1292 && activeModeManager.getRole() == ROLE_CLIENT_SECONDARY_TRANSIENT) { in onActiveModeManagerRoleChanged()
DWifiMetrics.java1720 public void onActiveModeManagerAdded(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerAdded() argument
1721 if (!(activeModeManager instanceof ConcreteClientModeManager)) { in onActiveModeManagerAdded()
1726 (ConcreteClientModeManager) activeModeManager; in onActiveModeManagerAdded()
1733 public void onActiveModeManagerRemoved(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerRemoved() argument
1734 if (!(activeModeManager instanceof ConcreteClientModeManager)) { in onActiveModeManagerRemoved()
1739 (ConcreteClientModeManager) activeModeManager; in onActiveModeManagerRemoved()
1745 public void onActiveModeManagerRoleChanged(@NonNull ActiveModeManager activeModeManager) { in onActiveModeManagerRoleChanged() argument
1746 if (!(activeModeManager instanceof ConcreteClientModeManager)) { in onActiveModeManagerRoleChanged()
1751 (ConcreteClientModeManager) activeModeManager; in onActiveModeManagerRoleChanged()