Merge "Notify the AT_PERMANENT_ID_REQ is denied from peer."

This commit is contained in:
TreeHugger Robot
2022-12-10 05:21:42 +00:00
committed by Android (Google) Code Review
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