mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
supplicant/hostapd(vts): Test for terminate
This HIDL API is meant to terminate the HIDL service. On Pixel devices, terminate will trigger the death of the corresponding daemon. But, other OEM's may choose to do something else. Bug: 71613595 Bug: 71613528 Test: Ran the VTS tests Change-Id: I737458b5c49ecd5545be0dc7033092db9a35b089
This commit is contained in:
@@ -220,3 +220,11 @@ TEST_F(HostapdHidlTest, AddInvalidPskAccessPointWithoutAcs) {
|
||||
getInvalidPskNwParams());
|
||||
EXPECT_NE(HostapdStatusCode::SUCCESS, status.code);
|
||||
}
|
||||
|
||||
/*
|
||||
* Terminate
|
||||
* This terminates the service.
|
||||
*/
|
||||
TEST_F(HostapdHidlTest, Terminate) {
|
||||
hostapd_->terminate();
|
||||
}
|
||||
|
||||
@@ -137,3 +137,11 @@ TEST_F(SupplicantHidlTest, RemoveP2pInterface) {
|
||||
EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code);
|
||||
});
|
||||
}
|
||||
|
||||
/*
|
||||
* Terminate
|
||||
* This terminates the service.
|
||||
*/
|
||||
TEST_F(SupplicantHidlTest, Terminate) {
|
||||
supplicant_->terminate();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user