/frameworks/data-binding/extensions/library/src/main/java/android/databinding/ |
H A D | ObservableArrayList.java | 116 private void notifyAdd(int start, int count) { argument 118 mListeners.notifyInserted(this, start, count); 122 private void notifyRemove(int start, int count) { argument 124 mListeners.notifyRemoved(this, start, count);
|
/frameworks/native/cmds/installd/ |
H A D | globals.h | 34 size_t count; member in struct:android::installd::dir_rec_array_t
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
H A D | NAIRealmElement.java | 37 int count = payload.getShort() & SHORT_MASK; 38 mRealmData = new ArrayList<>(count); 39 while (count > 0) { 41 count--;
|
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/ |
H A D | SortedListAdapterCallbackWrapperTest.java | 48 public void onInserted(int position, int count) { 51 lastReceivedCount = count; 55 public void onRemoved(int position, int count) { 58 lastReceivedCount = count; 69 public void onChanged(int position, int count) { 72 lastReceivedCount = count; 300 private void assertLast(int type, int position, int count) throws Throwable { argument 306 if (count >= 0) { 307 assertEquals(lastReceivedCount, count); 310 throw new Throwable("last event: expected=" + log(type, position, count) 316 assertPending(int type, int position, int count) argument 332 log(int type, int position, int count) argument [all...] |
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | TiffHelpers.h | 33 #define WORD_ALIGN(count) \ 34 count += BYTES_TILL_WORD(count);
|
H A D | TiffWriter.h | 121 * - BAD_VALUE - The given count doesn't match the required count for 132 * was constructed with. The count and type are validated. 137 * - BAD_VALUE - The given count doesn't match the required count for 144 status_t addEntry(uint16_t tag, uint32_t count, const T* data, uint32_t ifd); 149 * with. The count and type are validated. If this succeeds, the resulting 155 * - BAD_VALUE - The given count doesn't match the required count for 161 status_t buildEntry(uint16_t tag, uint32_t count, cons 272 buildEntry(uint16_t tag, uint32_t count, const T* data, sp<TiffEntry>* outEntry) const argument 301 addEntry(uint16_t tag, uint32_t count, const T* data, uint32_t ifd) argument 314 uncheckedBuildEntry(uint16_t tag, TagType type, uint32_t count, Endianness end, const T* data) argument [all...] |
/frameworks/av/media/libnbaio/ |
H A D | MonoPipeReader.cpp | 46 ssize_t MonoPipeReader::read(void *buffer, size_t count) argument 48 // count == 0 is unlikely and not worth checking for explicitly; will be handled automatically 53 if (CC_LIKELY((size_t) red > count)) { 54 red = count;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/ |
H A D | h264bsd_interpolate_mid_hor.s | 37 count RN 2 ;// bit-packed width and count values
label 71 ;// pack values to count register
81 AND tmp3, count, #0x000F0000 ;// partWidth-1
84 ADD count, count, tmp3, LSL #12
115 SUBS count, count, #4<<28
146 SUBS count, count, # [all...] |
/frameworks/base/core/java/android/database/ |
H A D | BulkCursorDescriptor.java | 47 public int count; field in class:BulkCursorDescriptor 60 out.writeInt(count); 73 count = in.readInt();
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListHeterogeneousTest.java | 55 int count = mListView.getAdapter().getCount(); 58 for (int i = 0; i < count - 1; i++) { 66 for (int i = 0; i < count - 1; i++) {
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | NativeBuffer.java | 39 public NativeBuffer(int count) { argument 40 allocate(count * getElementSize()); 63 public int count() { method in class:NativeBuffer
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
H A D | TestContentResolver.java | 41 void waitForNotification(Uri uri, int count) throws InterruptedException, TimeoutException { argument 42 Assert.assertEquals(count, getPhaser(uri).awaitAdvanceInterruptibly( 43 count - 1, TIMEOUT_PERIOD_MS, TimeUnit.MILLISECONDS));
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mopria/ |
H A D | MopriaRecommendationPlugin.java | 51 Pair<Integer, Integer> count = mListener.getCount(); 52 return ((count.first > 1) ? count.second : 0);
|
/frameworks/ex/common/java/com/android/common/content/ |
H A D | SQLiteContentProvider.java | 149 int count = 0; 155 count = updateInTransaction(uri, values, selection, selectionArgs); 156 if (count > 0) { 166 count = updateInTransaction(uri, values, selection, selectionArgs); 167 if (count > 0) { 172 return count; 177 int count = 0; 183 count = deleteInTransaction(uri, selection, selectionArgs); 184 if (count > 0) { 194 count [all...] |
/frameworks/native/services/sensorservice/ |
H A D | BatteryService.h | 40 int32_t count; member in struct:android::BatteryService::Info 41 Info() : uid(0), handle(0), count(0) { } 42 Info(uid_t uid, int handle) : uid(uid), handle(handle), count(0) { }
|
/frameworks/native/vulkan/libvulkan/ |
H A D | swapchain.h | 30 VKAPI_ATTR VkResult GetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice pdev, VkSurfaceKHR surface, uint32_t* count, VkSurfaceFormatKHR* formats); 31 VKAPI_ATTR VkResult GetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice pdev, VkSurfaceKHR surface, uint32_t* count, VkPresentModeKHR* modes); 34 VKAPI_ATTR VkResult GetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR swapchain_handle, uint32_t* count, VkImage* images);
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
H A D | PoolingByteArrayOutputStream.java | 73 if (count + i <= buf.length) { 76 byte[] newbuf = mPool.getBuf((count + i) * 2); 77 System.arraycopy(buf, 0, newbuf, 0, count);
|
/frameworks/base/core/java/android/text/ |
H A D | SpannableStringInternal.java | 87 int count = 0; 94 count++; 97 if (count == 0) return; 100 mSpanCount = count; 176 int count = mSpanCount; 180 for (int i = 0; i < count; i++) { 217 int count = mSpanCount; 221 for (int i = count - 1; i >= 0; i--) { 226 int c = count - (i + 1); 241 int count [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Allocation.java | 1001 int count = data_length / eSize; 1002 if ((eSize * count) != data_length) { 1006 copy1DRangeFromUnchecked(xoff, count, data); 1082 private void data1DChecks(int off, int count, int len, int dataSize, boolean usePadding) { argument 1087 if(count < 1) { 1090 if((off + count) > mCurrentCount) { 1091 throw new RSIllegalArgumentException("Overflow, Available count " + mCurrentCount + 1092 ", got " + count + " at offset " + off + "."); 1119 private void copy1DRangeFromUnchecked(int off, int count, Object array, argument 1121 final int dataSize = mType.mElement.getBytesSize() * count; 1154 copy1DRangeFromUnchecked(int off, int count, Object array) argument 1182 copy1DRangeFromUnchecked(int off, int count, int[] d) argument 1208 copy1DRangeFromUnchecked(int off, int count, short[] d) argument 1234 copy1DRangeFromUnchecked(int off, int count, byte[] d) argument 1260 copy1DRangeFromUnchecked(int off, int count, float[] d) argument 1289 copy1DRangeFrom(int off, int count, Object array) argument 1319 copy1DRangeFrom(int off, int count, int[] d) argument 1348 copy1DRangeFrom(int off, int count, short[] d) argument 1377 copy1DRangeFrom(int off, int count, byte[] d) argument 1406 copy1DRangeFrom(int off, int count, float[] d) argument 1420 copy1DRangeFrom(int off, int count, Allocation data, int dataOff) argument 1993 copy1DRangeToUnchecked(int off, int count, Object array, Element.DataType dt, int arrayLen) argument 2028 copy1DRangeToUnchecked(int off, int count, Object array) argument 2056 copy1DRangeToUnchecked(int off, int count, int[] d) argument 2082 copy1DRangeToUnchecked(int off, int count, short[] d) argument 2108 copy1DRangeToUnchecked(int off, int count, byte[] d) argument 2134 copy1DRangeToUnchecked(int off, int count, float[] d) argument 2163 copy1DRangeTo(int off, int count, Object array) argument 2193 copy1DRangeTo(int off, int count, int[] d) argument 2222 copy1DRangeTo(int off, int count, short[] d) argument 2251 copy1DRangeTo(int off, int count, byte[] d) argument 2280 copy1DRangeTo(int off, int count, float[] d) argument 2613 createSized(RenderScript rs, Element e, int count, int usage) argument 2636 createSized(RenderScript rs, Element e, int count) argument [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | Gesture.java | 68 final int count = mStrokes.size(); 69 for (int i = 0; i < count; i++) { 109 final int count = strokes.size(); 111 for (int i = 0; i < count; i++) { 133 final int count = strokes.size(); 135 for (int i = 0; i < count; i++) { 150 final int count = strokes.size(); 152 for (int i = 0; i < count; i++) { 201 final int count = strokes.size(); 203 for (int i = 0; i < count; [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | ton_stab.cpp | 171 CLOCK CYCLES: (cycle count equation for this function) + (variable 172 used to represent cycle count for each subroutine 174 where: (cycle count variable) = cycle count for [subroutine 260 st->count = 0; 276 CLOCK CYCLES: (cycle count equation for this function) + (variable 277 used to represent cycle count for each subroutine 279 where: (cycle count variable) = cycle count for [subroutine 298 st->count [all...] |
/frameworks/base/drm/java/android/drm/ |
H A D | DrmOutputStream.java | 93 public void write(byte[] buffer, int offset, int count) throws IOException { argument 94 Arrays.checkOffsetAndCount(buffer.length, offset, count); 97 if (count == buffer.length) { 100 exactBuffer = new byte[count]; 101 System.arraycopy(buffer, offset, exactBuffer, 0, count);
|
/frameworks/base/media/java/android/media/midi/ |
H A D | MidiInputPort.java | 76 public void onSend(byte[] msg, int offset, int count, long timestamp) throws IOException { argument 77 if (offset < 0 || count < 0 || offset + count > msg.length) { 78 throw new IllegalArgumentException("offset or count out of range"); 80 if (count > MidiPortImpl.MAX_PACKET_DATA_SIZE) { 81 throw new IllegalArgumentException("count exceeds max message size"); 88 int length = MidiPortImpl.packData(msg, offset, count, timestamp, mBuffer);
|
/frameworks/base/services/net/java/android/net/netlink/ |
H A D | NetlinkSocket.java | 138 public boolean sendMessage(byte[] bytes, int offset, int count) argument 140 return sendMessage(bytes, offset, count, 0); 149 public boolean sendMessage(byte[] bytes, int offset, int count, long timeoutMs) argument 162 return (count == Os.write(mDescriptor, bytes, offset, count));
|
/frameworks/base/tools/aapt/ |
H A D | Package.cpp | 61 int count; local 112 count = processAssets(bundle, zip, outputSet); 113 if (count < 0) { 116 result = count; 121 printf("Generated %d file%s\n", count, (count==1) ? "" : "s"); 124 count = processJarFiles(bundle, zip); 125 if (count < 0) { 128 result = count; 133 printf("Included %d file%s from jar/zip files.\n", count, (coun 220 ssize_t count = 0; local 406 size_t count = 0; local 430 ssize_t count = 0; local [all...] |