Searched refs:count (Results 226 - 250 of 1592) sorted by relevance

1234567891011>>

/frameworks/native/libs/gui/
H A DBitTube.cpp132 ssize_t BitTube::sendObjects(BitTube* tube, void const* events, size_t count, size_t objSize) {
134 ssize_t size = tube->write(vaddr, count * objSize);
138 "BitTube::sendObjects(count=%zu, size=%zu), res=%zd (partial events were "
140 count, objSize, size);
142 // ALOGE_IF(size<0, "error %d sending %d events", size, count);
146 ssize_t BitTube::recvObjects(BitTube* tube, void* events, size_t count, size_t objSize) { argument
148 ssize_t size = tube->read(vaddr, count * objSize);
152 "BitTube::recvObjects(count=%zu, size=%zu), res=%zd (partial events were "
154 count, objSize, size);
156 // ALOGE_IF(size<0, "error %d receiving %d events", size, count);
[all...]
/frameworks/native/libs/sensor/
H A DBitTube.cpp144 void const* events, size_t count, size_t objSize)
147 ssize_t size = tube->write(vaddr, count*objSize);
151 "BitTube::sendObjects(count=%zu, size=%zu), res=%zd (partial events were sent!)",
152 count, objSize, size);
154 //ALOGE_IF(size<0, "error %d sending %d events", size, count);
159 void* events, size_t count, size_t objSize)
162 ssize_t size = tube->read(vaddr, count*objSize);
166 "BitTube::recvObjects(count=%zu, size=%zu), res=%zd (partial events were received!)",
167 count, objSize, size);
169 //ALOGE_IF(size<0, "error %d receiving %d events", size, count);
158 recvObjects(const sp<BitTube>& tube, void* events, size_t count, size_t objSize) argument
[all...]
/frameworks/native/libs/ui/
H A DFence.cpp142 status_t Fence::flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const {
143 if (size < getFlattenedSize() || count < getFdCount()) {
151 count--;
156 status_t Fence::unflatten(void const*& buffer, size_t& size, int const*& fds, size_t& count) { argument
173 if (count < numFds) {
179 count--;
/frameworks/native/services/surfaceflinger/TimeStats/timestatsproto/
H A DTimeStatsHelper.cpp51 int64_t count = 0; local
53 count += ele.second;
56 return static_cast<float>(ret) / count;
63 int32_t count = (hist.count(bucket) == 0) ? 0 : hist.at(bucket); local
64 StringAppendF(&result, "%dms=%d ", bucket, count);
/frameworks/support/cursoradapter/src/main/java/androidx/cursoradapter/widget/
H A DSimpleCursorAdapter.java127 final int count = mTo.length;
131 for (int i = 0; i < count; i++) {
318 int count = from.length;
319 if (mFrom == null || mFrom.length != count) {
320 mFrom = new int[count];
322 for (i = 0; i < count; i++) {
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/
H A DMediaRouteProviderDescriptor.java57 final int count = routeBundles.size();
58 mRoutes = new ArrayList<MediaRouteDescriptor>(count);
59 for (int i = 0; i < count; i++) {
198 final int count = mRoutes.size();
199 ArrayList<Bundle> routeBundles = new ArrayList<Bundle>(count);
200 for (int i = 0; i < count; i++) {
/frameworks/support/paging/common/src/main/java/androidx/paging/
H A DTiledPagedList.java140 // count number of consecutive pages that were added since the snapshot...
160 public void onInitialized(int count) { argument
161 notifyInserted(0, count);
189 int count = Math.min(pageSize, mStorage.size() - startPosition);
191 PageResult.TILE, startPosition, count, mMainThreadExecutor, mReceiver);
198 public void onPageInserted(int start, int count) { argument
199 notifyChanged(start, count);
/frameworks/wilhelm/src/itf/
H A DIBufferQueue.cpp67 ++thiz->mState.count;
72 (1 == thiz->mState.count) && (SL_PLAYSTATE_PLAYING == getAssociatedState(thiz))) ?
97 thiz->mState.count = 0;
135 state.count = thiz->mState.count;
181 thiz->mState.count = 0;
/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.cpp80 ssize_t count = fifoReader->read(buffer, framesPerBuffer); local
82 if (0 >= count) {
84 count = framesPerBuffer;
87 if (count > 0) {
88 SLuint32 nbytes = count * sfframesize;
105 sf_count_t count; local
109 count = sf_readf_float(sndfile, (float *) temp, READ_FRAMES);
113 count = sf_readf_int(sndfile, (int *) temp, READ_FRAMES);
117 count = sf_readf_short(sndfile, (short *) temp, READ_FRAMES);
120 count
484 sf_count_t count; local
[all...]
/frameworks/base/core/java/com/android/internal/globalactions/
H A DActionsAdapter.java49 int count = 0;
60 count++;
62 return count;
97 + ", filtered count=" + getCount()
/frameworks/base/core/tests/coretests/src/android/app/backup/
H A DBackupDataTest.java93 int count = 0;
96 count++;
98 assertEquals("only one entity in this stream", 1, count);
114 int count = 0;
116 readAndVerifyEntity(bdi, KEYS[count], DATA[count].getBytes());
117 count++;
119 assertEquals("four entities in this stream", KEYS.length, count);
135 int count = 0;
137 readAndVerifyDeletedEntity(bdi, KEYS[count]);
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
H A DListWithScreenOfNoSelectablesTest.java73 for(int count = 0; count < maxDowns && mListView.getLastVisiblePosition() <= lastPosition; count++) {
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DEditTextTypeActivity.java39 final int count = 100;
42 StringBuilder builder = new StringBuilder(count * string.length());
43 for (int i = 0; i < count; i++) {
/frameworks/ml/nn/driver/sample/
H A DSampleDriverFloatFast.cpp56 const size_t count = model.operations.size(); local
57 std::vector<bool> supported(count);
58 for (size_t i = 0; i < count; i++) {
H A DSampleDriverFloatSlow.cpp56 const size_t count = model.operations.size(); local
57 std::vector<bool> supported(count);
58 for (size_t i = 0; i < count; i++) {
H A DSampleDriverMinimal.cpp57 const size_t count = model.operations.size(); local
58 std::vector<bool> supported(count);
60 for (size_t i = 0; i < count; i++) {
H A DSampleDriverQuant.cpp56 const size_t count = model.operations.size(); local
57 std::vector<bool> supported(count);
58 for (size_t i = 0; i < count; i++) {
/frameworks/opt/setupwizard/library/gingerbread/test/instrumentation/src/com/android/setupwizardlib/items/
H A DButtonItemDrawingTest.java89 int count = 0;
92 count++;
95 return count;
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/util/
H A DEmoji.java103 int count = 0;
105 count += Character.charCount(mCodepoints[i]);
107 return count;
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DBaseGridLayoutManagerTest.java274 public void expectPrefetch(int count) { argument
275 prefetchLatch = new CountDownLatch(count);
291 public void expectIdleState(int count) { argument
292 snapLatch = new CountDownLatch(count);
333 GridFocusableAdapter(int count) { argument
334 this(count, 1);
337 GridFocusableAdapter(int count, int spanPerItem) { argument
338 super(count);
363 GridTestAdapter(int count) { argument
364 super(count);
367 GridTestAdapter(int count, int spanPerItem) argument
[all...]
/frameworks/support/viewpager/src/androidTest/java/androidx/viewpager/widget/
H A DViewPagerTest.java65 adapter.count = 1;
75 public volatile int count; field in class:ViewPagerTest.PrimaryItemPagerAdapter
80 return count;
/frameworks/av/include/media/
H A DEventMetric.h26 // The count of times the event occurred.
27 int64_t count; member in struct:android::EventStatistics
37 // var = sum_squared_deviation / count;
84 // Increment the count of times the operation occurred with this
91 stats->mean = stats->mean + (deviation / stats->count);
94 stats->count++;
101 stats->count = 1;
/frameworks/av/include/media/nbaio/
H A DAudioBufferProviderSource.h45 virtual ssize_t read(void *buffer, size_t count);
H A DNBAIO.h54 // attributes, rather than a struct with separate fields for format, sample rate, channel count,
58 // Sample rate and channel count are explicit, PCM interleaved 16-bit is assumed.
73 // Convert a sample rate in Hz and channel count to an NBAIO_Format
80 // Return the channel count of an NBAIO_Format
84 typedef ssize_t (*writeVia_t)(void *user, void *buffer, size_t count);
85 typedef ssize_t (*readVia_t)(void *user, const void *buffer, size_t count);
161 // larger transfer count, however it will make a good faith effort to give an accurate estimate.
177 // count Maximum number of frames to transfer.
187 virtual ssize_t write(const void *buffer, size_t count) = 0;
196 // block Number of frames per block, that is a suggested value for 'count' i
[all...]
H A DPipe.h57 virtual ssize_t write(const void *buffer, size_t count);

Completed in 534 milliseconds

1234567891011>>