Searched defs:timestamp (Results 26 - 50 of 165) sorted by relevance

1234567

/frameworks/base/services/core/java/com/android/server/location/
H A DGnssStatusListenerHelper.java95 public void onNmeaReceived(final long timestamp, final String nmea) { argument
99 listener.onNmeaReceived(timestamp, nmea);
/frameworks/base/telephony/java/com/android/ims/internal/uce/presence/
H A DPresTupleInfo.java62 * Gets the timestamp.
70 * Sets the timestamp.
73 public void setTimestamp(String timestamp) { argument
74 this.mTimestamp = timestamp;
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/
H A DCamera2CaptureCallbackForwarder.java92 final long timestamp, final long frameNumber) {
96 mListener.onCaptureStarted(session, request, timestamp, frameNumber);
91 onCaptureStarted(final CameraCaptureSession session, final CaptureRequest request, final long timestamp, final long frameNumber) argument
H A DCamera2CaptureCallbackSplitter.java90 long timestamp, long frameNumber) {
92 target.onCaptureStarted(session, request, timestamp, frameNumber);
89 onCaptureStarted(CameraCaptureSession session, CaptureRequest request, long timestamp, long frameNumber) argument
/frameworks/native/include/gui/
H A DCpuConsumer.h55 int64_t timestamp; member in struct:android::CpuConsumer::LockedBuffer
80 timestamp(0),
/frameworks/av/include/media/
H A DAudioTimestamp.h41 LOCATION_CLIENT, // timestamp of last read frame from client-server track buffer.
42 LOCATION_SERVER, // timestamp of newest frame from client-server track buffer.
43 LOCATION_KERNEL, // timestamp of newest frame in the kernel (alsa) buffer.
45 // Historical data: info when the kernel timestamp was OK (prior to the newest frame).
46 // This may be useful when the newest frame kernel timestamp is unavailable.
48 LOCATION_SERVER_LASTKERNELOK, // timestamp of server the prior time kernel timestamp OK.
49 LOCATION_KERNEL_LASTKERNELOK, // timestamp of kernel the prior time kernel timestamp OK.
76 // timestamp wa
124 getBestTimestamp(AudioTimestamp *timestamp, Location *location = nullptr) const argument
[all...]
/frameworks/av/include/media/nbaio/
H A DNBAIO.h212 // Returns NO_ERROR if a timestamp is available. The timestamp includes the total number
214 // as of this presentation count. The timestamp parameter is undefined if error is returned.
215 virtual status_t getTimestamp(ExtendedTimestamp &timestamp) { return INVALID_OPERATION; } argument
300 // Invoked asynchronously by corresponding sink when a new timestamp is available.
301 // Default implementation ignores the timestamp.
302 virtual void onTimestamp(const ExtendedTimestamp& timestamp) { } argument
/frameworks/av/media/libmedia/
H A DIAudioTrack.cpp126 virtual status_t getTimestamp(AudioTimestamp& timestamp) { argument
133 timestamp.mPosition = reply.readInt32();
134 timestamp.mTime.tv_sec = reply.readInt32();
135 timestamp.mTime.tv_nsec = reply.readInt32();
194 AudioTimestamp timestamp; local
195 status_t status = getTimestamp(timestamp);
198 reply->writeInt32(timestamp.mPosition);
199 reply->writeInt32(timestamp.mTime.tv_sec);
200 reply->writeInt32(timestamp.mTime.tv_nsec);
/frameworks/av/media/libnbaio/
H A DMonoPipe.cpp186 status_t MonoPipe::getTimestamp(ExtendedTimestamp &timestamp) argument
190 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] =
192 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] =
/frameworks/av/services/audioflinger/
H A DAudioStreamOut.cpp85 status_t AudioStreamOut::getPresentationPosition(uint64_t *frames, struct timespec *timestamp) argument
92 status_t status = stream->get_presentation_position(stream, &halPosition, timestamp);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3InputStream.cpp93 nsecs_t timestamp,
98 (void)timestamp;
163 return returnAnyBufferLocked(buffer, /*timestamp*/0, /*output*/false);
91 returnBufferCheckedLocked( const camera3_stream_buffer &buffer, nsecs_t timestamp, bool output, sp<Fence> *releaseFenceOut) argument
/frameworks/base/core/java/android/app/admin/
H A DSecurityLog.java128 * Returns the timestamp in nano seconds when this event was logged.
184 * Retrieve all security logs since the given timestamp in nanoseconds and return immediately.
187 public static native void readEventsSince(long timestamp, Collection<SecurityEvent> output) argument
199 * Retrieve all security logs whose timestamp (in nanosceonds) is equal to or greater than the
200 * given timestamp. This method will block until either the last log earlier than the given
201 * timestamp is about to be pruned, or after a 2-hour timeout has passed.
204 public static native void readEventsOnWrapping(long timestamp, Collection<SecurityEvent> output) argument
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothActivityEnergyInfo.java44 public BluetoothActivityEnergyInfo(long timestamp, int stackState, argument
46 mTimestamp = timestamp;
141 * @return timestamp(real time elapsed in milliseconds since boot) of record creation.
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCallbackProxies.java102 CaptureRequest request, long timestamp, long frameNumber) {
103 mProxy.invoke("onCaptureStarted", camera, request, timestamp, frameNumber);
101 onCaptureStarted(CameraDevice camera, CaptureRequest request, long timestamp, long frameNumber) argument
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyResultMapper.java58 * @param timestamp the timestamp to use for this result in nanoseconds.
63 LegacyRequest legacyRequest, long timestamp) {
89 // sensor.timestamp
90 result.set(SENSOR_TIMESTAMP, timestamp);
95 " timestamp = " + timestamp);
254 // sensor.timestamp varies every frame; mapping is done in #cachedConvertResultMetadata
62 cachedConvertResultMetadata( LegacyRequest legacyRequest, long timestamp) argument
H A DPerfMeasurement.java125 * timestamp gpu_duration cpu_duration
135 dump.write("timestamp gpu_duration cpu_duration\n");
193 // Discard timestamp and CPU measurement since GPU measurement failed
204 * Add a timestamp to a timing measurement. These are queued up and matched to completed
207 public void addTimestamp(long timestamp) { argument
208 mTimestampQueue.add(timestamp);
/frameworks/base/core/java/com/android/internal/midi/
H A DEventScheduler.java24 * Store arbitrary timestamped events using a Long timestamp.
95 * @param timestamp
97 public SchedulableEvent(long timestamp) { argument
98 mTimestamp = timestamp;
102 * @return timestamp
109 * The timestamp should not be modified when the event is in the
112 public void setTimestamp(long timestamp) { argument
113 mTimestamp = timestamp;
184 * @param timestamp
/frameworks/base/core/jni/
H A Dandroid_view_DisplayEventReceiver.cpp68 virtual void dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count);
69 virtual void dispatchHotplug(nsecs_t timestamp, int32_t id, bool connected);
92 void NativeDisplayEventReceiver::dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count) { argument
99 gDisplayEventReceiverClassInfo.dispatchVsync, timestamp, id, count);
106 void NativeDisplayEventReceiver::dispatchHotplug(nsecs_t timestamp, int32_t id, bool connected) { argument
113 gDisplayEventReceiverClassInfo.dispatchHotplug, timestamp, id, connected);
/frameworks/base/media/java/android/media/midi/
H A DMidiInputPort.java76 public void onSend(byte[] msg, int offset, int count, long timestamp) throws IOException { argument
88 int length = MidiPortImpl.packData(msg, offset, count, timestamp, mBuffer);
/frameworks/base/services/core/java/com/android/server/tv/
H A DUinputBridge.java38 private static native void nativeSendTimestamp(long ptr, long timestamp); argument
96 public void sendTimestamp(IBinder token, long timestamp) { argument
98 nativeSendTimestamp(mPtr, timestamp);
/frameworks/base/telephony/java/android/telephony/
H A DModemActivityInfo.java46 public ModemActivityInfo(long timestamp, int sleepTimeMs, int idleTimeMs, argument
48 mTimestamp = timestamp;
77 long timestamp = in.readLong();
86 return new ModemActivityInfo(timestamp, sleepTimeMs, idleTimeMs,
107 * @return timestamp of record creation
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiActivityEnergyInfo.java71 public WifiActivityEnergyInfo(long timestamp, int stackState, argument
74 mTimestamp = timestamp;
86 + " timestamp=" + mTimestamp
99 long timestamp = in.readLong();
106 return new WifiActivityEnergyInfo(timestamp, stackState,
174 * @return timestamp(wall clock) of record creation
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingCaptureCallback.java126 long timestamp, long frameNumber) {
127 if (mProxy != null) mProxy.onCaptureStarted(session, request, timestamp, frameNumber);
125 onCaptureStarted(CameraCaptureSession session, CaptureRequest request, long timestamp, long frameNumber) argument
/frameworks/native/libs/ui/
H A DFence.cpp121 uint64_t timestamp = 0; local
123 if (pinfo->timestamp_ns > timestamp) {
124 timestamp = pinfo->timestamp_ns;
129 return nsecs_t(timestamp);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaInboundSmsHandler.java261 long timestamp) {
305 userData, timestamp, destinationPort, true, address, referenceNumber, segment,
260 processCdmaWapPdu(byte[] pdu, int referenceNumber, String address, long timestamp) argument

Completed in 610 milliseconds

1234567