Merge "Replace use of deprecated logging functions" into main
This commit is contained in:
commit
5b9f6b70d2
4 changed files with 4 additions and 4 deletions
|
@ -69,7 +69,7 @@ fn test_concurrent_check_access() {
|
|||
android_logger::init_once(
|
||||
android_logger::Config::default()
|
||||
.with_tag("keystore2_selinux_concurrency_test")
|
||||
.with_min_level(log::Level::Debug),
|
||||
.with_max_level(log::LevelFilter::Debug),
|
||||
);
|
||||
|
||||
let cpus = num_cpus::get();
|
||||
|
|
|
@ -720,7 +720,7 @@ mod tests {
|
|||
android_logger::init_once(
|
||||
android_logger::Config::default()
|
||||
.with_tag("keystore_selinux_tests")
|
||||
.with_min_level(log::Level::Debug),
|
||||
.with_max_level(log::LevelFilter::Debug),
|
||||
);
|
||||
let scontext = Context::new("u:r:shell:s0")?;
|
||||
let backend = KeystoreKeyBackend::new()?;
|
||||
|
|
|
@ -352,7 +352,7 @@ pub mod tests {
|
|||
android_logger::init_once(
|
||||
android_logger::Config::default()
|
||||
.with_tag("keystore_error_tests")
|
||||
.with_min_level(log::Level::Debug),
|
||||
.with_max_level(log::LevelFilter::Debug),
|
||||
);
|
||||
// All Error::Rc(x) get mapped on a service specific error
|
||||
// code of x.
|
||||
|
|
|
@ -335,7 +335,7 @@ mod tests {
|
|||
android_logger::init_once(
|
||||
android_logger::Config::default()
|
||||
.with_tag("keystore2_watchdog_tests")
|
||||
.with_min_level(log::Level::Debug),
|
||||
.with_max_level(log::LevelFilter::Debug),
|
||||
);
|
||||
|
||||
let wd = Watchdog::new(Watchdog::NOISY_REPORT_TIMEOUT.checked_mul(3).unwrap());
|
||||
|
|
Loading…
Reference in a new issue