Home
last modified time | relevance | path

Searched refs:increment (Results 1 – 25 of 69) sorted by relevance

123

/frameworks/native/cmds/surfacereplayer/replayer/trace_creator/
Dtrace_creator.py19 increment = trace.increment.add()
20 increment.time_stamp = int(input("Time stamp of action: "))
23 transaction(increment)
25 surface_create(increment)
27 surface_delete(increment)
29 display_create(increment)
31 display_delete(increment)
33 buffer_update(increment)
35 vsync_event(increment)
37 power_mode_update(increment)
[all …]
/frameworks/native/libs/binder/tests/
DbinderSafeInterfaceTest.cpp250 virtual status_t increment(const TestFlattenable& a, TestFlattenable* aPlusOne) const = 0;
251 virtual status_t increment(const TestLightFlattenable& a,
253 virtual status_t increment(const sp<TestLightRefBaseFlattenable>& a,
255 virtual status_t increment(const sp<NativeHandle>& a, sp<NativeHandle>* aPlusOne) const = 0;
256 virtual status_t increment(const NoCopyNoMove& a, NoCopyNoMove* aPlusOne) const = 0;
257 virtual status_t increment(const std::vector<TestParcelable>& a,
262 virtual status_t increment(int32_t a, int32_t* aPlusOne) const = 0;
263 virtual status_t increment(uint32_t a, uint32_t* aPlusOne) const = 0;
264 virtual status_t increment(int64_t a, int64_t* aPlusOne) const = 0;
265 virtual status_t increment(uint64_t a, uint64_t* aPlusOne) const = 0;
[all …]
/frameworks/native/services/surfaceflinger/tests/
DSurfaceInterceptor_test.cpp106 std::string getUniqueName(const std::string& name, const Increment& increment) { in getUniqueName() argument
107 return base::StringPrintf("%s#%d", name.c_str(), increment.surface_creation().id()); in getUniqueName()
112 for (const auto& increment : capturedTrace.increment()) { in getSurfaceId() local
113 if (increment.increment_case() == increment.kSurfaceCreation) { in getSurfaceId()
114 if (increment.surface_creation().name() == getUniqueName(surfaceName, increment)) { in getSurfaceId()
115 layerId = increment.surface_creation().id(); in getSurfaceId()
124 for (const auto& increment : capturedTrace.increment()) { in getDisplayId() local
125 if (increment.increment_case() == increment.kDisplayCreation) { in getDisplayId()
126 if (increment.display_creation().name() == displayName) { in getDisplayId()
127 displayId = increment.display_creation().id(); in getDisplayId()
[all …]
/frameworks/native/cmds/surfacereplayer/replayer/
DReplayer.cpp75 mCurrentTime = mTrace.increment(0).time_stamp(); in Replayer()
93 mCurrentTime = mTrace.increment(0).time_stamp(); in Replayer()
120 mCurrentIncrement = mTrace.increment(mIncrementIndex); in replay()
275 auto increment = mTrace.increment(index); in dispatchEvent() local
276 std::shared_ptr<Event> event = std::make_shared<Event>(increment.increment_case()); in dispatchEvent()
280 switch (increment.increment_case()) { in dispatchEvent()
281 case increment.kTransaction: { in dispatchEvent()
282 std::thread(&Replayer::doTransaction, this, increment.transaction(), event).detach(); in dispatchEvent()
284 case increment.kSurfaceCreation: { in dispatchEvent()
285 std::thread(&Replayer::createSurfaceControl, this, increment.surface_creation(), event) in dispatchEvent()
[all …]
DREADME.md68 - ni - steps the replayer to the next increment
72 - l - list out timestamp of current increment
184 Fundamentally the replayer loads a trace and iterates through each increment, waiting the required
185 amount of time until the increment should be executed, then executing the increment. The first
186 increment in a trace does not start at 0, rather the replayer treats its time stamp as time 0 and
193 When an increment is dispatched, it completes as much work as it can before it has to be
197 corresponding Event base on its time stamp. After completing an increment, the main thread will
198 dispatch another increment and continue.
205 wait(event.time_stamp(); //waitUntil it is time to complete this increment
209 dispatchEvent() //queue up another increment
[all …]
/frameworks/base/core/java/com/android/internal/util/
DBitwiseOutputStream.java120 int increment = Math.min(8, bits - (i << 3)); in writeByteArray() local
121 if (increment > 0) { in writeByteArray()
122 write(increment, (byte)(arr[i] >>> (8 - increment))); in writeByteArray()
DBitwiseInputStream.java105 int increment = Math.min(8, bits - (i << 3)); in readByteArray() local
106 arr[i] = (byte)(read(increment) << (8 - increment)); in readByteArray()
/frameworks/native/services/surfaceflinger/
DSurfaceInterceptor.h132 void addInitialSurfaceStateLocked(Increment* increment, const sp<const Layer>& layer);
133 void addInitialDisplayStateLocked(Increment* increment, const DisplayDeviceState& display);
142 void addSurfaceCreationLocked(Increment* increment, const sp<const Layer>& layer);
143 void addSurfaceDeletionLocked(Increment* increment, const sp<const Layer>& layer);
144 void addBufferUpdateLocked(Increment* increment, int32_t layerId, uint32_t width,
146 void addVSyncUpdateLocked(Increment* increment, nsecs_t timestamp);
147 void addDisplayCreationLocked(Increment* increment, const DisplayDeviceState& info);
148 void addDisplayDeletionLocked(Increment* increment, int32_t sequenceId);
149 void addPowerModeUpdateLocked(Increment* increment, int32_t sequenceId, int32_t mode);
171 void addTransactionLocked(Increment* increment, const Vector<ComposerState>& stateUpdates,
DSurfaceInterceptor.cpp124 void SurfaceInterceptor::addInitialSurfaceStateLocked(Increment* increment, in addInitialSurfaceStateLocked() argument
127 Transaction* transaction(increment->mutable_transaction()); in addInitialSurfaceStateLocked()
155 void SurfaceInterceptor::addInitialDisplayStateLocked(Increment* increment, in addInitialDisplayStateLocked() argument
158 Transaction* transaction(increment->mutable_transaction()); in addInitialDisplayStateLocked()
213 Increment* increment(mTrace.add_increment()); in createTraceIncrementLocked() local
214 increment->set_time_stamp(elapsedRealtimeNano()); in createTraceIncrementLocked()
215 return increment; in createTraceIncrementLocked()
497 Increment* increment, const Vector<ComposerState>& stateUpdates, in addTransactionLocked() argument
501 Transaction* transaction(increment->mutable_transaction()); in addTransactionLocked()
518 void SurfaceInterceptor::addSurfaceCreationLocked(Increment* increment, in addSurfaceCreationLocked() argument
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DAutomaticBrightnessControllerTest.java352 long increment = 500; in testAmbientLightHorizon() local
358 mClock.fastForward(increment); in testAmbientLightHorizon()
362 mClock.fastForward(increment); in testAmbientLightHorizon()
367 mClock.fastForward(increment); in testAmbientLightHorizon()
373 mClock.fastForward(increment); in testAmbientLightHorizon()
379 mClock.fastForward(increment); in testAmbientLightHorizon()
386 mClock.fastForward(increment); in testAmbientLightHorizon()
392 mClock.fastForward(increment); in testAmbientLightHorizon()
401 mClock.fastForward(increment); in testAmbientLightHorizon()
407 mClock.fastForward(increment); in testAmbientLightHorizon()
[all …]
/frameworks/base/core/java/android/widget/
DAbsSeekBar.java556 public void setKeyProgressIncrement(int increment) { in setKeyProgressIncrement() argument
557 mKeyProgressIncrement = increment < 0 ? -increment : increment; in setKeyProgressIncrement()
1053 int increment = mKeyProgressIncrement;
1057 increment = -increment;
1062 increment = isLayoutRtl() ? -increment : increment;
1064 if (setProgressInternal(getProgress() + increment, true, true)) {
1126 int increment = Math.max(1, Math.round((float) range / 20));
1128 increment = -increment;
1132 if (setProgressInternal(getProgress() + increment, true, true)) {
/frameworks/base/core/java/android/net/metrics/
DWakeupStats.java97 increment(ethertypes, ev.ethertype); in countEvent()
99 increment(ipNextHeaders, ev.ipNextHeader); in countEvent()
130 private static void increment(SparseIntArray counters, int key) { in increment() method in WakeupStats
/frameworks/native/libs/battery/
DMultiStateCounter.h76 void incrementValue(const T& increment, time_t timestamp);
83 void addValue(const T& increment);
250 void MultiStateCounter<T>::incrementValue(const T& increment, time_t timestamp) { in incrementValue() argument
252 add(&newValue, increment, 1 /* numerator */, 1 /* denominator */); in incrementValue()
/frameworks/av/media/libaaudio/tests/
Dtest_monotonic_counter.cpp75 counter.increment(-234); // will not go backwards in TEST()
77 counter.increment(96); // advances in TEST()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamLegacy.h110 return mFramesWritten.increment(frames); in incrementFramesWritten()
114 return mFramesRead.increment(frames); in incrementFramesRead()
/frameworks/ex/camera2/extensions/stub/src/main/java/androidx/camera/extensions/impl/advanced/
DImageReferenceImpl.java36 boolean increment(); in increment() method
/frameworks/base/services/core/java/com/android/server/location/eventlog/
DLocalEventLog.java288 increment(); in LogIterator()
308 increment(); in next()
321 private void increment(LogIterator this) { in increment() method in LocalEventLog.LogIterator
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationGroupTestHelper.java112 public StatusBarNotification incrementPost(NotificationEntry entry, int increment) { in incrementPost() argument
115 final long newPostTime = oldPostTime + increment; in incrementPost()
/frameworks/base/core/java/com/android/internal/logging/
DEventLogTags.logtags9 524290 sysui_count (name|3),(increment|1)
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayReferenceMapperTests.kt235 private fun mockTarget(increment: Int = 0) = mockThrowOnUnmocked<AndroidPackage> { in <lambda>()
237 whenever(overlayables) { mapOf("overlayableName$increment" to ACTOR_NAME) } in <lambda>()
242 private fun mockOverlay(increment: Int = 0) = mockThrowOnUnmocked<AndroidPackage> { in <lambda>()
/frameworks/av/media/libaaudio/src/utility/
DMonotonicCounter.h61 int64_t increment(int64_t delta) { in increment() function
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverWrapperAdapter.java61 mLabelIdlingResource.increment(); in onPreExecute()
/frameworks/rs/tests/java_api/RSTestForward/23.0.3/
DAndroid.mk126 $(my_rs_unit_tests_path)/increment.rscript\
130 $(my_rs_unit_tests_path)/increment.rscript\
/frameworks/native/cmds/surfacereplayer/proto/src/
Dtrace.proto6 repeated Increment increment = 1; field
12 oneof increment { oneof
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dincrement.rscript19 int4 RS_KERNEL increment(int4 in)

123