/frameworks/compile/mclinker/unittests/ |
H A D | LinearAllocatorTest.cpp | 106 int counter = 0; 108 ASSERT_EQ(counter, (*data).one); 109 ++counter; 115 int counter = 0; local 120 pointer->one = counter; 122 ++counter; 127 counter = 0; 129 ASSERT_EQ(counter, (*data).one); 130 ++counter;
|
H A D | RTLinearAllocatorTest.cpp | 107 int counter = 0; 109 ASSERT_EQ(counter, (*data).one); 110 ++counter; 116 int counter = 0; local 121 pointer->one = counter; 123 ++counter; 128 counter = 0; 130 ASSERT_EQ(counter, (*data).one); 131 ++counter;
|
H A D | FactoriesTest.cpp | 59 int counter = 0; local 63 ASSERT_EQ(counter, *(*data).data); 66 ++counter; 80 int counter = 0; local 84 ASSERT_EQ(counter, *(*data).data); 87 ++counter; 102 int counter = 0; local 106 ASSERT_EQ(counter, *(*data).data); 109 ++counter; 119 int counter local 166 int counter = 0; local 175 int counter = 0; local 191 int counter = 0; local [all...] |
H A D | BinTreeTest.cpp | 177 int counter = 0; local 179 ++counter; 182 ASSERT_EQ(1, counter); 249 int counter = 0; local 251 ++counter; 254 ASSERT_EQ(1, counter);
|
H A D | HashTableTest.cpp | 249 int counter = 0; local 252 ++counter; 254 EXPECT_EQ(400000, counter); 271 int counter = 0; local 275 ++counter; 277 EXPECT_EQ(1, counter);
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
H A D | UnnecessaryCalculationTest.java | 51 assertEquals(1, obja.counter); 52 assertEquals(1, objb.counter); 53 assertEquals(0, objc.counter); 59 assertEquals(1, obja.counter); 60 assertEquals(1, objb.counter); 61 assertEquals(0, objc.counter); 65 int counter = 0; field in class:UnnecessaryCalculationTest.BasicObjWithCounter 69 counter ++;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | AverageFilter.java | 34 private int counter = 0; field in class:AverageFilter 57 if (counter < NUM_FRAMES && counter >= 0) { 58 temp[counter] = ((Float)inFrameValue.getValue()).floatValue(); 61 counter = (counter + 1) % NUM_FRAMES;
|
/frameworks/av/media/libaaudio/src/utility/ |
H A D | MonotonicCounter.h | 23 * Maintain a 64-bit monotonic counter. 24 * Can be used to track a 32-bit counter that wraps or gets reset. 37 * @return current value of the counter 44 * set the current value of the counter 46 void set(int64_t counter) { argument 47 mCounter64 = counter; 51 * Advance the counter if delta is positive. 52 * @return current value of the counter 62 * Advance the 64-bit counter if (current32 - previousCurrent32) > 0. 63 * This can be used to convert a 32-bit counter tha [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DcFailBringUp.java | 35 // counter with its --ei option name and default value 36 static final String COUNTER = "counter"; 63 public void saveParameters(int counter, int failCause, int suggestedRetryTime) { argument 64 mCounter = counter;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | chvr_filter.cpp | 35 int index, counter; local 84 for (br = mbr + 1; br < mbr + 3; br++) /* br is the row counter in blocks */ 91 for (bc = mbc; bc < mbc + 2; bc++) /* bc is the column counter in blocks */ 153 for (counter = 0; counter < 5; counter++) 156 sum = sum - v[counter] + *ptr_n; 248 for (br = mbr; br < mbr + 2; br++) /* br is the row counter in blocks */ 250 for (bc = mbc + 1; bc < mbc + 3; bc++) /* bc is the column counter in blocks */ 311 for (counter [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/ |
H A D | NetworkWatchlistServiceTests.java | 81 int counter = 0; field in class:NetworkWatchlistServiceTests.TestIIpConnectivityMetrics 97 counter++; 104 counter--; 146 assertEquals(connectivityMetrics.counter, 0); 149 assertEquals(connectivityMetrics.counter, 1); 151 assertEquals(connectivityMetrics.counter, 1); 153 assertEquals(connectivityMetrics.counter, 0); 155 assertEquals(connectivityMetrics.counter, 0); 157 assertEquals(connectivityMetrics.counter, 1); 159 assertEquals(connectivityMetrics.counter, [all...] |
/frameworks/compile/mclinker/lib/Core/ |
H A D | Linker.cpp | 107 static int counter = 0; local 114 mcld::outs() << counter++ << " * " << (*input)->name();
|
/frameworks/native/libs/gui/ |
H A D | BufferQueueCore.cpp | 46 static volatile int32_t counter = 0; local 48 android_atomic_inc(&counter)); 52 static std::atomic<uint32_t> counter{0}; 54 return id | counter++; 122 outResult->appendFormat("transform-hint=%02x frame-counter=%" PRIu64, mTransformHint,
|
/frameworks/av/drm/libmediadrm/ |
H A D | DrmMetrics.cpp | 64 void ExportCounterMetric(const android::CounterMetric<T> &counter, argument 70 std::string success_count_name = counter.metric_name() + ".ok.count"; 71 std::string error_count_name = counter.metric_name() + ".error.count"; 73 counter.ExportValues( 88 std::string error_list_name = counter.metric_name() + ".error.list"; 96 const android::CounterMetric<T> &counter, PersistableBundle *metrics) { 101 counter.ExportValues([&](const T &attribute, const int64_t value) { 102 std::string name = counter.metric_name() + "." + 268 DrmFrameworkMetrics::Counter *counter = 270 counter 95 ExportCounterMetricWithAttributeNames( const android::CounterMetric<T> &counter, PersistableBundle *metrics) argument [all...] |
/frameworks/av/media/libaaudio/src/client/ |
H A D | AudioEndpoint.cpp | 92 fifo_counter_t counter = *descriptor->readCounterAddress; local 94 (int) counter); 95 *descriptor->readCounterAddress = counter; 100 fifo_counter_t counter = *descriptor->writeCounterAddress; local 102 (int) counter); 103 *descriptor->writeCounterAddress = counter; 137 ALOGE("configure() NULL counter address"); 162 // or a DSP. It does not update its counter so we have to update it.
|
/frameworks/wilhelm/tests/mimeUri/ |
H A D | slesTestGetPositionUri.cpp | 148 SLuint16 counter = 0; local 269 while ((counter*1000) < durationInMsec) { 270 counter++; 275 counter); 278 fprintf(stderr, "position is %dms %ds after start\n", posInMsec, counter); 283 if (((SLint32)posInMsec > (counter*1000 + TIME_TOLERANCE_MS)) || 284 ((SLint32)posInMsec < (counter*1000 - TIME_TOLERANCE_MS))) {
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
H A D | FwdLockFile.c | 215 * Calculates the counter, treated as a 16-byte little-endian number, used to generate the keystream 220 * @param[out] pCounter A reference to the counter. 239 * Decrypts the byte at the current file position using AES-128-CTR. In CTR (or "counter") mode, 250 unsigned char counter[AES_BLOCK_SIZE]; local 251 FwdLockFile_CalculateCounter(pSession->pEncryptedSessionKey, blockIndex, counter); 252 AES_encrypt(counter, pSession->keyStream, &pSession->encryptionRoundKeys);
|
/frameworks/av/media/libstagefright/foundation/tests/ |
H A D | AData_test.cpp | 41 EventCounter(int *counter, int magic=1234) : mCounter(counter), mMagic(magic) { } argument 50 DerivedCounter(int *counter, int magic=1234) : EventCounter(counter, magic) { } argument
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3StreamSplitter.cpp | 378 static volatile int32_t counter = 0; local 379 return String8::format("Camera3StreamSplitter-%d", android_atomic_inc(&counter));
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | FuseAppLoop.java | 346 int counter = 0; field in class:FuseAppLoop.BytesMapEntry 362 entry.counter++; 369 entry.counter--; 370 if (entry.counter <= 0) {
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestDecodeToBuffQueue.cpp | 67 static int counter=0; variable 176 counter++; 180 if (counter % 1000 == 0) { 184 printf("DecPlayCallback called (iteration %d): current position=%u ms\n", counter, msec);
|
/frameworks/av/media/mtp/ |
H A D | MtpFfsHandle.cpp | 303 int *counter) { 348 if (counter) 349 *counter += this_events; 302 waitEvents(struct io_buffer *buf, int min_events, struct io_event *events, int *counter) argument
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityWindowInfo.java | 475 * Specify a counter that will be incremented on obtain() and decremented on recycle() 480 public static void setNumInstancesInUseCounter(AtomicInteger counter) { argument 482 sNumInstancesInUse = counter;
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
H A D | FwdLockConv.c | 150 unsigned char counter[AES_BLOCK_SIZE]; member in struct:FwdLockConv_Session 814 * Increments the counter, treated as a 16-byte little-endian number, by one. 820 while ((++pSession->counter[i] == 0) && (++i < AES_BLOCK_SIZE)) 850 AES_encrypt(pSession->counter, pSession->keyStream, &pSession->encryptionRoundKeys); 1142 memcpy(pSession->counter, pSession->pEncryptedSessionKey, AES_BLOCK_SIZE);
|
/frameworks/base/services/net/java/android/net/apf/ |
H A D | ApfFilter.java | 145 // a given counter. 157 * When APFv4 is supported, loads R1 with the offset of the specified counter. 361 // APFv4 unsupported: turn jumps to the counter trampolines to immediately PASS or DROP, 1112 gen.addLoadData(Register.R0, 0); // load counter 1114 gen.addStoreData(Register.R0, 0); // write-back counter 1198 // Append the count & pass trampoline, which increments the counter at the data address 1200 // the entire sequence inline for every counter. 1460 static public long counterValue(byte[] data, Counter counter) argument 1463 int offset = counter.offset();
|