Home
last modified time | relevance | path

Searched refs:SupplicantStaIfaceHal (Results 1 – 25 of 29) sorted by relevance

12

/packages/modules/Wifi/service/java/com/android/server/wifi/
DSupplicantStaIfaceCallbackHidlImpl.java331 && statusCode == SupplicantStaIfaceHal.StaIfaceStatusCode.CHALLENGE_FAIL) { in handleAssocRejectEvent()
348 if (statusCode == SupplicantStaIfaceHal.StaIfaceStatusCode.CHALLENGE_FAIL in handleAssocRejectEvent()
350 == SupplicantStaIfaceHal.StaIfaceStatusCode.UNSPECIFIED_FAILURE in handleAssocRejectEvent()
504 return SupplicantStaIfaceHal.MboAssocDisallowedReasonCode.RESERVED; in halToFrameworkMboAssocDisallowedReasonCode()
506 return SupplicantStaIfaceHal.MboAssocDisallowedReasonCode.UNSPECIFIED; in halToFrameworkMboAssocDisallowedReasonCode()
508 return SupplicantStaIfaceHal.MboAssocDisallowedReasonCode.MAX_NUM_STA_ASSOCIATED; in halToFrameworkMboAssocDisallowedReasonCode()
510 return SupplicantStaIfaceHal.MboAssocDisallowedReasonCode.AIR_INTERFACE_OVERLOADED; in halToFrameworkMboAssocDisallowedReasonCode()
512 return SupplicantStaIfaceHal.MboAssocDisallowedReasonCode.AUTH_SERVER_OVERLOADED; in halToFrameworkMboAssocDisallowedReasonCode()
514 return SupplicantStaIfaceHal.MboAssocDisallowedReasonCode.INSUFFICIENT_RSSI; in halToFrameworkMboAssocDisallowedReasonCode()
524 return SupplicantStaIfaceHal.StaIfaceReasonCode.UNSPECIFIED; in halToFrameworkReasonCode()
[all …]
DSupplicantStaIfaceCallbackAidlImpl.java70 import com.android.server.wifi.SupplicantStaIfaceHal.QosPolicyRequest;
71 import com.android.server.wifi.SupplicantStaIfaceHal.SupplicantEventCode;
372 && statusCode == SupplicantStaIfaceHal.StaIfaceStatusCode.CHALLENGE_FAIL) { in handleAssocRejectEvent()
389 if (statusCode == SupplicantStaIfaceHal.StaIfaceStatusCode.CHALLENGE_FAIL in handleAssocRejectEvent()
391 == SupplicantStaIfaceHal.StaIfaceStatusCode.UNSPECIFIED_FAILURE in handleAssocRejectEvent()
596 SupplicantStaIfaceHal.DppEventType.CONFIGURATION_SENT); in onDppSuccessConfigSent()
779 return SupplicantStaIfaceHal.DppEventType.CONFIGURATION_SENT; in halToFrameworkDppEventType()
781 return SupplicantStaIfaceHal.DppEventType.CONFIGURATION_APPLIED; in halToFrameworkDppEventType()
791 return SupplicantStaIfaceHal.DppProgressCode.AUTHENTICATION_SUCCESS; in halToFrameworkDppProgressCode()
793 return SupplicantStaIfaceHal.DppProgressCode.RESPONSE_PENDING; in halToFrameworkDppProgressCode()
[all …]
DSupplicantStaIfaceCallbackHidlV1_3Impl.java365 return SupplicantStaIfaceHal.DppEventType.CONFIGURATION_SENT; in halToFrameworkDppEventType()
367 return SupplicantStaIfaceHal.DppEventType.CONFIGURATION_APPLIED; in halToFrameworkDppEventType()
377 return SupplicantStaIfaceHal.DppFailureCode.INVALID_URI; in halToFrameworkDppFailureCode()
379 return SupplicantStaIfaceHal.DppFailureCode.AUTHENTICATION; in halToFrameworkDppFailureCode()
381 return SupplicantStaIfaceHal.DppFailureCode.NOT_COMPATIBLE; in halToFrameworkDppFailureCode()
383 return SupplicantStaIfaceHal.DppFailureCode.CONFIGURATION; in halToFrameworkDppFailureCode()
385 return SupplicantStaIfaceHal.DppFailureCode.BUSY; in halToFrameworkDppFailureCode()
387 return SupplicantStaIfaceHal.DppFailureCode.TIMEOUT; in halToFrameworkDppFailureCode()
389 return SupplicantStaIfaceHal.DppFailureCode.FAILURE; in halToFrameworkDppFailureCode()
391 return SupplicantStaIfaceHal.DppFailureCode.NOT_SUPPORTED; in halToFrameworkDppFailureCode()
[all …]
DSupplicantStaIfaceCallbackHidlV1_4Impl.java197 return SupplicantStaIfaceHal.DppFailureCode.INVALID_URI; in halToFrameworkDppFailureCode()
199 return SupplicantStaIfaceHal.DppFailureCode.AUTHENTICATION; in halToFrameworkDppFailureCode()
201 return SupplicantStaIfaceHal.DppFailureCode.NOT_COMPATIBLE; in halToFrameworkDppFailureCode()
203 return SupplicantStaIfaceHal.DppFailureCode.CONFIGURATION; in halToFrameworkDppFailureCode()
205 return SupplicantStaIfaceHal.DppFailureCode.BUSY; in halToFrameworkDppFailureCode()
207 return SupplicantStaIfaceHal.DppFailureCode.TIMEOUT; in halToFrameworkDppFailureCode()
209 return SupplicantStaIfaceHal.DppFailureCode.FAILURE; in halToFrameworkDppFailureCode()
211 return SupplicantStaIfaceHal.DppFailureCode.NOT_SUPPORTED; in halToFrameworkDppFailureCode()
213 return SupplicantStaIfaceHal.DppFailureCode.CONFIGURATION_REJECTED; in halToFrameworkDppFailureCode()
215 return SupplicantStaIfaceHal.DppFailureCode.CANNOT_FIND_NETWORK; in halToFrameworkDppFailureCode()
[all …]
DSupplicantStaIfaceCallbackHidlV1_2Impl.java213 SupplicantStaIfaceHal.DppEventType.CONFIGURATION_SENT); in onDppSuccessConfigSent()
250 return SupplicantStaIfaceHal.DppProgressCode.AUTHENTICATION_SUCCESS; in halToFrameworkDppProgressCode()
252 return SupplicantStaIfaceHal.DppProgressCode.RESPONSE_PENDING; in halToFrameworkDppProgressCode()
262 return SupplicantStaIfaceHal.DppFailureCode.INVALID_URI; in halToFrameworkDppFailureCode()
264 return SupplicantStaIfaceHal.DppFailureCode.AUTHENTICATION; in halToFrameworkDppFailureCode()
266 return SupplicantStaIfaceHal.DppFailureCode.NOT_COMPATIBLE; in halToFrameworkDppFailureCode()
268 return SupplicantStaIfaceHal.DppFailureCode.CONFIGURATION; in halToFrameworkDppFailureCode()
270 return SupplicantStaIfaceHal.DppFailureCode.BUSY; in halToFrameworkDppFailureCode()
272 return SupplicantStaIfaceHal.DppFailureCode.TIMEOUT; in halToFrameworkDppFailureCode()
274 return SupplicantStaIfaceHal.DppFailureCode.FAILURE; in halToFrameworkDppFailureCode()
[all …]
DApplicationQosPolicyRequestHandler.java184 public boolean matchesResults(List<SupplicantStaIfaceHal.QosPolicyStatus> resultList) { in matchesResults()
186 for (SupplicantStaIfaceHal.QosPolicyStatus status : resultList) { in matchesResults()
199 private class ApCallback implements SupplicantStaIfaceHal.QosScsResponseCallback {
202 List<SupplicantStaIfaceHal.QosPolicyStatus> halStatusList) { in onApResponse()
277 List<SupplicantStaIfaceHal.QosPolicyStatus> halStatusList) { in logApCallbackMockable()
282 == SupplicantStaIfaceHal.QOS_POLICY_SCS_RESPONSE_STATUS_SUCCESS) in logApCallbackMockable()
556 List<SupplicantStaIfaceHal.QosPolicyStatus> halStatusList = in processAddRequest()
596 List<SupplicantStaIfaceHal.QosPolicyStatus> halStatusList = in processRemoveRequest()
621 List<SupplicantStaIfaceHal.QosPolicyStatus> halStatusList) { in getPoliciesAwaitingCallback()
623 for (SupplicantStaIfaceHal.QosPolicyStatus status : halStatusList) { in getPoliciesAwaitingCallback()
[all …]
DSupplicantStaIfaceHalAidlImpl.java176 private SupplicantStaIfaceHal.QosScsResponseCallback mQosScsResponseCallback;
2790 case SupplicantStaIfaceHal.DppAkm.PSK: in frameworkToAidlDppAkm()
2792 case SupplicantStaIfaceHal.DppAkm.PSK_SAE: in frameworkToAidlDppAkm()
2794 case SupplicantStaIfaceHal.DppAkm.SAE: in frameworkToAidlDppAkm()
2796 case SupplicantStaIfaceHal.DppAkm.DPP: in frameworkToAidlDppAkm()
2806 case SupplicantStaIfaceHal.DppCurve.PRIME256V1: in frameworkToAidlDppCurve()
2808 case SupplicantStaIfaceHal.DppCurve.SECP384R1: in frameworkToAidlDppCurve()
2810 case SupplicantStaIfaceHal.DppCurve.SECP521R1: in frameworkToAidlDppCurve()
2812 case SupplicantStaIfaceHal.DppCurve.BRAINPOOLP256R1: in frameworkToAidlDppCurve()
2814 case SupplicantStaIfaceHal.DppCurve.BRAINPOOLP384R1: in frameworkToAidlDppCurve()
[all …]
DSupplicantEventInfo.java24 import com.android.server.wifi.SupplicantStaIfaceHal.SupplicantEventCode;
54 sb.append(" eventCode: ").append(SupplicantStaIfaceHal in toString()
DISupplicantStaIfaceHal.java749 @NonNull List<SupplicantStaIfaceHal.QosPolicyStatus> qosPolicyStatusList) { in sendQosPolicyResponse()
775 default List<SupplicantStaIfaceHal.QosPolicyStatus> addQosPolicyRequestForScs( in addQosPolicyRequestForScs()
793 default List<SupplicantStaIfaceHal.QosPolicyStatus> removeQosPolicyForScs( in removeQosPolicyForScs()
805 SupplicantStaIfaceHal.QosScsResponseCallback callback) {} in registerQosScsResponseCallback()
DDppManager.java42 import com.android.server.wifi.SupplicantStaIfaceHal.DppAkm;
43 import com.android.server.wifi.SupplicantStaIfaceHal.DppCurve;
44 import com.android.server.wifi.SupplicantStaIfaceHal.DppEventType;
45 import com.android.server.wifi.SupplicantStaIfaceHal.DppFailureCode;
46 import com.android.server.wifi.SupplicantStaIfaceHal.DppNetRole;
47 import com.android.server.wifi.SupplicantStaIfaceHal.DppProgressCode;
DQosPolicyRequestHandler.java29 import com.android.server.wifi.SupplicantStaIfaceHal.QosPolicyRequest;
30 import com.android.server.wifi.SupplicantStaIfaceHal.QosPolicyStatus;
DSupplicantStaIfaceHalHidlImpl.java3253 case SupplicantStaIfaceHal.DppAkm.PSK: in frameworkToHidlDppAkm()
3255 case SupplicantStaIfaceHal.DppAkm.PSK_SAE: in frameworkToHidlDppAkm()
3257 case SupplicantStaIfaceHal.DppAkm.SAE: in frameworkToHidlDppAkm()
3259 case SupplicantStaIfaceHal.DppAkm.DPP: in frameworkToHidlDppAkm()
3269 case SupplicantStaIfaceHal.DppCurve.PRIME256V1: in frameworkToHidlDppCurve()
3271 case SupplicantStaIfaceHal.DppCurve.SECP384R1: in frameworkToHidlDppCurve()
3273 case SupplicantStaIfaceHal.DppCurve.SECP521R1: in frameworkToHidlDppCurve()
3275 case SupplicantStaIfaceHal.DppCurve.BRAINPOOLP256R1: in frameworkToHidlDppCurve()
3277 case SupplicantStaIfaceHal.DppCurve.BRAINPOOLP384R1: in frameworkToHidlDppCurve()
3279 case SupplicantStaIfaceHal.DppCurve.BRAINPOOLP512R1: in frameworkToHidlDppCurve()
[all …]
DMboOceController.java26 import com.android.server.wifi.SupplicantStaIfaceHal.MboAssocDisallowedReasonCode;
DWifiMonitor.java34 import com.android.server.wifi.SupplicantStaIfaceHal.QosPolicyRequest;
35 import com.android.server.wifi.SupplicantStaIfaceHal.SupplicantEventCode;
DWifiInjector.java170 private final SupplicantStaIfaceHal mSupplicantStaIfaceHal;
346 mSupplicantStaIfaceHal = new SupplicantStaIfaceHal( in WifiInjector()
705 public SupplicantStaIfaceHal getSupplicantStaIfaceHal() { in getSupplicantStaIfaceHal()
DWifiNative.java77 import com.android.server.wifi.SupplicantStaIfaceHal.QosPolicyStatus;
122 private final SupplicantStaIfaceHal mSupplicantStaIfaceHal;
160 SupplicantStaIfaceHal staIfaceHal, HostapdHal hostapdHal, in WifiNative()
5071 List<SupplicantStaIfaceHal.QosPolicyStatus> addQosPolicyRequestForScs(
5089 List<SupplicantStaIfaceHal.QosPolicyStatus> removeQosPolicyForScs(
5101 @NonNull SupplicantStaIfaceHal.QosScsResponseCallback callback) {
DClientModeImpl.java137 import com.android.server.wifi.SupplicantStaIfaceHal.QosPolicyRequest;
138 import com.android.server.wifi.SupplicantStaIfaceHal.StaIfaceReasonCode;
139 import com.android.server.wifi.SupplicantStaIfaceHal.StaIfaceStatusCode;
140 import com.android.server.wifi.SupplicantStaIfaceHal.SupplicantEventCode;
1020 if (eventCode == SupplicantStaIfaceHal.SUPPLICANT_EVENT_DISCONNECTED) { in logEventIfManagedNetwork()
1025 SupplicantStaIfaceHal.supplicantEventCodeToString(eventCode), reasonString); in logEventIfManagedNetwork()
1229 SupplicantStaIfaceHal.SUPPLICANT_EVENT_DISCONNECTED, in onNetworkRemoved()
5678 supplicantEvent = SupplicantStaIfaceHal.SUPPLICANT_EVENT_CONNECTED; in processMessageImpl()
5681 supplicantEvent = SupplicantStaIfaceHal.SUPPLICANT_EVENT_ASSOCIATING; in processMessageImpl()
5684 supplicantEvent = SupplicantStaIfaceHal.SUPPLICANT_EVENT_ASSOCIATED; in processMessageImpl()
[all …]
DSupplicantStaIfaceHal.java47 public class SupplicantStaIfaceHal { class
825 public SupplicantStaIfaceHal(Context context, WifiMonitor monitor, in SupplicantStaIfaceHal() method in SupplicantStaIfaceHal
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DApplicationQosPolicyRequestHandlerTest.java78 @Captor ArgumentCaptor<SupplicantStaIfaceHal.QosScsResponseCallback> mApCallbackCaptor;
94 List<SupplicantStaIfaceHal.QosPolicyStatus> halStatusList) { in logApCallbackMockable()
113 setupSynchronousResponse(SupplicantStaIfaceHal.QOS_POLICY_SCS_REQUEST_STATUS_SENT); in setUp()
155 private List<SupplicantStaIfaceHal.QosPolicyStatus> generateHalStatusList( in generateHalStatusList()
157 List<SupplicantStaIfaceHal.QosPolicyStatus> halStatusList = new ArrayList<>(); in generateHalStatusList()
159 halStatusList.add(new SupplicantStaIfaceHal.QosPolicyStatus( in generateHalStatusList()
170 SupplicantStaIfaceHal.QOS_POLICY_SCS_RESPONSE_STATUS_SUCCESS); in addPoliciesToTable()
175 @SupplicantStaIfaceHal.QosPolicyScsRequestStatusCode int expectedStatus) { in setupSynchronousResponse()
191 List<SupplicantStaIfaceHal.QosPolicyStatus> statusList = new ArrayList<>(); in setupSynchronousResponse()
193 statusList.add(new SupplicantStaIfaceHal.QosPolicyStatus( in setupSynchronousResponse()
[all …]
DQosPolicyRequestHandlerTest.java41 import com.android.server.wifi.SupplicantStaIfaceHal.QosPolicyClassifierParams;
42 import com.android.server.wifi.SupplicantStaIfaceHal.QosPolicyRequest;
43 import com.android.server.wifi.SupplicantStaIfaceHal.QosPolicyRequestType;
44 import com.android.server.wifi.SupplicantStaIfaceHal.QosPolicyStatus;
128 policies.add(createQosPolicyRequest(1, SupplicantStaIfaceHal.QOS_POLICY_REQUEST_ADD, 0, in testSingleQosPolicyRequestEvent()
130 policies.add(createQosPolicyRequest(2, SupplicantStaIfaceHal.QOS_POLICY_REQUEST_ADD, 0, in testSingleQosPolicyRequestEvent()
132 policies.add(createQosPolicyRequest(3, SupplicantStaIfaceHal.QOS_POLICY_REQUEST_REMOVE, 0, in testSingleQosPolicyRequestEvent()
134 policies.add(createQosPolicyRequest(4, SupplicantStaIfaceHal.QOS_POLICY_REQUEST_ADD, 0, in testSingleQosPolicyRequestEvent()
168 policies.add(createQosPolicyRequest(1, SupplicantStaIfaceHal.QOS_POLICY_REQUEST_ADD, 0, in testMultipleQosPolicyRequestEvents()
170 policies.add(createQosPolicyRequest(2, SupplicantStaIfaceHal.QOS_POLICY_REQUEST_ADD, 0, in testMultipleQosPolicyRequestEvents()
[all …]
DWifiMonitorTest.java46 import com.android.server.wifi.SupplicantStaIfaceHal.QosPolicyClassifierParams;
47 import com.android.server.wifi.SupplicantStaIfaceHal.QosPolicyRequest;
802 SupplicantStaIfaceHal.SUPPLICANT_EVENT_EAP_METHOD_SELECTED, in testBroadcastAuxiliarySupplicantEvent()
844 (byte) i, SupplicantStaIfaceHal.QOS_POLICY_REQUEST_ADD, (byte) 0, in testBroadcastQosPolicyRequestEvent()
DSupplicantStaIfaceHalTest.java42 import com.android.server.wifi.SupplicantStaIfaceHal.QosPolicyClassifierParams;
43 import com.android.server.wifi.SupplicantStaIfaceHal.QosPolicyRequest;
89 SupplicantStaIfaceHal.QOS_POLICY_REQUEST_ADD;
94 private class SupplicantStaIfaceHalSpy extends SupplicantStaIfaceHal {
DSupplicantStaIfaceHalAidlImplTest.java197 private @Captor ArgumentCaptor<List<SupplicantStaIfaceHal.QosPolicyRequest>>
2457 List<SupplicantStaIfaceHal.QosPolicyStatus> policyStatusList = new ArrayList(); in testSendQosPolicyResponse()
2458 policyStatusList.add(new SupplicantStaIfaceHal.QosPolicyStatus( in testSendQosPolicyResponse()
2460 policyStatusList.add(new SupplicantStaIfaceHal.QosPolicyStatus( in testSendQosPolicyResponse()
2462 policyStatusList.add(new SupplicantStaIfaceHal.QosPolicyStatus( in testSendQosPolicyResponse()
2515 List<SupplicantStaIfaceHal.QosPolicyRequest> qosPolicyRequestList = in executeAndValidateQosPolicyRequestCallback()
2520 assertEquals(SupplicantStaIfaceHal.QOS_POLICY_REQUEST_ADD, in executeAndValidateQosPolicyRequestCallback()
2525 assertEquals(SupplicantStaIfaceHal.QOS_POLICY_REQUEST_REMOVE, in executeAndValidateQosPolicyRequestCallback()
DWifiNativeTest.java265 @Mock private SupplicantStaIfaceHal mStaIfaceHal;
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp440 "com.android.server.wifi.SupplicantStaIfaceHal",
441 "com.android.server.wifi.SupplicantStaIfaceHal$*",
442 "com.android.server.wifi.SupplicantStaIfaceHal.**",

12