Skip to content
Snippets Groups Projects
Commit bf67e967 authored by Wenhui Yang's avatar Wenhui Yang
Browse files

Add logs to help debug biometric CTS

Add logs to help CTS investigatin (e.g.
BiometricsAtomsTests#testAuthenticateAtom)

Bug: 306860523
Test: atest BiometricsAtomsTests#testAuthenticateAtom
Change-Id: I04f8797bb86b6e21f996e95df32ec152afb39ed9
parent e4fa10ba
No related branches found
No related tags found
No related merge requests found
......@@ -92,6 +92,7 @@ public class BiometricTestSession implements AutoCloseable {
mTestedUsers = new ArraySet<>();
mUsersCleaningUp = new ArraySet<>();
setTestHalEnabled(true);
Log.d(getTag(), "Opening BiometricTestSession");
}
/**
......
......@@ -259,6 +259,7 @@ public class Sensor {
}
@VisibleForTesting @Nullable protected AidlSession getSessionForUser(int userId) {
Slog.d(TAG, "getSessionForUser: mCurrentSession: " + mCurrentSession);
if (mCurrentSession != null && mCurrentSession.getUserId() == userId) {
return mCurrentSession;
} else {
......
......@@ -295,6 +295,7 @@ public class Sensor {
}
@Nullable protected AidlSession getSessionForUser(int userId) {
Slog.d(TAG, "getSessionForUser: mCurrentSession: " + mCurrentSession);
if (mCurrentSession != null && mCurrentSession.getUserId() == userId) {
return mCurrentSession;
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment