Home
last modified time | relevance | path

Searched defs:time (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/packages/apps/Messaging/src/com/android/messaging/util/
DDates.java68 public static CharSequence getRelativeTimeSpanString(final long time) { in getRelativeTimeSpanString()
87 public static CharSequence getConversationTimeString(final long time) { in getConversationTimeString()
91 public static CharSequence getMessageTimeString(final long time) { in getMessageTimeString()
95 public static CharSequence getWidgetTimeString(final long time, final boolean abbreviated) { in getWidgetTimeString()
99 public static CharSequence getFastScrollPreviewTimeString(final long time) { in getFastScrollPreviewTimeString()
103 public static CharSequence getMessageDetailsTimeString(final long time) { in getMessageDetailsTimeString()
116 private static CharSequence getTimeString(final long time, final boolean abbreviated, in getTimeString()
130 public static CharSequence getTimestamp(final long time, final long now, in getTimestamp()
164 private static CharSequence getTodayTimeStamp(final long time, final int flags) { in getTodayTimeStamp()
169 private static CharSequence getExplicitFormattedTime(final long time, final int flags, in getExplicitFormattedTime()
[all …]
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DAggregationApisTest.java133 Instant time = Instant.now().minus(2, DAYS); in groupByDuration_noData_nullResponses() local
149 LocalDateTime time = LocalDateTime.now(ZoneOffset.UTC).minusDays(2); in groupByPeriod_noData_nullResponses() local
164 Instant time = Instant.now().minus(2, DAYS); in aggregateWithInstantFilter_stepsCountTotal() local
182 Instant time = Instant.now().minus(1, DAYS).truncatedTo(MILLIS); in groupByDurationWithInstantFilter_activeCaloriesBurnedTotal() local
220 Instant time = Instant.now().minus(1, DAYS).truncatedTo(DAYS); in groupByDurationWithLocalFilter_distanceTotal() local
263 Instant time = Instant.now().minus(1, DAYS).truncatedTo(DAYS); in groupByPeriod_weightAvg() local
303 Instant time = Instant.now().minus(1, DAYS).truncatedTo(DAYS); in aggregateWithInstantFilter_weightMax() local
322 Instant time = Instant.now().minus(1, DAYS).truncatedTo(DAYS); in groupByDurationWithInstantFilter_weightMin() local
363 Instant time = Instant.now().minus(1, DAYS).truncatedTo(DAYS); in groupByPeriod_stepsCadenceMax() local
395 Instant time = Instant.now().minus(1, DAYS); in aggregationRequest_emptyAggregationType_throws() local
[all …]
DSeriesAggregationTest.java97 Instant time = Instant.now().minus(1, DAYS); in aggregateWithInstantFilter_speed() local
134 Instant time = Instant.now().minus(3, DAYS); in aggregateWithInstantFilter_power() local
167 Instant time = Instant.now().minus(1, DAYS); in aggregateWithInstantFilter_heartRate() local
200 Instant time = Instant.now().minus(3, DAYS); in aggregateWithInstantFilter_cyclingPedalingCadence() local
241 Velocity velocity, Instant time) { in getSpeedRecordSample()
256 private static PowerRecord.PowerRecordSample getPowerRecordSample(Power power, Instant time) { in getPowerRecordSample()
272 long rate, Instant time) { in getHeartRateRecordSample()
289 getCyclingPedalingCadenceSample(double revolutionsPerMinute, Instant time) { in getCyclingPedalingCadenceSample()
DDataFactory.java55 static BasalMetabolicRateRecord getBasalMetabolicRateRecord(double power, Instant time) { in getBasalMetabolicRateRecord()
66 double power, Instant time, ZoneOffset offset) { in getBasalMetabolicRateRecord()
107 static LeanBodyMassRecord getBaseLeanBodyMassRecord(Instant time, double grams) { in getBaseLeanBodyMassRecord()
112 static HeightRecord getBaseHeightRecord(Instant time, double heightMeter) { in getBaseHeightRecord()
117 static WeightRecord getBaseWeightRecord(Instant time, double weightKg) { in getBaseWeightRecord()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
DInputPointersTests.java73 final int time = i * 4; in testAdd() local
81 final int time = i * 4; in testAdd() local
97 final int time = i * 4; in testAddAt() local
105 final int time = i * 4; in testAddAt() local
121 final int time = i * 4; in testSet() local
141 final int time = i * 4; in testCopy() local
170 final int time = i; in testAppend() local
186 final int time = i * 4 + dstLength; in testAppend() local
240 final int time = i; in testAppendResizableIntArray() local
255 final int time = i * 2 + dstLength; in testAppendResizableIntArray() local
[all …]
/packages/services/Iwlan/test/com/google/android/iwlan/
DErrorPolicyManagerTest.java253 long time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testValidCarrierConfig() local
348 long time = mErrorPolicyManager.reportIwlanError(apn, authFailedIwlanError); in testShouldKeepRetryIndexForDifferentErrorCause() local
416 long time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testDefaultPolicyFallback() local
493 long time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testChoosingFallbackPolicy() local
542 long time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testNullCarrierConfig() local
665 long time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testCanBringUpTunnel() local
720 long time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testNoErrorScenario() local
770 long time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testWifiDisableUnthrottle() local
825 long time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testWFCDisableUnthrottle() local
880 long time = mErrorPolicyManager.reportIwlanError(apn, iwlanError); in testAPMUnthrottle() local
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/data/signals/
DDBEncoderLogicMetadataTest.java42 Instant time = CommonFixture.FIXED_NOW; in testCreateEncodingLogic() local
57 Instant time = CommonFixture.FIXED_NOW; in testBuildEncodingLogic() local
86 Instant time = CommonFixture.FIXED_NOW; in testEquals() local
111 Instant time = CommonFixture.FIXED_NOW; in testNotEquals() local
136 Instant time = CommonFixture.FIXED_NOW; in testHashCode() local
DDBEncodedPayloadTest.java42 Instant time = CommonFixture.FIXED_NOW; in testCreateEncodedPayload() local
56 Instant time = CommonFixture.FIXED_NOW; in testBuildEncodedPayload() local
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/src/
DMediaQualityThreshold.cpp162 void MediaQualityThreshold::setRtpInactivityTimerMillis(std::vector<int32_t> time) in setRtpInactivityTimerMillis()
172 void MediaQualityThreshold::setRtcpInactivityTimerMillis(int32_t time) in setRtcpInactivityTimerMillis()
182 void MediaQualityThreshold::setRtpHysteresisTimeInMillis(int32_t time) in setRtpHysteresisTimeInMillis()
192 void MediaQualityThreshold::setRtpPacketLossDurationMillis(int32_t time) in setRtpPacketLossDurationMillis()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/measurements/
DTracer.kt43 val time = elapsedTimeNow() in <lambda>() constant
96 val time = elapsedTimeNow() in <lambda>() constant
108 val time = elapsedTimeNow() in <lambda>() constant
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/util/
DMapOfDeferredWithTimeoutTest.kt40 val time = measureTime { in testTasksRunsInParallel() constant
76 val time = measureTime { in testMapTimeout() constant
/packages/apps/Contacts/src/com/android/contacts/util/concurrent/
DFuturesUtil.java26 public static <V> ListenableFuture<V> withTimeout(final ListenableFuture<V> future, long time, in withTimeout()
39 public static <V> ListenableFuture<V> withTimeout(final ListenableFuture<V> future, long time, in withTimeout()
/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DWatchedHistoryManagerTest.java74 long time = System.currentTimeMillis(); in testLogChannelViewStop() local
92 long time = System.currentTimeMillis(); in testCircularHistoryQueue() local
124 long time = System.currentTimeMillis(); in testEncodeDecodeWatchedRecord() local
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/data/
DGlobalValueEntity.java61 static Instant timeFromDbString(String time) { in timeFromDbString()
65 static String timeToDbString(Instant time) { in timeToDbString()
/packages/modules/HealthFitness/framework/java/android/health/connect/
DTimeRangeFilterHelper.java78 public static long getMillisOfLocalTime(LocalDateTime time) { in getMillisOfLocalTime()
86 public static Instant getInstantFromLocalTime( in getInstantFromLocalTime()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeRecognitionPoints.java180 public void duplicateLastPointWith(final int time) { in duplicateLastPointWith()
206 private void appendPoint(final int x, final int y, final int time) { in appendPoint()
222 private void updateMajorEvent(final int x, final int y, final int time) { in updateMajorEvent()
232 private int detectFastMove(final int x, final int y, final int time) { in detectFastMove()
272 public boolean addEventPoint(final int x, final int y, final int time, in addEventPoint()
292 private void updateIncrementalRecognitionSize(final int x, final int y, final int time) { in updateIncrementalRecognitionSize()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/extensions/
DPMapTest.kt36 val time = measureTime { in testPMapRunsInParallel() constant
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DConnectivityMonitorWithConnectivityManagerTests.java132 private void verifyNetworkCallbackRegistered(int time) { in verifyNetworkCallbackRegistered()
137 private void verifyNetworkCallbackUnregistered(int time) { in verifyNetworkCallbackUnregistered()
/packages/apps/Camera2/src/com/android/camera/stats/profiler/
DProfileBase.java54 long time = System.nanoTime(); in mark() local
61 long time = System.nanoTime(); in stop() local
68 long time = System.nanoTime(); in stop() local
/packages/apps/DeskClock/src/com/android/deskclock/
DTimerTextController.kt56 var time = Utils.getTimeString(mTextView.context, hours, minutes, seconds) in setTimeString() variable
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DSaveImage.java318 private void updateExifData(ExifInterface exif, long time) { in updateExifData()
358 long time = System.currentTimeMillis(); in processAndSaveImage() local
370 long time = System.currentTimeMillis(); in processAndSaveImage() local
420 long time = System.currentTimeMillis(); in processAndSaveImage() local
528 long time = System.currentTimeMillis(); in makeAndInsertUri() local
667 File file, long time, boolean deleteOriginal) { in linkNewFileToUri()
689 public static Uri updateFile(Context context, Uri sourceUri, File file, long time) { in updateFile()
696 File file, long time) { in getContentValues()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DWeightRecordTest.java256 static WeightRecord getBaseWeightRecord(Instant time, ZoneOffset zoneOffset) { in getBaseWeightRecord()
700 private void insertThreeWeightRecordsWithZoneOffset(Instant time, ZoneOffset offset) in insertThreeWeightRecordsWithZoneOffset()
917 private static WeightRecord getWeightRecordWithTime(Instant time) { in getWeightRecordWithTime()
922 private static WeightRecord getWeightRecordWithTime(Instant time, ZoneOffset offset) { in getWeightRecordWithTime()
927 private static WeightRecord getWeightRecord(String id, Instant time, double grams) { in getWeightRecord()
931 private static WeightRecord getWeightRecord(Instant time, String clientRecordId, double grams) { in getWeightRecord()
936 Instant time, ZoneOffset offset, String clientRecordId, double grams) { in getWeightRecord()
941 String id, Instant time, ZoneOffset offset, String clientRecordId, double grams) { in getWeightRecord()
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DIntermenstrualBleedingRecord.java37 @NonNull Instant time, in IntermenstrualBleedingRecord()
71 public Builder(@NonNull Metadata metadata, @NonNull Instant time) { in Builder()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryUtilsTest.java175 final long time = in testGetProcessTimeMs_typeForeground_timeCorrect() local
184 final long time = in testGetProcessTimeMs_typeBackground_timeCorrect() local
197 final long time = in testGetProcessTimeMs_typeAll_timeCorrect() local
206 final long time = in testGetProcessTimeMs_uidNull_returnZero() local
/packages/services/Car/cpp/watchdog/stable_server/src/
DIoOveruseMonitor.h137 [[maybe_unused]] time_point_millis time, in onBoottimeCollection()
147 [[maybe_unused]] time_point_millis time, in onWakeUpCollection()
156 [[maybe_unused]] time_point_millis time, [[maybe_unused]] userid_t from, in onUserSwitchCollection()

12345678910>>...13