Home
last modified time | relevance | path

Searched refs:mTimestamp (Results 1 – 25 of 145) sorted by relevance

123456

/aosp12/packages/modules/ExtServices/java/tests/src/android/ext/services/displayhash/
H A DHmacKeyManagerTest.java33 private final long mTimestamp = 1000; field in HmacKeyManagerTest
50 assertTrue(mHmacKeyManager.verifyHmac(mSalt, mTimestamp, mBounds, in testGenerateAndVerifyHmac()
59 mHmacKeyManager.verifyHmac("fake salt".getBytes(), mTimestamp, mBounds, in testVerifyHmac_differentSalt()
76 mHmacKeyManager.verifyHmac(mSalt, mTimestamp, new Rect(10, 10, 110, 210), in testVerifyHmac_differentBounds()
84 assertFalse(mHmacKeyManager.verifyHmac(mSalt, mTimestamp, mBounds, in testVerifyHmac_differentHashAlgorithm()
92 assertFalse(mHmacKeyManager.verifyHmac(mSalt, mTimestamp, mBounds, in testVerifyHmac_differentImageHash()
98 assertFalse(mHmacKeyManager.verifyHmac(mSalt, mTimestamp, mBounds, in testVerifyHmac_differentHmac()
104 assertFalse(mHmacKeyManager.verifyHmac(mSalt, mTimestamp, mBounds, in testVerifyHmac_invalidHmac()
107 assertFalse(mHmacKeyManager.verifyHmac(mSalt, mTimestamp, mBounds, in testVerifyHmac_invalidHmac()
112 byte[] hmac = mHmacKeyManager.generateHmac(mSalt, mTimestamp, mBounds, mHashAlgorithm, in generateHmac()
/aosp12/frameworks/base/services/people/java/com/android/server/people/data/
H A DEvent.java114 private final long mTimestamp; field in Event
121 mTimestamp = timestamp; in Event()
127 mTimestamp = builder.mTimestamp; in Event()
133 return mTimestamp; in getTimestamp()
156 protoOutputStream.write(PeopleEventProto.TIME, mTimestamp); in writeToProto()
192 return mTimestamp == other.mTimestamp in equals()
199 return Objects.hash(mTimestamp, mType, mDurationSeconds); in hashCode()
206 sb.append("timestamp=").append(DateFormat.format("yyyy-MM-dd HH:mm:ss", mTimestamp)); in toString()
218 private long mTimestamp; field in Event.Builder
227 mTimestamp = timestamp; in Builder()
[all …]
/aosp12/frameworks/av/services/camera/libcameraservice/gui/
H A DRingBufferConsumer.cpp84 cur.mTimestamp = item.mTimestamp; in pinSelectedBuffer()
180 item.mTimestamp, item.mFrameNumber); in pinBufferLocked()
183 item.mFrameNumber, item.mTimestamp); in pinBufferLocked()
218 if (find.mTimestamp < accIt->mTimestamp || accIt == end) { in releaseOldestBufferLocked()
243 item.mTimestamp, item.mFrameNumber); in releaseOldestBufferLocked()
257 item.mTimestamp, item.mFrameNumber); in releaseOldestBufferLocked()
309 item.mTimestamp, in onFrameAvailable()
312 if (item.mTimestamp < mLatestTimestamp) { in onFrameAvailable()
317 mLatestTimestamp = item.mTimestamp; in onFrameAvailable()
354 item.mTimestamp, item.mFrameNumber); in unpinBuffer()
[all …]
/aosp12/frameworks/base/location/java/android/location/
H A DCountry.java68 private final long mTimestamp; field in Country
90 mTimestamp = SystemClock.elapsedRealtime(); in Country()
100 mTimestamp = timestamp; in Country()
106 mTimestamp = country.mTimestamp; in Country()
137 return mTimestamp; in getTimestamp()
157 parcel.writeLong(mTimestamp); in writeToParcel()
204 return "Country {ISO=" + mCountryIso + ", source=" + mSource + ", time=" + mTimestamp + "}"; in toString()
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
H A Dhistorical_info.h28 : mTimestamp(NOT_A_TIMESTAMP), mLevel(0), mCount(0) {} in HistoricalInfo()
31 : mTimestamp(timestamp), mLevel(level), mCount(count) {} in HistoricalInfo()
34 return mTimestamp != NOT_A_TIMESTAMP; in isValid()
38 return mTimestamp; in getTimestamp()
54 const int mTimestamp; variable
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DProbabilityInfo.java30 public final int mTimestamp; field in ProbabilityInfo
54 mTimestamp = timestamp; in ProbabilityInfo()
60 return mTimestamp != BinaryDictionary.NOT_A_VALID_TIMESTAMP; in hasHistoricalInfo()
66 return Arrays.hashCode(new Object[] { mProbability, mTimestamp, mLevel, mCount }); in hashCode()
84 return mProbability == p.mProbability && mTimestamp == p.mTimestamp && mLevel == p.mLevel in equals()
/aosp12/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/pidf/
H A DTimestamp.java33 private String mTimestamp; field in Timestamp
39 mTimestamp = timestamp; in Timestamp()
53 return mTimestamp; in getValue()
58 if (mTimestamp == null) { in serialize()
64 serializer.text(mTimestamp); in serialize()
84 mTimestamp = timestamp; in parse()
H A DTuple.java60 private Timestamp mTimestamp; field in Tuple
117 mTimestamp = timestamp; in setTimestamp()
121 return mTimestamp; in getTimestamp()
157 if (mTimestamp != null) { in serialize()
158 mTimestamp.serialize(serializer); in serialize()
208 mTimestamp = timestamp; in parse()
/aosp12/frameworks/base/telephony/java/android/telephony/
H A DModemActivityInfo.java94 private long mTimestamp; field in ModemActivityInfo
110 mTimestamp = timestamp; in ModemActivityInfo()
130 + " mTimestamp=" + mTimestamp in toString()
165 dest.writeLong(mTimestamp); in writeToParcel()
179 return mTimestamp; in getTimestampMillis()
184 mTimestamp = timestamp; in setTimestamp()
348 return mTimestamp == that.mTimestamp in equals()
357 int result = Objects.hash(mTimestamp, mSleepTimeMs, mIdleTimeMs, mRxTimeMs); in hashCode()
/aosp12/frameworks/native/libs/input/
H A DTouchVideoFrame.cpp24 mHeight(height), mWidth(width),mData(std::move(data)), mTimestamp(timestamp) { in TouchVideoFrame()
31 && mTimestamp.tv_sec == rhs.mTimestamp.tv_sec in operator ==()
32 && mTimestamp.tv_usec == rhs.mTimestamp.tv_usec; in operator ==()
41 const struct timeval& TouchVideoFrame::getTimestamp() const { return mTimestamp; } in getTimestamp()
/aosp12/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/
H A DDTC.java53 private long mTimestamp; field in DTC
74 this.mTimestamp = timestamp; in DTC()
89 this.mTimestamp = timestamp; in DTC()
105 this.mTimestamp = in.readLong(); in DTC()
119 return mTimestamp; in getTimestamp()
124 mTimestamp = timestamp; in setTimestamp()
175 dest.writeLong(this.mTimestamp); in writeToParcel()
/aosp12/frameworks/base/core/java/android/bluetooth/
H A DBluetoothActivityEnergyInfo.java32 private final long mTimestamp; field in BluetoothActivityEnergyInfo
47 mTimestamp = timestamp; in BluetoothActivityEnergyInfo()
57 mTimestamp = in.readLong(); in BluetoothActivityEnergyInfo()
69 + " mTimestamp=" + mTimestamp in toString()
94 out.writeLong(mTimestamp); in writeToParcel()
149 return mTimestamp; in getTimeStamp()
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/
H A DDataStatus.java37 private long mTimestamp = -1; field in DataStatus
67 if (newTimestamp < mTimestamp) return; in possibleUpdate()
69 mTimestamp = newTimestamp; in possibleUpdate()
79 mTimestamp = getLong(cursor, Data.STATUS_TIMESTAMP, -1); in fromCursor()
98 return mTimestamp; in getTimestamp()
110 final boolean validTimestamp = mTimestamp > 0; in getTimestampLabel()
114 mTimestamp, System.currentTimeMillis(), DateUtils.MINUTE_IN_MILLIS, in getTimestampLabel()
/aosp12/packages/services/Car/car-lib/src/android/car/hardware/
H A DCarPropertyValue.java47 private final long mTimestamp; field in CarPropertyValue
102 mTimestamp = timestamp; in CarPropertyValue()
117 mTimestamp = in.readLong(); in CarPropertyValue()
158 dest.writeLong(mTimestamp); in writeToParcel()
204 return mTimestamp; in getTimestamp()
222 + ", mTimestamp=" + mTimestamp in toString()
/aosp12/frameworks/base/core/java/com/android/ims/internal/uce/presence/
H A DPresTupleInfo.java29 private String mTimestamp = ""; field in PresTupleInfo
71 return mTimestamp; in getTimestamp()
80 this.mTimestamp = timestamp; in setTimestamp()
115 dest.writeString(mTimestamp); in writeToParcel()
141 mTimestamp = source.readString(); in readFromParcel()
/aosp12/frameworks/av/media/libheadtracking/
H A DPoseDriftCompensator.cpp32 if (mTimestamp.has_value()) { in setInput()
35 mOutput = scale(mOutput, timestamp - mTimestamp.value()) * prevInputToInput; in setInput()
38 mTimestamp = timestamp; in setInput()
42 mTimestamp.reset(); in recenter()
/aosp12/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/
H A DRotaryCache.java65 final long mTimestamp; field in RotaryCache.FocusHistory
69 mTimestamp = timestamp; in FocusHistory()
115 return elapsedRealtime < mFocusHistory.mTimestamp + mExpirationPeriodMs; in isValidHistory()
128 final long mTimestamp; field in RotaryCache.FocusAreaHistory
132 mTimestamp = timestamp; in FocusAreaHistory()
174 return elapsedRealtime - history.mTimestamp < mExpirationPeriodMs; in isValidHistory()
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/rtt/
H A DRangingResult.java109 public final long mTimestamp; field in RangingResult
130 mTimestamp = timestamp; in RangingResult()
150 mTimestamp = timestamp; in RangingResult()
351 return mTimestamp; in getRangingTimestampMillis()
399 dest.writeLong(mTimestamp); in writeToParcel()
456 .append(", timestamp=").append(mTimestamp).append(", is80211mcMeasurement=") in toString()
478 && mTimestamp == lhs.mTimestamp in equals()
487 mResponderLocation, mTimestamp, mIs80211mcMeasurement); in hashCode()
/aosp12/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DZslProcessor.cpp58 explicit TimestampFinder(nsecs_t timestamp) : mTimestamp(timestamp) {} in TimestampFinder()
86 if (i1->mTimestamp == mTimestamp) { in compare()
88 } else if (i2->mTimestamp == mTimestamp) { in compare()
102 if (i1->mTimestamp > i2->mTimestamp) { in compare()
108 if (infoPtrs[1]->mTimestamp < mTimestamp) { in compare()
110 } else if (infoPtrs[0]->mTimestamp < mTimestamp) { in compare()
124 const nsecs_t mTimestamp; member
607 nsecs_t actual = mInputBuffer->getBufferItem().mTimestamp; in enqueueInputBufferByTimestamp()
634 IGraphicBufferProducer::QueueBufferInput input(item.mTimestamp, in enqueueInputBufferByTimestamp()
718 nsecs_t bufferTimestamp = queueEntry.buffer.mTimestamp; in dumpZslQueue()
/aosp12/frameworks/base/core/java/android/app/
H A DApplicationExitInfo.java413 private @CurrentTimeMillisLong long mTimestamp; field in ApplicationExitInfo
614 return mTimestamp; in getTimestamp()
838 mTimestamp = timestamp; in setTimestamp()
960 dest.writeLong(mTimestamp); in writeToParcel()
996 mTimestamp = other.mTimestamp; in ApplicationExitInfo()
1020 mTimestamp = in.readLong(); in ApplicationExitInfo()
1049 pw.println(prefix + " timestamp=" + sdf.format(new Date(mTimestamp))); in dump()
1073 sb.append(new SimpleDateFormat().format(new Date(mTimestamp))); in toString()
1197 proto.write(ApplicationExitInfoProto.TIMESTAMP, mTimestamp); in writeToProto()
1284 && mStatus == o.mStatus && mTimestamp == o.mTimestamp in equals()
[all …]
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DInboundSmsTracker.java51 private final long mTimestamp; field in InboundSmsTracker
130 mTimestamp = timestamp; in InboundSmsTracker()
172 mTimestamp = timestamp; in InboundSmsTracker()
218 mTimestamp = cursor.getLong(InboundSmsHandler.DATE_COLUMN); in InboundSmsTracker()
251 mMessageId = createMessageId(context, mTimestamp, mSubId); in InboundSmsTracker()
259 values.put("date", mTimestamp); in getContentValues()
314 builder.append(new Date(mTimestamp)); in toString()
319 builder.append(" timestamp=").append(mTimestamp); in toString()
342 return mTimestamp; in getTimestamp()
/aosp12/frameworks/base/telephony/java/android/telephony/ims/
H A DRcsContactPresenceTuple.java393 mPresenceTuple.mTimestamp = timestamp; in setTime()
424 private Instant mTimestamp; field in RcsContactPresenceTuple
443 mTimestamp = convertStringFormatTimeToInstant(in.readString()); in RcsContactPresenceTuple()
454 out.writeString(convertInstantToStringFormat(mTimestamp)); in writeToParcel()
522 return mTimestamp; in getTime()
551 if (mTimestamp != null) { in toString()
553 builder.append(mTimestamp); in toString()
/aosp12/frameworks/base/core/java/android/app/admin/
H A DNetworkEvent.java38 long mTimestamp; field in NetworkEvent
51 this.mTimestamp = timestamp; in NetworkEvent()
67 return mTimestamp; in getTimestamp()
/aosp12/frameworks/base/telecomm/java/android/telecom/
H A DVoicemail.java29 private final Long mTimestamp; field in Voicemail
44 mTimestamp = timestamp; in Voicemail()
188 return mTimestamp; in getTimestampMillis()
255 dest.writeLong(mTimestamp); in writeToParcel()
300 mTimestamp = in.readLong(); in Voicemail()
/aosp12/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
H A DSoundTriggerLogger.java46 private final long mTimestamp; field in SoundTriggerLogger.Event
49 mTimestamp = System.currentTimeMillis(); in Event()
57 return (new StringBuilder(sFormat.format(new Date(mTimestamp)))) in toString()

123456