Home
last modified time | relevance | path

Searched refs:AtomicInteger (Results 1 – 25 of 227) sorted by relevance

12345678910

/aosp12/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
H A DSoundTriggerHw2Compat.java117 AtomicInteger retval = new AtomicInteger(-1); in getProperties()
144 AtomicInteger handle = new AtomicInteger(0); in loadSoundModel()
168 AtomicInteger handle = new AtomicInteger(0); in loadPhraseSoundModel()
249 AtomicInteger status = new AtomicInteger(-1); in getModelParameter()
250 AtomicInteger value = new AtomicInteger(0); in getModelParameter()
281 AtomicInteger status = new AtomicInteger(-1); in queryParameter()
321 AtomicInteger retval = new AtomicInteger(-1); in getProperties_2_0()
342 AtomicInteger retval = new AtomicInteger(-1); in loadSoundModel_2_0()
343 AtomicInteger handle = new AtomicInteger(0); in loadSoundModel_2_0()
360 AtomicInteger retval = new AtomicInteger(-1); in loadPhraseSoundModel_2_0()
[all …]
/aosp12/art/runtime/
H A Dbarrier_test.cc30 CheckWaitTask(Barrier* barrier, AtomicInteger* count1, AtomicInteger* count2) in CheckWaitTask()
49 AtomicInteger* const count1_;
50 AtomicInteger* const count2_;
66 AtomicInteger count1(0); in TEST_F()
67 AtomicInteger count2(0); in TEST_F()
89 CheckPassTask(Barrier* barrier, AtomicInteger* count, size_t subtasks) in CheckPassTask()
107 AtomicInteger* const count_;
116 AtomicInteger count(0); in TEST_F()
H A Dthread_pool_test.cc30 explicit CountTask(AtomicInteger* count) : count_(count), verbose_(false) {} in CountTask()
50 AtomicInteger* const count_;
65 AtomicInteger count(0); in TEST_F()
80 AtomicInteger count(0); in TEST_F()
92 AtomicInteger bad_count(0); in TEST_F()
106 AtomicInteger count(0); in TEST_F()
127 TreeTask(ThreadPool* const thread_pool, AtomicInteger* count, int depth) in TreeTask()
147 AtomicInteger* const count_;
155 AtomicInteger count(0); in TEST_F()
/aosp12/art/runtime/gc/collector/
H A Dmark_sweep.h322 AtomicInteger atomic_finger_;
325 AtomicInteger normal_count_;
327 AtomicInteger class_count_;
329 AtomicInteger object_array_count_;
331 AtomicInteger other_count_;
333 AtomicInteger reference_count_;
335 AtomicInteger large_object_test_;
336 AtomicInteger large_object_mark_;
337 AtomicInteger overhead_time_;
340 AtomicInteger mark_null_count_;
[all …]
/aosp12/art/test/952-invoke-custom/src/
H A DTestInvokeCustomWithConcurrentThreads.java25 import java.util.concurrent.atomic.AtomicInteger;
30 private static final AtomicInteger nextIndex = new AtomicInteger(0);
44 private static final AtomicInteger[] called = new AtomicInteger[NUMBER_OF_THREADS];
47 private static final AtomicInteger[] targetted = new AtomicInteger[NUMBER_OF_THREADS];
108 called[i] = new AtomicInteger(0); in test()
109 targetted[i] = new AtomicInteger(0); in test()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/utils/
H A DRequestThrottle.java24 import java.util.concurrent.atomic.AtomicInteger;
59 private final AtomicInteger mLastRequest = new AtomicInteger(0);
60 private final AtomicInteger mLastCommitted = new AtomicInteger(-1);
66 private final AtomicInteger mCurrentRetry = new AtomicInteger(0);
/aosp12/packages/apps/Settings/src/com/android/settings/network/telephony/
H A DTelephonyBasePreferenceController.java27 import java.util.concurrent.atomic.AtomicInteger;
35 private AtomicInteger mAvailabilityStatus = new AtomicInteger(0);
36 private AtomicInteger mSetSessionCount = new AtomicInteger(0);
H A DTelephonyTogglePreferenceController.java27 import java.util.concurrent.atomic.AtomicInteger;
35 private AtomicInteger mAvailabilityStatus = new AtomicInteger(0);
36 private AtomicInteger mSetSessionCount = new AtomicInteger(0);
/aosp12/packages/modules/Connectivity/Tethering/src/android/net/util/
H A DVersionedBroadcastListener.java26 import java.util.concurrent.atomic.AtomicInteger;
47 private final AtomicInteger mGenerationNumber;
57 mGenerationNumber = new AtomicInteger(0); in VersionedBroadcastListener()
81 public final AtomicInteger atomicGenerationNumber;
86 Receiver(String tag, AtomicInteger atomicGenerationNumber, Consumer<Intent> callback) { in Receiver()
/aosp12/packages/apps/Dialer/java/com/android/dialer/util/
H A DExpirableCache.java20 import java.util.concurrent.atomic.AtomicInteger;
101 private final AtomicInteger generation;
107 generation = new AtomicInteger(0); in ExpirableCache()
246 private final AtomicInteger cacheGeneration;
252 public GenerationalCachedValue(V value, AtomicInteger cacheGeneration) { in GenerationalCachedValue()
/aosp12/frameworks/base/services/core/java/com/android/server/utils/
H A DSnapshotCache.java23 import java.util.concurrent.atomic.AtomicInteger;
47 private final AtomicInteger mReused = new AtomicInteger(0);
48 private final AtomicInteger mRebuilt = new AtomicInteger(0);
/aosp12/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
H A DSettingsBackupAgentTest.java56 import java.util.concurrent.atomic.AtomicInteger;
137 AtomicInteger pos = new AtomicInteger(0); in testGeneratedHeaderMatchesCurrentDevice()
156 AtomicInteger pos = new AtomicInteger(0); in testNewerHeaderVersionFailsMatch()
166 AtomicInteger pos = new AtomicInteger(0); in testWrongManufacturerFailsMatch()
176 AtomicInteger pos = new AtomicInteger(0); in testWrongProductFailsMatch()
302 boolean isSourceAcceptable(byte[] data, AtomicInteger pos) { in isSourceAcceptable()
/aosp12/frameworks/base/tests/Codegen/src/com/android/codegentest/
H A DMyDateParcelling.java23 import java.util.concurrent.atomic.AtomicInteger;
36 static AtomicInteger sInstanceCount = new AtomicInteger(0);
/aosp12/frameworks/opt/bitmap/src/com/android/bitmap/
H A DNamedThreadFactory.java21 import java.util.concurrent.atomic.AtomicInteger;
26 private final AtomicInteger mCount = new AtomicInteger(0);
/aosp12/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
H A DPriorityThreadFactory.java22 import java.util.concurrent.atomic.AtomicInteger;
30 private final AtomicInteger mNumber = new AtomicInteger();
/aosp12/frameworks/base/tools/lock_agent/java/com/android/lock_checker/
H A DLockHook.java42 import java.util.concurrent.atomic.AtomicInteger;
56 private static final AtomicInteger sTotalObtainCount = new AtomicInteger();
57 private static final AtomicInteger sTotalReleaseCount = new AtomicInteger();
58 private static final AtomicInteger sDeepestNest = new AtomicInteger();
/aosp12/packages/apps/Settings/src/com/android/settings/network/ims/
H A DIntegerConsumer.java21 import java.util.concurrent.atomic.AtomicInteger;
30 mValue = new AtomicInteger(); in IntegerConsumer()
33 private volatile AtomicInteger mValue;
/aosp12/frameworks/base/services/backup/java/com/android/server/backup/restore/
H A DRestoreEngine.java20 import java.util.concurrent.atomic.AtomicInteger;
34 private final AtomicInteger mResult = new AtomicInteger(SUCCESS);
/aosp12/packages/apps/TV/common/src/com/android/tv/common/concurrent/
H A DNamedThreadFactory.java22 import java.util.concurrent.atomic.AtomicInteger;
26 private final AtomicInteger mCount = new AtomicInteger(0);
/aosp12/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/
H A DDynamicRingBuffer.java35 import java.util.concurrent.atomic.AtomicInteger;
64 private final AtomicInteger mTicketWaiterCount;
66 private final AtomicInteger mMaxSize;
79 mTicketWaiterCount = new AtomicInteger(0); in DynamicRingBuffer()
80 mMaxSize = new AtomicInteger(Integer.MAX_VALUE); in DynamicRingBuffer()
/aosp12/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
H A DCachedSupplierTest.java26 import java.util.concurrent.atomic.AtomicInteger;
33 final AtomicInteger counter = new AtomicInteger(); in testSimple()
/aosp12/art/test/1339-dead-reference-safe/src/
H A DDeadReferenceUnsafeTest.java17 import java.util.concurrent.atomic.AtomicInteger;
20 static AtomicInteger nFinalized = new AtomicInteger(0);
H A DDeadReferenceSafeTest.java18 import java.util.concurrent.atomic.AtomicInteger;
22 static AtomicInteger nFinalized = new AtomicInteger(0);
H A DReachabilityFenceTest.java21 import java.util.concurrent.atomic.AtomicInteger;
25 static AtomicInteger nFinalized = new AtomicInteger(0);
H A DReachabilitySensitiveFunTest.java21 import java.util.concurrent.atomic.AtomicInteger;
25 static AtomicInteger nFinalized = new AtomicInteger(0);

12345678910