Home
last modified time | relevance | path

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

1234

/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.cpp247 virtual status_t increment(const TestFlattenable& a, TestFlattenable* aPlusOne) const = 0;
248 virtual status_t increment(const TestLightFlattenable& a,
250 virtual status_t increment(const sp<TestLightRefBaseFlattenable>& a,
252 virtual status_t increment(const sp<NativeHandle>& a, sp<NativeHandle>* aPlusOne) const = 0;
253 virtual status_t increment(const NoCopyNoMove& a, NoCopyNoMove* aPlusOne) const = 0;
254 virtual status_t increment(const std::vector<TestParcelable>& a,
259 virtual status_t increment(int32_t a, int32_t* aPlusOne) const = 0;
260 virtual status_t increment(uint32_t a, uint32_t* aPlusOne) const = 0;
261 virtual status_t increment(int64_t a, int64_t* aPlusOne) const = 0;
262 virtual status_t increment(uint64_t a, uint64_t* aPlusOne) const = 0;
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Datomicops_internals_pnacl.h83 Atomic32 increment) { in NoBarrier_AtomicIncrement() argument
84 return increment + in NoBarrier_AtomicIncrement()
86 ->fetch_add(increment, std::memory_order_relaxed); in NoBarrier_AtomicIncrement()
90 Atomic32 increment) { in Barrier_AtomicIncrement() argument
91 return increment + ((AtomicLocation32)ptr)->fetch_add(increment); in Barrier_AtomicIncrement()
166 Atomic64 increment) { in NoBarrier_AtomicIncrement() argument
167 return increment + in NoBarrier_AtomicIncrement()
169 ->fetch_add(increment, std::memory_order_relaxed); in NoBarrier_AtomicIncrement()
173 Atomic64 increment) { in Barrier_AtomicIncrement() argument
174 return increment + ((AtomicLocation64)ptr)->fetch_add(increment); in Barrier_AtomicIncrement()
Datomicops_internals_tsan.h74 Atomic32 increment) { in NoBarrier_AtomicIncrement() argument
75 return increment + __tsan_atomic32_fetch_add(ptr, increment, in NoBarrier_AtomicIncrement()
80 Atomic32 increment) { in Barrier_AtomicIncrement() argument
81 return increment + __tsan_atomic32_fetch_add(ptr, increment, in Barrier_AtomicIncrement()
154 Atomic64 increment) { in NoBarrier_AtomicIncrement() argument
155 return increment + __tsan_atomic64_fetch_add(ptr, increment, in NoBarrier_AtomicIncrement()
160 Atomic64 increment) { in Barrier_AtomicIncrement() argument
161 return increment + __tsan_atomic64_fetch_add(ptr, increment, in Barrier_AtomicIncrement()
Datomicops_internals_x86_gcc.h76 Atomic32 increment) { in NoBarrier_AtomicIncrement() argument
77 Atomic32 temp = increment; in NoBarrier_AtomicIncrement()
82 return temp + increment; in NoBarrier_AtomicIncrement()
86 Atomic32 increment) { in Barrier_AtomicIncrement() argument
87 Atomic32 temp = increment; in Barrier_AtomicIncrement()
95 return temp + increment; in Barrier_AtomicIncrement()
200 Atomic64 increment) { in NoBarrier_AtomicIncrement() argument
201 Atomic64 temp = increment; in NoBarrier_AtomicIncrement()
206 return temp + increment; in NoBarrier_AtomicIncrement()
210 Atomic64 increment) { in Barrier_AtomicIncrement() argument
[all …]
Datomicops_internals_x86_msvc.cc71 Atomic32 increment) { in Barrier_AtomicIncrement() argument
74 static_cast<LONG>(increment)) + increment; in Barrier_AtomicIncrement()
99 Atomic64 increment) { in Barrier_AtomicIncrement() argument
102 static_cast<LONGLONG>(increment)) + increment; in Barrier_AtomicIncrement()
Datomicops_internals_arm64_gcc.h98 Atomic32 increment) { in NoBarrier_AtomicIncrement() argument
111 : [increment]"IJr" (increment) in NoBarrier_AtomicIncrement()
119 Atomic32 increment) { in Barrier_AtomicIncrement() argument
121 Atomic32 result = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
234 Atomic64 increment) { in NoBarrier_AtomicIncrement() argument
247 : [increment]"IJr" (increment) in NoBarrier_AtomicIncrement()
255 Atomic64 increment) { in Barrier_AtomicIncrement() argument
257 Atomic64 result = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
Datomicops_internals_solaris.h53 Atomic32 increment) { in NoBarrier_AtomicIncrement() argument
54 return (Atomic32)atomic_add_32_nv((volatile uint32_t*)ptr, (uint32_t)increment); in NoBarrier_AtomicIncrement()
63 Atomic32 increment) { in Barrier_AtomicIncrement() argument
65 Atomic32 ret = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
127 inline Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, Atomic64 increment) { in NoBarrier_AtomicIncrement() argument
128 return atomic_add_64_nv((volatile uint64_t*)ptr, increment); in NoBarrier_AtomicIncrement()
131 inline Atomic64 Barrier_AtomicIncrement(volatile Atomic64* ptr, Atomic64 increment) { in Barrier_AtomicIncrement() argument
133 Atomic64 ret = atomic_add_64_nv((volatile uint64_t*)ptr, increment); in Barrier_AtomicIncrement()
Datomicops_internals_mips_gcc.h97 Atomic32 increment) { in NoBarrier_AtomicIncrement() argument
110 : "Ir" (increment), "m" (*ptr) in NoBarrier_AtomicIncrement()
117 Atomic32 increment) { in Barrier_AtomicIncrement() argument
119 Atomic32 res = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
229 Atomic64 increment) { in NoBarrier_AtomicIncrement() argument
242 : "Ir" (increment), "m" (*ptr) in NoBarrier_AtomicIncrement()
249 Atomic64 increment) { in Barrier_AtomicIncrement() argument
251 Atomic64 res = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
Datomicops_internals_macosx.h67 Atomic32 increment) { in NoBarrier_AtomicIncrement() argument
68 return OSAtomicAdd32(increment, const_cast<Atomic32*>(ptr)); in NoBarrier_AtomicIncrement()
72 Atomic32 increment) { in Barrier_AtomicIncrement() argument
73 return OSAtomicAdd32Barrier(increment, const_cast<Atomic32*>(ptr)); in Barrier_AtomicIncrement()
158 Atomic64 increment) { in NoBarrier_AtomicIncrement() argument
159 return OSAtomicAdd64(increment, reinterpret_cast<volatile int64_t*>(ptr)); in NoBarrier_AtomicIncrement()
163 Atomic64 increment) { in Barrier_AtomicIncrement() argument
164 return OSAtomicAdd64Barrier(increment, in Barrier_AtomicIncrement()
Datomicops_internals_power.h78 Atomic32 increment) { in NoBarrier_AtomicIncrement() argument
89 [val] "b" (increment), in NoBarrier_AtomicIncrement()
106 Atomic32 increment) { in Barrier_AtomicIncrement() argument
120 [val] "b" (increment), in Barrier_AtomicIncrement()
280 Atomic64 increment) { in NoBarrier_AtomicIncrement() argument
292 [val] "b" (increment), in NoBarrier_AtomicIncrement()
300 Atomic64 increment) { in Barrier_AtomicIncrement() argument
317 [val] "b" (increment), in Barrier_AtomicIncrement()
Datomicops_internals_ppc_gcc.h82 Atomic32 increment) { in NoBarrier_AtomicIncrement() argument
92 : [increment] "r"(increment), [ptr] "r"(ptr) in NoBarrier_AtomicIncrement()
99 Atomic32 increment) { in Barrier_AtomicIncrement() argument
101 Atomic32 res = NoBarrier_AtomicIncrement(ptr, increment); in Barrier_AtomicIncrement()
Datomicops_internals_atomicword_compat.h67 AtomicWord increment) { in NoBarrier_AtomicIncrement() argument
69 reinterpret_cast<volatile Atomic32*>(ptr), increment); in NoBarrier_AtomicIncrement()
73 AtomicWord increment) { in Barrier_AtomicIncrement() argument
75 reinterpret_cast<volatile Atomic32*>(ptr), increment); in Barrier_AtomicIncrement()
Datomicops_internals_arm_qnx.h78 Atomic32 increment) { in NoBarrier_AtomicIncrement() argument
79 return Barrier_AtomicIncrement(ptr, increment); in NoBarrier_AtomicIncrement()
83 Atomic32 increment) { in Barrier_AtomicIncrement() argument
87 Atomic32 new_value = old_value + increment; in Barrier_AtomicIncrement()
Datomicops_internals_arm_gcc.h83 Atomic32 increment) { in NoBarrier_AtomicIncrement() argument
84 return Barrier_AtomicIncrement(ptr, increment); in NoBarrier_AtomicIncrement()
88 Atomic32 increment) { in Barrier_AtomicIncrement() argument
92 Atomic32 new_value = old_value + increment; in Barrier_AtomicIncrement()
Datomicops_internals_x86_msvc.h41 Atomic32 increment) { in NoBarrier_AtomicIncrement() argument
42 return Barrier_AtomicIncrement(ptr, increment); in NoBarrier_AtomicIncrement()
94 Atomic64 increment) { in NoBarrier_AtomicIncrement() argument
95 return Barrier_AtomicIncrement(ptr, increment); in NoBarrier_AtomicIncrement()
Datomicops_internals_generic_gcc.h52 Atomic32 increment) { in NoBarrier_AtomicIncrement() argument
53 return __atomic_add_fetch(ptr, increment, __ATOMIC_RELAXED); in NoBarrier_AtomicIncrement()
57 Atomic32 increment) { in Barrier_AtomicIncrement() argument
58 return __atomic_add_fetch(ptr, increment, __ATOMIC_SEQ_CST); in Barrier_AtomicIncrement()
Datomicops.h114 Atomic32 NoBarrier_AtomicIncrement(volatile Atomic32* ptr, Atomic32 increment);
117 Atomic32 increment);
153 Atomic64 NoBarrier_AtomicIncrement(volatile Atomic64* ptr, Atomic64 increment);
154 Atomic64 Barrier_AtomicIncrement(volatile Atomic64* ptr, Atomic64 increment);
/frameworks/native/services/surfaceflinger/tests/
DSurfaceInterceptor_test.cpp103 for (const auto& increment : capturedTrace.increment()) { in getSurfaceId() local
104 if (increment.increment_case() == increment.kSurfaceCreation) { in getSurfaceId()
105 if (increment.surface_creation().name() == surfaceName) { in getSurfaceId()
106 layerId = increment.surface_creation().id(); in getSurfaceId()
115 for (const auto& increment : capturedTrace.increment()) { in getDisplayId() local
116 if (increment.increment_case() == increment.kDisplayCreation) { in getDisplayId()
117 if (increment.display_creation().name() == displayName) { in getDisplayId()
118 displayId = increment.display_creation().id(); in getDisplayId()
186 bool surfaceCreationFound(const Increment& increment, bool foundSurface);
187 bool surfaceDeletionFound(const Increment& increment, const int32_t targetId,
[all …]
/frameworks/native/services/surfaceflinger/
DSurfaceInterceptor.h115 void addInitialSurfaceStateLocked(Increment* increment, const sp<const Layer>& layer);
116 void addInitialDisplayStateLocked(Increment* increment, const DisplayDeviceState& display);
124 void addSurfaceCreationLocked(Increment* increment, const sp<const Layer>& layer);
125 void addSurfaceDeletionLocked(Increment* increment, const sp<const Layer>& layer);
126 void addBufferUpdateLocked(Increment* increment, const sp<const Layer>& layer, uint32_t width,
128 void addVSyncUpdateLocked(Increment* increment, nsecs_t timestamp);
129 void addDisplayCreationLocked(Increment* increment, const DisplayDeviceState& info);
130 void addDisplayDeletionLocked(Increment* increment, int32_t sequenceId);
131 void addPowerModeUpdateLocked(Increment* increment, int32_t sequenceId, int32_t mode);
153 void addTransactionLocked(Increment* increment, const Vector<ComposerState>& stateUpdates,
DSurfaceInterceptor.cpp95 void SurfaceInterceptor::addInitialSurfaceStateLocked(Increment* increment, in addInitialSurfaceStateLocked() argument
98 Transaction* transaction(increment->mutable_transaction()); in addInitialSurfaceStateLocked()
122 void SurfaceInterceptor::addInitialDisplayStateLocked(Increment* increment, in addInitialDisplayStateLocked() argument
125 Transaction* transaction(increment->mutable_transaction()); in addInitialDisplayStateLocked()
170 Increment* increment(mTrace.add_increment()); in createTraceIncrementLocked() local
171 increment->set_time_stamp(systemTime()); in createTraceIncrementLocked()
172 return increment; in createTraceIncrementLocked()
403 void SurfaceInterceptor::addTransactionLocked(Increment* increment, in addTransactionLocked() argument
408 Transaction* transaction(increment->mutable_transaction()); in addTransactionLocked()
423 void SurfaceInterceptor::addSurfaceCreationLocked(Increment* increment, in addSurfaceCreationLocked() argument
[all …]
/frameworks/native/cmds/surfacereplayer/replayer/
DReplayer.cpp76 mCurrentTime = mTrace.increment(0).time_stamp(); in Replayer()
94 mCurrentTime = mTrace.increment(0).time_stamp(); in Replayer()
121 mCurrentIncrement = mTrace.increment(mIncrementIndex); in replay()
276 auto increment = mTrace.increment(index); in dispatchEvent() local
277 std::shared_ptr<Event> event = std::make_shared<Event>(increment.increment_case()); in dispatchEvent()
281 switch (increment.increment_case()) { in dispatchEvent()
282 case increment.kTransaction: { in dispatchEvent()
283 std::thread(&Replayer::doTransaction, this, increment.transaction(), event).detach(); in dispatchEvent()
285 case increment.kSurfaceCreation: { in dispatchEvent()
286 std::thread(&Replayer::createSurfaceControl, this, increment.surface_creation(), event) in dispatchEvent()
[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/base/core/java/android/widget/
DAbsSeekBar.java550 public void setKeyProgressIncrement(int increment) { in setKeyProgressIncrement() argument
551 mKeyProgressIncrement = increment < 0 ? -increment : increment; in setKeyProgressIncrement()
1014 int increment = mKeyProgressIncrement;
1018 increment = -increment;
1023 increment = isLayoutRtl() ? -increment : increment;
1025 if (setProgressInternal(getProgress() + increment, true, true)) {
1087 int increment = Math.max(1, Math.round((float) range / 20));
1089 increment = -increment;
1093 if (setProgressInternal(getProgress() + increment, true, true)) {

1234