Home
last modified time | relevance | path

Searched refs:timestampMillis (Results 1 – 25 of 78) sorted by relevance

1234

/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DCallLogDates.java48 Context context, long nowMillis, long timestampMillis, boolean abbreviateDateTime) { in newCallLogTimestampLabel() argument
50 if (nowMillis - timestampMillis < TimeUnit.MINUTES.toMillis(1)) { in newCallLogTimestampLabel()
55 if (nowMillis - timestampMillis < TimeUnit.HOURS.toMillis(1)) { in newCallLogTimestampLabel()
58 timestampMillis, in newCallLogTimestampLabel()
68 timestampMillis, nowMillis, DateUtils.MINUTE_IN_MILLIS); in newCallLogTimestampLabel()
71 int dayDifference = getDayDifference(nowMillis, timestampMillis); in newCallLogTimestampLabel()
75 return DateUtils.formatDateTime(context, timestampMillis, DateUtils.FORMAT_SHOW_TIME); in newCallLogTimestampLabel()
80 return formatDayOfWeek(context, timestampMillis, abbreviateDateTime); in newCallLogTimestampLabel()
84 if (isWithinOneYear(nowMillis, timestampMillis)) { in newCallLogTimestampLabel()
85 return formatDate(context, timestampMillis, /* showYear = */ false, abbreviateDateTime); in newCallLogTimestampLabel()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DContactsIndexerSettings.java84 public void setLastFullUpdateTimestampMillis(long timestampMillis) { in setLastFullUpdateTimestampMillis() argument
85 mBundle.putLong(LAST_FULL_UPDATE_TIMESTAMP_KEY, timestampMillis); in setLastFullUpdateTimestampMillis()
94 public void setLastDeltaUpdateTimestampMillis(long timestampMillis) { in setLastDeltaUpdateTimestampMillis() argument
95 mBundle.putLong(LAST_DELTA_UPDATE_TIMESTAMP_KEY, timestampMillis); in setLastDeltaUpdateTimestampMillis()
104 public void setLastContactUpdateTimestampMillis(long timestampMillis) { in setLastContactUpdateTimestampMillis() argument
105 mBundle.putLong(LAST_CONTACT_UPDATE_TIMESTAMP_KEY, timestampMillis); in setLastContactUpdateTimestampMillis()
114 public void setLastContactDeleteTimestampMillis(long timestampMillis) { in setLastContactDeleteTimestampMillis() argument
115 mBundle.putLong(LAST_CONTACT_DELETE_TIMESTAMP_KEY, timestampMillis); in setLastContactDeleteTimestampMillis()
/packages/services/Car/car-lib/src/android/car/occupantawareness/
DOccupantAwarenessDetection.java155 public final long timestampMillis; field in OccupantAwarenessDetection
173 long timestampMillis, in OccupantAwarenessDetection() argument
178 this.timestampMillis = timestampMillis; in OccupantAwarenessDetection()
193 dest.writeLong(timestampMillis); in writeToParcel()
203 + ", timestampMillis=" + timestampMillis in toString()
226 timestampMillis = in.readLong(); in OccupantAwarenessDetection()
/packages/apps/Dialer/java/com/android/dialer/spam/status/
DSimpleSpamStatus.java28 public static SimpleSpamStatus create(boolean isSpam, @Nullable Long timestampMillis) { in create() argument
31 .setTimestampMillis(timestampMillis) in create()
52 public Builder setTimestampMillis(@Nullable Long timestampMillis) { in setTimestampMillis() argument
53 return setTimestampMillis(Optional.fromNullable(timestampMillis)); in setTimestampMillis()
DUserSpamListStatus.java51 public static UserSpamListStatus whitelisted(long timestampMillis) { in whitelisted() argument
52 return new AutoValue_UserSpamListStatus(Status.WHITELISTED, Optional.of(timestampMillis)); in whitelisted()
55 public static UserSpamListStatus blacklisted(long timestampMillis) { in blacklisted() argument
56 return new AutoValue_UserSpamListStatus(Status.BLACKLISTED, Optional.of(timestampMillis)); in blacklisted()
DGlobalSpamListStatus.java49 public static GlobalSpamListStatus onList(long timestampMillis) { in onList() argument
50 return new AutoValue_GlobalSpamListStatus(Status.ON_LIST, Optional.of(timestampMillis)); in onList()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/
DAppsIndexerSettings.java73 public void setLastUpdateTimestampMillis(long timestampMillis) { in setLastUpdateTimestampMillis() argument
74 mBundle.putLong(LAST_UPDATE_TIMESTAMP_KEY, timestampMillis); in setLastUpdateTimestampMillis()
83 public void setLastAppUpdateTimestampMillis(long timestampMillis) { in setLastAppUpdateTimestampMillis() argument
84 mBundle.putLong(LAST_APP_UPDATE_TIMESTAMP_KEY, timestampMillis); in setLastAppUpdateTimestampMillis()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/stats/
DClickStatsTest.java26 long timestampMillis = 1L; in testBuilder() local
34 .setTimestampMillis(timestampMillis) in testBuilder()
41 assertThat(clickStats.getTimestampMillis()).isEqualTo(timestampMillis); in testBuilder()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/spam/
DSpamPhoneLookup.java108 Optional<Long> timestampMillis = spamStatus.getTimestampMillis(); in getMostRecentInfo() local
109 if (timestampMillis.isPresent()) { in getMostRecentInfo()
112 ? timestampMillis.get() in getMostRecentInfo()
113 : Math.max(timestampMillis.get(), currentLastTimestampProcessed); in getMostRecentInfo()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/net/
DFakeNetworkStats.java68 long timestampMillis) { in CustomBucket() argument
74 mTimestampMillis = timestampMillis; in CustomBucket()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/video/
DRemoteSurfaceController.kt95 override fun onMediaSeekTo(surfaceId: Int, timestampMillis: Long) { in onMediaSeekTo()
96 wrapped.onMediaSeekTo(surfaceId, timestampMillis) in onMediaSeekTo()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/stats/
DClickStats.java95 public Builder setTimestampMillis(long timestampMillis) { in setTimestampMillis() argument
96 mTimestampMillis = timestampMillis; in setTimestampMillis()
DSearchIntentStats.java223 public Builder setTimestampMillis(long timestampMillis) { in setTimestampMillis() argument
225 mTimestampMillis = timestampMillis; in setTimestampMillis()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityDiagnosticsManagerTest.java411 int detectionMethod, long timestampMillis, @NonNull PersistableBundle extras) in verifyOnDataStallSuspected() argument
414 verifyOnDataStallSuspected(detectionMethod, detectionMethod, timestampMillis, extras); in verifyOnDataStallSuspected()
420 long timestampMillis, in verifyOnDataStallSuspected() argument
436 inputDetectionMethod, timestampMillis, mTestNetwork, extras), in verifyOnDataStallSuspected()
440 mTestNetwork, interfaceName, expectedDetectionMethod, timestampMillis, extras); in verifyOnDataStallSuspected()
582 long timestampMillis, in expectOnDataStallSuspected() argument
588 assertEquals(timestampMillis, result.getReportTimestamp()); in expectOnDataStallSuspected()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/remotepreview/
DSurfaceControllerProxy.java75 void onMediaSeekTo(int surfaceId, @DurationMillisLong long timestampMillis) in onMediaSeekTo() argument
77 mController.onMediaSeekTo(surfaceId, timestampMillis); in onMediaSeekTo()
DRemoteSurfaceController.java243 public void onMediaSeekTo(int surfaceId, @DurationMillisLong long timestampMillis) { in onMediaSeekTo() argument
245 mPlayer.seekTo((int) timestampMillis); in onMediaSeekTo()
246 Log.d(TAG, "Media seeked: " + surfaceId + ". Timestamp: " + timestampMillis); in onMediaSeekTo()
/packages/services/Car/experimental/service/src/com/android/experimentalcar/
DGazeDriverAwarenessSupplier.java194 mProcessor.updateAttention(event.gazeDetection, event.timestampMillis); in processDetectionEvent()
197 emitAwarenessEvent(new DriverAwarenessEvent(event.timestampMillis, awarenessValue)); in processDetectionEvent()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DRemoteVideoPreviewProvider.java175 public void onMediaSeekTo(int surfaceId, long timestampMillis) { in onMediaSeekTo() argument
177 mController.onMediaSeekTo(surfaceId, timestampMillis); in onMediaSeekTo()
/packages/services/Telecomm/src/com/android/server/telecom/
DEmergencyCallHelper.java86 public void setLastOutgoingEmergencyCallTimestampMillis(long timestampMillis) { in setLastOutgoingEmergencyCallTimestampMillis() argument
87 mLastOutgoingEmergencyCallTimestampMillis = timestampMillis; in setLastOutgoingEmergencyCallTimestampMillis()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWakeupLock.java113 private void maybeSetInitializedByTimeout(long timestampMillis) { in maybeSetInitializedByTimeout() argument
117 long elapsedTime = timestampMillis - mLockTimestamp; in maybeSetInitializedByTimeout()
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/8/android/net/
DDataStallReportParcelable.aidl20 long timestampMillis = 0;
DNetworkTestResultParcelable.aidl20 long timestampMillis;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/
DDataStallReportParcelable.aidl20 long timestampMillis = 0;
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/
DDataStallReportParcelable.aidl20 long timestampMillis = 0;
DNetworkTestResultParcelable.aidl20 long timestampMillis;

1234