Home
last modified time | relevance | path

Searched refs:callbackCount (Results 1 – 14 of 14) 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/camera2/
DCameraManager.java1327 final int callbackCount = mCallbackMap.size(); in onStatusChangedLocked() local
1328 for (int i = 0; i < callbackCount; i++) { in onStatusChangedLocked()
1366 final int callbackCount = mTorchCallbackMap.size(); in onTorchStatusChangedLocked() local
1367 for (int i = 0; i < callbackCount; i++) { in onTorchStatusChangedLocked()
1453 final int callbackCount = mCallbackMap.size(); in onCameraAccessPrioritiesChanged() local
1454 for (int i = 0; i < callbackCount; i++) { in onCameraAccessPrioritiesChanged()
1466 final int callbackCount = mCallbackMap.size(); in onCameraOpened() local
1467 for (int i = 0; i < callbackCount; i++) { in onCameraOpened()
1479 final int callbackCount = mCallbackMap.size(); in onCameraClosed() local
1480 for (int i = 0; i < callbackCount; i++) { in onCameraClosed()
/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.java328 int callbackCount = mCallbacks.size(); in setWindowingMode() local
329 for (int i = 0; i < callbackCount; i++) { in setWindowingMode()
339 int callbackCount = mCallbacks.size(); in notifyTaskDataLoaded() local
340 for (int i = 0; i < callbackCount; i++) { in notifyTaskDataLoaded()
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DAudioVolumeGroupChangeHandlerTest.java128 final int callbackCount = 10; in testMultipleCallbackReceived() local
131 for (int i = 0; i < callbackCount; i++) { in testMultipleCallbackReceived()
/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/av/media/libaaudio/examples/utils/
DAAudioSimplePlayer.h278 int32_t callbackCount = 0; member
385 sineData->callbackCount++; in SimplePlayerDataCallbackProc()
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DAppPredictionPerUserService.java391 int callbackCount = mCallbacks.getRegisteredCallbackCount(); in resurrectSessionLocked() local
395 + callbackCount + " callbacks."); in resurrectSessionLocked()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java1335 final int callbackCount = callbacks.size(); in notifyOpChangedForAllPkgsInUid() local
1336 for (int i = 0; i < callbackCount; i++) { in notifyOpChangedForAllPkgsInUid()
1357 final int callbackCount = callbacks.size(); in notifyOpChangedForAllPkgsInUid() local
1358 for (int i = 0; i < callbackCount; i++) { in notifyOpChangedForAllPkgsInUid()
2164 final int callbackCount = activeCallbacks.size(); in stopWatchingActive() local
2165 for (int i = 0; i < callbackCount; i++) { in stopWatchingActive()
2207 final int callbackCount = notedCallbacks.size(); in stopWatchingNoted() local
2208 for (int i = 0; i < callbackCount; i++) { in stopWatchingNoted()
2388 final int callbackCount = callbacks.size(); in notifyOpActiveChanged() local
2389 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.java1554 final int callbackCount = mCallbacks.size(); in dumpInternal() local
1556 pw.println("Callbacks: size=" + callbackCount); in dumpInternal()
1557 for (int i = 0; i < callbackCount; i++) { in dumpInternal()