/frameworks/base/core/tests/coretests/src/android/database/ |
D | NewDatabasePerformanceTests.java | 107 private static final int SIZE = 10 * kMultiplier; field in NewDatabasePerformanceTests.Insert1000 109 private String[] statements = new String[SIZE]; 116 for (int i = 0; i < SIZE; i++) { in setUp() 128 for (int i = 0; i < SIZE; i++) { in testRun() 139 private static final int SIZE = 10 * kMultiplier; field in NewDatabasePerformanceTests.InsertIndexed1000 141 private String[] statements = new String[SIZE]; 148 for (int i = 0; i < SIZE; i++) { in setUp() 161 for (int i = 0; i < SIZE; i++) { in testRun() 172 private static final int SIZE = 1 * kMultiplier; field in NewDatabasePerformanceTests.Select100 175 private String[] where = new String[SIZE]; [all …]
|
D | DatabasePerformanceTests.java | 198 private static final int SIZE = 1000; field in DatabasePerformanceTests.Perf1Test 200 private String[] statements = new String[SIZE]; 207 for (int i = 0; i < SIZE; i++) { in setUp() 220 for (int i = 0; i < SIZE; i++) { in run() 231 private static final int SIZE = 1000; field in DatabasePerformanceTests.Perf2Test 233 private String[] statements = new String[SIZE]; 240 for (int i = 0; i < SIZE; i++) { in setUp() 254 for (int i = 0; i < SIZE; i++) { in run() 265 private static final int SIZE = 100; field in DatabasePerformanceTests.Perf3Test 268 private String[] where = new String[SIZE]; [all …]
|
/frameworks/native/services/sensorservice/ |
D | vec.h | 36 template <typename TYPE, size_t SIZE> 39 template <typename TYPE, size_t SIZE> 48 typename TYPE, size_t SIZE, size_t S> 49 vec<TYPE, SIZE>& doAssign( in doAssign() 50 vec<TYPE, SIZE>& lhs, const VEC<TYPE, S>& rhs) { in doAssign() 51 const size_t minSize = min(SIZE, S); in doAssign() 52 const size_t maxSize = max(SIZE, S); in doAssign() 65 size_t SIZE 67 VLHS<TYPE, SIZE> PURE doAdd( in doAdd() 68 const VLHS<TYPE, SIZE>& lhs, in doAdd() [all …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | SmallCircleActivity.java | 38 layout.addView(view, new LinearLayout.LayoutParams(PathView.SIZE, PathView.SIZE)); in onCreate() 41 layout.addView(view, new LinearLayout.LayoutParams(PathView.SIZE, PathView.SIZE)); in onCreate() 47 private static final int SIZE = 37; field in SmallCircleActivity.PathView 55 mPath.addCircle(SIZE * 0.5f, SIZE * 0.5f, SIZE * 0.275f, Path.Direction.CW); in PathView() 56 mPath.addCircle(SIZE * 0.5f, SIZE * 0.5f, SIZE * 0.225f, Path.Direction.CCW); in PathView()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | ByteArrayHelpers.java | 51 return toByteArray(array, Short.SIZE); in toByteArray() 61 return toByteArray(array, Character.SIZE); in toByteArray() 70 return toByteArray(array, Integer.SIZE); in toByteArray() 79 return toByteArray(array, Long.SIZE); in toByteArray() 88 return toByteArray(array, Float.SIZE); in toByteArray() 97 return toByteArray(array, Double.SIZE); in toByteArray() 127 sizeInBits = Integer.SIZE; in toByteArray() 129 sizeInBits = Float.SIZE; in toByteArray() 131 sizeInBits = Double.SIZE; in toByteArray() 133 sizeInBits = Short.SIZE; in toByteArray() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPatch.cpp | 40 const size_t SIZE = 256; in dump() local 41 char buffer[SIZE]; in dump() 44 snprintf(buffer, SIZE, "%*sAudio patch %d:\n", spaces, "", index+1); in dump() 46 snprintf(buffer, SIZE, "%*s- handle: %2d\n", spaces, "", mHandle); in dump() 48 snprintf(buffer, SIZE, "%*s- audio flinger handle: %2d\n", spaces, "", mAfPatchHandle); in dump() 50 snprintf(buffer, SIZE, "%*s- owner uid: %2d\n", spaces, "", mUid); in dump() 52 snprintf(buffer, SIZE, "%*s- %d sources:\n", spaces, "", mPatch.num_sources); in dump() 56 snprintf(buffer, SIZE, "%*s- Device ID %d %s\n", spaces + 2, "", in dump() 61 snprintf(buffer, SIZE, "%*s- Mix ID %d I/O handle %d\n", spaces + 2, "", in dump() 66 snprintf(buffer, SIZE, "%*s- %d sinks:\n", spaces, "", mPatch.num_sinks); in dump() [all …]
|
D | AudioGain.cpp | 104 const size_t SIZE = 256; in dump() local 105 char buffer[SIZE]; in dump() 108 snprintf(buffer, SIZE, "%*sGain %d:\n", spaces, "", index+1); in dump() 110 snprintf(buffer, SIZE, "%*s- mode: %08x\n", spaces, "", mGain.mode); in dump() 112 snprintf(buffer, SIZE, "%*s- channel_mask: %08x\n", spaces, "", mGain.channel_mask); in dump() 114 snprintf(buffer, SIZE, "%*s- min_value: %d mB\n", spaces, "", mGain.min_value); in dump() 116 snprintf(buffer, SIZE, "%*s- max_value: %d mB\n", spaces, "", mGain.max_value); in dump() 118 snprintf(buffer, SIZE, "%*s- default_value: %d mB\n", spaces, "", mGain.default_value); in dump() 120 snprintf(buffer, SIZE, "%*s- step_value: %d mB\n", spaces, "", mGain.step_value); in dump() 122 snprintf(buffer, SIZE, "%*s- min_ramp_ms: %d ms\n", spaces, "", mGain.min_ramp_ms); in dump() [all …]
|
D | AudioInputDescriptor.cpp | 118 const size_t SIZE = 256; in dump() local 119 char buffer[SIZE]; in dump() 122 snprintf(buffer, SIZE, " ID: %d\n", getId()); in dump() 124 snprintf(buffer, SIZE, " Sampling rate: %d\n", mSamplingRate); in dump() 126 snprintf(buffer, SIZE, " Format: %d\n", mFormat); in dump() 128 snprintf(buffer, SIZE, " Channels: %08x\n", mChannelMask); in dump() 130 snprintf(buffer, SIZE, " Devices %08x\n", mDevice); in dump() 132 snprintf(buffer, SIZE, " Ref Count %d\n", mRefCount); in dump() 134 snprintf(buffer, SIZE, " Open Ref Count %d\n", mOpenRefCount); in dump() 201 const size_t SIZE = 256; in dump() local [all …]
|
D | EffectDescriptor.cpp | 27 const size_t SIZE = 256; in dump() local 28 char buffer[SIZE]; in dump() 31 snprintf(buffer, SIZE, " I/O: %d\n", mIo); in dump() 33 snprintf(buffer, SIZE, " Strategy: %d\n", mStrategy); in dump() 35 snprintf(buffer, SIZE, " Session: %d\n", mSession); in dump() 37 snprintf(buffer, SIZE, " Name: %s\n", mDesc.name); in dump() 39 snprintf(buffer, SIZE, " %s\n", mEnabled ? "Enabled" : "Disabled"); in dump() 175 const size_t SIZE = 256; in dump() local 176 char buffer[SIZE]; in dump() 178 snprintf(buffer, SIZE, "\nTotal Effects CPU: %f MIPS, Total Effects memory: %d KB\n", in dump() [all …]
|
D | StreamDescriptor.cpp | 79 const size_t SIZE = 256; in dump() local 80 char buffer[SIZE]; in dump() 83 snprintf(buffer, SIZE, "%s %02d %02d ", in dump() 87 snprintf(buffer, SIZE, "%04x : %02d, ", in dump() 145 const size_t SIZE = 256; in dump() local 146 char buffer[SIZE]; in dump() 148 snprintf(buffer, SIZE, "\nStreams dump:\n"); in dump() 150 snprintf(buffer, SIZE, in dump() 154 snprintf(buffer, SIZE, " %02zu ", i); in dump()
|
D | AudioOutputDescriptor.cpp | 190 const size_t SIZE = 256; in dump() local 191 char buffer[SIZE]; in dump() 194 snprintf(buffer, SIZE, " ID: %d\n", mId); in dump() 196 snprintf(buffer, SIZE, " Sampling rate: %d\n", mSamplingRate); in dump() 198 snprintf(buffer, SIZE, " Format: %08x\n", mFormat); in dump() 200 snprintf(buffer, SIZE, " Channels: %08x\n", mChannelMask); in dump() 202 snprintf(buffer, SIZE, " Devices %08x\n", device()); in dump() 204 snprintf(buffer, SIZE, " Stream volume refCount muteCount\n"); in dump() 207 snprintf(buffer, SIZE, " %02d %.03f %02d %02d\n", in dump() 244 const size_t SIZE = 256; in dump() local [all …]
|
D | IOProfile.cpp | 123 const size_t SIZE = 256; in dump() local 124 char buffer[SIZE]; in dump() 129 snprintf(buffer, SIZE, " - flags: 0x%04x\n", mFlags); in dump() 131 snprintf(buffer, SIZE, " - devices:\n"); in dump() 141 const size_t SIZE = 256; in log() local 142 char buffer[SIZE]; in log()
|
D | HwModule.cpp | 251 const size_t SIZE = 256; in dump() local 252 char buffer[SIZE]; in dump() 255 snprintf(buffer, SIZE, " - name: %s\n", mName); in dump() 257 snprintf(buffer, SIZE, " - handle: %d\n", mHandle); in dump() 259 snprintf(buffer, SIZE, " - version: %u.%u\n", mHalVersion >> 8, mHalVersion & 0xFF); in dump() 265 snprintf(buffer, SIZE, " output %zu:\n", i); in dump() 273 snprintf(buffer, SIZE, " input %zu:\n", i); in dump() 362 const size_t SIZE = 256; in dump() local 363 char buffer[SIZE]; in dump() 365 snprintf(buffer, SIZE, "\nHW Modules dump:\n"); in dump() [all …]
|
D | DeviceDescriptor.cpp | 252 const size_t SIZE = 256; in dump() local 253 char buffer[SIZE]; in dump() 255 snprintf(buffer, SIZE, "\n Available %s devices:\n", direction.string()); in dump() 313 const size_t SIZE = 256; in dump() local 314 char buffer[SIZE]; in dump() 317 snprintf(buffer, SIZE, "%*sDevice %d:\n", spaces, "", index+1); in dump() 320 snprintf(buffer, SIZE, "%*s- id: %2d\n", spaces, "", mId); in dump() 323 snprintf(buffer, SIZE, "%*s- type: %-48s\n", spaces, "", in dump() 329 snprintf(buffer, SIZE, "%*s- address: %-32s\n", spaces, "", mAddress.string()); in dump()
|
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/ |
D | CallbackRegistry.java | 98 removeRemovedCallbacks((i + 1) * Long.SIZE, removedBits); in notifyCallbacks() 121 final int maxNotified = Math.min(Long.SIZE, mCallbacks.size()); in notifyFirst64() 149 final int startCallbackIndex = (remainderIndex + 2) * Long.SIZE; in notifyRecurse() 172 final int startIndex = (remainderIndex + 1) * Long.SIZE; in notifyRemainder() 173 final int endIndex = Math.min(mCallbacks.size(), startIndex + Long.SIZE); in notifyRemainder() 226 if (index < Long.SIZE) { in isRemoved() 234 final int maskIndex = (index / Long.SIZE) - 1; in isRemoved() 241 final long bitMask = 1L << (index % Long.SIZE); in isRemoved() 257 final int endIndex = startIndex + Long.SIZE; in removeRemovedCallbacks() 259 long bitMask = 1L << (Long.SIZE - 1); in removeRemovedCallbacks() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | CallbackRegistry.java | 100 removeRemovedCallbacks((i + 1) * Long.SIZE, removedBits); in notifyCallbacks() 123 final int maxNotified = Math.min(Long.SIZE, mCallbacks.size()); in notifyFirst64Locked() 152 final int startCallbackIndex = (remainderIndex + 2) * Long.SIZE; in notifyRecurseLocked() 175 final int startIndex = (remainderIndex + 1) * Long.SIZE; in notifyRemainderLocked() 176 final int endIndex = Math.min(mCallbacks.size(), startIndex + Long.SIZE); in notifyRemainderLocked() 229 if (index < Long.SIZE) { in isRemovedLocked() 237 final int maskIndex = (index / Long.SIZE) - 1; in isRemovedLocked() 244 final long bitMask = 1L << (index % Long.SIZE); in isRemovedLocked() 259 final int endIndex = startIndex + Long.SIZE; in removeRemovedCallbacks() 261 long bitMask = 1L << (Long.SIZE - 1); in removeRemovedCallbacks() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/marshal/ |
D | MarshalHelpers.java | 36 public static final int SIZEOF_INT32 = Integer.SIZE / Byte.SIZE; 37 public static final int SIZEOF_INT64 = Long.SIZE / Byte.SIZE; 38 public static final int SIZEOF_FLOAT = Float.SIZE / Byte.SIZE; 39 public static final int SIZEOF_DOUBLE = Double.SIZE / Byte.SIZE;
|
/frameworks/base/libs/hwui/utils/ |
D | RingBuffer.h | 26 template<class T, size_t SIZE> 34 constexpr size_t capacity() const { return SIZE; } in capacity() 38 mHead = (mHead + 1) % SIZE; in next() 39 if (mCount < SIZE) { in next() 63 T mBuffer[SIZE];
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | ELFObjectWriter.h | 50 template <size_t SIZE> 59 template <size_t SIZE> 65 template <size_t SIZE> 84 template <size_t SIZE> 90 template <size_t SIZE> 96 template <size_t SIZE> 106 template <size_t SIZE>
|
/frameworks/compile/mclinker/lib/LD/ |
D | ELFObjectWriter.cpp | 202 template <size_t SIZE> 206 typedef typename ELFSizeTraits<SIZE>::Ehdr ElfXX_Ehdr; in writeELFHeader() 207 typedef typename ELFSizeTraits<SIZE>::Shdr ElfXX_Shdr; in writeELFHeader() 208 typedef typename ELFSizeTraits<SIZE>::Phdr ElfXX_Phdr; in writeELFHeader() 217 (SIZE == 32) ? llvm::ELF::ELFCLASS32 : llvm::ELF::ELFCLASS64; in writeELFHeader() 250 header->e_shoff = getLastStartOffset<SIZE>(pModule); in writeELFHeader() 297 template <size_t SIZE> 301 typedef typename ELFSizeTraits<SIZE>::Shdr ElfXX_Shdr; in emitSectionHeader() 307 pOutput.request(getLastStartOffset<SIZE>(pModule), header_size); in emitSectionHeader() 322 shdr[sectIdx].sh_entsize = getSectEntrySize<SIZE>(*ld_sect); in emitSectionHeader() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenLog.java | 39 private static final int SIZE = Build.IS_DEBUGGABLE ? 100 : 20; field in ZenLog 41 private static final long[] TIMES = new long[SIZE]; 42 private static final int[] TYPES = new int[SIZE]; 43 private static final String[] MSGS = new String[SIZE]; 201 sNext = (sNext + 1) % SIZE; in append() 202 if (sSize < SIZE) { in append() 211 final int start = (sNext - sSize + SIZE) % SIZE; in dump() 213 final int j = (start + i) % SIZE; in dump()
|
/frameworks/native/libs/ui/ |
D | GraphicBufferAllocator.cpp | 59 const size_t SIZE = 4096; in dump() local 60 char buffer[SIZE]; in dump() 61 snprintf(buffer, SIZE, "Allocated buffers:\n"); in dump() 67 snprintf(buffer, SIZE, "%10p: %7.2f KiB | %4u (%4u) x %4u | %8X | 0x%08x\n", in dump() 71 snprintf(buffer, SIZE, "%10p: unknown | %4u (%4u) x %4u | %8X | 0x%08x\n", in dump() 78 snprintf(buffer, SIZE, "Total allocated (estimate): %.2f KB\n", total/1024.0f); in dump() 81 mAllocDev->dump(mAllocDev, buffer, SIZE); in dump()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeLog.java | 35 private static final int SIZE = Build.IS_DEBUGGABLE ? 400 : 50; field in DozeLog 88 sTimes = new long[SIZE]; in init() 89 sMessages = new String[SIZE]; in init() 176 final int start = (sPosition - sCount + SIZE) % SIZE; in dump() 178 final int j = (start + i) % SIZE; in dump() 206 sPosition = (sPosition + 1) % SIZE; in log() 207 sCount = Math.min(sCount + 1, SIZE); in log()
|
/frameworks/av/media/libmedia/ |
D | MemoryLeakTrackUtil.cpp | 78 const size_t SIZE = 256; in dumpMemoryAddresses() local 79 char buffer[SIZE]; in dumpMemoryAddresses() 99 snprintf(buffer, SIZE, " Allocation count %i\n", count); in dumpMemoryAddresses() 101 snprintf(buffer, SIZE, " Total memory %i\n", totalMemory); in dumpMemoryAddresses() 154 snprintf(buffer, SIZE, "size %8i, dup %4i, ", e->size, e->dups); in dumpMemoryAddresses() 160 snprintf(buffer, SIZE, "0x%08x", e->backtrace[ct]); in dumpMemoryAddresses()
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
D | SizeTraits.h | 17 template <size_t SIZE> 39 template <size_t SIZE> 139 template <size_t SIZE> 140 typename SizeTraits<SIZE>::Word bswap(typename SizeTraits<SIZE>::Word pData);
|