Home
last modified time | relevance | path

Searched refs:timestamp (Results 1 – 25 of 100) sorted by relevance

1234

/packages/services/Car/libvehiclenetwork/java/src/com/android/car/vehiclenetwork/
DVehiclePropValueUtil.java34 public static VehiclePropValue createIntValue(int property, int value, long timestamp) { in createIntValue() argument
35 return createBuilder(property, VehicleValueType.VEHICLE_VALUE_TYPE_INT32, timestamp). in createIntValue()
41 long timestamp) { in createIntVectorValue() argument
44 timestamp); in createIntVectorValue()
51 public static VehiclePropValue createFloatValue(int property, float value, long timestamp) { in createFloatValue() argument
52 return createBuilder(property, VehicleValueType.VEHICLE_VALUE_TYPE_FLOAT, timestamp). in createFloatValue()
58 long timestamp) { in createFloatVectorValue() argument
61 timestamp); in createFloatVectorValue()
68 public static VehiclePropValue createLongValue(int property, long value, long timestamp) { in createLongValue() argument
69 return createBuilder(property, VehicleValueType.VEHICLE_VALUE_TYPE_INT64, timestamp). in createLongValue()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DSimpleDate.java33 private long timestamp; field in SimpleDate
39 public SimpleDate(long timestamp) { in SimpleDate() argument
40 setTimestamp(timestamp); in SimpleDate()
45 public void setTimestamp(long timestamp) { in setTimestamp() argument
48 sCalendarInstance.setTimeInMillis(timestamp); in setTimestamp()
52 this.timestamp = timestamp; in setTimestamp()
54 DateFormat.getDateInstance(DateFormat.SHORT).format(timestamp); in setTimestamp()
123 DateFormat.getDateInstance(DateFormat.SHORT).format(timestamp); in toString()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/metadatasynchronizer/
DMetadataPoolImpl.java55 private SettableFuture<TotalCaptureResultProxy> getOrCreateFuture(long timestamp) { in getOrCreateFuture() argument
58 if (!mMetadataFutures.containsKey(timestamp)) { in getOrCreateFuture()
59 mMetadataFutures.put(timestamp, SettableFuture.<TotalCaptureResultProxy> create()); in getOrCreateFuture()
62 metadataFuture = mMetadataFutures.get(timestamp); in getOrCreateFuture()
69 public ListenableFuture<TotalCaptureResultProxy> removeMetadataFuture(final long timestamp) { in removeMetadataFuture() argument
70 ListenableFuture<TotalCaptureResultProxy> future = getOrCreateFuture(timestamp); in removeMetadataFuture()
76 mMetadataFutures.remove(timestamp); in removeMetadataFuture()
90 long timestamp = metadata.get(CaptureResult.SENSOR_TIMESTAMP); in update() local
91 SettableFuture<TotalCaptureResultProxy> future = getOrCreateFuture(timestamp); in update()
/packages/services/Car/libvehiclenetwork/native/
DVehicleNetwork.cpp185 status_t VehicleNetwork::getInt32Property(int32_t property, int32_t* value, int64_t* timestamp) { in getInt32Property() argument
192 *timestamp = v.timestamp; in getInt32Property()
204 status_t VehicleNetwork::getInt64Property(int32_t property, int64_t* value, int64_t* timestamp) { in getInt64Property() argument
209 *timestamp = v.timestamp; in getInt64Property()
221 status_t VehicleNetwork::getFloatProperty(int32_t property, float* value, int64_t* timestamp) { in getFloatProperty() argument
226 *timestamp = v.timestamp; in getFloatProperty()
239 status_t VehicleNetwork::getStringProperty(int32_t property, String8& value, int64_t* timestamp) { in getStringProperty() argument
247 *timestamp = v.timestamp; in getStringProperty()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DInsertNewMessageAction.java146 final long timestamp = System.currentTimeMillis(); in executeAction() local
161 final long laterTimestamp = timestamp + 1; in executeAction()
172 timestamp, sendingConversationId); in executeAction()
179 final long timestampRoundedToSecond = 1000 * ((timestamp + 500) / 1000); in executeAction()
349 final String recipient, final long timestamp, final String sendingConversationId) { in insertSendingSmsMessage() argument
350 sLastSentMessageTimestamp = timestamp; in insertSendingSmsMessage()
356 syncManager.onNewMessageInserted(timestamp); in insertSendingSmsMessage()
383 timestamp, in insertSendingSmsMessage()
393 message.updateSendingMessage(conversationId, messageUri, timestamp); in insertSendingSmsMessage()
400 conversationId, message.getMessageId(), timestamp, in insertSendingSmsMessage()
[all …]
DResendMessageAction.java69 long timestamp = System.currentTimeMillis(); in executeAction() local
72 timestamp = 1000 * ((timestamp + 500) / 1000); in executeAction()
77 + timestamp); in executeAction()
81 values.put(MessageColumns.RECEIVED_TIMESTAMP, timestamp); in executeAction()
82 values.put(MessageColumns.SENT_TIMESTAMP, timestamp); in executeAction()
83 values.put(MessageColumns.RETRY_START_TIMESTAMP, timestamp); in executeAction()
DProcessSentMessageAction.java235 final long timestamp = System.currentTimeMillis(); in processResult() local
238 message.markMessageSent(timestamp); in processResult()
241 && message.getInResendWindow(timestamp)) { in processResult()
242 message.markMessageNotSent(timestamp); in processResult()
246 message.markMessageFailed(timestamp); in processResult()
261 message.markMessageFailedEmergencyNumber(timestamp); in processResult()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dforgetting_curve_utils.cpp49 const int timestamp = newHistoricalInfo->getTimestamp(); in createUpdatedHistoricalInfo() local
54 return HistoricalInfo(timestamp, level, count); in createUpdatedHistoricalInfo()
63 return HistoricalInfo(timestamp, level, 0 /* count */); in createUpdatedHistoricalInfo()
66 return HistoricalInfo(timestamp, level, clampToValidCountRange(count, headerPolicy)); in createUpdatedHistoricalInfo()
73 return HistoricalInfo(timestamp, in createUpdatedHistoricalInfo()
77 return HistoricalInfo(timestamp, in createUpdatedHistoricalInfo()
81 return HistoricalInfo(timestamp, originalHistoricalInfo->getLevel(), updatedCount); in createUpdatedHistoricalInfo()
154 /* static */ int ForgettingCurveUtils::getElapsedTimeStepCount(const int timestamp, in getElapsedTimeStepCount() argument
156 const int elapsedTimeInSeconds = TimeKeeper::peekCurrentTime() - timestamp; in getElapsedTimeStepCount()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMessageData.java749 final long timestamp) { in updateSendingMessage() argument
754 mReceivedTimestamp = timestamp; in updateSendingMessage()
755 mSentTimestamp = timestamp; in updateSendingMessage()
757 mRetryStartTimestamp = timestamp; in updateSendingMessage()
760 public final void markMessageManualResend(final long timestamp) { in markMessageManualResend() argument
762 mReceivedTimestamp = timestamp; in markMessageManualResend()
763 mSentTimestamp = timestamp; in markMessageManualResend()
767 public final void markMessageSending(final long timestamp) { in markMessageSending() argument
770 mSentTimestamp = timestamp; in markMessageSending()
773 public final void markMessageResending(final long timestamp) { in markMessageResending() argument
[all …]
/packages/apps/DevCamera/src/com/android/devcamera/
DGyroOperations.java60 public long timestamp; field in GyroOperations.GyroEvent2D
64 this.timestamp = event.timestamp; in GyroEvent2D()
87 mGyroLastTimestamp = event.timestamp; in integrateGyroForPosition()
90 long dt = (event.timestamp - mGyroLastTimestamp) / 1000; // microseconds between samples in integrateGyroForPosition()
96 mGyroLastTimestamp = event.timestamp; in integrateGyroForPosition()
/packages/apps/Camera2/src/com/android/camera/session/
DPlaceholderManager.java51 Placeholder(String title, Uri uri, long timestamp) { in Placeholder() argument
54 time = timestamp; in Placeholder()
71 public Placeholder insertEmptyPlaceholder(String title, Size size, long timestamp) { in insertEmptyPlaceholder() argument
73 return new Placeholder(title, uri, timestamp); in insertEmptyPlaceholder()
85 public Placeholder insertPlaceholder(String title, Bitmap placeholder, long timestamp) { in insertPlaceholder() argument
98 return new Placeholder(title, uri, timestamp); in insertPlaceholder()
101 public Placeholder insertPlaceholder(String title, byte[] placeholder, long timestamp) { in insertPlaceholder() argument
108 return insertPlaceholder(title, bitmap, timestamp); in insertPlaceholder()
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
DMostRecentImageSaver.java104 for (Long timestamp : toRemove) { in closeOlderImages()
105 imageMap.remove(timestamp); in closeOlderImages()
124 long timestamp = image.getTimestamp(); in getMostRecentFullSizeImageTimestamp() local
125 if (!pairFound || timestamp > oldestTimestamp) { in getMostRecentFullSizeImageTimestamp()
126 oldestTimestamp = timestamp; in getMostRecentFullSizeImageTimestamp()
152 private ImageProxy getThumbnail(long timestamp) { in getThumbnail() argument
153 return mThumbnails.get(timestamp); in getThumbnail()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DWordInputEventForPersonalization.java48 final NgramContext ngramContext, final int timestamp) { in WordInputEventForPersonalization() argument
52 mTimestamp = timestamp; in WordInputEventForPersonalization()
58 final List<String> tokens, final int timestamp, in createInputEventFrom() argument
88 ngramContext, tempWord, timestamp, locale); in createInputEventFrom()
99 final NgramContext ngramContext, final String targetWord, final int timestamp, in detectWhetherVaildWordOrNotAndGetInputEvent() argument
104 return new WordInputEventForPersonalization(targetWord, ngramContext, timestamp); in detectWhetherVaildWordOrNotAndGetInputEvent()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DAppScanStats.java43 long timestamp; field in AppScanStats.LastScan
49 public LastScan(long timestamp, long duration, in LastScan() argument
52 this.timestamp = timestamp; in LastScan()
159 return (System.currentTimeMillis() - lastScans.get(0).timestamp) < in isScanningTooFrequently()
234 Date timestamp = new Date(scan.timestamp); in dumpToString()
235 sb.append(" " + dateFormat.format(timestamp) + " - "); in dumpToString()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/imagedistributor/
DImageDistributorImpl.java98 final long timestamp = image.getTimestamp(); in distributeImage() local
110 if (mGlobalTimestampBufferQueue.getNext() > timestamp) { in distributeImage()
139 while (requestedImageTimestamp != null && requestedImageTimestamp < timestamp) { in distributeImage()
153 requestedImageTimestamp, timestamp), new RuntimeException()); in distributeImage()
166 if (requestedImageTimestamp == timestamp) { in distributeImage()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DImageCaptureManager.java399 final long timestamp = result.get(TotalCaptureResult.SENSOR_TIMESTAMP); in onCaptureCompleted() local
416 boolean swapSuccess = doMetaDataSwap(result, timestamp); in onCaptureCompleted()
422 tryExecutePendingCaptureRequest(timestamp); in onCaptureCompleted()
462 private boolean doMetaDataSwap(final TotalCaptureResult newMetadata, final long timestamp) {
463 return mCapturedImageBuffer.swapLeast(timestamp,
533 long timestamp = img.getTimestamp();
547 tryExecutePendingCaptureRequest(timestamp);
729 tryCapturePinnedImage(long timestamp) {
731 mCapturedImageBuffer.tryGetPinned(timestamp);
/packages/apps/Contacts/src/com/android/contacts/interactions/
DContactInteractionUtil.java55 public static String formatDateStringFromTimestamp(long timestamp, Context context) { in formatDateStringFromTimestamp() argument
56 return formatDateStringFromTimestamp(timestamp, context, Calendar.getInstance()); in formatDateStringFromTimestamp()
68 public static String formatDateStringFromTimestamp(long timestamp, Context context, in formatDateStringFromTimestamp() argument
71 interactionCalendar.setTimeInMillis(timestamp); in formatDateStringFromTimestamp()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DExpandableBinaryDictionary.java298 final boolean isNotAWord, final boolean isPossiblyOffensive, final int timestamp) { in addUnigramEntry() argument
302 addUnigramLocked(word, frequency, isNotAWord, isPossiblyOffensive, timestamp); in addUnigramEntry()
308 final boolean isNotAWord, final boolean isPossiblyOffensive, final int timestamp) { in addUnigramLocked() argument
310 false /* isBeginningOfSentence */, isNotAWord, isPossiblyOffensive, timestamp)) { in addUnigramLocked()
341 final int frequency, final int timestamp) { in addNgramEntry() argument
350 addNgramEntryLocked(ngramContext, word, frequency, timestamp); in addNgramEntry()
356 final int frequency, final int timestamp) { in addNgramEntryLocked() argument
357 if (!mBinaryDictionary.addNgramEntry(ngramContext, word, frequency, timestamp)) { in addNgramEntryLocked()
369 final String word, final boolean isValidWord, final int count, final int timestamp) { in updateEntriesForWord() argument
378 isValidWord, count, timestamp)) { in updateEntriesForWord()
DBinaryDictionary.java203 boolean isNotAWord, boolean isPossiblyOffensive, int timestamp); in addUnigramEntryNative() argument
207 int[] word, int probability, int timestamp); in addNgramEntryNative() argument
212 int[] word, boolean isValidWord, int count, int timestamp); in updateEntriesForWordWithNgramContextNative() argument
447 final boolean isNotAWord, final boolean isPossiblyOffensive, final int timestamp) { in addUnigramEntry() argument
454 isBeginningOfSentence, isNotAWord, isPossiblyOffensive, timestamp)) { in addUnigramEntry()
476 final int probability, final int timestamp) { in addNgramEntry() argument
485 isBeginningOfSentenceArray, wordCodePoints, probability, timestamp)) { in addNgramEntry()
494 final String word, final boolean isValidWord, final int count, final int timestamp) { in updateEntriesForWordWithNgramContext() argument
503 isBeginningOfSentenceArray, wordCodePoints, isValidWord, count, timestamp)) { in updateEntriesForWordWithNgramContext()
/packages/apps/Camera2/src/com/android/camera/burst/
DEvictionHandler.java51 void onFrameCaptureResultAvailable(long timestamp, in onFrameCaptureResultAvailable() argument
59 void onFrameInserted(long timestamp); in onFrameInserted() argument
66 void onFrameDropped(long timestamp); in onFrameDropped() argument
DRingBuffer.java54 long timestamp = image.getTimestamp(); in insertImage() local
55 if (mImages.get(timestamp) != null) { in insertImage()
62 mEvictionHandler.onFrameInserted(timestamp); in insertImage()
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/
Dprobability_entry_test.cpp41 const int timestamp = 0x3FFFFFFF; in TEST() local
44 const HistoricalInfo historicalInfo(timestamp, 0 /* level */, count); in TEST()
53 EXPECT_EQ(timestamp, decodedEntry.getHistoricalInfo()->getTimestamp()); in TEST()
/packages/services/Car/libvehiclenetwork/include/
DVehicleNetwork.h107 status_t getInt32Property(int32_t property, int32_t* value, int64_t* timestamp);
109 status_t getInt64Property(int32_t property, int64_t* value, int64_t* timestamp);
111 status_t getFloatProperty(int32_t property, float* value, int64_t* timestamp);
113 status_t getStringProperty(int32_t property, String8& value, int64_t* timestamp);
/packages/apps/Camera2/src/com/android/camera/one/v2/errorhandling/
DFramerateJankDetector.java60 long timestamp = result.get(CaptureResult.SENSOR_TIMESTAMP); in onCompleted() local
62 double deltaMillis = (timestamp - mLastFrameTimestamp) / 1000000.0; in onCompleted()
79 mLastFrameTimestamp = timestamp; in onCompleted()
/packages/apps/Messaging/tools/messagegen/
Dfillsms189 timestamp=$(( $START_TIMESTAMP_IN_SECONDS + 5 * $TIMESTAMP_INC_IN_SECONDS * $i ))
196 …snippet,snippet_cs,read,type,error,has_attachment) values ($thread_id, $timestamp, $sms_per_thread…
204 …date=$(( ( 1000 * $timestamp ) - $half_timestamp_inc * ( 2 * ($sms_per_thread - $j) + ( $i % 2 ) )…
221 … date=$(( $timestamp - $half_timestamp_inc * ( 2 * ($mms_per_thread - $j) + ( ($i+1) % 2 ) ) ))

1234