Home
last modified time | relevance | path

Searched refs:timestamp1 (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Connectivity/thread/tests/unit/src/android/net/thread/
DOperationalDatasetTimestampTest.java56 OperationalDatasetTimestamp timestamp1 = new OperationalDatasetTimestamp(100L, 10, true); in toTlvValue_conversionIsLossLess() local
59 OperationalDatasetTimestamp.fromTlvValue(timestamp1.toTlvValue()); in toTlvValue_conversionIsLossLess()
61 assertThat(timestamp2).isEqualTo(timestamp1); in toTlvValue_conversionIsLossLess()
71 OperationalDatasetTimestamp timestamp1 = in toTlvValue_timestampFromInstant_conversionIsLossLess() local
75 OperationalDatasetTimestamp.fromTlvValue(timestamp1.toTlvValue()); in toTlvValue_timestampFromInstant_conversionIsLossLess()
79 assertThat(timestamp2).isEqualTo(timestamp1); in toTlvValue_timestampFromInstant_conversionIsLossLess()
/packages/modules/OnDevicePersonalization/tests/chronicletests/src/com/android/libraries/pcc/chronicle/test/
DChronicleApiStorageTest.kt41 val timestamp1 = instant1.toProtoTimestamp() in testInstantToTimestamp() constant
42 assertThat(timestamp1.getSeconds()).isEqualTo(999) in testInstantToTimestamp()
43 assertThat(timestamp1.getNanos()).isEqualTo(0) in testInstantToTimestamp()
48 val timestamp1 = Timestamp.newBuilder().setSeconds(901).setNanos(101).build() in testTimestampToInstant() constant
49 val instant1 = timestamp1.toInstant() in testTimestampToInstant()
/packages/modules/Connectivity/thread/tests/cts/src/android/net/thread/cts/
DOperationalDatasetTimestampTest.java86 OperationalDatasetTimestamp timestamp1 = in toInstant_onlyAuthoritativeSourceDiscarded() local
90 OperationalDatasetTimestamp.fromInstant(timestamp1.toInstant()); in toInstant_onlyAuthoritativeSourceDiscarded()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DDatabaseUtilsTest.java344 final Long timestamp1 = 1001L; in getAppUsageEventForUsers_returnExpectedMap() local
354 cursor.addRow(new Object[] {101L, "app name1", timestamp1}); in getAppUsageEventForUsers_returnExpectedMap()
395 final Long timestamp1 = Long.valueOf(1001L); in getHistoryMap_returnExpectedMap() local
401 "app name1", timestamp1, 1, ConvertUtils.CONSUMER_TYPE_UID_BATTERY, true in getHistoryMap_returnExpectedMap()
418 DatabaseUtils.getHistoryMapSinceQueryTimestamp(mContext, timestamp1); in getHistoryMap_returnExpectedMap()
422 Map<String, BatteryHistEntry> batteryMap = batteryHistMap.get(timestamp1); in getHistoryMap_returnExpectedMap()
/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/
DNotificationOtpDetectionHelperTest.kt148 val timestamp1 = 0L in <lambda>() constant
153 timestamp1, in <lambda>()