/frameworks/base/media/java/android/media/midi/ |
D | MidiPortImpl.java | 65 public static int packData(byte[] message, int offset, int size, long timestamp, in packData() argument 79 dest[length++] = (byte)timestamp; in packData() 80 timestamp >>= 8; in packData() 126 long timestamp = 0; in getPacketTimestamp() local 130 timestamp = (timestamp << 8) | b; in getPacketTimestamp() 132 return timestamp; in getPacketTimestamp()
|
D | MidiReceiver.java | 61 abstract public void onSend(byte[] msg, int offset, int count, long timestamp) in onSend() argument 123 public void send(byte[] msg, int offset, int count, long timestamp) in send() argument 128 onSend(msg, offset, length, timestamp); in send()
|
/frameworks/native/services/surfaceflinger/ |
D | EventThread.cpp | 58 mVSyncEvent[i].header.timestamp = 0; in EventThread() 157 void EventThread::onVSyncEvent(nsecs_t timestamp) { in onVSyncEvent() argument 161 mVSyncEvent[0].header.timestamp = timestamp; in onVSyncEvent() 175 event.header.timestamp = systemTime(); in onHotplugReceived() 224 nsecs_t timestamp = 0; in waitForEvent() local 226 timestamp = mVSyncEvent[i].header.timestamp; in waitForEvent() 227 if (timestamp) { in waitForEvent() 230 mFlinger.mInterceptor.saveVSyncEvent(timestamp); in waitForEvent() 233 mVSyncEvent[i].header.timestamp = 0; in waitForEvent() 239 if (!timestamp) { in waitForEvent() [all …]
|
/frameworks/base/core/java/com/android/internal/midi/ |
D | MidiEventScheduler.java | 39 public void onSend(byte[] msg, int offset, int count, long timestamp) in onSend() argument 41 MidiEvent event = createScheduledEvent(msg, offset, count, timestamp); in onSend() 62 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { in MidiEvent() argument 63 super(timestamp); in MidiEvent() 83 long timestamp) { in createScheduledEvent() argument 86 event = new MidiEvent(msg, offset, count, timestamp); in createScheduledEvent() 94 event.setTimestamp(timestamp); in createScheduledEvent()
|
D | MidiFramer.java | 60 public void onSend(byte[] data, int offset, int count, long timestamp) in onSend() argument 81 offset - sysExStartOffset + 1, timestamp); in onSend() 95 offset - sysExStartOffset, timestamp); in onSend() 98 mReceiver.send(data, offset, 1, timestamp); in onSend() 107 mReceiver.send(mBuffer, 0, mCount, timestamp); in onSend() 119 offset - sysExStartOffset, timestamp); in onSend()
|
/frameworks/av/camera/ |
D | ICameraRecordingProxyListener.cpp | 42 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) in dataCallbackTimestamp() argument 47 data.writeInt64(timestamp); in dataCallbackTimestamp() 53 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { in recordingFrameHandleCallbackTimestamp() argument 57 data.writeInt64(timestamp); in recordingFrameHandleCallbackTimestamp() 109 nsecs_t timestamp = data.readInt64(); in onTransact() local 112 dataCallbackTimestamp(timestamp, msgType, imageData); in onTransact() 118 nsecs_t timestamp; in onTransact() local 119 status_t res = data.readInt64(×tamp); in onTransact() 132 recordingFrameHandleCallbackTimestamp(timestamp, handle); in onTransact()
|
D | ICameraClient.cpp | 75 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) in dataCallbackTimestamp() argument 80 data.writeInt64(timestamp); in dataCallbackTimestamp() 86 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { in recordingFrameHandleCallbackTimestamp() argument 90 data.writeInt64(timestamp); in recordingFrameHandleCallbackTimestamp() 156 nsecs_t timestamp = data.readInt64(); in onTransact() local 159 dataCallbackTimestamp(timestamp, msgType, imageData); in onTransact() 165 nsecs_t timestamp; in onTransact() local 166 status_t res = data.readInt64(×tamp); in onTransact() 178 recordingFrameHandleCallbackTimestamp(timestamp, handle); in onTransact()
|
/frameworks/base/core/java/android/app/admin/ |
D | NetworkEvent.java | 38 long timestamp; field in NetworkEvent 46 NetworkEvent(String packageName, long timestamp) { in NetworkEvent() argument 48 this.timestamp = timestamp; in NetworkEvent() 64 return timestamp; in getTimestamp()
|
D | ConnectEvent.java | 37 public ConnectEvent(String ipAddress, int port, String packageName, long timestamp) { in ConnectEvent() argument 38 super(packageName, timestamp); in ConnectEvent() 47 this.timestamp = in.readLong(); in ConnectEvent() 66 return String.format("ConnectEvent(%s, %d, %d, %s)", ipAddress, port, timestamp, in toString() 98 out.writeLong(timestamp); in writeToParcel()
|
D | DnsEvent.java | 47 String packageName, long timestamp) { in DnsEvent() argument 48 super(packageName, timestamp); in DnsEvent() 59 this.timestamp = in.readLong(); in DnsEvent() 97 ipAddressesCount, timestamp, packageName); in toString() 129 out.writeLong(timestamp); in writeToParcel()
|
/frameworks/av/include/media/ |
D | AudioTimestamp.h | 124 status_t getBestTimestamp(AudioTimestamp *timestamp, Location *location = nullptr) const { 125 if (timestamp == nullptr) { 130 timestamp->mPosition = position; 131 timestamp->mTime.tv_sec = time / 1000000000; 132 timestamp->mTime.tv_nsec = time - timestamp->mTime.tv_sec * 1000000000LL;
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioTimestamp.h | 124 status_t getBestTimestamp(AudioTimestamp *timestamp, Location *location = nullptr) const { 125 if (timestamp == nullptr) { 130 timestamp->mPosition = position; 131 timestamp->mTime.tv_sec = time / 1000000000; 132 timestamp->mTime.tv_nsec = time - timestamp->mTime.tv_sec * 1000000000LL;
|
/frameworks/base/core/java/android/net/ |
D | ConnectivityMetricsEvent.java | 31 public long timestamp; field in ConnectivityMetricsEvent 45 timestamp = in.readLong(); in ConnectivityMetricsEvent() 71 dest.writeLong(timestamp); in writeToParcel() 81 buffer.append(String.format("%tT.%tL", timestamp, timestamp)); in toString()
|
/frameworks/base/core/java/android/net/metrics/ |
D | IpConnectivityLog.java | 76 if (ev.timestamp == 0) { in log() 77 ev.timestamp = System.currentTimeMillis(); in log() 95 public boolean log(long timestamp, Parcelable data) { in log() argument 97 ev.timestamp = timestamp; in log()
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | TagMonitor.cpp | 102 void TagMonitor::monitorMetadata(eventSource source, int64_t frameNumber, nsecs_t timestamp, in monitorMetadata() argument 108 if (timestamp == 0) { in monitorMetadata() 109 timestamp = systemTime(SYSTEM_TIME_BOOTTIME); in monitorMetadata() 154 mMonitoringEvents.emplace(source, frameNumber, timestamp, entry); in monitorMetadata() 166 mMonitoringEvents.emplace(source, frameNumber, timestamp, entry); in monitorMetadata() 191 event.frameNumber, event.timestamp, in dumpMonitoredMetadata() 295 TagMonitor::MonitorEvent::MonitorEvent(eventSource src, uint32_t frameNumber, nsecs_t timestamp, in MonitorEvent() argument 299 timestamp(timestamp), in MonitorEvent()
|
/frameworks/native/services/sensorservice/ |
D | SensorFusion.cpp | 75 if ( event.timestamp - mGyroTime> 0 && in process() 76 event.timestamp - mGyroTime< (int64_t)(5e7) ) { //0.05sec in process() 78 dT = (event.timestamp - mGyroTime) / 1000000000.0f; in process() 94 mGyroTime = event.timestamp; in process() 104 if ( event.timestamp - mAccTime> 0 && in process() 105 event.timestamp - mAccTime< (int64_t)(1e8) ) { //0.1sec in process() 106 dT = (event.timestamp - mAccTime) / 1000000000.0f; in process() 116 mAccTime = event.timestamp; in process()
|
/frameworks/hardware/interfaces/displayservice/1.0/ |
D | IEventCallback.hal | 20 * @param timestamp Nanoseconds since boot. 23 oneway onVsync(uint64_t timestamp, uint32_t count); 26 * @param timestamp Nanoseconds since boot. 29 oneway onHotplug(uint64_t timestamp, bool connected);
|
/frameworks/base/core/java/android/gesture/ |
D | GesturePoint.java | 30 public final long timestamp; field in GesturePoint 35 timestamp = t; in GesturePoint() 49 return new GesturePoint(x, y, timestamp); in clone()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | CaptureCollector.java | 129 public void setJpegTimestamp(long timestamp) { in setJpegTimestamp() argument 145 mTimestamp = timestamp; in setJpegTimestamp() 188 public void setPreviewTimestamp(long timestamp) { in setPreviewTimestamp() argument 204 mTimestamp = timestamp; in setPreviewTimestamp() 431 MutableLong timestamp) in waitForRequestCompleted() argument 437 while (!removeRequestIfCompleted(holder, /*out*/timestamp)) { in waitForRequestCompleted() 449 private boolean removeRequestIfCompleted(RequestHolder holder, MutableLong timestamp) { in removeRequestIfCompleted() argument 453 timestamp.value = h.mTimestamp; in removeRequestIfCompleted() 469 public RequestHolder jpegCaptured(long timestamp) { in jpegCaptured() argument 478 h.setJpegTimestamp(timestamp); in jpegCaptured() [all …]
|
/frameworks/base/core/jni/ |
D | 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) { in dispatchVsync() argument 94 gDisplayEventReceiverClassInfo.dispatchVsync, timestamp, id, count); in dispatchVsync() 101 void NativeDisplayEventReceiver::dispatchHotplug(nsecs_t timestamp, int32_t id, bool connected) { in dispatchHotplug() argument 108 gDisplayEventReceiverClassInfo.dispatchHotplug, timestamp, id, connected); in dispatchHotplug()
|
/frameworks/native/services/sensorservice/tests/ |
D | sensorservicetest.cpp | 41 t = float(buffer[i].timestamp - oldTimeStamp) / s2ns(1); in receiver() 43 t = float(buffer[i].timestamp - sStartTime) / s2ns(1); in receiver() 45 oldTimeStamp = buffer[i].timestamp; in receiver() 49 buffer[i].timestamp, in receiver()
|
/frameworks/av/media/libaudioclient/ |
D | IAudioTrack.cpp | 128 virtual status_t getTimestamp(AudioTimestamp& timestamp) { in getTimestamp() argument 135 timestamp.mPosition = reply.readInt32(); in getTimestamp() 136 timestamp.mTime.tv_sec = reply.readInt32(); in getTimestamp() 137 timestamp.mTime.tv_nsec = reply.readInt32(); in getTimestamp() 242 AudioTimestamp timestamp; in onTransact() local 243 status_t status = getTimestamp(timestamp); in onTransact() 246 reply->writeInt32(timestamp.mPosition); in onTransact() 247 reply->writeInt32(timestamp.mTime.tv_sec); in onTransact() 248 reply->writeInt32(timestamp.mTime.tv_nsec); in onTransact()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiActivityEnergyInfo.java | 71 public WifiActivityEnergyInfo(long timestamp, int stackState, in WifiActivityEnergyInfo() argument 74 mTimestamp = timestamp; in WifiActivityEnergyInfo() 99 long timestamp = in.readLong(); 106 return new WifiActivityEnergyInfo(timestamp, stackState,
|
/frameworks/base/telephony/java/android/telephony/ |
D | ModemActivityInfo.java | 46 public ModemActivityInfo(long timestamp, int sleepTimeMs, int idleTimeMs, in ModemActivityInfo() argument 48 mTimestamp = timestamp; in ModemActivityInfo() 77 long timestamp = in.readLong(); 86 return new ModemActivityInfo(timestamp, sleepTimeMs, idleTimeMs,
|
/frameworks/base/media/native/midi/ |
D | midi.cpp | 185 message->timestamp = 0; in AMIDI_receive() 191 message->timestamp = *(uint64_t*)(readBuffer + readCount - sizeof(uint64_t)); in AMIDI_receive() 222 uint8_t *buffer, uint8_t *data, ssize_t numBytes,uint64_t timestamp) { in AMIDI_makeSendBuffer() argument 225 memcpy(buffer + 1 + numBytes, ×tamp, sizeof(timestamp)); in AMIDI_makeSendBuffer() 241 ssize_t numBytes, int64_t timestamp) { in AMIDI_sendWithTimestamp() argument 250 ssize_t numTransferBytes = AMIDI_makeSendBuffer(writeBuffer, data, numBytes, timestamp); in AMIDI_sendWithTimestamp()
|