Home
last modified time | relevance | path

Searched refs:SIZE (Results 1 – 25 of 76) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/android/database/
DNewDatabasePerformanceTests.java107 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 …]
DDatabasePerformanceTests.java198 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/
Dvec.h36 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 …]
DFusion.cpp130 template<typename TYPE, size_t SIZE>
132 mat<TYPE, SIZE, SIZE> mSumXX;
133 vec<TYPE, SIZE> mSumX;
137 void update(const vec<TYPE, SIZE>& x) { in update()
142 mat<TYPE, SIZE, SIZE> operator()() const { in operator ()()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DSmallCircleActivity.java38 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/
DByteArrayHelpers.java51 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/base/core/java/android/hardware/camera2/marshal/
DMarshalHelpers.java36 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/compile/mclinker/include/mcld/LD/
DELFObjectWriter.h54 template<size_t SIZE>
63 template<size_t SIZE>
69 template<size_t SIZE>
87 template<size_t SIZE>
93 template<size_t SIZE>
99 template<size_t SIZE>
109 template<size_t SIZE>
/frameworks/base/services/core/java/com/android/server/notification/
DZenLog.java39 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];
174 sNext = (sNext + 1) % SIZE; in append()
175 if (sSize < SIZE) { in append()
184 final int start = (sNext - sSize + SIZE) % SIZE; in dump()
186 final int j = (start + i) % SIZE; in dump()
/frameworks/compile/mclinker/lib/LD/
DELFObjectWriter.cpp207 template<size_t SIZE>
212 typedef typename ELFSizeTraits<SIZE>::Ehdr ElfXX_Ehdr; in writeELFHeader()
213 typedef typename ELFSizeTraits<SIZE>::Shdr ElfXX_Shdr; in writeELFHeader()
214 typedef typename ELFSizeTraits<SIZE>::Phdr ElfXX_Phdr; in writeELFHeader()
222 header->e_ident[EI_CLASS] = (SIZE == 32) ? ELFCLASS32 : ELFCLASS64; in writeELFHeader()
253 header->e_shoff = getLastStartOffset<SIZE>(pModule); in writeELFHeader()
304 template<size_t SIZE>
309 typedef typename ELFSizeTraits<SIZE>::Shdr ElfXX_Shdr; in emitSectionHeader()
314 MemoryRegion region = pOutput.request(getLastStartOffset<SIZE>(pModule), in emitSectionHeader()
330 shdr[sectIdx].sh_entsize = getSectEntrySize<SIZE>(*ld_sect); in emitSectionHeader()
[all …]
/frameworks/native/libs/ui/
DGraphicBufferAllocator.cpp59 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/
DDozeLog.java35 private static final int SIZE = Build.IS_DEBUGGABLE ? 400 : 50; field in DozeLog
90 sTimes = new long[SIZE]; in traceDozing()
91 sMessages = new String[SIZE]; in traceDozing()
170 final int start = (sPosition - sCount + SIZE) % SIZE; in dump()
172 final int j = (start + i) % SIZE; in dump()
200 sPosition = (sPosition + 1) % SIZE; in log()
201 sCount = Math.min(sCount + 1, SIZE); in log()
/frameworks/av/media/libmedia/
DMemoryLeakTrackUtil.cpp77 const size_t SIZE = 256; in dumpMemoryAddresses() local
78 char buffer[SIZE]; in dumpMemoryAddresses()
98 snprintf(buffer, SIZE, " Allocation count %i\n", count); in dumpMemoryAddresses()
100 snprintf(buffer, SIZE, " Total memory %i\n", totalMemory); in dumpMemoryAddresses()
153 snprintf(buffer, SIZE, "size %8i, dup %4i, ", e->size, e->dups); in dumpMemoryAddresses()
159 snprintf(buffer, SIZE, "0x%08x", e->backtrace[ct]); in dumpMemoryAddresses()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp1813 const size_t SIZE = 256; in dump() local
1814 char buffer[SIZE]; in dump()
1819 snprintf(buffer, SIZE, " No file writer\n"); in dump()
1822 snprintf(buffer, SIZE, " Recorder: %p\n", this); in dump()
1823 snprintf(buffer, SIZE, " Output file (fd %d):\n", mOutputFd); in dump()
1825 snprintf(buffer, SIZE, " File format: %d\n", mOutputFormat); in dump()
1827 snprintf(buffer, SIZE, " Max file size (bytes): %" PRId64 "\n", mMaxFileSizeBytes); in dump()
1829 snprintf(buffer, SIZE, " Max file duration (us): %" PRId64 "\n", mMaxFileDurationUs); in dump()
1831 snprintf(buffer, SIZE, " File offset length (bits): %d\n", mUse64BitFileOffset? 64: 32); in dump()
1833 snprintf(buffer, SIZE, " Interleave duration (us): %d\n", mInterleaveDurationUs); in dump()
[all …]
/frameworks/base/libs/common_time/
Dcommon_time_server_api.cpp292 const size_t SIZE = 256; in dumpClockInterface() local
293 char buffer[SIZE]; in dumpClockInterface()
296 snprintf(buffer, SIZE, "Permission Denial: " in dumpClockInterface()
368 const size_t SIZE = 256; in dumpConfigInterface() local
369 char buffer[SIZE]; in dumpConfigInterface()
372 snprintf(buffer, SIZE, "Permission Denial: " in dumpConfigInterface()
407 const size_t SIZE = 256; in dumpLog() local
408 char buffer[SIZE]; in dumpLog()
/frameworks/compile/mclinker/include/mcld/ADT/
DSizeTraits.h18 template<size_t SIZE>
42 template<size_t SIZE>
153 template<size_t SIZE>
154 typename SizeTraits<SIZE>::Word bswap(typename SizeTraits<SIZE>::Word pData);
/frameworks/rs/cpu_ref/linkloader/utils/
Dtraits.h35 #define TYPE_TRAITS_SPECIALIZE(TYPE, SIZE, ALIGN) \ argument
38 enum { size = SIZE }; \
/frameworks/base/docs/html/training/secure-file-sharing/
Dretrieve-info.jd72 <dt>{@link android.provider.OpenableColumns#SIZE SIZE}</dt>
80 DISPLAY_NAME} and {@link android.provider.OpenableColumns#SIZE SIZE} for a file by setting all
84 {@link android.provider.OpenableColumns#SIZE SIZE} and displays each one in separate
103 int sizeIndex = returnCursor.getColumnIndex(OpenableColumns.SIZE);
/frameworks/av/services/audiopolicy/
DAudioPolicyManager.cpp2241 const size_t SIZE = 256; in dump() local
2242 char buffer[SIZE]; in dump()
2245 snprintf(buffer, SIZE, "\nAudioPolicyManager Dump: %p\n", this); in dump()
2248 snprintf(buffer, SIZE, " Primary Output: %d\n", mPrimaryOutput); in dump()
2250 snprintf(buffer, SIZE, " Phone state: %d\n", mPhoneState); in dump()
2252 snprintf(buffer, SIZE, " Force use for communications %d\n", in dump()
2255 snprintf(buffer, SIZE, " Force use for media %d\n", mForceUse[AUDIO_POLICY_FORCE_FOR_MEDIA]); in dump()
2257 snprintf(buffer, SIZE, " Force use for record %d\n", mForceUse[AUDIO_POLICY_FORCE_FOR_RECORD]); in dump()
2259 snprintf(buffer, SIZE, " Force use for dock %d\n", mForceUse[AUDIO_POLICY_FORCE_FOR_DOCK]); in dump()
2261 snprintf(buffer, SIZE, " Force use for system %d\n", mForceUse[AUDIO_POLICY_FORCE_FOR_SYSTEM]); in dump()
[all …]
DAudioPolicyService.cpp284 const size_t SIZE = 256; in dumpInternals() local
285 char buffer[SIZE]; in dumpInternals()
289 snprintf(buffer, SIZE, "PolicyManager Interface: %p\n", mpAudioPolicy); in dumpInternals()
291 snprintf(buffer, SIZE, "AudioPolicyManager: %p\n", mAudioPolicyManager); in dumpInternals()
294 snprintf(buffer, SIZE, "Command Thread: %p\n", mAudioCommandThread.get()); in dumpInternals()
296 snprintf(buffer, SIZE, "Tones Thread: %p\n", mTonePlaybackThread.get()); in dumpInternals()
339 const size_t SIZE = 256; in dumpPermissionDenial() local
340 char buffer[SIZE]; in dumpPermissionDenial()
342 snprintf(buffer, SIZE, "Permission Denial: " in dumpPermissionDenial()
552 const size_t SIZE = 256; in dump() local
[all …]
/frameworks/base/core/java/android/util/
DSize.java147 return mHeight ^ ((mWidth << (Integer.SIZE / 2)) | (mWidth >>> (Integer.SIZE / 2))); in hashCode()
/frameworks/compile/mclinker/include/mcld/Target/
DGOT.h34 template<size_t SIZE>
38 enum { EntrySize = SIZE };
DPLT.h59 template<size_t SIZE, typename EntryBase = PLTEntryBase>
63 enum { EntrySize = SIZE };
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableSizeF.java33 private static final int SIZE = SIZEOF_FLOAT * 2; field in MarshalQueryableSizeF
57 return SIZE; in getNativeSize()
DMarshalQueryableSize.java32 private static final int SIZE = SIZEOF_INT32 * 2; field in MarshalQueryableSize
55 return SIZE; in getNativeSize()

1234