/frameworks/base/services/usage/java/com/android/server/usage/ |
D | IntervalStats.java | 83 public void commitTime(long timeStamp) { in commitTime() argument 85 duration += timeStamp - curStartTime; in commitTime() 90 public void update(long timeStamp) { in update() argument 95 commitTime(timeStamp); in update() 96 curStartTime = timeStamp; in update() 97 lastEventTime = timeStamp; in update() 294 public void update(String packageName, String className, long timeStamp, int eventType, in update() argument 302 usageStats.update(null, timeStamp, eventType, instanceId); in update() 306 usageStats.update(className, timeStamp, eventType, instanceId); in update() 308 if (timeStamp > endTime) { in update() [all …]
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageStats.java | 383 private void incrementTimeUsed(long timeStamp) { in incrementTimeUsed() argument 384 if (timeStamp > mLastTimeUsed) { in incrementTimeUsed() 385 mTotalTimeInForeground += timeStamp - mLastTimeUsed; in incrementTimeUsed() 386 mLastTimeUsed = timeStamp; in incrementTimeUsed() 394 private void incrementTimeVisible(long timeStamp) { in incrementTimeVisible() argument 395 if (timeStamp > mLastTimeVisible) { in incrementTimeVisible() 396 mTotalTimeVisible += timeStamp - mLastTimeVisible; in incrementTimeVisible() 397 mLastTimeVisible = timeStamp; in incrementTimeVisible() 406 private void incrementServiceTimeUsed(long timeStamp) { in incrementServiceTimeUsed() argument 407 if (timeStamp > mLastTimeForegroundServiceUsed) { in incrementServiceTimeUsed() [all …]
|
D | EventList.java | 89 public int firstIndexOnOrAfter(long timeStamp) { in firstIndexOnOrAfter() argument 97 if (midTimeStamp >= timeStamp) { in firstIndexOnOrAfter()
|
/frameworks/base/telephony/java/android/telephony/ |
D | CellInfo.java | 329 this.mTimeStamp = ci.timeStamp; in CellInfo() 336 this.mTimeStamp = ci.timeStamp; in CellInfo() 341 protected CellInfo(android.hardware.radio.V1_4.CellInfo ci, long timeStamp) { in CellInfo() argument 343 this.mTimeStamp = timeStamp; in CellInfo() 348 protected CellInfo(android.hardware.radio.V1_5.CellInfo ci, long timeStamp) { in CellInfo() argument 350 this.mTimeStamp = timeStamp; in CellInfo() 381 public static CellInfo create(android.hardware.radio.V1_4.CellInfo ci, long timeStamp) { in create() argument 384 case Info.hidl_discriminator.gsm: return new CellInfoGsm(ci, timeStamp); in create() 385 case Info.hidl_discriminator.cdma: return new CellInfoCdma(ci, timeStamp); in create() 386 case Info.hidl_discriminator.lte: return new CellInfoLte(ci, timeStamp); in create() [all …]
|
D | CellInfoNr.java | 49 public CellInfoNr(android.hardware.radio.V1_4.CellInfo ci, long timeStamp) { in CellInfoNr() argument 50 super(ci, timeStamp); in CellInfoNr() 57 public CellInfoNr(android.hardware.radio.V1_5.CellInfo ci, long timeStamp) { in CellInfoNr() argument 58 super(ci, timeStamp); in CellInfoNr()
|
D | CellInfoWcdma.java | 68 public CellInfoWcdma(android.hardware.radio.V1_4.CellInfo ci, long timeStamp) { in CellInfoWcdma() argument 69 super(ci, timeStamp); in CellInfoWcdma() 76 public CellInfoWcdma(android.hardware.radio.V1_5.CellInfo ci, long timeStamp) { in CellInfoWcdma() argument 77 super(ci, timeStamp); in CellInfoWcdma()
|
D | CellInfoGsm.java | 69 public CellInfoGsm(android.hardware.radio.V1_4.CellInfo ci, long timeStamp) { in CellInfoGsm() argument 70 super(ci, timeStamp); in CellInfoGsm() 77 public CellInfoGsm(android.hardware.radio.V1_5.CellInfo ci, long timeStamp) { in CellInfoGsm() argument 78 super(ci, timeStamp); in CellInfoGsm()
|
D | CellInfoTdscdma.java | 73 public CellInfoTdscdma(android.hardware.radio.V1_4.CellInfo ci, long timeStamp) { in CellInfoTdscdma() argument 74 super(ci, timeStamp); in CellInfoTdscdma() 81 public CellInfoTdscdma(android.hardware.radio.V1_5.CellInfo ci, long timeStamp) { in CellInfoTdscdma() argument 82 super(ci, timeStamp); in CellInfoTdscdma()
|
D | CellInfoCdma.java | 73 public CellInfoCdma(android.hardware.radio.V1_4.CellInfo ci, long timeStamp) { in CellInfoCdma() argument 74 super(ci, timeStamp); in CellInfoCdma() 82 public CellInfoCdma(android.hardware.radio.V1_5.CellInfo ci, long timeStamp) { in CellInfoCdma() argument 83 super(ci, timeStamp); in CellInfoCdma()
|
D | CellInfoLte.java | 77 public CellInfoLte(android.hardware.radio.V1_4.CellInfo ci, long timeStamp) { in CellInfoLte() argument 78 super(ci, timeStamp); in CellInfoLte() 86 public CellInfoLte(android.hardware.radio.V1_5.CellInfo ci, long timeStamp) { in CellInfoLte() argument 87 super(ci, timeStamp); in CellInfoLte()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ExtendedWifiInfo.java | 52 public void updatePacketRates(@NonNull WifiLinkLayerStats stats, long timeStamp) { in updatePacketRates() argument 57 update(SOURCE_LLSTATS, txgood, txretries, txbad, rxgood, timeStamp); in updatePacketRates() 64 public void updatePacketRates(long txPackets, long rxPackets, long timeStamp) { in updatePacketRates() argument 65 update(SOURCE_TRAFFIC_COUNTERS, txPackets, 0, 0, rxPackets, timeStamp); in updatePacketRates() 69 long timeStamp) { in update() argument 72 && mLastPacketCountUpdateTimeStamp < timeStamp in update() 77 long timeDelta = timeStamp - mLastPacketCountUpdateTimeStamp; in update() 104 mLastPacketCountUpdateTimeStamp = timeStamp; in update()
|
/frameworks/base/core/java/android/hardware/display/ |
D | BrightnessChangeEvent.java | 41 public final long timeStamp; field in BrightnessChangeEvent 105 private BrightnessChangeEvent(float brightness, long timeStamp, String packageName, in BrightnessChangeEvent() argument 111 this.timeStamp = timeStamp; in BrightnessChangeEvent() 130 this.timeStamp = other.timeStamp; in BrightnessChangeEvent() 148 timeStamp = source.readLong(); in BrightnessChangeEvent() 182 dest.writeLong(timeStamp); in writeToParcel() 223 public Builder setTimeStamp(long timeStamp) { in setTimeStamp() argument 224 mTimeStamp = timeStamp; in setTimeStamp()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyLogger.java | 335 data.timeStamp = System.currentTimeMillis(); in uidStateChanged() 345 data.timeStamp = System.currentTimeMillis(); in event() 356 data.timeStamp = System.currentTimeMillis(); in networkBlocked() 368 data.timeStamp = System.currentTimeMillis(); in uidPolicyChanged() 379 data.timeStamp = System.currentTimeMillis(); in meterednessChanged() 389 data.timeStamp = System.currentTimeMillis(); in userRemoved() 400 data.timeStamp = System.currentTimeMillis(); in restrictBackgroundChanged() 410 data.timeStamp = System.currentTimeMillis(); in deviceIdleModeEnabled() 421 data.timeStamp = System.currentTimeMillis(); in appIdleStateChanged() 432 data.timeStamp = System.currentTimeMillis(); in appIdleWlChanged() [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | pvdec_api.cpp | 183 video->vopHeader[idx]->timeStamp = 0; in PVInitVideoDecoder() 518 video->prevVop->timeStamp = 0; in PVAllocVideoData() 527 video->prevEnhcVop->timeStamp = 0; in PVAllocVideoData() 553 video->vopHeader[idx]->timeStamp = 0; in PVResetVideoDecoder() 555 video->prevVop->timeStamp = 0; in PVResetVideoDecoder() 557 video->prevEnhcVop->timeStamp = 0; in PVResetVideoDecoder() 1076 if (vopHeader[idx]->timeStamp < 0) in PVDecodeVopHeader() 1096 vopHeader[idx]->timeStamp = in PVDecodeVopHeader() 1104 timestamp[idx] = vopHeader[idx]->timeStamp; in PVDecodeVopHeader() 1128 if (vopHeader[target_layer]->timeStamp < 0) in PVDecodeVopHeader() [all …]
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | CameraSettings.java | 73 public final long timeStamp; field in CameraSettings.GpsData 84 public GpsData(double latitude, double longitude, double altitude, long timeStamp, in GpsData() argument 93 this.timeStamp = timeStamp; in GpsData() 102 this.timeStamp = src.timeStamp; in GpsData()
|
/frameworks/base/core/java/android/gesture/ |
D | GesturePoint.java | 43 final long timeStamp = in.readLong(); in deserialize() local 44 return new GesturePoint(x, y, timeStamp); in deserialize()
|
/frameworks/av/media/extractors/tests/ |
D | ExtractorUnitTest.cpp | 308 int64_t timeStamp = ((double)rand() / RAND_MAX) * clipDuration; in randomSeekTest() local 309 seekToTimeStamp.push_back(timeStamp); in randomSeekTest() 310 seekPtsString.append(to_string(timeStamp)); in randomSeekTest() 324 int64_t timeStamp = 0; in randomSeekTest() local 325 hasTimestamp = AMediaFormat_getInt64(metaData, AMEDIAFORMAT_KEY_TIME_US, &timeStamp); in randomSeekTest() 329 EXPECT_LE(abs(timeStamp - seekPts), kRandomSeekToleranceUs) in randomSeekTest() 333 << "received " << timeStamp << ", list of input seek timestamps [" in randomSeekTest() 345 int64_t timeStamp; in getSeekablePoints() local 354 AMediaFormat_getInt64(metaData, AMEDIAFORMAT_KEY_TIME_US, &timeStamp); in getSeekablePoints() 355 seekablePoints.push_back(timeStamp); in getSeekablePoints() [all …]
|
/frameworks/multidex/library/src/androidx/multidex/ |
D | MultiDexExtractor.java | 229 long timeStamp = archive.lastModified(); in getTimeStamp() local 230 if (timeStamp == NO_VALUE) { in getTimeStamp() 232 timeStamp--; in getTimeStamp() 234 return timeStamp; in getTimeStamp() 324 private static void putStoredApkInfo(Context context, String keyPrefix, long timeStamp, in putStoredApkInfo() argument 328 edit.putLong(keyPrefix + KEY_TIME_STAMP, timeStamp); in putStoredApkInfo()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CellularNetworkValidator.java | 106 ValidatedNetwork(String identity, long timeStamp) { in ValidatedNetwork() argument 108 mValidationTimeStamp = timeStamp; in ValidatedNetwork() 110 void update(long timeStamp) { in update() argument 111 mValidationTimeStamp = timeStamp; in update()
|
/frameworks/base/core/tests/coretests/src/android/app/usage/ |
D | EventListTest.java | 38 private UsageEvents.Event getUsageEvent(long timeStamp) { in getUsageEvent() argument 40 event.mTimeStamp = timeStamp; in getUsageEvent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessTrackerTest.java | 266 assertEquals(mInjector.currentTimeMillis(), event.timeStamp); in testBrightnessEvent() 301 assertEquals(event.timeStamp, mInjector.currentTimeMillis()); in testBrightnessFullPopulatedEvent() 393 assertEquals(mInjector.currentTimeMillis(), event.timeStamp); in testLimitedSensorEvents() 444 assertEquals(someTimeAgo, event.timeStamp); in testReadEvents() 461 assertEquals(someTimeAgo, event.timeStamp); in testReadEvents() 611 assertEquals(eventTime, event.timeStamp); in testWritePrunesOldEvents() 656 assertEquals(event.timeStamp, event2.timeStamp); in testParcelUnParcel() 734 assertEquals(eventTime, event.timeStamp); in testBackgroundHandlerDelay()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSettingBase.java | 95 long timeStamp; field in PackageSettingBase 200 timeStamp = newStamp; in setTimeStamp() 254 timeStamp = orig.timeStamp; in doCopy() 672 this.timeStamp = other.timeStamp; in updateFrom()
|
/frameworks/av/media/extractors/fuzzers/ |
D | ExtractorFuzzerBase.cpp | 162 int64_t timeStamp = (seekCount * trackDuration) / (kFuzzerMaxSeekPointsCount - 1); in seekAndExtractTrack() local 163 seekToTimeStamp.push_back(timeStamp); in seekAndExtractTrack()
|
/frameworks/av/media/libstagefright/codecs/flac/dec/ |
D | SoftFlacDecoder.cpp | 325 int64_t timeStamp = 0; in onQueueFilled() local 401 timeStamp = inHeader->nTimeStamp; in onQueueFilled() 428 outHeader->nTimeStamp = timeStamp; in onQueueFilled()
|
/frameworks/base/core/java/android/content/ |
D | ClipDescription.java | 156 public void setTimestamp(long timeStamp) { in setTimestamp() argument 157 mTimeStamp = timeStamp; in setTimestamp()
|