/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiWakeMetrics.java | 236 public Session(int numNetworks, long timestamp) { 238 mStartTimestamp = timestamp; 248 * @param timestamp The timestamp of the event. 250 public void recordInitializeEvent(int numScans, int numNetworks, long timestamp) { 253 mInitEvent = new Event(numScans, timestamp - mStartTimestamp); 263 * @param timestamp The timestamp of the event. 265 public void recordUnlockEvent(int numScans, long timestamp) { 267 mUnlockEvent = new Event(numScans, timestamp - mStartTimestamp) [all...] |
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
omx_swvdec_utils.cpp | 171 * @brief OMX SwVdec timestamp list constructor. 181 * @brief OMX SwVdec timestamp list destructor. 189 * @brief Reset timestamp list. 198 * @brief Push timestamp to list, keeping lowest-valued timestamp at the end. 200 * @param[in] timestamp: Timestamp. 205 bool omx_swvdec_ts_list::push(long long timestamp) 217 // insert timestamp into list 220 m_list[m_count_filled].timestamp = timestamp [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
ChangedContacts.java | 203 long timestamp = 0; local 212 // Save the largest timestamp returned. Only need the first one due to the sort 215 timestamp = data.getLong(data.getColumnIndex( 219 if (timestamp > 0) { 220 saveLastTimestamp(timestamp, PREF_KEY_CHANGE); 221 mChangeButton.setText("Changed since " + timestamp); 229 timestamp = data.getLong(data.getColumnIndex( 233 if (timestamp > 0) { 234 saveLastTimestamp(timestamp, PREF_KEY_DELETE); 235 mDeleteButton.setText("Deleted since " + timestamp); 296 String timestamp = cursor.getString(cursor.getColumnIndex( local 329 String timestamp = cursor.getString(cursor.getColumnIndex( local [all...] |
/external/webrtc/webrtc/common_video/ |
i420_video_frame_unittest.cc | 48 EXPECT_EQ(123u, frame.timestamp()); 72 uint32_t timestamp = 1; local 84 small_frame.set_timestamp(timestamp); 118 uint32_t timestamp = 1; local 140 frame1.set_timestamp(timestamp); 157 EXPECT_EQ(frame2.timestamp(), frame1.timestamp()); 162 frame2.set_timestamp(timestamp + 1); 167 EXPECT_NE(frame2.timestamp(), frame1.timestamp()); [all...] |
/frameworks/base/services/core/java/com/android/server/utils/ |
ManagedApplicationService.java | 117 public final long timestamp; field in class:ManagedApplicationService.LogEvent 123 public LogEvent(long timestamp, ComponentName component, int event) { 124 this.timestamp = timestamp; 131 return dateFormat.format(new Date(timestamp)) + " " + eventToString(event) 313 final long timestamp = System.currentTimeMillis(); 320 mEventCb.onServiceEvent(new LogEvent(timestamp, mComponent, 331 final long timestamp = System.currentTimeMillis(); 341 mEventCb.onServiceEvent(new LogEvent(timestamp, mComponent, 374 final long timestamp = System.currentTimeMillis() 453 final long timestamp = System.currentTimeMillis(); local [all...] |
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
TimeUtil.java | 34 import com.google.protobuf.Timestamp; 44 * Utilities to help create/manipulate Timestamp/Duration 47 // Timestamp for "0001-01-01T00:00:00Z" 50 // Timestamp for "9999-12-31T23:59:59Z" 73 // backwards to year one) for timestamp formating. 82 * Convert Timestamp to RFC 3339 date string format. The output will always 84 * represent the exact value. Note that Timestamp can only represent time 90 * @return The string representation of the given timestamp. 91 * @throws IllegalArgumentException if the given timestamp is not in the 94 public static String toString(Timestamp timestamp [all...] |
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
FrequencyVerification.java | 173 mMinTimestamp = event.timestamp; 174 mMaxTimestamp = event.timestamp; 176 if (mMinTimestamp > event.timestamp) { 177 mMinTimestamp = event.timestamp; 179 if (mMaxTimestamp < event.timestamp) { 180 mMaxTimestamp = event.timestamp;
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
ScanResultTest.java | 169 long timestamp = 0; local 177 timestamp = result.timestamp; 178 assertTrue(timestamp != 0); 187 long timeDiff = (result.timestamp - timestamp) / 1000;
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/ |
VoicemailImpl.java | 39 Long timestamp, 51 mTimestamp = timestamp; 62 * The number and the timestamp are mandatory for insertion. 64 public static Builder createForInsertion(long timestamp, String number) { 65 return new Builder().setNumber(number).setTimestamp(timestamp); 112 public Builder setTimestamp(long timestamp) { 113 mBuilderTimestamp = timestamp;
|
/frameworks/base/cmds/statsd/src/metrics/duration_helper/ |
DurationTracker.h | 95 virtual void onSlicedConditionMayChange(bool overallCondition, const int64_t timestamp) = 0; 96 virtual void onConditionChanged(bool condition, const int64_t timestamp) = 0; 110 // Predict the anomaly timestamp given the current status. 139 void stopAnomalyAlarm(const int64_t timestamp) { 142 anomalyTracker->stopAlarm(mEventKey, timestamp); 155 void detectAndDeclareAnomaly(const int64_t& timestamp, const int64_t& currBucketNum, 159 anomalyTracker->detectAndDeclareAnomaly(timestamp, currBucketNum, mEventKey,
|
MaxDurationTracker.h | 56 void onSlicedConditionMayChange(bool overallCondition, const int64_t timestamp) override; 57 void onConditionChanged(bool condition, const int64_t timestamp) override; 70 const int64_t timestamp);
|
/frameworks/base/core/jni/ |
android_view_DisplayEventReceiver.cpp | 62 virtual void dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count); 63 virtual void dispatchHotplug(nsecs_t timestamp, int32_t id, bool connected); 87 void NativeDisplayEventReceiver::dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count) { 94 gDisplayEventReceiverClassInfo.dispatchVsync, timestamp, id, count); 101 void NativeDisplayEventReceiver::dispatchHotplug(nsecs_t timestamp, int32_t id, bool connected) { 108 gDisplayEventReceiverClassInfo.dispatchHotplug, timestamp, id, connected);
|
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
CallLogDates.java | 90 * Formats the provided timestamp (in milliseconds) into date and time suitable for display in the 99 public static CharSequence formatDate(Context context, long timestamp) { 103 timestamp, 111 * Formats the provided timestamp (in milliseconds) into abbreviated day of week. 118 private static CharSequence formatDayOfWeek(Context context, long timestamp) { 121 context, timestamp, DateUtils.FORMAT_SHOW_WEEKDAY | DateUtils.FORMAT_ABBREV_WEEKDAY)); 125 * Formats the provided timestamp (in milliseconds) into the month abbreviation, day, and 134 Context context, long timestamp, boolean showYear) { 140 return toTitleCase(DateUtils.formatDateTime(context, timestamp, flags));
|
/prebuilts/jdk/jdk8/darwin-x86/sample/dtrace/hotspot/ |
class_loading_stat.d | 64 SAMPLING_TIME = timestamp + INTERVAL_SECS * 1000000000ull; 111 /timestamp > SAMPLING_TIME/ 128 SAMPLING_TIME = timestamp + INTERVAL_SECS * 1000000000ull;
|
object_allocation_stat.d | 83 SAMPLING_TIME = timestamp + INTERVAL_SECS * 1000000000ull; 113 /timestamp > SAMPLING_TIME/ 132 SAMPLING_TIME = timestamp + INTERVAL_SECS * 1000000000ull;
|
/external/libxcam/xcore/ |
xcam_analyzer.h | 64 virtual void x3a_calculation_failed (XAnalyzer *analyzer, int64_t timestamp, const char *msg); 120 void notify_calculation_failed (AnalyzerHandler *handler, int64_t timestamp, const char *msg); 121 void set_results_timestamp (X3aResultList &results, int64_t timestamp);
|
/external/oauth/core/src/main/java/net/oauth/ |
SimpleOAuthValidator.java | 24 * A simple OAuthValidator, which checks the version, whether the timestamp 89 long timestamp = Long.parseLong(message.getParameter(OAuth.OAUTH_TIMESTAMP)) * 1000L; local 93 if (timestamp < min || max < timestamp) {
|
/frameworks/av/media/libnbaio/ |
AudioStreamOutSink.cpp | 78 status_t AudioStreamOutSink::getTimestamp(ExtendedTimestamp ×tamp) 85 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = position64; 86 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = audio_utils_ns_from_timespec(&time);
|
/frameworks/av/services/oboeservice/ |
AAudioServiceStreamBase.cpp | 214 // Send it now because the timestamp gets rounded up when stopStream() is called below. 248 // Send it now because the timestamp gets rounded up when stopStream() is called below. 311 // Sleep until it is time to send the next timestamp. 365 // Send a timestamp for the clock model. 366 aaudio_result_t result = getFreeRunningPosition(&command.timestamp.position, 367 &command.timestamp.timestamp); 370 (long long) command.timestamp.position, 371 (long long) command.timestamp.timestamp); [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
GLEnvironment.java | 141 public void setSurfaceTimestamp(long timestamp) { 142 if (!nativeSetSurfaceTimestamp(timestamp)) { 143 throw new RuntimeException("Could not set timestamp for current surface!"); 183 private native boolean nativeSetSurfaceTimestamp(long timestamp);
|
/hardware/intel/common/libmix/mix_video/src/ |
mixvideoframe.c | 42 self->timestamp = 0; 199 this_target->timestamp = this_src->timestamp; 235 && this_first->timestamp == this_second->timestamp 286 MIX_RESULT mix_videoframe_set_timestamp(MixVideoFrame * obj, guint64 timestamp) { 289 obj->timestamp = timestamp; 295 guint64 * timestamp) { 296 MIX_VIDEOFRAME_GETTER_CHECK_INPUT (obj, timestamp); [all...] |
mixvideoframe.h | 73 guint64 timestamp; member in struct:_MixVideoFrame 135 MIX_RESULT mix_videoframe_set_timestamp(MixVideoFrame * obj, guint64 timestamp); 136 MIX_RESULT mix_videoframe_get_timestamp(MixVideoFrame * obj, guint64 * timestamp);
|
/hardware/intel/img/hwcomposer/merrifield/common/observers/ |
VsyncEventObserver.cpp | 122 int64_t timestamp; local 123 bool ret = mVsyncControl->wait(mDevice, timestamp); 132 mDisplayDevice.onVsync(timestamp);
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/observers/ |
VsyncEventObserver.cpp | 121 int64_t timestamp; local 122 bool ret = mVsyncControl->wait(mDevice, timestamp); 130 mDisplayDevice.onVsync(timestamp);
|
/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
ResponseListeners.java | 97 * @param callback A thread-safe callback to receive the timestamp of the 104 public void onStarted(long timestamp) { 105 callback.update(timestamp); 118 public void onStarted(long timestamp) {
|