/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | LongSamplingCounterTest.java | 57 private LongSamplingCounter mCounter; field in LongSamplingCounterTest 62 mCounter = new LongSamplingCounter(mTimeBase); in setUp() 70 mCounter.writeToParcel(parcel); in testReadWriteParcel() 76 mCounter = new LongSamplingCounter(mTimeBase, parcel); in testReadWriteParcel() 77 assertEquals(COUNT, mCounter.mCount); in testReadWriteParcel() 78 assertEquals(CURRENT_COUNT, mCounter.mCurrentCount); in testReadWriteParcel() 86 mCounter.writeSummaryFromParcelLocked(parcel); in testReadWriteSummaryParcel() 92 mCounter.readSummaryFromParcelLocked(parcel); in testReadWriteSummaryParcel() 93 assertEquals(COUNT, mCounter.mCount); in testReadWriteSummaryParcel() 100 mCounter.onTimeStarted(0, 0, 0); in testOnTimeStarted() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | MotionSensorWTime.java | 44 private int mCounter = 0; field in MotionSensorWTime 92 if (mCounter < 3 && mCounter >= 0) { in onProcess() 93 mTemp[0][mCounter] = mValues[0]; in onProcess() 94 mTemp[1][mCounter] = mValues[1]; in onProcess() 95 mTemp[2][mCounter] = mValues[2]; in onProcess() 98 mCounter = (mCounter + 1) % 3; in onProcess()
|
/frameworks/av/media/libaaudio/src/utility/ |
D | AAudioUtilities.h | 354 int index = mCounter.load() & 1; in write() 356 mCounter++; // Increment AFTER updating storage, OK if it wraps. in write() 364 mCounter.store(0); in clear() 374 before = mCounter.load(); in read() 377 after = mCounter.load(); in read() 386 return mCounter.load() > 0; in isValid() 391 std::atomic<int> mCounter{0};
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcFailBringUp.java | 38 int mCounter; field in DcFailBringUp 53 mCounter = intent.getIntExtra(COUNTER, DEFAULT_COUNTER); in saveParameters() 64 mCounter = counter; in saveParameters() 71 return "{mCounter=" + mCounter + in toString()
|
D | DataConnection.java | 512 if (mDcTesterFailBringUpAll.getDcFailBringUp().mCounter > 0) { in onConnect() 525 mDcTesterFailBringUpAll.getDcFailBringUp().mCounter -= 1; in onConnect()
|
/frameworks/wilhelm/tests/sandbox/ |
D | multithread.c | 32 SLuint32 mCounter; member 51 ++ta->mCounter; in thread_start() 141 ta->mCounter = 0; in main() 150 ta->mCounter = 0; in main() 166 printf("[%d]=%u ", j, ta->mCounter); in main() 178 printf("[%d]=%u ", j, ta->mCounter); in main()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardEntryCommitter.java | 45 private int mCounter; field in VCardEntryCommitter 72 mCounter++; in onEntryCreated() 73 if (mCounter >= 20) { in onEntryCreated() 75 mCounter = 0; in onEntryCreated()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseLockTest.java | 40 private AtomicInteger mCounter = new AtomicInteger(); field in DatabaseLockTest 75 int val = mCounter.get(); in testLockFairness() 102 mCounter.incrementAndGet(); in run()
|
/frameworks/data-binding/integration-tests/MultiModuleTestApp/app/src/androidTest/java/com/android/databinding/multimoduletestapp/ |
D | EventIdsTest.java | 115 Map<Integer, Integer> mCounter = new HashMap<Integer, Integer>(); field in EventIdsTest.EventCounter 119 mCounter.put(propertyId, get(propertyId) + 1); in onPropertyChanged() 123 Integer val = mCounter.get(propertyId); in get()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | KeyguardSliceProviderTest.java | 151 private int mCounter; field in KeyguardSliceProviderTest.TestableKeyguardSliceProvider 178 return super.getFormattedDate() + mCounter++; in getFormattedDate()
|
/frameworks/av/media/libstagefright/foundation/tests/ |
D | AData_test.cpp | 41 EventCounter(int *counter, int magic=1234) : mCounter(counter), mMagic(magic) { } in EventCounter() 42 virtual ~EventCounter() { ++*mCounter; mMagic = 0; } in ~EventCounter() 45 int *mCounter; member
|