/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 …]
|
D | SensorDevice.cpp | 68 void SensorDevice::dump(String8& result, char* buffer, size_t SIZE) in dump() argument 74 snprintf(buffer, SIZE, "%d h/w sensors:\n", int(count)); in dump() 80 snprintf(buffer, SIZE, "handle=0x%08x, active-count=%d, rates(ms)={ ", in dump() 85 snprintf(buffer, SIZE, "%4.1f%s", in dump() 90 snprintf(buffer, SIZE, " }, selected=%4.1f ms\n", info.delay / 1e6f); in dump()
|
D | Fusion.cpp | 130 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 ()()
|
D | SensorService.cpp | 193 const size_t SIZE = 1024; in dump() local 194 char buffer[SIZE]; in dump() 197 snprintf(buffer, SIZE, "Permission Denial: " in dump() 204 snprintf(buffer, SIZE, "Sensor List:\n"); in dump() 209 snprintf(buffer, SIZE, in dump() 219 SensorFusion::getInstance().dump(result, buffer, SIZE); in dump() 220 SensorDevice::getInstance().dump(result, buffer, SIZE); in dump() 222 snprintf(buffer, SIZE, "%d active connections\n", in dump() 225 snprintf(buffer, SIZE, "Active sensors:\n"); in dump() 229 snprintf(buffer, SIZE, "%s (handle=0x%08x, connections=%d)\n", in dump()
|
D | mat.h | 325 size_t SIZE 327 mat<TYPE, SIZE, 1> PURE transpose(const VEC<TYPE, SIZE>& v) { in transpose() 328 mat<TYPE, SIZE, 1> r; in transpose() 329 for (size_t i=0 ; i<SIZE ; i++) in transpose()
|
/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/services/jni/ |
D | com_android_server_BatteryService.cpp | 161 const int SIZE = 16; in setBooleanField() local 162 char buf[SIZE]; in setBooleanField() 165 if (readFromFile(path, buf, SIZE) > 0) { in setBooleanField() 175 const int SIZE = 128; in setIntField() local 176 char buf[SIZE]; in setIntField() 179 if (readFromFile(path, buf, SIZE) > 0) { in setIntField() 187 const int SIZE = 128; in setVoltageField() local 188 char buf[SIZE]; in setVoltageField() 191 if (readFromFile(path, buf, SIZE) > 0) { in setVoltageField() 210 const int SIZE = 128; in android_server_BatteryService_update() local [all …]
|
/frameworks/av/media/libmedia/ |
D | MemoryLeakTrackUtil.cpp | 72 const size_t SIZE = 256; in dumpMemoryAddresses() local 73 char buffer[SIZE]; in dumpMemoryAddresses() 93 snprintf(buffer, SIZE, " Allocation count %i\n", count); in dumpMemoryAddresses() 95 snprintf(buffer, SIZE, " Total memory %i\n", totalMemory); in dumpMemoryAddresses() 145 snprintf(buffer, SIZE, "size %8i, dup %4i, ", e->size, e->dups); in dumpMemoryAddresses() 151 snprintf(buffer, SIZE, "0x%08x", e->backtrace[ct]); in dumpMemoryAddresses()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 1707 const size_t SIZE = 256; in dump() local 1708 char buffer[SIZE]; in dump() 1713 snprintf(buffer, SIZE, " No file writer\n"); in dump() 1716 snprintf(buffer, SIZE, " Recorder: %p\n", this); in dump() 1717 snprintf(buffer, SIZE, " Output file (fd %d):\n", mOutputFd); in dump() 1719 snprintf(buffer, SIZE, " File format: %d\n", mOutputFormat); in dump() 1721 snprintf(buffer, SIZE, " Max file size (bytes): %lld\n", mMaxFileSizeBytes); in dump() 1723 snprintf(buffer, SIZE, " Max file duration (us): %lld\n", mMaxFileDurationUs); in dump() 1725 snprintf(buffer, SIZE, " File offset length (bits): %d\n", mUse64BitFileOffset? 64: 32); in dump() 1727 snprintf(buffer, SIZE, " Interleave duration (us): %d\n", mInterleaveDurationUs); in dump() [all …]
|
/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/services/common_time/ |
D | common_time_server_api.cpp | 292 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/linkloader/utils/ |
D | traits.h | 35 #define TYPE_TRAITS_SPECIALIZE(TYPE, SIZE, ALIGN) \ argument 38 enum { size = SIZE }; \
|
/frameworks/native/opengl/libs/EGL/ |
D | Loader.cpp | 219 const ssize_t SIZE = 256; in init_api() local 220 char scrap[SIZE]; in init_api() 232 if ((index>0 && (index<SIZE-1)) && (!strcmp(name+index, "OES"))) { in init_api() 243 snprintf(scrap, SIZE, "%sOES", name); in init_api()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 2167 const size_t SIZE = 4096; in dump() local 2168 char buffer[SIZE]; in dump() 2172 snprintf(buffer, SIZE, "Permission Denial: " in dump() 2187 snprintf(buffer, SIZE, in dump() 2200 listLayersLocked(args, index, result, buffer, SIZE); in dump() 2207 dumpStatsLocked(args, index, result, buffer, SIZE); in dump() 2214 clearStatsLocked(args, index, result, buffer, SIZE); in dump() 2220 dumpAllLocked(result, buffer, SIZE); in dump() 2232 String8& result, char* buffer, size_t SIZE) const in listLayersLocked() 2238 snprintf(buffer, SIZE, "%s\n", layer->getName().string()); in listLayersLocked() [all …]
|
D | LayerBase.cpp | 440 void LayerBase::dump(String8& result, char* buffer, size_t SIZE) const in dump() 444 snprintf(buffer, SIZE, in dump() 452 snprintf(buffer, SIZE, in dump() 471 void LayerBase::dumpStats(String8& result, char* scratch, size_t SIZE) const { in dumpStats() 541 void LayerBaseClient::dump(String8& result, char* buffer, size_t SIZE) const in dump() 543 LayerBase::dump(result, buffer, SIZE); in dump() 546 snprintf(buffer, SIZE, in dump()
|
D | SurfaceFlinger.h | 386 String8& result, char* buffer, size_t SIZE) const; 388 String8& result, char* buffer, size_t SIZE) const; 390 String8& result, char* buffer, size_t SIZE) const; 391 void dumpAllLocked(String8& result, char* buffer, size_t SIZE) const;
|
/frameworks/native/libs/gui/ |
D | ConsumerBase.cpp | 169 char* buffer, size_t SIZE) const { in dumpLocked() 170 snprintf(buffer, SIZE, "%smAbandoned=%d\n", prefix, int(mAbandoned)); in dumpLocked() 174 mBufferQueue->dump(result, prefix, buffer, SIZE); in dumpLocked()
|
/frameworks/native/libs/binder/ |
D | MemoryDealer.cpp | 435 const size_t SIZE = 256; in dump_l() local 436 char buffer[SIZE]; in dump_l() 437 snprintf(buffer, SIZE, " %s (%p, size=%u)\n", in dump_l() 448 snprintf(buffer, SIZE, " %3u: %08x | 0x%08X | 0x%08X | %s %s\n", in dump_l() 462 snprintf(buffer, SIZE, in dump_l()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | VoiceMailConstants.java | 47 static final int SIZE = 3; field in VoiceMailConstants 101 String[] data = new String[SIZE]; in loadVoiceMail()
|
/frameworks/av/services/audioflinger/ |
D | AudioFlinger.cpp | 315 const size_t SIZE = 256; in dumpClients() local 316 char buffer[SIZE]; in dumpClients() 323 snprintf(buffer, SIZE, " pid: %d\n", client->pid()); in dumpClients() 332 snprintf(buffer, SIZE, " %7d %3d %3d\n", r->mSessionid, r->mPid, r->mCnt); in dumpClients() 341 const size_t SIZE = 256; in dumpInternals() local 342 char buffer[SIZE]; in dumpInternals() 346 snprintf(buffer, SIZE, "Hardware status: %d\n" in dumpInternals() 356 const size_t SIZE = 256; in dumpPermissionDenial() local 357 char buffer[SIZE]; in dumpPermissionDenial() 359 snprintf(buffer, SIZE, "Permission Denial: " in dumpPermissionDenial() [all …]
|
D | AudioPolicyService.cpp | 555 const size_t SIZE = 256; in dumpInternals() local 556 char buffer[SIZE]; in dumpInternals() 559 snprintf(buffer, SIZE, "PolicyManager Interface: %p\n", mpAudioPolicy); in dumpInternals() 561 snprintf(buffer, SIZE, "Command Thread: %p\n", mAudioCommandThread.get()); in dumpInternals() 563 snprintf(buffer, SIZE, "Tones Thread: %p\n", mTonePlaybackThread.get()); in dumpInternals() 600 const size_t SIZE = 256; in dumpPermissionDenial() local 601 char buffer[SIZE]; in dumpPermissionDenial() 603 snprintf(buffer, SIZE, "Permission Denial: " in dumpPermissionDenial() 750 const size_t SIZE = 256; in dump() local 751 char buffer[SIZE]; in dump() [all …]
|
/frameworks/base/core/java/android/provider/ |
D | OpenableColumns.java | 36 public static final String SIZE = "_size"; field
|
/frameworks/av/drm/drmserver/ |
D | DrmManagerService.cpp | 279 const size_t SIZE = 256; in dump() local 280 char buffer[SIZE]; in dump() 283 snprintf(buffer, SIZE, "Permission Denial: " in dump()
|