Searched defs:timestamp (Results 1 - 25 of 80) sorted by relevance

1234

/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/metadatasynchronizer/
H A DMetadataPool.java29 public ListenableFuture<TotalCaptureResultProxy> removeMetadataFuture(long timestamp); argument
H A DMetadataPoolImpl.java55 private SettableFuture<TotalCaptureResultProxy> getOrCreateFuture(long timestamp) { argument
58 if (!mMetadataFutures.containsKey(timestamp)) {
59 mMetadataFutures.put(timestamp, SettableFuture.<TotalCaptureResultProxy> create());
62 metadataFuture = mMetadataFutures.get(timestamp);
69 public ListenableFuture<TotalCaptureResultProxy> removeMetadataFuture(final long timestamp) { argument
70 ListenableFuture<TotalCaptureResultProxy> future = getOrCreateFuture(timestamp);
76 mMetadataFutures.remove(timestamp);
90 long timestamp = metadata.get(CaptureResult.SENSOR_TIMESTAMP);
91 SettableFuture<TotalCaptureResultProxy> future = getOrCreateFuture(timestamp);
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/
H A Dprobability_entry_test.cpp41 const int timestamp = 0x3FFFFFFF; local
44 const HistoricalInfo historicalInfo(timestamp, 0 /* level */, count);
53 EXPECT_EQ(timestamp, decodedEntry.getHistoricalInfo()->getTimestamp());
H A Dlanguage_model_dict_content_test.cpp54 const int timestamp = 0x3FFFFFFF; local
57 const HistoricalInfo historicalInfo(timestamp, 0 /* level */, count);
62 EXPECT_EQ(timestamp, entry.getHistoricalInfo()->getTimestamp());
/packages/apps/Camera2/src/com/android/camera/burst/
H A DEvictionHandler.java31 * Return the timestamp of the image that should be dropped.
40 * @return the timestamp of the frame to drop.
47 * @param timestamp the timestamp of the frame, this frame may or may not be
51 void onFrameCaptureResultAvailable(long timestamp, argument
57 * @param timestamp the timestamp of the inserted frame in the image buffer.
59 void onFrameInserted(long timestamp); argument
64 * @param timestamp the timestamp o
66 onFrameDropped(long timestamp) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/one/v2/common/
H A DTimestampResponseListener.java42 public void onStarted(long timestamp) { argument
43 mTimestamps.update(timestamp);
/packages/apps/Car/Stream/src/com/android/car/stream/telecom/
H A DRecentCallConverter.java35 public StreamCard createStreamCard(Context context, String number, long timestamp) { argument
37 Long.parseLong(number), timestamp);
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DContactInteractionUtil.java49 public static String formatDateStringFromTimestamp(long timestamp, Context context) { argument
50 return formatDateStringFromTimestamp(timestamp, context, Calendar.getInstance());
54 * Takes in a timestamp and outputs a human legible date. This checks the timestamp against
57 * 1. If the timestamp is today, the time is shown
60 public static String formatDateStringFromTimestamp(long timestamp, Context context, argument
63 interactionCalendar.setTimeInMillis(timestamp);
71 return DateUtils.formatDateTime(context, timestamp, DateUtils.FORMAT_SHOW_TIME
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
H A Dhistorical_info.h30 HistoricalInfo(const int timestamp, const int level, const int count) argument
31 : mTimestamp(timestamp), mLevel(level), mCount(count) {}
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/
H A DDeletedContactUtil.java70 * Queries all records after a given timestamp.
75 long timestamp) {
77 String[] args = new String[] {timestamp + ""};
74 querySinceTimestamp(ContentResolver resolver, String[] projection, long timestamp) argument
/packages/services/Car/obd2-lib/src/com/android/car/obd2/
H A DObd2LiveFrameGenerator.java65 public JsonWriter generate(JsonWriter jsonWriter, long timestamp) throws IOException { argument
68 jsonWriter.name("timestamp").value(timestamp);
/packages/services/Car/service/src/com/android/car/
H A DCarSensorEventFactory.java24 public static CarSensorEvent createBooleanEvent(int sensorType, long timestamp, argument
26 CarSensorEvent event = new CarSensorEvent(sensorType, timestamp, 0, 1);
31 public static CarSensorEvent createIntEvent(int sensorType, long timestamp, int value) { argument
32 CarSensorEvent event = new CarSensorEvent(sensorType, timestamp, 0, 1);
37 public static CarSensorEvent createFloatEvent(int sensorType, long timestamp, float value) { argument
38 CarSensorEvent event = new CarSensorEvent(sensorType, timestamp, 1, 0);
H A DDayNightModePolicy.java51 // There's a race condition and timestamp from vehicle HAL could be slightly less
53 // We want vehicle HAL value always override this default value so we set timestamp to 0.
54 return createEvent(true /* isNight */, 0 /* timestamp */);
87 private static CarSensorEvent createEvent(boolean isNight, long timestamp) { argument
89 timestamp, 0, 1);
/packages/apps/Camera2/src/com/android/camera/one/v2/core/
H A DResponseListener.java37 public void onStarted(long timestamp) { argument
H A DResponseListenerBroadcaster.java43 public void onStarted(long timestamp) { argument
45 listener.onStarted(timestamp);
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
H A DMostRecentImageSaver.java104 for (Long timestamp : toRemove) {
105 imageMap.remove(timestamp);
124 long timestamp = image.getTimestamp();
125 if (!pairFound || timestamp > oldestTimestamp) {
126 oldestTimestamp = timestamp;
152 private ImageProxy getThumbnail(long timestamp) { argument
153 return mThumbnails.get(timestamp);
/packages/apps/DevCamera/src/com/android/devcamera/
H A DGyroOperations.java60 public long timestamp; field in class:GyroOperations.GyroEvent2D
64 this.timestamp = event.timestamp;
87 mGyroLastTimestamp = event.timestamp;
90 long dt = (event.timestamp - mGyroLastTimestamp) / 1000; // microseconds between samples
96 mGyroLastTimestamp = event.timestamp;
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
H A DSimpleDate.java33 private long timestamp; field in class:SimpleDate
39 public SimpleDate(long timestamp) { argument
40 setTimestamp(timestamp);
45 public void setTimestamp(long timestamp) { argument
47 // TODO(georgescu): find a more efficient way to convert a timestamp to a date?
48 sCalendarInstance.setTimeInMillis(timestamp);
52 this.timestamp = timestamp;
54 DateFormat.getDateInstance(DateFormat.SHORT).format(timestamp);
123 DateFormat.getDateInstance(DateFormat.SHORT).format(timestamp);
[all...]
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversationlist/
H A DConversationListItemViewTest.java86 final String timestamp = Dates.getConversationTimeString(
90 verifyContent(view, name, snippet, timestamp, unread);
97 final String timestamp,
130 assertEquals(timestamp, timestampTextView.getText());
93 verifyContent( final ConversationListItemView view, final String conversationName, final String snippet, final String timestamp, final boolean unread) argument
/packages/apps/UnifiedEmail/src/com/android/mail/
H A DMailLogService.java76 /** Get the current timestamp */
77 private static String dateToString(long timestamp) { argument
78 final Date d = new Date(timestamp);
96 // Add the current timestamp along with the message.
104 // Print the timestamp as an actual date, and then the message.
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DProbabilityInfo.java51 public ProbabilityInfo(final int probability, final int timestamp, final int level, argument
54 mTimestamp = timestamp;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
H A DUserHistoryDictionary.java97 * @param timestamp the timestamp when the word has been inputted
101 final int timestamp) {
106 isValid, 1 /* count */, timestamp);
99 addToDictionary(final ExpandableBinaryDictionary userHistoryDictionary, @Nonnull final NgramContext ngramContext, final String word, final boolean isValid, final int timestamp) argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DWordInputEventForPersonalization.java48 final NgramContext ngramContext, final int timestamp) {
52 mTimestamp = timestamp;
58 final List<String> tokens, final int timestamp,
88 ngramContext, tempWord, timestamp, locale);
99 final NgramContext ngramContext, final String targetWord, final int timestamp,
104 return new WordInputEventForPersonalization(targetWord, ngramContext, timestamp);
47 WordInputEventForPersonalization(final CharSequence targetWord, final NgramContext ngramContext, final int timestamp) argument
57 createInputEventFrom( final List<String> tokens, final int timestamp, final SpacingAndPunctuations spacingAndPunctuations, final Locale locale) argument
98 detectWhetherVaildWordOrNotAndGetInputEvent( final NgramContext ngramContext, final String targetWord, final int timestamp, final Locale locale) argument
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
H A Dprobability_dict_content.cpp47 const int timestamp = buffer->readUintAndAdvancePosition( local
54 const HistoricalInfo historicalInfo(timestamp, level, count + level);
151 AKLOGE("Cannot write timestamp in probability dict content. pos: %d", writingPos);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/
H A DUserHistoryDictionaryTestsHelper.java74 * @param currentTime timestamp that would be used for adding the words.
101 final List<String> words, final int timestamp) {
105 UserHistoryDictionary.addToDictionary(dict, ngramContext, word, true, timestamp);
100 addWordsToDictionary(final UserHistoryDictionary dict, final List<String> words, final int timestamp) argument

Completed in 645 milliseconds

1234