/frameworks/base/core/jni/ |
D | com_android_internal_os_KernelCpuUidBpfMapReader.cpp | 65 static uint64_t lastUpdate = 0; in KernelCpuUidFreqTimeBpfMapReader_readBpfData() local 66 uint64_t newLastUpdate = lastUpdate; in KernelCpuUidFreqTimeBpfMapReader_readBpfData() 81 lastUpdate = newLastUpdate; in KernelCpuUidFreqTimeBpfMapReader_readBpfData() 91 static uint64_t lastUpdate = 0; in KernelCpuUidActiveTimeBpfMapReader_readBpfData() local 92 uint64_t newLastUpdate = lastUpdate; in KernelCpuUidActiveTimeBpfMapReader_readBpfData() 106 lastUpdate = newLastUpdate; in KernelCpuUidActiveTimeBpfMapReader_readBpfData() 124 static uint64_t lastUpdate = 0; in KernelCpuUidClusterTimeBpfMapReader_readBpfData() local 125 uint64_t newLastUpdate = lastUpdate; in KernelCpuUidClusterTimeBpfMapReader_readBpfData() 140 lastUpdate = newLastUpdate; in KernelCpuUidClusterTimeBpfMapReader_readBpfData()
|
/frameworks/native/libs/cputimeinstate/ |
D | cputimeinstate.cpp | 327 static std::optional<bool> uidUpdatedSince(uint32_t uid, uint64_t lastUpdate, in uidUpdatedSince() argument 334 if (uidLastUpdate + NSEC_PER_SEC < lastUpdate) return false; in uidUpdatedSince() 354 getUidsUpdatedCpuFreqTimes(uint64_t *lastUpdate) { in getUidsUpdatedCpuFreqTimes() argument 366 uint64_t newLastUpdate = lastUpdate ? *lastUpdate : 0; in getUidsUpdatedCpuFreqTimes() 369 if (lastUpdate) { in getUidsUpdatedCpuFreqTimes() 370 auto uidUpdated = uidUpdatedSince(key.uid, *lastUpdate, &newLastUpdate); in getUidsUpdatedCpuFreqTimes() 391 if (lastUpdate && newLastUpdate > *lastUpdate) *lastUpdate = newLastUpdate; in getUidsUpdatedCpuFreqTimes() 464 uint64_t *lastUpdate) { in getUidsUpdatedConcurrentTimes() argument 479 uint64_t newLastUpdate = lastUpdate ? *lastUpdate : 0; in getUidsUpdatedConcurrentTimes() 482 if (lastUpdate) { in getUidsUpdatedConcurrentTimes() [all …]
|
D | testtimeinstate.cpp | 167 uint64_t lastUpdate = 0; in TEST() local 168 auto map1 = getUidsUpdatedCpuFreqTimes(&lastUpdate); in TEST() 171 ASSERT_NE(lastUpdate, (uint64_t)0); in TEST() 172 uint64_t oldLastUpdate = lastUpdate; in TEST() 180 auto map2 = getUidsUpdatedCpuFreqTimes(&lastUpdate); in TEST() 183 ASSERT_NE(lastUpdate, oldLastUpdate); in TEST() 268 uint64_t lastUpdate = 0; in TEST() local 269 auto map1 = getUidsUpdatedConcurrentTimes(&lastUpdate); in TEST() 272 ASSERT_NE(lastUpdate, (uint64_t)0); in TEST() 280 uint64_t oldLastUpdate = lastUpdate; in TEST() [all …]
|
D | cputimeinstate.h | 32 getUidsUpdatedCpuFreqTimes(uint64_t *lastUpdate); 43 getUidsUpdatedConcurrentTimes(uint64_t *lastUpdate);
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/ |
D | CachedSet.cpp | 57 CachedSet::Layer::Layer(const LayerState* state, std::chrono::steady_clock::time_point lastUpdate) in Layer() argument 58 : mState(state), mHash(state->getHash()), mLastUpdate(lastUpdate) {} in Layer() 60 CachedSet::CachedSet(const LayerState* layer, std::chrono::steady_clock::time_point lastUpdate) in CachedSet() argument 61 : mFingerprint(layer->getHash()), mLastUpdate(lastUpdate) { in CachedSet() 62 addLayer(layer, lastUpdate); in CachedSet() 74 std::chrono::steady_clock::time_point lastUpdate) { in addLayer() argument 75 mLayers.emplace_back(layer, lastUpdate); in addLayer() 389 const auto lastUpdate = in dump() local 392 mFingerprint, durationString(lastUpdate).c_str(), mAge); in dump()
|
D | Flattener.cpp | 202 const auto lastUpdate = in dump() local 205 durationString(lastUpdate).c_str()); in dump()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/planner/ |
D | CachedSet.h | 39 Layer(const LayerState*, std::chrono::steady_clock::time_point lastUpdate); 59 CachedSet(const LayerState*, std::chrono::steady_clock::time_point lastUpdate); 62 void addLayer(const LayerState*, std::chrono::steady_clock::time_point lastUpdate);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileServiceManager.java | 158 public void setLastUpdate(long lastUpdate) { in setLastUpdate() argument 159 mLastUpdate = lastUpdate; in setLastUpdate()
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
D | ValueAnimatorTests.java | 368 final long[] lastUpdate = new long[1]; in testResume() 384 lastUpdate[0] = l1.lastUpdateTime; in testResume() 395 assertEquals(lastUpdate[0], l1.lastUpdateTime); in testResume() 405 assertTrue(l1.lastUpdateTime > lastUpdate[0]); in testResume() 406 lastUpdate[0] = l1.lastUpdateTime; in testResume()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportProgressService.java | 1873 final AtomicLong lastUpdate = new AtomicLong(System.currentTimeMillis()); field in BugreportProgressService.BugreportInfo 2105 Long.toString(lastUpdate.longValue()) : formattedLastUpdate; in getFormattedLastUpdate() 2107 return DateUtils.formatDateTime(context, lastUpdate.longValue(), in getFormattedLastUpdate() 2155 lastUpdate.set(in.readLong()); in BugreportInfo() 2183 dest.writeLong(lastUpdate.longValue()); in writeToParcel() 2241 info.lastUpdate.set(System.currentTimeMillis()); in checkProgressUpdatedLocked()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/ |
D | CachedSetTest.cpp | 144 std::chrono::steady_clock::time_point lastUpdate) { in expectEqual() argument 145 CachedSet::Layer layer(&layerState, lastUpdate); in expectEqual()
|