Home
last modified time | relevance | path

Searched refs:mCounter (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DMotionSensorWTime.java44 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/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/
DHistogramPredictor.java89 private HashMap<String, HashMap<String, Integer> > mCounter = field in HistogramPredictor.HistogramCounter
93 mCounter.clear(); in HistogramCounter()
98 mCounter.putAll(counter); in setCounter()
102 mCounter.clear(); in resetCounter()
108 if (!mCounter.containsKey(featureValue)) { in addSample()
110 mCounter.put(featureValue, classCounts); in addSample()
112 classCounts = mCounter.get(featureValue); in addSample()
122 if (mCounter.containsKey(featureValue)) { in getClassScores()
125 mCounter.get(featureValue).entrySet()) { in getClassScores()
150 synchronized(mCounter) { in getModel()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcFailBringUp.java38 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()
DDataConnection.java437 if (mDcTesterFailBringUpAll.getDcFailBringUp().mCounter > 0) { in onConnect()
460 mDcTesterFailBringUpAll.getDcFailBringUp().mCounter -= 1; in onConnect()
/frameworks/wilhelm/tests/sandbox/
Dmultithread.c32 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/
DVCardEntryCommitter.java45 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/
DDatabaseLockTest.java40 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/
DEventIdsTest.java115 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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiQualifiedNetworkSelector.java118 int mCounter; field in WifiQualifiedNetworkSelector.BssidBlacklistStatus
541 newStatus.mCounter++; in enableBssidForQualityNetworkSelection()
544 status.mCounter++; in enableBssidForQualityNetworkSelection()
545 if (status.mCounter >= BSSID_BLACKLIST_THRESHOLD) { in enableBssidForQualityNetworkSelection()