Home
last modified time | relevance | path

Searched refs:requestorWs (Results 1 – 15 of 15) sorted by relevance

/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DActiveModeWarden.java436 final int uid = requestorWs.getUid(0); in canRequestMoreClientModeManagersInRole()
576 public void wifiToggled(WorkSource requestorWs) { in wifiToggled() argument
588 Pair.create(softApConfig, requestorWs)); in startSoftAp()
651 @NonNull public final WorkSource requestorWs; field in ActiveModeWarden.AdditionalClientModeManagerRequestInfo
658 @NonNull WorkSource requestorWs, in AdditionalClientModeManagerRequestInfo() argument
664 this.requestorWs = requestorWs; in AdditionalClientModeManagerRequestInfo()
988 return startPrimaryClientModeManager(requestorWs); in startPrimaryOrScanOnlyClientModeManager()
1073 @NonNull WorkSource requestorWs) { in startAdditionalClientModeManager() argument
1089 @NonNull WorkSource requestorWs) { in switchRoleForAdditionalClientModeManager() argument
1092 manager.setRole(role, requestorWs, listener); in switchRoleForAdditionalClientModeManager()
[all …]
H A DHalDeviceManager.java269 @NonNull WorkSource requestorWs) { in createStaIface() argument
271 destroyedListener, handler, requestorWs); in createStaIface()
290 @NonNull WorkSource requestorWs) { in createStaIface() argument
304 handler, requestorWs); in createApIface()
668 int ifaceType, WorkSource requestorWs) { in isItPossibleToCreateIface() argument
1612 Handler handler, WorkSource requestorWs) { in createIface() argument
1679 requestorWs); in createIfaceIfPossible()
1717 + ", requestorWs=" + requestorWs); in createIfaceIfPossible()
1725 WorkSource requestorWs) { in isItPossibleToCreateIface() argument
1817 WorkSource requestorWs) { in canIfaceComboSupportRequest() argument
[all …]
H A DConcreteClientModeManager.java169 @NonNull WorkSource requestorWs, @NonNull ClientRole role, in ConcreteClientModeManager() argument
185 mTargetRoleChangeInfo = new RoleChangeInfo(role, requestorWs, listener); in ConcreteClientModeManager()
353 mClientInterfaceName, mTargetRoleChangeInfo.requestorWs)) { in continueToStopWifi()
466 @Nullable public final WorkSource requestorWs; field in ConcreteClientModeManager.RoleChangeInfo
473 RoleChangeInfo(@Nullable ClientRole role, @Nullable WorkSource requestorWs, in RoleChangeInfo() argument
476 this.requestorWs = requestorWs; in RoleChangeInfo()
482 return "Role: " + role + ", RequestorWs: " + requestorWs in toString()
489 setRole(role, requestorWs, null); in setRole()
493 public void setRole(@NonNull ClientRole role, @NonNull WorkSource requestorWs, in setRole() argument
775 if (roleChangeInfo.requestorWs != null) { in setRoleInternal()
[all …]
H A DWifiNative.java918 new InterfaceDestoyedListenerInternal(iface.id), requestorWs); in createStaIface()
936 new InterfaceDestoyedListenerInternal(iface.id), requestorWs, in createApIface()
1155 iface.name = createStaIface(iface, requestorWs); in setupInterfaceForClientInConnectivityMode()
1219 iface.name = createStaIface(iface, requestorWs); in setupInterfaceForClientInScanMode()
1282 iface.name = createApIface(iface, requestorWs, band, isBridged); in setupInterfaceForSoftApMode()
1334 @NonNull WorkSource requestorWs) { in switchClientInterfaceToScanMode() argument
1376 @NonNull WorkSource requestorWs) { in switchClientInterfaceToConnectivityMode() argument
3260 public boolean isItPossibleToCreateApIface(@NonNull WorkSource requestorWs) {
3262 return mWifiVendorHal.isItPossibleToCreateApIface(requestorWs);
3269 public boolean isItPossibleToCreateStaIface(@NonNull WorkSource requestorWs) {
[all …]
H A DWifiVendorHal.java459 @NonNull WorkSource requestorWs) { in createStaIface() argument
463 requestorWs); in createStaIface()
495 @NonNull WorkSource requestorWs) { in replaceStaIfaceRequestorWs() argument
500 if (!mHalDeviceManager.replaceRequestorWs(iface, requestorWs)) { in replaceStaIfaceRequestorWs()
570 @NonNull WorkSource requestorWs, in createApIface() argument
577 requestorWs, isBridged); in createApIface()
604 @NonNull WorkSource requestorWs) { in replaceApIfaceRequestorWs() argument
609 if (!mHalDeviceManager.replaceRequestorWs((IWifiIface) iface, requestorWs)) { in replaceApIfaceRequestorWs()
3224 public boolean isItPossibleToCreateApIface(@NonNull WorkSource requestorWs) {
3226 return mHalDeviceManager.isItPossibleToCreateIface(IfaceType.AP, requestorWs);
[all …]
H A DWifiInjector.java703 @NonNull WorkSource requestorWs, in makeSoftApManager() argument
711 mClock.getElapsedSinceBootMillis(), requestorWs, role, verboseLoggingEnabled); in makeSoftApManager()
773 @NonNull WorkSource requestorWs, in makeClientModeManager() argument
780 mClock.getElapsedSinceBootMillis(), requestorWs, role, mBroadcastQueue, in makeClientModeManager()
H A DWifiConnectivityManager.java2384 public void setOemPaidConnectionAllowed(boolean allowed, WorkSource requestorWs) { in setOemPaidConnectionAllowed() argument
2386 + requestorWs); in setOemPaidConnectionAllowed()
2390 mOemPaidConnectionRequestorWs = requestorWs; in setOemPaidConnectionAllowed()
2398 public void setOemPrivateConnectionAllowed(boolean allowed, WorkSource requestorWs) { in setOemPrivateConnectionAllowed() argument
2400 + requestorWs); in setOemPrivateConnectionAllowed()
2404 mOemPrivateConnectionRequestorWs = requestorWs; in setOemPrivateConnectionAllowed()
H A DWifiServiceImpl.java1151 WorkSource requestorWs = new WorkSource(Binder.getCallingUid(), packageName); in startSoftAp() local
1153 () -> mActiveModeWarden.canRequestMoreSoftApManagers(requestorWs), false)) { in startSoftAp()
1160 mTetheredSoftApTracker.getSoftApCapability()), requestorWs)) { in startSoftAp()
1188 WorkSource requestorWs = new WorkSource(Binder.getCallingUid(), packageName); in startTetheredHotspot() local
1197 mTetheredSoftApTracker.getSoftApCapability()), requestorWs)) { in startTetheredHotspot()
1226 mActiveModeWarden.startSoftAp(apConfig, requestorWs); in startSoftApInternal()
2017 final WorkSource requestorWs; in startLocalOnlyHotspot() local
2040 requestorWs = mFrameworkFacade.getSettingsWorkSource(mContext); in startLocalOnlyHotspot()
2049 requestorWs = new WorkSource(uid, packageName); in startLocalOnlyHotspot()
2070 if (!mActiveModeWarden.canRequestMoreSoftApManagers(requestorWs) in startLocalOnlyHotspot()
[all …]
H A DSoftApManager.java318 @NonNull WorkSource requestorWs, in SoftApManager() argument
370 mStateMachine.sendMessage(SoftApStateMachine.CMD_START, requestorWs); in SoftApManager()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
H A DWifiAwareNativeManager.java126 public void tryToGetAware(@NonNull WorkSource requestorWs) { in tryToGetAware() argument
130 + mReferenceCount + ", requestorWs=" + requestorWs); in tryToGetAware()
145 mHandler, requestorWs); in tryToGetAware()
217 public boolean replaceRequestorWs(@NonNull WorkSource requestorWs) { in replaceRequestorWs() argument
221 + ", mReferenceCount=" + mReferenceCount + ", requestorWs=" + requestorWs); in replaceRequestorWs()
233 return mHalDeviceManager.replaceRequestorWs(mWifiNanIface, requestorWs); in replaceRequestorWs()
H A DWifiAwareStateManager.java648 public void getAwareInterface(@NonNull WorkSource requestorWs) { in getAwareInterface() argument
651 msg.obj = requestorWs; in getAwareInterface()
1957 WorkSource requestorWs = (WorkSource) msg.obj; in processCommand() local
1958 mWifiAwareNativeManager.tryToGetAware(requestorWs); in processCommand()
3452 WorkSource requestorWs = new WorkSource(); in createMergedRequestorWs() local
3455 requestorWs.add(new WorkSource(clientState.getUid(), clientState.getCallingPackage())); in createMergedRequestorWs()
3457 return requestorWs; in createMergedRequestorWs()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
H A DWifiP2pNative.java160 private String createP2pIface(Handler handler, WorkSource requestorWs) { in createP2pIface() argument
163 .createP2pIface(mInterfaceDestroyedListener, handler, requestorWs); in createP2pIface()
190 @NonNull Handler handler, @NonNull WorkSource requestorWs) { in setupInterface() argument
195 String ifaceName = createP2pIface(handler, requestorWs); in setupInterface()
242 public boolean replaceRequestorWs(WorkSource requestorWs) { in replaceRequestorWs() argument
245 return mHalDeviceManager.replaceRequestorWs(mIWifiP2pIface, requestorWs); in replaceRequestorWs()
H A DWifiP2pServiceImpl.java1072 WorkSource requestorWs = new WorkSource(); in createMergedRequestorWs() local
1074 requestorWs.add(deathHandlerData.mWorkSource); in createMergedRequestorWs()
1076 return requestorWs; in createMergedRequestorWs()
1537 WorkSource requestorWs = createMergedRequestorWs(); in setupInterface() local
1541 }, getHandler(), requestorWs); in setupInterface()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DWifiConnectivityManagerTest.java164 WorkSource requestorWs, String ssid, String bssid) { in setUp()
171 WorkSource requestorWs, String ssid, String bssid) { in setUp()
560 WorkSource requestorWs, String ssid, String bssid) { in requestSecondaryTransientCmm_gotNullCmm()
604 WorkSource requestorWs, String ssid, String bssid) { in requestSecondaryTransientCmm_gotAlreadyConnectedCmm()
645 WorkSource requestorWs, String ssid, String bssid) { in connectWhenConnected_UsingMbb()
682 WorkSource requestorWs, String ssid, String bssid) { in connectWhenConnected_UsingBbmIfBothNetworksHaveMacRandomizationDisabled()
732 WorkSource requestorWs, String ssid, String bssid) { in setupMocksForSecondaryLongLivedTests()
907 WorkSource requestorWs, String ssid, String bssid) { in secondaryLongLived_secondaryStaRequestReturnsNull()
938 WorkSource requestorWs, String ssid, String bssid) { in secondaryLongLived_secondaryStaRequestReturnsPrimary()
H A DHalDeviceManagerTest.java2934 WorkSource requestorWs, in validateInterfaceSequence() argument
2956 destroyedListener, mHandler, requestorWs); in validateInterfaceSequence()
2981 destroyedListener, mHandler, requestorWs, in validateInterfaceSequence()
2994 destroyedListener, mHandler, requestorWs); in validateInterfaceSequence()
3005 mDut.createNanIface(destroyedListener, mHandler, requestorWs); in validateInterfaceSequence()
3076 WorkSource requestorWs, in validateInterfaceSequence() argument
3082 tearDownList, destroyedListener, requestorWs, in validateInterfaceSequence()