Home
last modified time | relevance | path

Searched defs:time (Results 1 – 25 of 305) 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.java126 Instant time = Instant.now().minus(2, DAYS); in groupByDuration_noData_nullResponses() local
142 LocalDateTime time = LocalDateTime.now(ZoneOffset.UTC).minusDays(2); in groupByPeriod_noData_nullResponses() local
157 Instant time = Instant.now().minus(2, DAYS); in aggregateWithInstantFilter_stepsCountTotal() local
175 Instant time = Instant.now().minus(1, DAYS).truncatedTo(MILLIS); in groupByDurationWithInstantFilter_activeCaloriesBurnedTotal() local
211 Instant time = Instant.now().minus(1, DAYS).truncatedTo(DAYS); in groupByDurationWithLocalFilter_distanceTotal() local
252 Instant time = Instant.now().minus(1, DAYS).truncatedTo(DAYS); in groupByPeriod_weightAvg() local
292 Instant time = Instant.now().minus(1, DAYS).truncatedTo(DAYS); in aggregateWithInstantFilter_weightMax() local
311 Instant time = Instant.now().minus(1, DAYS).truncatedTo(DAYS); in groupByDurationWithInstantFilter_weightMin() local
352 Instant time = Instant.now().minus(1, DAYS).truncatedTo(DAYS); in groupByPeriod_stepsCadenceMax() local
384 Instant time = Instant.now().minus(1, DAYS); in aggregationRequest_emptyAggregationType_throws() local
[all …]
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/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/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.java62 static Instant timeFromDbString(String time) { in timeFromDbString()
66 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/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/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/DeskClock/src/com/android/deskclock/
DTimerTextController.kt56 var time = Utils.getTimeString(mTextView.context, hours, minutes, seconds) in setTimeString() variable
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DWeightRecordTest.java251 static WeightRecord getBaseWeightRecord(Instant time, ZoneOffset zoneOffset) { in getBaseWeightRecord()
696 private void insertThreeWeightRecordsWithZoneOffset(Instant time, ZoneOffset offset) in insertThreeWeightRecordsWithZoneOffset()
913 private static WeightRecord getWeightRecordWithTime(Instant time) { in getWeightRecordWithTime()
918 private static WeightRecord getWeightRecordWithTime(Instant time, ZoneOffset offset) { in getWeightRecordWithTime()
923 private static WeightRecord getWeightRecord(String id, Instant time, double grams) { in getWeightRecord()
927 private static WeightRecord getWeightRecord(Instant time, String clientRecordId, double grams) { in getWeightRecord()
932 Instant time, ZoneOffset offset, String clientRecordId, double grams) { in getWeightRecord()
937 String id, Instant time, ZoneOffset offset, String clientRecordId, double grams) { in getWeightRecord()
DHeightRecordTest.java679 Instant time = now.minusMillis(i); in insertAndReadRecords() local
728 private static HeightRecord getCompleteHeightRecord(Instant time, String clientRecordId) { in getCompleteHeightRecord()
732 private static HeightRecord getCompleteHeightRecord(String id, Instant time, Length height) { in getCompleteHeightRecord()
737 private static HeightRecord getCompleteHeightRecord(Instant time, Length height) { in getCompleteHeightRecord()
743 Instant time, String clientRecordId, Length height) { in getCompleteHeightRecord()
748 Instant time, String clientRecordId, long clientRecordVersion, Length height) { in getCompleteHeightRecord()
754 Instant time, in getCompleteHeightRecord()
/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/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/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/
DFirstGrantTimeManager.java126 @NonNull String packageName, @NonNull Instant time, @NonNull UserHandle user) { in setFirstGrantTime()
620 Instant put(@NonNull Integer uid, @NonNull Instant time) { in put()
636 Instant time = entry.getValue(); in extractUserGrantTimeStateUseSharedNames() local
673 Instant time = entry.getValue(); in extractUserGrantTimeStateDoNotUseSharedNames() local
699 Instant time = entry.getValue(); in populateFromUserGrantTimeState() local
713 Instant time = entry.getValue(); in populateFromUserGrantTimeState() local
/packages/services/Car/cpp/watchdog/server/src/
DIoOveruseMonitor.h138 [[maybe_unused]] time_point_millis time, in onBoottimeCollection()
148 [[maybe_unused]] time_point_millis time, in onWakeUpCollection()
157 [[maybe_unused]] time_point_millis time, [[maybe_unused]] userid_t from, in onUserSwitchCollection()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DKeepaliveStatsTrackerTest.java253 private void setElapsedRealtime(long time) { in setElapsedRealtime()
257 private DailykeepaliveInfoReported buildKeepaliveMetrics(long time) { in buildKeepaliveMetrics()
264 private DailykeepaliveInfoReported buildAndResetMetrics(long time) { in buildAndResetMetrics()
271 private void onStartKeepalive(long time, int slot) { in onStartKeepalive()
275 private void onStartKeepalive(long time, int slot, int intervalSeconds) { in onStartKeepalive()
279 private void onStartKeepalive(long time, int slot, NetworkCapabilities nc) { in onStartKeepalive()
284 long time, int slot, NetworkCapabilities nc, int intervalSeconds) { in onStartKeepalive()
288 private void onStartKeepalive(long time, int slot, NetworkCapabilities nc, int intervalSeconds, in onStartKeepalive()
296 private void onPauseKeepalive(long time, int slot) { in onPauseKeepalive()
302 private void onResumeKeepalive(long time, int slot) { in onResumeKeepalive()
[all …]

12345678910>>...13