Skip to content
Snippets Groups Projects
Commit b4e28a45 authored by Aditya Gupta's avatar Aditya Gupta
Browse files

Using FledgeLogger instead of LogUtil

Test: atest
Change-Id: I99a68121be4088e0d4bfbf1feae0fd6b9add88ee
parent 8c076ed4
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,7 @@ import androidx.test.core.app.ApplicationProvider;
import androidx.test.filters.MediumTest;
import androidx.test.runner.AndroidJUnit4;
import com.android.adservices.LoggerFactory;
import com.android.adservices.data.adselection.CustomAudienceSignals;
import com.android.adservices.service.adselection.AdCounterKeyCopier;
import com.android.adservices.service.adselection.AdCounterKeyCopierNoOpImpl;
......@@ -101,9 +102,10 @@ public class JSScriptEnginePerfTests {
private static final Context sContext = ApplicationProvider.getApplicationContext();
private static final ExecutorService sExecutorService = Executors.newFixedThreadPool(10);
private static final LoggerFactory.Logger sLogger = LoggerFactory.getFledgeLogger();
private static final JSScriptEngine sJSScriptEngine =
JSScriptEngine.getInstanceForTesting(
sContext, Profiler.createInstance(JSScriptEngine.TAG));
sContext, Profiler.createInstance(JSScriptEngine.TAG), sLogger);
private static final Clock CLOCK = Clock.fixed(Instant.now(), ZoneOffset.UTC);
private static final Instant ACTIVATION_TIME = CLOCK.instant();
private static final Instant EXPIRATION_TIME = CLOCK.instant().plus(Duration.ofDays(1));
......
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