HomeSort by relevance Sort by last modified time
    Searched refs:Timer (Results 101 - 125 of 578) sorted by null

1 2 3 45 6 7 8 91011>>

  /frameworks/base/core/java/com/android/internal/os/
CameraPowerCalculator.java 38 final BatteryStats.Timer timer = u.getCameraTurnedOnTimer(); local
39 if (timer != null) {
40 final long totalTime = timer.getTotalTimeLocked(rawRealtimeUs, statsType) / 1000;
FlashlightPowerCalculator.java 36 final BatteryStats.Timer timer = u.getFlashlightTurnedOnTimer(); local
37 if (timer != null) {
38 final long totalTime = timer.getTotalTimeLocked(rawRealtimeUs, statsType) / 1000;
MediaPowerCalculator.java 40 final BatteryStats.Timer audioTimer = u.getAudioTurnedOnTimer();
51 final BatteryStats.Timer videoTimer = u.getVideoTurnedOnTimer();
  /external/autotest/client/cros/faft/utils/
firmware_check_keys.py 8 from threading import Timer
46 Timer(0, self._keyboard_input).start()
  /external/jmdns/src/javax/jmdns/impl/tasks/resolver/
DNSResolverTask.java 5 import java.util.Timer;
45 * @see javax.jmdns.impl.tasks.DNSTask#start(java.util.Timer)
48 public void start(Timer timer) {
50 timer.schedule(this, DNSConstants.QUERY_WAIT_INTERVAL, DNSConstants.QUERY_WAIT_INTERVAL);
  /external/mockito/src/main/java/org/mockito/verification/
Timeout.java 9 import org.mockito.internal.util.Timer;
42 Timeout(long pollingPeriodMillis, VerificationMode delegate, Timer timer) {
43 this(new VerificationOverTimeImpl(pollingPeriodMillis, delegate, true, timer));
  /external/v8/tools/foozzie/
v8_commands.py 10 from threading import Event, Timer
54 timer = Timer(timeout, kill_process)
55 timer.start()
57 timer.cancel()
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
threadpoollegacyapiset.h 19 WINBASEAPI WINBOOL WINAPI DeleteTimerQueueTimer (HANDLE TimerQueue, HANDLE Timer, HANDLE CompletionEvent);
26 WINBASEAPI WINBOOL WINAPI ChangeTimerQueueTimer (HANDLE TimerQueue, HANDLE Timer, ULONG DueTime, ULONG Period);
  /external/pdfium/xfa/fwl/
cfwl_scrollbar.h 57 class Timer : public CFWL_Timer {
59 explicit Timer(CFWL_ScrollBar* pToolTip);
60 ~Timer() override {}
64 friend class CFWL_ScrollBar::Timer;
136 CFWL_ScrollBar::Timer m_Timer;
  /packages/apps/DeskClock/src/com/android/deskclock/data/
DataModel.java 33 import com.android.deskclock.timer.TimerService;
173 /** The model from which timer data are fetched. */
430 public List<Timer> getTimers() {
438 public List<Timer> getExpiredTimers() {
444 * @param timerId identifies the timer to return
445 * @return the timer with the given {@code timerId}
447 public Timer getTimer(int timerId) {
453 * @return the timer that last expired and is still expired now; {@code null} if no timers are
456 public Timer getMostRecentExpiredTimer() {
462 * @param length the length of the timer in millisecond
    [all...]
  /packages/apps/DocumentsUI/src/com/android/documentsui/
ItemDragListener.java 29 import java.util.Timer;
46 private final Timer mHoverTimer;
50 this(dragHost, new Timer(), DEFAULT_SPRING_TIMEOUT);
54 this(dragHost, new Timer(), springTimeout);
58 protected ItemDragListener(H dragHost, Timer timer, int springTimeout) {
60 mHoverTimer = timer;
  /external/python/cpython3/Lib/test/
test_timeit.py 40 def wrap_timer(self, timer):
41 """Records 'timer' and returns self as callable timer."""
42 self.saved_timer = timer
74 self.assertRaises(ValueError, timeit.Timer, stmt=None)
75 self.assertRaises(SyntaxError, timeit.Timer, stmt='return')
76 self.assertRaises(SyntaxError, timeit.Timer, stmt='yield')
77 self.assertRaises(SyntaxError, timeit.Timer, stmt='yield from ()')
78 self.assertRaises(SyntaxError, timeit.Timer, stmt='break')
79 self.assertRaises(SyntaxError, timeit.Timer, stmt='continue'
    [all...]
  /external/python/cpython2/Lib/test/
test_timeit.py 41 def wrap_timer(self, timer):
42 """Records 'timer' and returns self as callable timer."""
43 self.saved_timer = timer
75 self.assertRaises(ValueError, timeit.Timer, stmt=None)
76 self.assertRaises(SyntaxError, timeit.Timer, stmt='return')
77 self.assertRaises(SyntaxError, timeit.Timer, stmt='yield')
78 self.assertRaises(SyntaxError, timeit.Timer, stmt='break')
79 self.assertRaises(SyntaxError, timeit.Timer, stmt='continue')
82 self.assertRaises(ValueError, timeit.Timer, setup=None
    [all...]
  /external/swiftshader/third_party/llvm-subzero/lib/Support/
Timer.cpp 1 //===-- Timer.cpp - Interval Timing Support -------------------------------===//
14 #include "llvm/Support/Timer.h"
49 cl::desc("File to append -stats and -timer output to"),
94 // Timer Implementation
97 void Timer::init(StringRef Name, StringRef Description) {
101 void Timer::init(StringRef Name, StringRef Description, TimerGroup &tg) {
102 assert(!TG && "Timer already initialized");
110 Timer::~Timer() {
140 void Timer::startTimer()
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/
Tcp4Proto.h 74 #define TCP_CTRL_NO_KEEPALIVE 0x0002 ///< Disable keepalive timer
85 #define TCP_CTRL_TIMER_ON 0x1000 ///< At least one of the timer is on
90 // Timer related values
92 #define TCP_TIMER_CONNECT 0 ///< Connection establishment timer
93 #define TCP_TIMER_REXMIT 1 ///< Retransmit timer
94 #define TCP_TIMER_PROBE 2 ///< Window probe timer
95 #define TCP_TIMER_KEEPALIVE 3 ///< Keepalive timer
96 #define TCP_TIMER_FINWAIT2 4 ///< FIN_WAIT_2 timer
98 #define TCP_TIMER_NUMBER 6 ///< The total number of TCP timer.
204 UINT16 EnabledTimer; ///< Which timer is currently enabled
    [all...]
  /device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/
TcpProto.h 67 #define TCP_CTRL_NO_KEEPALIVE 0x0002 ///< Disable keepalive timer.
78 #define TCP_CTRL_TIMER_ON 0x1000 ///< At least one of the timer is on.
83 // Timer related values
85 #define TCP_TIMER_CONNECT 0 ///< Connection establishment timer.
86 #define TCP_TIMER_REXMIT 1 ///< Retransmit timer.
87 #define TCP_TIMER_PROBE 2 ///< Window probe timer.
88 #define TCP_TIMER_KEEPALIVE 3 ///< Keepalive timer.
89 #define TCP_TIMER_FINWAIT2 4 ///< FIN_WAIT_2 timer.
90 #define TCP_TIMER_2MSL 5 ///< TIME_WAIT timer.
91 #define TCP_TIMER_NUMBER 6 ///< The total number of the TCP timer.
    [all...]
TcpTimer.c 2 TCP timer related functions.
32 Timeout handler for TCP retransmission timer.
43 Timeout handler for window probe timer.
54 Timeout handler for keepalive timer.
65 Timeout handler for FIN_WAIT_2 timer.
76 Timeout handler for 2MSL timer.
158 "TcpConnectTimeout: connection closed because conenction timer timeout for TCB %p\n",
169 "TcpConnectTimeout: send reset because connection timer timeout for TCB %p\n",
183 Timeout handler for TCP retransmission timer.
239 Timeout handler for window probe timer.
    [all...]
  /device/linaro/bootloader/edk2/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/
DriverBinding.c 156 (VOID **)&pNicDevice->Timer );
159 "0x%08x: Allocated timer\r\n",
160 pNicDevice->Timer ));
169 // Start the timer
171 Status = gBS->SetTimer ( pNicDevice->Timer,
203 "ERROR - Failed to start the timer, Status: %r\r\n",
209 "ERROR - Failed to create timer event, Status: %r\r\n",
296 // Stop the timer
298 if ( NULL != pNicDevice->Timer ) {
299 gBS->SetTimer ( pNicDevice->Timer, TimerCancel, 0 );
    [all...]
  /external/autotest/frontend/client/src/autotest/common/
PaddedJsonRpcProxy.java 8 import com.google.gwt.user.client.Timer;
36 private Timer timeoutTimer;
48 timeoutTimer = new Timer() {
84 * See the implementation of com.google.gwt.user.client.Timer.fire(), from which this
  /external/skia/tools/viewer/
Viewer.h 112 StatsLayer::Timer fPaintTimer;
113 StatsLayer::Timer fFlushTimer;
114 StatsLayer::Timer fAnimateTimer;
  /external/skqp/tools/viewer/
Viewer.h 72 StatsLayer::Timer fPaintTimer;
73 StatsLayer::Timer fFlushTimer;
74 StatsLayer::Timer fAnimateTimer;
  /frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/
RSoVTestCore.java 26 import java.util.Timer;
47 /* Periodic timer for ensuring future tests get scheduled */
48 private Timer mTimer;
91 mTimer = new Timer();
  /frameworks/rs/tests/lldb/java/InfiniteLoop/src/com/android/rs/infiniteloop/
MainActivity.java 27 import java.util.Timer;
77 Timer t = new Timer();
  /packages/services/Car/tests/obd2_app/src/com/google/android/car/obd2app/
MainActivity.java 31 import java.util.Timer;
40 private final Timer mTimer = new Timer("com.google.android.car.obd2app.collection");
  /tools/tradefederation/core/src/com/android/tradefed/device/metric/
ScheduledDeviceMetricCollector.java 32 import java.util.Timer;
53 private Timer timer; field in class:ScheduledDeviceMetricCollector
59 timer = new Timer();
69 timer.cancel();
78 timer.scheduleAtFixedRate(timerTask, 0, mIntervalMs);
80 timer.schedule(timerTask, 0, mIntervalMs);
87 if (timer != null) {
88 timer.cancel()
    [all...]

Completed in 1546 milliseconds

1 2 3 45 6 7 8 91011>>