/cts/tests/AlarmManager/src/android/alarmmanager/cts/ |
D | BackgroundRestrictedAlarmsTest.java | 96 private void scheduleAlarm(int type, long triggerMillis, long interval) { in scheduleAlarm() argument 101 setAlarmIntent.putExtra(TestAlarmScheduler.EXTRA_REPEAT_INTERVAL, interval); in scheduleAlarm() 114 private static int getMinExpectedExpirations(long now, long start, long interval) { in getMinExpectedExpirations() argument 118 return 1 + (int)((now - start - 1000)/interval); in getMinExpectedExpirations() 123 final long interval = MIN_REPEATING_INTERVAL; in testRepeatingAlarmBlocked() local 124 final long triggerElapsed = SystemClock.elapsedRealtime() + interval; in testRepeatingAlarmBlocked() 125 scheduleAlarm(AlarmManager.ELAPSED_REALTIME_WAKEUP, triggerElapsed, interval); in testRepeatingAlarmBlocked() 127 Thread.sleep(2 * interval); in testRepeatingAlarmBlocked() 129 Thread.sleep(interval); in testRepeatingAlarmBlocked() 134 triggerElapsed, interval); in testRepeatingAlarmBlocked()
|
D | AppStandbyTests.java | 177 private void scheduleAlarm(long triggerMillis, boolean allowWhileIdle, long interval) { in scheduleAlarm() argument 182 setAlarmIntent.putExtra(TestAlarmScheduler.EXTRA_REPEAT_INTERVAL, interval); in scheduleAlarm()
|
/cts/tests/AlarmManager/app/src/android/alarmmanager/alarmtestapp/cts/ |
D | TestAlarmScheduler.java | 69 final long interval = intent.getLongExtra(EXTRA_REPEAT_INTERVAL, 0); in onReceive() local 73 + ", interval=" + interval + ", allowWhileIdle=" + allowWhileIdle); in onReceive() 74 if (interval > 0) { in onReceive() 75 am.setRepeating(type, triggerTime, interval, alarmSender); in onReceive()
|
/cts/tests/tests/batterysaving/apps/app_target_api_current/src/android/os/cts/batterysaving/app/ |
D | CommReceiver.java | 97 final long interval = req.getRepeatInterval(); in handleBatterySaverBgServiceRequest() local 104 + ", interval=" + interval + ", allowWhileIdle=" + allowWhileIdle); in handleBatterySaverBgServiceRequest() 105 if (interval > 0) { in handleBatterySaverBgServiceRequest() 106 am.setRepeating(type, triggerTime, interval, alarmSender); in handleBatterySaverBgServiceRequest()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleConnectionPriorityClientService.java | 257 public void onConnectionUpdated(BluetoothGatt gatt, int interval, int latency, int timeout, 267 Log.i(TAG, "onConnectionUpdated() status=" + status + ", interval=" + interval); 269 interval_low = interval; 272 interval_balanced = interval; 275 interval_high = interval;
|
D | BleConnectionPriorityServerService.java | 196 …public void onConnectionUpdated(BluetoothDevice device, int interval, int latency, int timeout, in… 197 Log.i(TAG, "onConnectionUpdated() status=" + status + ", interval=" + interval); 211 interval_high = interval;
|
/cts/hostsidetests/net/src/com/android/cts/net/ |
D | ProcNetTest.java | 162 int interval = readIntFromPath(path); in testRouterSolicitations() local 165 assertTrue(lowerBoundSec <= interval); in testRouterSolicitations() 166 assertTrue(interval <= upperBoundSec); in testRouterSolicitations()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | UsageStatsTest.java | 747 int interval) { in verifyCount() argument 752 + " @ interval " + interval); in verifyCount() 758 + " @ interval " + interval); in verifyCount() 764 int interval) { in verifyDuration() argument 769 + " @ interval " + interval); in verifyDuration() 775 + " @ interval " + interval); in verifyDuration() 781 boolean countLarger, boolean durationLarger, int interval) { in verifyAggrEventData() argument 782 verifyCount(older.count, newer.count, countLarger, older.label, interval); in verifyAggrEventData() 783 verifyDuration(older.duration, newer.duration, durationLarger, older.label, interval); in verifyAggrEventData() 796 final int interval = older.keyAt(i); in verifyAggrInteractiveEventData() local [all …]
|
/cts/tests/tests/net/src/android/net/cts/ |
D | NetworkAgentTest.kt | 201 val interval: Int, in willExpectDisconnectOnce() constant in CallbackEntry.OnStartSocketKeepalive 231 interval: Duration, in willExpectDisconnectOnce() 234 history.add(OnStartSocketKeepalive(slot, interval.seconds.toInt(), packet)) in willExpectDisconnectOnce() 423 val interval = 37 in agent() constant 428 arg1 = slot, arg2 = interval, obj = packet) in agent() 436 assertEquals(it.interval, interval) in agent()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | MessengerTest.java | 214 public void doTest(long timeout, long interval) throws InterruptedException { in doTest() argument 222 wait(interval); in doTest()
|
D | MessageQueueTest.java | 860 public void doTest(long timeout, long interval) throws InterruptedException { in doTest() argument 867 wait(interval); in doTest()
|
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/ui/ |
D | MainFragment.java | 218 private void startAutoScrollTimer(int initialDelay, int interval, int count) { 224 mAutoScrollTimer.schedule(new UpdateAutoScrollTask(), initialDelay, interval);
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | WindowInsetsBehaviorTests.java | 395 final float interval = mDensityPerCm; in clickAllOfHorizontalSamplePoints() local 398 for (int i = theLeftestLine; i < theRightestLine; i += interval) { in clickAllOfHorizontalSamplePoints() 418 final float interval = mDensityPerCm; in clickAllOfSamplePoints() local 420 for (int i = theToppestLine; i < theBottomestLine; i += interval) { in clickAllOfSamplePoints()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | SurfaceViewPreviewTest.java | 682 long interval = timestamp - prevTimestamp; in measureMeanFrameInterval() local 683 if (interval > maxInterval) maxInterval = interval; in measureMeanFrameInterval() 684 summedIntervals += interval; in measureMeanFrameInterval()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/ |
D | TestSensorOperation.java | 408 for (int interval: flushIntervalMs) { in createFlushOperation() 409 SensorCtsHelper.sleep(interval, TimeUnit.MILLISECONDS); in createFlushOperation()
|
/cts/tests/tests/location/protos/ |
D | ephemeris.proto | 90 // FIT interval.
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 2256 double interval = arrivalTime - lastArrivalTime; local 2257 if (VERBOSE) Log.v(TAG, "Frame interval=" + interval); 2260 if (interval > mMaxFrameInterval * (1.0 + intervalMargin) || 2261 interval < mMinFrameInterval * (1.0 - intervalMargin)) { 2262 Log.i(TAG, "Bad frame interval=" + interval + "ms. Out out range " +
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | layered_filter_fast_f32.rscript | 15 // value interval that has no blur.
|
D | layered_filter_fast_d1new.rscript | 15 // value interval that has no blur.
|