Remove IFace#reset
Bug: 181247174 Test: m android.hardware.biometrics.face-update-api Test: atest VtsHalBiometricsFaceTargetTest Change-Id: I0569bc52d4c8bc247425cb6784dd1400106077cf
This commit is contained in:
parent
6fce94de87
commit
a44f5e998e
4 changed files with 0 additions and 17 deletions
|
@ -36,5 +36,4 @@ package android.hardware.biometrics.face;
|
|||
interface IFace {
|
||||
android.hardware.biometrics.face.SensorProps[] getSensorProps();
|
||||
android.hardware.biometrics.face.ISession createSession(in int sensorId, in int userId, in android.hardware.biometrics.face.ISessionCallback cb);
|
||||
void reset();
|
||||
}
|
||||
|
|
|
@ -50,14 +50,4 @@ interface IFace {
|
|||
* @return A new session.
|
||||
*/
|
||||
ISession createSession(in int sensorId, in int userId, in ISessionCallback cb);
|
||||
|
||||
/**
|
||||
* Resets the HAL into a clean state, forcing it to cancel all of the pending operations, close
|
||||
* its current session, and release all of the acquired resources.
|
||||
*
|
||||
* This should be used as a last resort to recover the HAL if the current session becomes
|
||||
* unresponsive. The implementation might choose to restart the HAL process to get back into a
|
||||
* good state.
|
||||
*/
|
||||
void reset();
|
||||
}
|
||||
|
|
|
@ -63,8 +63,4 @@ ndk::ScopedAStatus Face::createSession(int32_t /*sensorId*/, int32_t /*userId*/,
|
|||
return ndk::ScopedAStatus::ok();
|
||||
}
|
||||
|
||||
ndk::ScopedAStatus Face::reset() {
|
||||
return ndk::ScopedAStatus::ok();
|
||||
}
|
||||
|
||||
} // namespace aidl::android::hardware::biometrics::face
|
||||
|
|
|
@ -27,8 +27,6 @@ class Face : public BnFace {
|
|||
ndk::ScopedAStatus createSession(int32_t sensorId, int32_t userId,
|
||||
const std::shared_ptr<ISessionCallback>& cb,
|
||||
std::shared_ptr<ISession>* _aidl_return) override;
|
||||
|
||||
ndk::ScopedAStatus reset() override;
|
||||
};
|
||||
|
||||
} // namespace aidl::android::hardware::biometrics::face
|
||||
|
|
Loading…
Reference in a new issue