Home
last modified time | relevance | path

Searched refs:timestampMs (Results 1 – 4 of 4) sorted by relevance

/cts/tests/app/BroadcastsTest/common/src/com/android/app/cts/broadcasts/
DBroadcastReceipt.java24 public final long timestampMs; field in BroadcastReceipt
27 public static BroadcastReceipt create(long timestampMs, Intent intent) { in create() argument
28 return new BroadcastReceipt(timestampMs, intent); in create()
31 public BroadcastReceipt(long timestampMs, Intent intent) { in BroadcastReceipt() argument
32 this.timestampMs = timestampMs; in BroadcastReceipt()
42 dest.writeLong(timestampMs); in writeToParcel()
53 return formatRealtime(timestampMs) + ":" + intent; in toString()
/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/
DBroadcastDeferralTest.java94 final long timestampMs = SystemClock.elapsedRealtime(); in testFgBroadcastDeliveryToFrozenApp_withDeferUntilActive() local
104 if (receipt.timestampMs < timestampMs) { in testFgBroadcastDeliveryToFrozenApp_withDeferUntilActive()
106 + " receipt.timestampMs=" + receipt.timestampMs in testFgBroadcastDeliveryToFrozenApp_withDeferUntilActive()
107 + ", timestampMs=" + timestampMs; in testFgBroadcastDeliveryToFrozenApp_withDeferUntilActive()
157 final long timestampMs = SystemClock.elapsedRealtime(); in testFgBroadcastDeliveryToFrozenApp() local
165 if (receipt.timestampMs > timestampMs) { in testFgBroadcastDeliveryToFrozenApp()
167 + " receipt.timestampMs=" + receipt.timestampMs in testFgBroadcastDeliveryToFrozenApp()
168 + ", timestampMs=" + timestampMs; in testFgBroadcastDeliveryToFrozenApp()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DStoragedDumpsysTest.java51 long timestampMs = getDevice().getDeviceDate(); in getCurrentLogcatDate() local
53 .format(new Date(timestampMs)); in getCurrentLogcatDate()
/cts/tests/camera/src/android/hardware/camera2/cts/
DImageReaderTest.java2129 long timestampMs = TimeUnit.NANOSECONDS.toMillis(timestamp); in validateTimestamps() local
2130 mCollector.expectTrue("Image timestamp " + timestampMs + " ms should be in the " in validateTimestamps()
2133 Math.abs(timestampMs - monotonicTime) < TIMESTAMP_THRESHOLD_MILLIS); in validateTimestamps()