Home
last modified time | relevance | path

Searched refs:callbackCount (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCastControllerImplTest.java86 int callbackCount = 20; in testAddCallbackRemoveCallback_concurrently() local
87 int numThreads = 2 * callbackCount; in testAddCallbackRemoveCallback_concurrently()
90 Callback[] callbackList = new Callback[callbackCount]; in testAddCallbackRemoveCallback_concurrently()
93 for (int cbIndex = 0; cbIndex < callbackCount; cbIndex++) { in testAddCallbackRemoveCallback_concurrently()
/frameworks/av/media/libaaudio/tests/
Dtest_return_stop.cpp49 std::atomic<int32_t> callbackCount{}; member
56 callbackCount.store(0); in reset()
72 engine->callbackCount++; in s_myDataCallbackProc()
164 engine->callbackCount.load() in s_checkEnginePositions()
Dtest_various.cpp501 std::atomic<int32_t> callbackCount{0}; in checkCallbackOnce() local
510 AAudioStreamBuilder_setDataCallback(aaudioBuilder, CallbackOnceProc, &callbackCount); in checkCallbackOnce()
523 EXPECT_EQ(1, callbackCount.load()); // should stop after first call in checkCallbackOnce()
/frameworks/base/core/java/android/hardware/location/
DActivityRecognitionHardware.java234 int callbackCount = mSinks.getRegisteredCallbackCount(); in onCallbackDied() local
235 if (DEBUG) Log.d(TAG, "RegisteredCallbackCount: " + callbackCount); in onCallbackDied()
236 if (callbackCount != 0) { in onCallbackDied()
/frameworks/av/media/libaaudio/examples/write_sine/src/
Dwrite_sine_callback.cpp58 myData.callbackCount = 0; in testOpenPlayClose()
145 printf("STOP, callback # = %d\n", myData.callbackCount); in testOpenPlayClose()
148 printf("PAUSE/FLUSH, callback # = %d\n", myData.callbackCount); in testOpenPlayClose()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DTask.java316 int callbackCount = mCallbacks.size(); in setWindowingMode() local
317 for (int i = 0; i < callbackCount; i++) { in setWindowingMode()
327 int callbackCount = mCallbacks.size(); in notifyTaskDataLoaded() local
328 for (int i = 0; i < callbackCount; i++) { in notifyTaskDataLoaded()
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java1268 final int callbackCount = mCallbackMap.size(); in onStatusChangedLocked() local
1269 for (int i = 0; i < callbackCount; i++) { in onStatusChangedLocked()
1307 final int callbackCount = mTorchCallbackMap.size(); in onTorchStatusChangedLocked() local
1308 for (int i = 0; i < callbackCount; i++) { in onTorchStatusChangedLocked()
1394 final int callbackCount = mCallbackMap.size(); in onCameraAccessPrioritiesChanged() local
1395 for (int i = 0; i < callbackCount; i++) { in onCameraAccessPrioritiesChanged()
/frameworks/base/core/java/com/android/internal/util/
DCallbackRegistry.java143 final int callbackCount = mCallbacks.size(); in notifyRecurseLocked() local
155 notifyCallbacksLocked(sender, arg, arg2, startCallbackIndex, callbackCount, 0); in notifyRecurseLocked()
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DAppPredictionPerUserService.java357 int callbackCount = mCallbacks.getRegisteredCallbackCount(); in resurrectSessionLocked() local
361 + callbackCount + " callbacks."); in resurrectSessionLocked()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioSimplePlayer.h278 int32_t callbackCount = 0; member
385 sineData->callbackCount++; in SimplePlayerDataCallbackProc()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java1327 final int callbackCount = callbacks.size(); in notifyOpChangedForAllPkgsInUid() local
1328 for (int i = 0; i < callbackCount; i++) { in notifyOpChangedForAllPkgsInUid()
1349 final int callbackCount = callbacks.size(); in notifyOpChangedForAllPkgsInUid() local
1350 for (int i = 0; i < callbackCount; i++) { in notifyOpChangedForAllPkgsInUid()
2153 final int callbackCount = activeCallbacks.size(); in stopWatchingActive() local
2154 for (int i = 0; i < callbackCount; i++) { in stopWatchingActive()
2196 final int callbackCount = notedCallbacks.size(); in stopWatchingNoted() local
2197 for (int i = 0; i < callbackCount; i++) { in stopWatchingNoted()
2359 final int callbackCount = callbacks.size(); in notifyOpActiveChanged() local
2360 for (int i = 0; i < callbackCount; i++) { in notifyOpActiveChanged()
[all …]
/frameworks/base/core/java/android/app/
DVoiceInteractor.java992 final int callbackCount = mOnDestroyCallbacks.size(); in destroy() local
993 for (int i = callbackCount - 1; i >= 0; i--) { in destroy()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java1552 final int callbackCount = mCallbacks.size(); in dumpInternal() local
1554 pw.println("Callbacks: size=" + callbackCount); in dumpInternal()
1555 for (int i = 0; i < callbackCount; i++) { in dumpInternal()