Notify the AT_PERMANENT_ID_REQ is denied from peer.

Bug: 239710602
Test: atest VtsHalWifiSupplicantStaNetworkTargetTest
Change-Id: Ib21d601cc980505d7cb60091ec1dd88a579d9738
This commit is contained in:
Steven Liu 2022-11-28 16:59:40 +00:00
parent d3727ad963
commit c276eafd3a
3 changed files with 9 additions and 0 deletions

View file

@ -39,4 +39,5 @@ interface ISupplicantStaNetworkCallback {
oneway void onNetworkEapSimUmtsAuthRequest(in android.hardware.wifi.supplicant.NetworkRequestEapSimUmtsAuthParams params);
oneway void onTransitionDisable(in android.hardware.wifi.supplicant.TransitionDisableIndication ind);
oneway void onServerCertificateAvailable(in int depth, in byte[] subject, in byte[] certHash, in byte[] certBlob);
oneway void onPermanentIdReqDenied();
}

View file

@ -71,4 +71,11 @@ oneway interface ISupplicantStaNetworkCallback {
*/
void onServerCertificateAvailable(
in int depth, in byte[] subject, in byte[] certHash, in byte[] certBlob);
/**
* Used to notify the AT_PERMANENT_ID_REQ denied event.
*
* In strict conservative mode, AT_PERMANENT_ID_REQ is denied from eap_peer side.
*/
void onPermanentIdReqDenied();
}

View file

@ -100,6 +100,7 @@ class SupplicantStaNetworkCallback : public BnSupplicantStaNetworkCallback {
const std::vector<uint8_t>& /* certBlob */) override {
return ndk::ScopedAStatus::ok();
}
::ndk::ScopedAStatus onPermanentIdReqDenied() override { return ndk::ScopedAStatus::ok(); }
};
class SupplicantStaNetworkAidlTest