/external/setupcompat/main/java/com/google/android/setupcompat/logging/ |
SetupMetricsLogger.java | 52 * Logs the {@link Timer}'s duration by calling {@link #logDuration(Context, MetricKey, long)}. 54 public static void logDuration(@NonNull Context context, @NonNull Timer timer) { 56 Preconditions.checkNotNull(timer, "Timer cannot be null."); 58 timer.isStopped(), "Timer should be stopped before calling logDuration."); 60 context, timer.getMetricKey(), TimeUnit.NANOSECONDS.toMillis(timer.getDurationInNanos())); 67 Preconditions.checkNotNull(timerName, "Timer name cannot be null.") [all...] |
/external/tensorflow/tensorflow/stream_executor/gpu/ |
gpu_executor.h | 164 bool AllocateTimer(Timer* timer) override; 166 void DeallocateTimer(Timer* timer) override; 168 bool StartTimer(Stream* stream, Timer* timer) override; 170 bool StopTimer(Stream* stream, Timer* timer) override;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/ |
RequesterTestActivity.java | 19 import java.util.Timer; 85 * Timer object. It's used for searching devices. 87 private Timer mTimer; 243 mTimer = new Timer(true);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/ |
RobustnessPath.java | 28 import java.util.Timer; 55 * Constructor which starts the timer which changes the targetRotation. 81 * Starts a timer which changes the target rotation at specified intervals. 84 Timer timer = new Timer(); local 85 timer.scheduleAtFixedRate(new TimerTask() {
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
ContentTest.java | 37 import java.util.Timer; 216 Timer timer = new Timer(); local 217 timer.schedule(new TimerTask() {
|
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/ui/ |
MainFragment.java | 43 import java.util.Timer; 88 private Timer mAutoScrollTimer; 223 mAutoScrollTimer = new Timer();
|
/developers/build/prebuilts/gradle/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/ |
MainActivity.java | 35 import java.util.Timer; 79 private Timer mTimer; 204 * Starts a timer to clear the flag FLAG_KEEP_SCREEN_ON. 220 mTimer = new Timer();
|
/development/samples/browseable/JumpingJack/src/com.example.android.wearable.jumpingjack/ |
MainActivity.java | 35 import java.util.Timer; 79 private Timer mTimer; 204 * Starts a timer to clear the flag FLAG_KEEP_SCREEN_ON. 220 mTimer = new Timer();
|
/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/ |
DnsDriver.c | 210 if (DnsSb->Timer != NULL){
211 gBS->CloseEvent (DnsSb->Timer);
274 DnsSb->Timer = NULL;
279 // Create the timer used to time out the procedure which is used to
297 // Create the timer to retransmit packets.
304 &DnsSb->Timer
326 gBS->CloseEvent (DnsSb->Timer);
375 if (mDriverData->Timer != NULL) {
376 gBS->CloseEvent (mDriverData->Timer);
483 // Create the timer event to update DNS cache list. [all...] |
DnsDhcp.c | 622 EFI_EVENT Timer;
629 Timer = NULL;
700 Status = gBS->CreateEvent (EVT_TIMER, TPL_CALLBACK, NULL, NULL, &Timer);
706 Timer,
716 TimerStatus = gBS->CheckEvent (Timer);
741 if (Timer != NULL) {
742 gBS->CloseEvent (Timer);
|
/external/autotest/frontend/client/src/autotest/common/ui/ |
CustomTabPanel.java | 14 import com.google.gwt.user.client.Timer; 43 private Timer autorefreshTimer; 127 autorefreshTimer = new Timer() {
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
NormalizedIdentifierParser.java | 6 import org.unicode.cldr.util.Timer; 198 Timer timer = new Timer(); 199 timer.start(); 203 timer.stop(); 204 final long lowercaseDuration = timer.getDuration(); 208 timer.start(); 212 timer.stop(); 213 final long nfcDuration = timer.getDuration() [all...] |
/external/cldr/tools/java/org/unicode/cldr/test/ |
CoverageLevel2.java | 21 import org.unicode.cldr.util.Timer; 188 Timer timer = new Timer(); local 189 timer.start(); 193 long oldTime = timer.getDuration(); 194 System.out.println(timer.toString(1)); 196 timer.start(); 200 System.out.println(timer.toString(1, oldTime));
|
/external/llvm/utils/yaml-bench/ |
YAMLBench.cpp | 21 #include "llvm/Support/Timer.h" 149 llvm::Timer BaseLine((Name + ": Loop").str(), Group); 158 llvm::Timer Tokenizing((Name + ": Tokenizing").str(), Group); 165 llvm::Timer Parsing((Name + ": Parsing").str(), Group);
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ |
ScriptProcessMonitor.java | 45 import java.util.Timer; 58 private final Timer mTimer = new Timer();
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/yaml-bench/ |
YAMLBench.cpp | 21 #include "llvm/Support/Timer.h" 148 llvm::Timer BaseLine((Name + ".loop").str(), (Description + ": Loop").str(), 158 llvm::Timer Tokenizing((Name + ".tokenizing").str(), 166 llvm::Timer Parsing((Name + ".parsing").str(),
|
/device/linaro/bootloader/edk2/NetworkPkg/Mtftp6Dxe/ |
Mtftp6Driver.c | 57 if (Service->Timer != NULL) {
58 gBS->CloseEvent (Service->Timer);
112 // Create a internal timer for all instances.
119 &Mtftp6Srv->Timer
140 gBS->CloseEvent (Mtftp6Srv->Timer);
407 // Start the internal timer to track the packet retransmission.
410 Service->Timer,
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/ |
Ip4Driver.c | 247 IpSb->Timer = NULL;
256 // Create various resources. First create the route table, timer
272 &IpSb->Timer
398 if (IpSb->Timer != NULL) {
399 gBS->SetTimer (IpSb->Timer, TimerCancel, 0);
400 gBS->CloseEvent (IpSb->Timer);
402 IpSb->Timer = NULL;
609 // Ready to go: start the receiving and timer.
619 Status = gBS->SetTimer (IpSb->Timer, TimerPeriodic, TICKS_PER_SECOND);
|
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/ |
Ip6Driver.c | 154 if (IpSb->Timer != NULL) {
155 gBS->SetTimer (IpSb->Timer, TimerCancel, 0);
156 gBS->CloseEvent (IpSb->Timer);
158 IpSb->Timer = NULL;
358 IpSb->Timer = NULL;
366 // Create various resources. First create the route table, timer
381 &IpSb->Timer
606 // ready to go: start the receiving and timer
614 // The timer expires every 100 (IP6_TIMER_INTERVAL_IN_MS) milliseconds.
626 // The timer expires every 1000 (IP6_ONE_SECOND_IN_MS) milliseconds. [all...] |
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/ |
MpService.c | 208 UINT64 Timer;
227 for (Timer = StartSyncTimer ();
228 !IsSyncTimerTimeout (Timer) &&
263 for (Timer = StartSyncTimer ();
264 !IsSyncTimerTimeout (Timer) &&
548 UINT64 Timer;
555 for (Timer = StartSyncTimer ();
556 !IsSyncTimerTimeout (Timer) &&
581 for (Timer = StartSyncTimer ();
582 !IsSyncTimerTimeout (Timer) && [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/Dhcp6Dxe/ |
Dhcp6Impl.c | 607 EFI_EVENT Timer;
655 Status = gBS->CreateEvent (EVT_TIMER, TPL_CALLBACK, NULL, NULL, &Timer);
661 // Start the timer, wait for link local address DAD to finish.
663 Status = gBS->SetTimer (Timer, TimerRelative, GetMappingTimeOut);
665 gBS->CloseEvent (Timer);
670 TimerStatus = gBS->CheckEvent (Timer);
686 gBS->CloseEvent (Timer);
718 the state transfers to Dhcp6Bound and the valid and preferred timer restarts.
719 If fails, the state transfers to Dhcp6Bound, but the timer continues.
722 to Dhcp6Bound and the valid and preferred timer restarts. If it fails, the state [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
TrieMapTest.java | 30 import android.icu.dev.util.Timer; 52 private static Timer t = new Timer(); 64 t.setTimingPeriod(1*Timer.SECONDS); 68 t.setTimingPeriod(seconds*Timer.SECONDS); 480 static abstract class MyLoop extends Timer.Loop {
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
TrieMapTest.java | 29 import com.ibm.icu.dev.util.Timer; 49 private static Timer t = new Timer(); 61 t.setTimingPeriod(1*Timer.SECONDS); 65 t.setTimingPeriod(seconds*Timer.SECONDS); 477 static abstract class MyLoop extends Timer.Loop {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BleConnectionPriorityClientService.java | 46 import java.util.Timer;
107 private Timer mConnectionTimer;
220 // Create Timer for Periodic transmission
275 mConnectionTimer = new Timer();
|
BleConnectionPriorityServerService.java | 41 import java.util.Timer;
95 private Timer mTimeoutTimer;
308 // start timeout timer
309 mTimeoutTimer = new Timer(getClass().getName() + "_TimeoutTimer");
|