/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | LongSamplingCounterTest.java | 52 private static final long COUNT = 1111; field in LongSamplingCounterTest 69 updateCounts(COUNT, CURRENT_COUNT); in testReadWriteParcel() 77 assertEquals(COUNT, mCounter.mCount); in testReadWriteParcel() 85 updateCounts(COUNT, CURRENT_COUNT); in testReadWriteSummaryParcel() 93 assertEquals(COUNT, mCounter.mCount); in testReadWriteSummaryParcel() 99 updateCounts(COUNT, CURRENT_COUNT); in testOnTimeStarted() 101 assertEquals(COUNT, mCounter.mCount); in testOnTimeStarted() 102 assertEquals(COUNT, mCounter.mUnpluggedCount); in testOnTimeStarted() 107 updateCounts(COUNT, CURRENT_COUNT); in testOnTimeStopped() 109 assertEquals(COUNT, mCounter.mCount); in testOnTimeStopped() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | BlackLevelPattern.java | 32 public static final int COUNT = 4; field in BlackLevelPattern 51 if (offsets.length < COUNT) { in BlackLevelPattern() 54 mCfaOffsets = Arrays.copyOf(offsets, COUNT); in BlackLevelPattern() 91 if (destination.length - offset < COUNT) { in copyTo() 94 for (int i = 0; i < COUNT; ++i) { in copyTo()
|
D | LensShadingMap.java | 97 return mRows * mColumns * COUNT; in getGainFactorCount() 128 if (colorChannel < 0 || colorChannel > COUNT) { in getGainFactor() 136 return mElements[colorChannel + (row * mColumns + column) * COUNT ]; in getGainFactor() 162 final int offset = (row * mColumns + column) * COUNT; in getGainFactorVector() 258 for (int ch = 0; ch < COUNT; ch++) { in toString() 277 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()
|
/frameworks/support/paging/integration-tests/testapp/src/main/java/androidx/paging/integration/testapp/ |
D | ItemDataSource.java | 32 private static final int COUNT = 500; field in ItemDataSource 46 int end = Math.min(COUNT, startPosition + loadCount); in loadRangeInternal() 63 int position = computeInitialLoadPosition(params, COUNT); in loadInitial() 64 int loadSize = computeInitialLoadSize(params, position, COUNT); in loadInitial() 66 callback.onResult(data, position, COUNT); in loadInitial()
|
/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/base/obex/javax/obex/ |
D | HeaderSet.java | 54 public static final int COUNT = 0xC0; field in HeaderSet 296 case COUNT: in setHeader() 514 case COUNT: in getHeader() 580 out.write(COUNT); in getHeaderList()
|
D | ObexHelper.java | 391 intHeader = (Long)headImpl.getHeader(HeaderSet.COUNT); in createHeader() 393 out.write((byte)HeaderSet.COUNT); in createHeader() 397 headImpl.setHeader(HeaderSet.COUNT, null); in createHeader()
|
/frameworks/base/services/core/java/com/android/server/lights/ |
D | LightsManager.java | 30 public static final int LIGHT_ID_COUNT = Type.COUNT;
|
/frameworks/ml/nn/common/ |
D | Utils.cpp | 100 #define COUNT(X) (sizeof(X) / sizeof(X[0])) macro 107 static_assert(COUNT(kTypeNames) == kNumberOfDataTypes, "kTypeNames is incorrect"); 113 static_assert(COUNT(kTypeNamesOEM) == kNumberOfDataTypesOEM, "kTypeNamesOEM is incorrect"); 166 static_assert(COUNT(kOperationNames) == kNumberOfOperationTypes, "kOperationNames is incorrect"); 172 static_assert(COUNT(kOperationNamesOEM) == kNumberOfOperationTypesOEM, 189 static_assert(COUNT(kSizeOfDataType) == kNumberOfDataTypes, "kSizeOfDataType is incorrect"); 200 static_assert(COUNT(kScalarDataType) == kNumberOfDataTypes, "kScalarDataType is incorrect"); 207 static_assert(COUNT(kSizeOfDataTypeOEM) == kNumberOfDataTypesOEM, 215 static_assert(COUNT(kScalarDataTypeOEM) == kNumberOfDataTypesOEM,
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsXmlV1.java | 51 private static final String COUNT = "count"; field in UsageStatsXmlV1 140 int count = XmlUtils.readIntAttribute(parser, COUNT); in loadChooserCounts() 255 XmlUtils.writeIntAttribute(xml, COUNT, count); in writeCountsForAction()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | StatLogger.java | 164 proto.write(Event.COUNT, mCountStats[i]); in dumpProto()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_lights_LightsService.cpp | 77 if (light < 0 || light >= static_cast<jint>(Type::COUNT)) { in validate()
|
/frameworks/base/cmds/bootanimation/ |
D | FORMAT.md | 33 TYPE COUNT PAUSE PATH [#RGBHEX [CLOCK1 [CLOCK2]]] 38 * **COUNT:** how many times to play the animation, or 0 to loop forever until boot is complete
|
/frameworks/base/core/java/android/os/ |
D | ServiceManager.java | 94 int COUNT = GET_SERVICE + 1; field
|
D | BatteryStats.java | 3282 proto.write(TimerProto.COUNT, count); in dumpTimer() 7339 proto.write(UidProto.JobCompletion.ReasonCount.COUNT, types.get(r, 0)); in dumpProtoAppsLocked() 7498 proto.write(UidProto.UserActivity.COUNT, val); in dumpProtoAppsLocked() 7540 proto.write(UidProto.WakeupAlarm.COUNT, in dumpProtoAppsLocked() 7908 proto.write(SystemProto.WifiMulticastWakelockTotal.COUNT, in dumpProtoSystemLocked()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobPackageTracker.java | 377 proto.write(DataSetProto.PackageEntryProto.State.COUNT, count); in printPackageEntryState() 424 proto.write(DataSetProto.PackageEntryProto.StopReasonCount.COUNT, in dump()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AlarmManagerService.java | 1222 proto.write(FilterStatsProto.COUNT, count); in writeToProto() 1266 proto.write(BroadcastStatsProto.COUNT, count); in writeToProto() 3349 proto.write(AlarmProto.COUNT, count); in writeToProto()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutService.java | 368 int COUNT = GET_DEFAULT_LAUNCHER + 1; field
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 568 int COUNT = IS_UID_NETWORKING_BLOCKED + 1; field
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 493 int COUNT = LOCK_GUARD_GUARD + 1; field
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 13077 field public static final int COUNT = 4; // 0x4 13137 field public static final int COUNT = 4; // 0x4
|