/frameworks/native/libs/gui/ |
H A D | BitTube.cpp | 132 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 D | BitTube.cpp | 144 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 D | Fence.cpp | 142 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 D | TimeStatsHelper.cpp | 51 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 D | SimpleCursorAdapter.java | 127 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 D | MediaRouteProviderDescriptor.java | 57 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 D | TiledPagedList.java | 140 // 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 D | IBufferQueue.cpp | 67 ++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 D | playbq.cpp | 80 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 D | ActionsAdapter.java | 49 int count = 0; 60 count++; 62 return count; 97 + ", filtered count=" + getCount()
|
/frameworks/base/core/tests/coretests/src/android/app/backup/ |
H A D | BackupDataTest.java | 93 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 D | ListWithScreenOfNoSelectablesTest.java | 73 for(int count = 0; count < maxDowns && mListView.getLastVisiblePosition() <= lastPosition; count++) {
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A D | EditTextTypeActivity.java | 39 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 D | SampleDriverFloatFast.cpp | 56 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 D | SampleDriverFloatSlow.cpp | 56 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 D | SampleDriverMinimal.cpp | 57 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 D | SampleDriverQuant.cpp | 56 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 D | ButtonItemDrawingTest.java | 89 int count = 0; 92 count++; 95 return count;
|
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/util/ |
H A D | Emoji.java | 103 int count = 0; 105 count += Character.charCount(mCodepoints[i]); 107 return count;
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | BaseGridLayoutManagerTest.java | 274 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 D | ViewPagerTest.java | 65 adapter.count = 1; 75 public volatile int count; field in class:ViewPagerTest.PrimaryItemPagerAdapter 80 return count;
|
/frameworks/av/include/media/ |
H A D | EventMetric.h | 26 // 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 D | AudioBufferProviderSource.h | 45 virtual ssize_t read(void *buffer, size_t count);
|
H A D | NBAIO.h | 54 // 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 D | Pipe.h | 57 virtual ssize_t write(const void *buffer, size_t count);
|