/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
D | CallLogDates.java | 48 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/ |
D | ContactsIndexerSettings.java | 84 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/ |
D | OccupantAwarenessDetection.java | 155 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/ |
D | SimpleSpamStatus.java | 28 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()
|
D | UserSpamListStatus.java | 51 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()
|
D | GlobalSpamListStatus.java | 49 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/ |
D | AppsIndexerSettings.java | 73 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/ |
D | ClickStatsTest.java | 26 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/ |
D | SpamPhoneLookup.java | 108 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/ |
D | FakeNetworkStats.java | 68 long timestampMillis) { in CustomBucket() argument 74 mTimestampMillis = timestampMillis; in CustomBucket()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/video/ |
D | RemoteSurfaceController.kt | 95 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/ |
D | ClickStats.java | 95 public Builder setTimestampMillis(long timestampMillis) { in setTimestampMillis() argument 96 mTimestampMillis = timestampMillis; in setTimestampMillis()
|
D | SearchIntentStats.java | 223 public Builder setTimestampMillis(long timestampMillis) { in setTimestampMillis() argument 225 mTimestampMillis = timestampMillis; in setTimestampMillis()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ConnectivityDiagnosticsManagerTest.java | 411 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/ |
D | SurfaceControllerProxy.java | 75 void onMediaSeekTo(int surfaceId, @DurationMillisLong long timestampMillis) in onMediaSeekTo() argument 77 mController.onMediaSeekTo(surfaceId, timestampMillis); in onMediaSeekTo()
|
D | RemoteSurfaceController.java | 243 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/ |
D | GazeDriverAwarenessSupplier.java | 194 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/ |
D | RemoteVideoPreviewProvider.java | 175 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/ |
D | EmergencyCallHelper.java | 86 public void setLastOutgoingEmergencyCallTimestampMillis(long timestampMillis) { in setLastOutgoingEmergencyCallTimestampMillis() argument 87 mLastOutgoingEmergencyCallTimestampMillis = timestampMillis; in setLastOutgoingEmergencyCallTimestampMillis()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WakeupLock.java | 113 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/ |
D | DataStallReportParcelable.aidl | 20 long timestampMillis = 0;
|
D | NetworkTestResultParcelable.aidl | 20 long timestampMillis;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/ |
D | DataStallReportParcelable.aidl | 20 long timestampMillis = 0;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/ |
D | DataStallReportParcelable.aidl | 20 long timestampMillis = 0;
|
D | NetworkTestResultParcelable.aidl | 20 long timestampMillis;
|