mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "VTSHalPowerTarget.FMQAidl: Make sure session status OK before running test" into main
This commit is contained in:
@@ -159,7 +159,10 @@ class FMQAidl : public PowerAidl {
|
||||
auto status =
|
||||
power->createHintSessionWithConfig(getpid(), getuid(), kSelfTids, 16666666L,
|
||||
SessionTag::OTHER, &mSessionConfig, &mSession);
|
||||
ASSERT_TRUE(status.isOk());
|
||||
mSessionSupport = status.isOk();
|
||||
if (!mSessionSupport) {
|
||||
GTEST_SKIP() << "DEVICE not support Hint Session.";
|
||||
}
|
||||
ASSERT_NE(nullptr, mSession);
|
||||
|
||||
status = power->getSessionChannel(getpid(), getuid(), &mChannelConfig);
|
||||
|
||||
Reference in New Issue
Block a user