Home
last modified time | relevance | path

Searched refs:StopWatch (Results 1 – 24 of 24) sorted by relevance

/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DStopWatchTest.java25 import com.android.rkpdapp.utils.StopWatch;
34 StopWatch stopWatch = new StopWatch("test"); in testIsRunning()
45 StopWatch stopWatch = new StopWatch("test"); in testDuration()
67 StopWatch stopWatch = new StopWatch("restarted"); in testIsRestartable()
83 StopWatch stopWatch = new StopWatch("test"); in testNoops()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/metrics/
DProvisioningAttempt.java28 import com.android.rkpdapp.utils.StopWatch;
72 private final StopWatch mServerWaitTimer = new StopWatch(TAG);
73 private final StopWatch mBinderWaitTimer = new StopWatch(TAG);
74 private final StopWatch mLockWaitTimer = new StopWatch(TAG);
75 private final StopWatch mTotalTimer = new StopWatch(TAG);
158 public StopWatch startServerWait() { in startServerWait()
167 public StopWatch startBinderWait() { in startBinderWait()
176 public StopWatch startLockWait() { in startLockWait()
DRkpdClientOperation.java20 import com.android.rkpdapp.utils.StopWatch;
57 private final StopWatch mTimer = new StopWatch(TAG);
/packages/apps/Contacts/src/com/android/contacts/util/
DStopWatch.java28 public class StopWatch { class
35 private StopWatch(String label) { in StopWatch() method in StopWatch
43 public static StopWatch start(String label) { in start()
44 return new StopWatch(label); in start()
89 public static StopWatch getNullStopWatch() { in getNullStopWatch()
93 private static class NullStopWatch extends StopWatch {
/packages/modules/Bluetooth/system/gd/common/
Dstop_watch.cc39 void StopWatch::RecordLog(StopWatchLog log) { in RecordLog()
59 void StopWatch::DumpStopWatchLog() { in DumpStopWatchLog()
93 StopWatch::StopWatch(std::string text) in StopWatch() function in bluetooth::common::StopWatch
98 StopWatch::~StopWatch() { in ~StopWatch()
Dstop_watch.h32 class StopWatch {
35 StopWatch(std::string text);
36 ~StopWatch();
/packages/apps/Dialer/java/com/android/contacts/common/util/
DStopWatch.java23 public class StopWatch { class
30 private StopWatch(String label) { in StopWatch() method in StopWatch
36 public static StopWatch start(String label) { in start()
37 return new StopWatch(label); in start()
/packages/modules/Bluetooth/system/gd/hal/
Dhci_hal_android.cc77 common::StopWatch stop_watch(__func__); in initializationComplete()
82 common::StopWatch stop_watch(GetTimerText(__func__, packet)); in hciEventReceived()
93 common::StopWatch stop_watch(GetTimerText(__func__, packet)); in aclDataReceived()
103 common::StopWatch stop_watch(GetTimerText(__func__, packet)); in scoDataReceived()
113 common::StopWatch stop_watch(GetTimerText(__func__, packet)); in isoDataReceived()
171 common::StopWatch stop_watch(__func__); in Start()
Dhci_backend_aidl.cc73 common::StopWatch::DumpStopWatchLog(); in AidlHci()
Dhci_backend_hidl.cc84 common::StopWatch::DumpStopWatchLog(); in serviceDied()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/utils/
DStopWatch.java26 public class StopWatch implements AutoCloseable { class
31 public StopWatch(String tag) { in StopWatch() method in StopWatch
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/interfaces/
DSystemInterface.java33 import com.android.rkpdapp.utils.StopWatch;
85 try (StopWatch ignored = metrics.startBinderWait()) { in generateKey()
119 try (StopWatch ignored = metrics.startBinderWait()) { in generateCsr()
DServerInterface.java36 import com.android.rkpdapp.utils.StopWatch;
415 try (StopWatch retryTimer = new StopWatch(TAG)) { in connectAndGetData()
468 try (StopWatch serverWaitTimer = metrics.startServerWait()) { in requestData()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/profiling/
DStopWatch.java20 public interface StopWatch { interface
DFakeStopWatch.java20 public class FakeStopWatch implements StopWatch {
DProfiler.java40 public StopWatch start(String name) { in start()
DLogcatStopWatch.java22 public class LogcatStopWatch implements StopWatch {
DStatsdStopWatch.java26 public class StatsdStopWatch implements StopWatch {
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/js/
DJSScriptEngine.java37 import com.android.adservices.service.profiling.StopWatch;
102 private StopWatch mSandboxInitStopWatch;
550 StopWatch jsExecutionStopWatch =
703 StopWatch isolateStopWatch =
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/js/
DJavaScriptSandboxProviderTest.java37 import com.android.adservices.service.profiling.StopWatch;
63 @Mock private StopWatch mSandboxInitWatch;
DJSScriptEngineTest.java65 import com.android.adservices.service.profiling.StopWatch;
125 private static final StopWatch sSandboxInitWatch = mock(StopWatch.class);
134 @Mock private StopWatch mIsolateCreateWatch;
135 @Mock private StopWatch mJavaExecutionWatch;
/packages/apps/Dialer/java/com/android/dialer/database/
DDialerDatabaseHelper.java38 import com.android.contacts.common.util.StopWatch;
678 final StopWatch stopWatch = DEBUG ? StopWatch.start("Updating databases") : null; in updateSmartDialDatabase()
904 final StopWatch stopWatch = DEBUG ? StopWatch.start(":Name Prefix query") : null; in getLooseMatches()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDialpadFragment.java81 import com.android.contacts.common.util.StopWatch;
778 final StopWatch stopWatch = StopWatch.start("Dialpad.onResume"); in onResume()
/packages/modules/Bluetooth/system/gd/hci/
Dhci_layer.cc201 common::StopWatch::DumpStopWatchLog(); in handle_command_response()
269 common::StopWatch::DumpStopWatchLog(); in on_hci_timeout()