/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | LongSamplingCounterTest.java | 53 private static final long COUNT = 1111; field in LongSamplingCounterTest 69 mCounter.addCountLocked(COUNT, true); in testReadWriteParcel() 70 assertEquals(COUNT, getCount()); in testReadWriteParcel() 75 mCounter.addCountLocked(7 * COUNT, true); in testReadWriteParcel() 76 assertEquals(8 * COUNT, getCount()); in testReadWriteParcel() 79 assertEquals(COUNT, getCount()); in testReadWriteParcel() 86 mCounter.addCountLocked(COUNT, true); in testReadWriteSummaryParcel() 87 assertEquals(COUNT, getCount()); in testReadWriteSummaryParcel() 92 mCounter.addCountLocked(7 * COUNT, true); in testReadWriteSummaryParcel() 93 assertEquals(8 * COUNT, getCount()); in testReadWriteSummaryParcel() [all …]
|
/frameworks/native/libs/gui/include/private/gui/ |
D | ParcelUtils.h | 31 #define SAFE_PARCEL_READ_SIZE(FUNC, COUNT, SIZE) \ argument 33 SAFE_PARCEL(FUNC, COUNT); \ 34 if (static_cast<unsigned int>(*COUNT) > SIZE) { \ 35 ALOGE("ERROR(BAD_VALUE). %s was greater than dataSize", #COUNT); \
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | BlackLevelPattern.java | 37 public static final int COUNT = 4; field in BlackLevelPattern 56 if (offsets.length < COUNT) { in BlackLevelPattern() 59 mCfaOffsets = Arrays.copyOf(offsets, COUNT); in BlackLevelPattern() 96 if (destination.length - offset < COUNT) { in copyTo() 99 for (int i = 0; i < COUNT; ++i) { in copyTo()
|
D | LensShadingMap.java | 20 import static android.hardware.camera2.params.RggbChannelVector.COUNT; 105 return mRows * mColumns * COUNT; in getGainFactorCount() 136 if (colorChannel < 0 || colorChannel > COUNT) { in getGainFactor() 144 return mElements[colorChannel + (row * mColumns + column) * COUNT ]; in getGainFactor() 170 final int offset = (row * mColumns + column) * COUNT; in getGainFactorVector() 266 for (int ch = 0; ch < COUNT; ch++) { in toString() 285 if (ch < COUNT - 1) { in toString()
|
D | ColorSpaceTransform.java | 45 private static final int COUNT = ROWS * COLUMNS; field in ColorSpaceTransform 74 if (elements.length != COUNT) { in ColorSpaceTransform() 75 throw new IllegalArgumentException("elements must be " + COUNT + " length"); in ColorSpaceTransform() 165 if (destination.length - offset < COUNT) { in copyElements() 169 for (int i = 0, j = 0; i < COUNT; ++i, j += RATIONAL_SIZE) { in copyElements() 228 for (int i = 0, j = 0; i < COUNT; ++i, j += RATIONAL_SIZE) { in equals()
|
D | RggbChannelVector.java | 28 public static final int COUNT = 4; field in RggbChannelVector 114 if (colorChannel < 0 || colorChannel >= COUNT) { in getComponent() 149 if (destination.length - offset < COUNT) { in copyTo()
|
D | Capability.java | 40 public static final int COUNT = 3; field in Capability
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableBlackLevelPattern.java | 32 private static final int SIZE = SIZEOF_INT32 * BlackLevelPattern.COUNT; 42 for (int i = 0; i < BlackLevelPattern.COUNT / 2; ++i) { in marshal() 43 for (int j = 0; j < BlackLevelPattern.COUNT / 2; ++j) { in marshal() 51 int[] channelOffsets = new int[BlackLevelPattern.COUNT]; in unmarshal() 52 for (int i = 0; i < BlackLevelPattern.COUNT; ++i) { in unmarshal()
|
D | MarshalQueryableRggbChannelVector.java | 32 private static final int SIZE = SIZEOF_FLOAT * RggbChannelVector.COUNT; 42 for (int i = 0; i < RggbChannelVector.COUNT; ++i) { in marshal()
|
/frameworks/base/core/java/android/hardware/ |
D | LegacySensorManager.java | 371 private static final int COUNT = 12; field in LegacySensorManager.LmsFilter 374 (SENSORS_RATE_MS * COUNT / 1000.0f) * PREDICTION_RATIO; 375 private float[] mV = new float[COUNT * 2]; 376 private long[] mT = new long[COUNT * 2]; 380 mIndex = COUNT; in LmsFilter() 397 if (mIndex >= COUNT * 2) { in filter() 398 mIndex = COUNT; in filter() 402 mV[mIndex - COUNT] = v; in filter() 403 mT[mIndex - COUNT] = time; in filter() 410 for (i = 0; i < COUNT - 1; i++) { in filter()
|
/frameworks/av/media/utils/include/mediautils/ |
D | TimerThread.h | 58 template <size_t COUNT> 59 static constexpr bool is_power_of_2_v = COUNT > 0 && (COUNT & (COUNT - 1)) == 0; 61 template <size_t COUNT> 62 static constexpr size_t mask_from_count_v = COUNT - 1;
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsProto.java | 165 case (int) IntervalStatsProto.CountAndTime.COUNT: in loadCountAndTime() 166 tracker.count = proto.readInt(IntervalStatsProto.CountAndTime.COUNT); in loadCountAndTime() 234 case (int) IntervalStatsProto.UsageStats.ChooserAction.CategoryCount.COUNT: in loadCountsForAction() 236 IntervalStatsProto.UsageStats.ChooserAction.CategoryCount.COUNT); in loadCountsForAction() 284 case (int) IntervalStatsProto.Configuration.COUNT: in loadConfigStats() 286 IntervalStatsProto.Configuration.COUNT); in loadConfigStats() 367 proto.write(IntervalStatsProto.CountAndTime.COUNT, count); in writeCountAndTime() 402 proto.write(IntervalStatsProto.UsageStats.ChooserAction.CategoryCount.COUNT, count); in writeCountsForAction() 418 proto.write(IntervalStatsProto.Configuration.COUNT, configStats.mActivationCount); in writeConfigStats()
|
D | UsageStatsProtoV2.java | 111 case (int) IntervalStatsObfuscatedProto.CountAndTime.COUNT: in loadCountAndTime() 113 IntervalStatsObfuscatedProto.CountAndTime.COUNT); in loadCountAndTime() 175 case (int) UsageStatsObfuscatedProto.ChooserAction.CategoryCount.COUNT: in loadCountsForAction() 177 UsageStatsObfuscatedProto.ChooserAction.CategoryCount.COUNT); in loadCountsForAction() 218 case (int) IntervalStatsObfuscatedProto.Configuration.COUNT: in loadConfigStats() 220 IntervalStatsObfuscatedProto.Configuration.COUNT); in loadConfigStats() 334 proto.write(IntervalStatsObfuscatedProto.CountAndTime.COUNT, count); in writeCountAndTime() 370 proto.write(UsageStatsObfuscatedProto.ChooserAction.CategoryCount.COUNT, count); in writeCountsForAction() 384 proto.write(IntervalStatsObfuscatedProto.Configuration.COUNT, configStats.mActivationCount); in writeConfigStats()
|
D | UsageStatsXmlV1.java | 50 private static final String COUNT = "count"; field in UsageStatsXmlV1 177 int count = XmlUtils.readIntAttribute(parser, COUNT); in loadChooserCounts()
|
/frameworks/base/services/core/java/com/android/server/lights/ |
D | LightsManager.java | 31 public static final int LIGHT_ID_COUNT = Type.COUNT;
|
/frameworks/base/libs/hwui/canvas/ |
D | CanvasOpTypes.h | 68 COUNT // must be last enumerator
|
D | OpBuffer.h | 52 typename ItemTypesSequence = std::make_index_sequence<static_cast<int>(ItemTypes::COUNT)>>
|
/frameworks/native/services/inputflinger/reader/include/ |
D | EventHub.h | 372 static constexpr size_t COUNT = (BITS + WIDTH - 1) / WIDTH; variable 376 using Buffer = std::array<Element, COUNT>; 426 for (size_t i = 0; i < COUNT; i++) { in loadFromBuffer() 432 std::array<std::bitset<WIDTH>, COUNT> mData;
|
/frameworks/base/services/core/jni/ |
D | com_android_server_lights_LightsService.cpp | 47 if (light < 0 || light >= static_cast<jint>(Type::COUNT)) { in validate()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | StatLogger.java | 176 proto.write(Event.COUNT, mCountStats[i]); in dumpProto()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | CanvasFrontendTests.cpp | 48 std::array<int, static_cast<size_t>(CanvasOpType::COUNT)> mOpCounts;
|
D | OpBufferTests.cpp | 28 COUNT enumerator
|
/frameworks/base/core/java/android/os/ |
D | ServiceManager.java | 108 int COUNT = GET_SERVICE + 1; field
|
/frameworks/base/cmds/bootanimation/ |
D | FORMAT.md | 39 TYPE COUNT PAUSE PATH [FADE [#RGBHEX [CLOCK1 [CLOCK2]]]] 47 * **COUNT:** how many times to play the animation, or 0 to loop forever until boot is complete
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/ |
D | Alarm.java | 381 proto.write(AlarmProto.COUNT, count); in dumpDebug()
|