Searched refs:timestamp1 (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Connectivity/thread/tests/unit/src/android/net/thread/ |
D | OperationalDatasetTimestampTest.java | 56 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/ |
D | ChronicleApiStorageTest.kt | 41 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/ |
D | OperationalDatasetTimestampTest.java | 86 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/ |
D | DatabaseUtilsTest.java | 344 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/ |
D | NotificationOtpDetectionHelperTest.kt | 148 val timestamp1 = 0L in <lambda>() constant 153 timestamp1, in <lambda>()
|