/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
MockBatteryStatsImpl.java | 36 public TimeBase getOnBatteryTimeBase() { 44 public TimeBase getOnBatteryBackgroundTimeBase(int uid) { 48 public TimeBase getOnBatteryScreenOffBackgroundTimeBase(int uid) {
|
BatteryStatsDualTimerTest.java | 33 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); 34 timeBase.init(clocks.uptimeMillis(), clocks.elapsedRealtime()); 35 final BatteryStatsImpl.TimeBase subTimeBase = new BatteryStatsImpl.TimeBase(); 39 null, BatteryStats.WAKE_TYPE_PARTIAL, null, timeBase, subTimeBase); 41 assertTrue(timeBase.hasObserver(timer)); 43 assertFalse(timeBase.hasObserver(timer.getSubTimer())); 50 assertTrue(timeBase.hasObserver(timer)) [all...] |
BatteryStatsTimerTest.java | 28 import com.android.internal.os.BatteryStatsImpl.TimeBase; 43 TestTimer(Clocks clocks, int type, TimeBase timeBase, Parcel in) { 44 super(clocks, type, timeBase, in); 47 TestTimer(Clocks clocks, int type, TimeBase timeBase) { 48 super(clocks, type, timeBase); 134 * Tests that the flow through TimeBase.setRunning propagates through 139 TimeBase timeBase = new TimeBase() [all...] |
BatteryStatsSamplingTimerTest.java | 32 Mockito.mock(BatteryStatsImpl.TimeBase.class)); 58 final BatteryStatsImpl.TimeBase timeBase = Mockito.mock(BatteryStatsImpl.TimeBase.class); 60 timeBase); 101 final BatteryStatsImpl.TimeBase timeBase = Mockito.mock(BatteryStatsImpl.TimeBase.class); 103 BatteryStatsImpl.SamplingTimer timer = new BatteryStatsImpl.SamplingTimer(clocks, timeBase); 112 timer = new BatteryStatsImpl.SamplingTimer(clocks, timeBase); [all...] |
BatteryStatsDurationTimerTest.java | 36 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); 37 timeBase.init(clocks.uptimeMillis(), clocks.elapsedRealtime()); 40 null, BatteryStats.WAKE_TYPE_PARTIAL, null, timeBase); 42 // TimeBase running, timer not running: current and max are 0 43 timeBase.setRunning(true, /* uptimeUs */ 0, /* realtimeUs */ 100*1000); 85 // Stop the TimeBase. The values should be frozen. 86 timeBase.setRunning(false, /* uptimeUs */ 10, /* realtimeUs */ 55000*1000); 92 // Start the TimeBase. The values should be the old value plus the delt [all...] |
BatteryStatsCounterTest.java | 32 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); 33 timeBase.init(clocks.uptimeMillis(), clocks.elapsedRealtime()); 35 final BatteryStatsImpl.Counter counter = new BatteryStatsImpl.Counter(timeBase); 37 // timeBase off (i.e. plugged in) 38 timeBase.setRunning(false, 1, 1); 48 // timeBase on (i.e. unplugged) 49 timeBase.setRunning(true, 2, 2); 58 // timeBase off (i.e. plugged in [all...] |
BatteryStatsStopwatchTimerTest.java | 28 // Primarily testing previous bug that incremented count when timeBase was off and bug that gave 33 final BatteryStatsImpl.TimeBase timeBase = new BatteryStatsImpl.TimeBase(); 34 timeBase.init(clocks.uptimeMillis(), clocks.elapsedRealtime()); 36 null, BatteryStats.SENSOR, null, timeBase); 39 // for timeBase off tests 40 timeBase.setRunning(false, 1000 * clocks.realtime, 1000 * clocks.realtime); 42 // timeBase off, start, stop 53 // timeBase off, start and immediately sto [all...] |
LongSamplingCounterArrayTest.java | 22 import static com.android.internal.os.BatteryStatsImpl.TimeBase; 68 @Mock private TimeBase mTimeBase;
|
/external/v8/src/base/platform/ |
time.h | 37 class TimeBase; 158 template<class TimeClass> friend class time_internal::TimeBase; 171 // TimeBase-------------------------------------------------------------------- 178 class TimeBase { 266 explicit TimeBase(int64_t us) : us_(us) {} 268 // Time value in a microsecond timebase. 281 class V8_BASE_EXPORT Time final : public time_internal::TimeBase<Time> { 284 Time() : TimeBase(0) {} 322 friend class time_internal::TimeBase<Time>; 323 explicit Time(int64_t us) : TimeBase(us) { [all...] |
/external/libchrome/base/time/ |
time.h | 92 // value are in terms of a microsecond timebase. 97 // return value are in terms of a microsecond timebase. 273 // Do not reference the time_internal::TimeBase template class directly. Please 275 // TimeBase members via those classes. 278 // TimeBase-------------------------------------------------------------------- 285 class TimeBase { 379 explicit TimeBase(int64_t us) : us_(us) {} 381 // Time value in a microsecond timebase. 396 class BASE_EXPORT Time : public time_internal::TimeBase<Time> { 437 Time() : TimeBase(0) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
pymactoolbox.h | 166 extern PyObject *TimeBaseObj_New(TimeBase);
167 extern int TimeBaseObj_Convert(PyObject *, TimeBase *);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
pymactoolbox.h | 166 extern PyObject *TimeBaseObj_New(TimeBase);
167 extern int TimeBaseObj_Convert(PyObject *, TimeBase *);
|
/prebuilts/gdb/darwin-x86/include/python2.7/ |
pymactoolbox.h | 166 extern PyObject *TimeBaseObj_New(TimeBase); 167 extern int TimeBaseObj_Convert(PyObject *, TimeBase *);
|
/prebuilts/gdb/linux-x86/include/python2.7/ |
pymactoolbox.h | 166 extern PyObject *TimeBaseObj_New(TimeBase); 167 extern int TimeBaseObj_Convert(PyObject *, TimeBase *);
|
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
pymactoolbox.h | 166 extern PyObject *TimeBaseObj_New(TimeBase); 167 extern int TimeBaseObj_Convert(PyObject *, TimeBase *);
|
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
pymactoolbox.h | 166 extern PyObject *TimeBaseObj_New(TimeBase); 167 extern int TimeBaseObj_Convert(PyObject *, TimeBase *);
|
/external/sonivox/jet_tools/JetCreator/ |
JetUtils.py | 35 from midifile import TimeBase, trackGrid
347 return TimeBase().ConvertStrTimeToTicks(mbt1)
353 return TimeBase().ConvertTicksToMBT(ticks)
357 return TimeBase().ConvertTicksToStr(ticks, '%02d:%02d:%02d')
361 return TimeBase().MbtDifference(mbt1, mbt2)
668 tb = TimeBase(ppqn, bpm)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
mactoolboxglue.c | 429 GLUE_NEW(TimeBase, TimeBaseObj_New, "Carbon.Qt")
430 GLUE_CONVERT(TimeBase, TimeBaseObj_Convert, "Carbon.Qt")
|
/prebuilts/devtools/tools/lib/ |
traceview.jar | |
/prebuilts/gradle-plugin/com/android/tools/traceview/24.4.0-beta6/ |
traceview-24.4.0-beta6.jar | |
/prebuilts/gradle-plugin/com/android/tools/traceview/24.5.0/ |
traceview-24.5.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/traceview/25.0.0-alpha1/ |
traceview-25.0.0-alpha1.jar | |
/prebuilts/gradle-plugin/com/android/tools/traceview/25.3.0/ |
traceview-25.3.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/traceview/25.3.0-alpha1/ |
traceview-25.3.0-alpha1.jar | |
/prebuilts/gradle-plugin/com/android/tools/traceview/25.3.0-beta1/ |
traceview-25.3.0-beta1.jar | |