/frameworks/support/paging/integration-tests/testapp/src/main/java/android/arch/paging/integration/testapp/ |
ItemDataSource.java | 30 private static final int COUNT = 500; 44 return COUNT; 55 int end = Math.min(COUNT, startPosition + loadCount);
|
/tools/tradefederation/core/tests/src/com/android/tradefed/profiler/recorder/ |
TraceMetricTest.java | 30 String line = "mmc:mmc_cmd_rw_start:response:COUNT"; 35 Assert.assertEquals(MetricType.COUNT, m.getMetricType()); 40 String line = "mmc:mmc_cmd_rw_start:response=0x00000090:COUNT"; 46 Assert.assertEquals(MetricType.COUNT, m.getMetricType()); 51 String line = "mmc:mmc_cmd_rw_start:response=90:COUNT"; 57 Assert.assertEquals(MetricType.COUNT, m.getMetricType());
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
CurrencyData.java | 52 private final String[][] symbols = new String[SpacingType.COUNT.ordinal()][SpacingPattern.COUNT.ordinal()]; 54 public static enum SpacingType { BEFORE, AFTER, COUNT }; 59 COUNT; 71 for (int i=0; i<SpacingType.COUNT.ordinal(); i++) { 72 for (int j=0; j<SpacingPattern.COUNT.ordinal(); j++) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
CurrencyData.java | 48 private final String[][] symbols = new String[SpacingType.COUNT.ordinal()][SpacingPattern.COUNT.ordinal()]; 50 public static enum SpacingType { BEFORE, AFTER, COUNT }; 55 COUNT; 67 for (int i=0; i<SpacingType.COUNT.ordinal(); i++) { 68 for (int j=0; j<SpacingPattern.COUNT.ordinal(); j++) {
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
ColorSpaceTransform.java | 45 private static final int COUNT = ROWS * COLUMNS; 67 * if the count of {@code elements} is not {@code 9} 74 if (elements.length != COUNT) { 75 throw new IllegalArgumentException("elements must be " + COUNT + " length"); 108 * if the count of {@code elements} is not {@code 18} 165 if (destination.length - offset < COUNT) { 169 for (int i = 0, j = 0; i < COUNT; ++i, j += RATIONAL_SIZE) { 228 for (int i = 0, j = 0; i < COUNT; ++i, j += RATIONAL_SIZE) {
|
LensShadingMap.java | 50 * {@code RggbChannelVector.COUNT * rows * columns} 97 return mRows * mColumns * COUNT; 105 * and the color channel must be within the range [0, {@value RggbChannelVector#COUNT}).</p> 128 if (colorChannel < 0 || colorChannel > COUNT) { 136 return mElements[colorChannel + (row * mColumns + column) * COUNT ]; 162 final int offset = (row * mColumns + column) * COUNT; 182 * an array big enough to hold at least {@link RggbChannelVector#COUNT} 258 for (int ch = 0; ch < COUNT; ch++) { 277 if (ch < COUNT - 1) {
|
RggbChannelVector.java | 28 public static final int COUNT = 4; 108 * @param colorChannel greater or equal to {@code 0} and less than {@link #COUNT} 114 if (colorChannel < 0 || colorChannel >= COUNT) { 136 * an array big enough to hold at least {@value #COUNT} elements after the 149 if (destination.length - offset < COUNT) {
|
/external/ltp/tools/pounder21/test_scripts/ |
statslogging | 66 COUNT=15 74 vmstat $DELAY $COUNT >> vmstat.log 82 iostat -x $DELAY $COUNT >> iostat.log
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
BitmapMesh.java | 37 private static final int COUNT = (WIDTH + 1) * (HEIGHT + 1); 40 private final float[] mVerts = new float[COUNT*2]; 41 private final float[] mOrig = new float[COUNT*2]; 88 for (int i = 0; i < COUNT*2; i += 2) {
|
/external/linux-kselftest/tools/testing/selftests/powerpc/dscr/ |
dscr_explicit_test.c | 30 for (i = 0; i < COUNT; i++) {
|
dscr_inherit_test.c | 31 for (i = 0; i < COUNT; i++) {
|
dscr_sysfs_thread_test.c | 63 for (i = 0; i < COUNT; i++) {
|
/external/ltp/testcases/network/multicast/mc_member/ |
mc_member | 54 COUNT=1 55 while [ $COUNT -le 2 ] 117 count=`grep 105 $ERRFILE | wc -l` 118 if [ $count -gt 3 ]; then 122 COUNT=$(( $COUNT + 1 ))
|
/art/test/061-out-of-memory/src/ |
Main.java | 35 final int COUNT = 32768*32768 + 4; 36 int[] tooBig = new int[COUNT];
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
MarshalQueryableRggbChannelVector.java | 32 private static final int SIZE = SIZEOF_FLOAT * RggbChannelVector.COUNT; 42 for (int i = 0; i < RggbChannelVector.COUNT; ++i) {
|
/hardware/interfaces/light/2.0/ |
types.hal | 96 COUNT,
|
/frameworks/base/core/java/android/hardware/ |
LegacySensorManager.java | 371 private static final int COUNT = 12; 373 private static final float PREDICTION_TIME = (SENSORS_RATE_MS*COUNT/1000.0f)*PREDICTION_RATIO; 374 private float mV[] = new float[COUNT*2]; 375 private long mT[] = new long[COUNT*2]; 379 mIndex = COUNT; 392 * by COUNT values, so that we don't have to copy the array 396 if (mIndex >= COUNT*2) 397 mIndex = COUNT; 400 mV[mIndex-COUNT] = v; 401 mT[mIndex-COUNT] = time [all...] |
/development/tools/axl/ |
axl.py | 131 COUNT = 0 137 if (not(DropOnce.COUNT & 1)): 143 DropOnce.COUNT += 1 158 COUNT = 0 161 if not PipeDrop.COUNT % 3: 166 PipeDrop.COUNT += 1 170 PipeDrop.COUNT += 1 188 self.count = 0 192 self.count += len(data) 193 if self.count == 190890 [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
PluralRanges.java | 33 private boolean[] explicit = new boolean[StandardPlural.COUNT]; 49 private byte[] data = new byte[StandardPlural.COUNT * StandardPlural.COUNT]; 64 data[start.ordinal() * StandardPlural.COUNT + end.ordinal()] = result == null ? (byte) -1 73 byte old = data[start.ordinal() * StandardPlural.COUNT + end.ordinal()]; 78 data[start.ordinal() * StandardPlural.COUNT + end.ordinal()] = result == null ? (byte) -1 86 byte result = data[start.ordinal() * StandardPlural.COUNT + end.ordinal()]; 270 * @param count 277 public boolean isExplicitlySet(StandardPlural count) { 278 return explicit[count.ordinal()] [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
PluralRanges.java | 31 private boolean[] explicit = new boolean[StandardPlural.COUNT]; 47 private byte[] data = new byte[StandardPlural.COUNT * StandardPlural.COUNT]; 62 data[start.ordinal() * StandardPlural.COUNT + end.ordinal()] = result == null ? (byte) -1 71 byte old = data[start.ordinal() * StandardPlural.COUNT + end.ordinal()]; 76 data[start.ordinal() * StandardPlural.COUNT + end.ordinal()] = result == null ? (byte) -1 84 byte result = data[start.ordinal() * StandardPlural.COUNT + end.ordinal()]; 268 * @param count 275 public boolean isExplicitlySet(StandardPlural count) { 276 return explicit[count.ordinal()] [all...] |
/external/skia/tests/ |
RecorderTest.cpp | 17 #define COUNT(T) + 1 18 static const int kRecordTypes = SK_RECORD_TYPES(COUNT); 19 #undef COUNT 30 int count() const { return fHistogram[T::kType]; } function in class:Tally 33 for (int i = 0; i < record.count(); i++) { 50 REPORTER_ASSERT(r, 1 == tally.count<SkRecords::DrawRect>()); 92 REPORTER_ASSERT(reporter, 1 == tally.count<SkRecords::DrawImage>()); 107 REPORTER_ASSERT(reporter, 1 == tally.count<SkRecords::DrawImageRect>());
|
/external/icu/icu4c/source/i18n/ |
quantityformatter.h | 134 SimpleFormatter *formatters[StandardPlural::COUNT];
|
/tools/tradefederation/core/src/com/android/tradefed/profiler/recorder/ |
NumericAggregateFunction.java | 34 case COUNT: 35 f = (count, value) -> count + 1; 38 f = (count, value) -> (value > 0 ? count + 1 : count);
|
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
vktSynchronizationBasicEventTests.cpp | 173 enum {SET=0, WAIT, COUNT}; 180 const Move<VkCommandBuffer> ptrCmdBuffer[COUNT] = {makeCommandBuffer(vk, device, *cmdPool), makeCommandBuffer(vk, device, *cmdPool)}; 181 VkCommandBuffer cmdBuffers[COUNT] = {*ptrCmdBuffer[SET], *ptrCmdBuffer[WAIT]}; 213 enum {SET=0, WAIT, COUNT}; 218 const Move<VkFence> ptrFence[COUNT] = 223 VkFence fence[COUNT] = {*ptrFence[SET], *ptrFence[WAIT]}; 225 const Move<VkCommandBuffer> ptrCmdBuffer[COUNT] = {makeCommandBuffer(vk, device, *cmdPool), makeCommandBuffer(vk, device, *cmdPool)}; 226 VkCommandBuffer cmdBuffers[COUNT] = {*ptrCmdBuffer[SET], *ptrCmdBuffer[WAIT]}; 227 const VkSubmitInfo submitInfo[COUNT] = 273 enum {SET=0, WAIT, COUNT}; [all...] |
vktSynchronizationBasicSemaphoreTests.cpp | 103 enum QueuesIndexes {FIRST = 0, SECOND, COUNT}; 119 const float queuePriorities[COUNT] = {1.0f, 1.0f}; 120 VkDeviceQueueCreateInfo queueInfos[COUNT]; 121 Queues queues[COUNT] = 134 Move<VkCommandPool> cmdPool[COUNT]; 135 Move<VkCommandBuffer> cmdBuffer[COUNT]; 137 VkSubmitInfo submitInfo[COUNT]; 138 Move<VkFence> fence[COUNT]; 157 for (int queueNdx = 0; queueNdx < COUNT; ++queueNdx) 185 deviceInfo.queueCreateInfoCount = (queues[FIRST].queueFamilyIndex == queues[SECOND].queueFamilyIndex) ? 1 : COUNT; [all...] |