Home
last modified time | relevance | path

Searched refs:numSessions (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DTunerSessionTest.java205 int numSessions = 3; in openSession_withMultipleSessions() local
207 openAidlClients(numSessions); in openSession_withMultipleSessions()
209 for (int index = 0; index < numSessions; index++) { in openSession_withMultipleSessions()
279 int numSessions = 3; in close_withOnlyOneSession_withMultipleSessions() local
280 openAidlClients(numSessions); in close_withOnlyOneSession_withMultipleSessions()
285 for (int index = 0; index < numSessions; index++) { in close_withOnlyOneSession_withMultipleSessions()
327 int numSessions = 3; in closeSessions_withMultipleSessions_withError() local
328 openAidlClients(numSessions); in closeSessions_withMultipleSessions_withError()
333 for (int index = 0; index < numSessions; index++) { in closeSessions_withMultipleSessions_withError()
369 int numSessions = 3; in tune_withMultipleSessions() local
[all …]
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DTunerSessionHidlTest.java209 int numSessions = 3; in openSession_withMultipleSessions() local
211 openAidlClients(numSessions); in openSession_withMultipleSessions()
213 for (int index = 0; index < numSessions; index++) { in openSession_withMultipleSessions()
282 int numSessions = 3; in close_withOnlyOneSession_withMultipleSessions() local
283 openAidlClients(numSessions); in close_withOnlyOneSession_withMultipleSessions()
288 for (int index = 0; index < numSessions; index++) { in close_withOnlyOneSession_withMultipleSessions()
329 int numSessions = 3; in closeSessions_withMultipleSessions_withError() local
330 openAidlClients(numSessions); in closeSessions_withMultipleSessions_withError()
335 for (int index = 0; index < numSessions; index++) { in closeSessions_withMultipleSessions_withError()
356 int numSessions = 3; in tune_withMultipleSessions() local
[all …]
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCapturePerUserService.java228 final int numSessions = mSessions.size(); in resurrectSessionsLocked() local
231 + numSessions + " sessions"); in resurrectSessionsLocked()
234 for (int i = 0; i < numSessions; i++) { in resurrectSessionsLocked()
241 final int numSessions = mSessions.size(); in onPackageUpdatingLocked() local
243 Slog.d(TAG, "Pausing " + numSessions + " sessions while package is updating"); in onPackageUpdatingLocked()
245 for (int i = 0; i < numSessions; i++) { in onPackageUpdatingLocked()
517 final int numSessions = mSessions.size(); in destroySessionsLocked() local
518 for (int i = 0; i < numSessions; i++) { in destroySessionsLocked()
527 final int numSessions = mSessions.size(); in listSessionsLocked() local
528 for (int i = 0; i < numSessions; i++) { in listSessionsLocked()
[all …]
/frameworks/native/libs/binder/tests/
DbinderRpcUniversalTests.cpp78 auto proc = createRpcTestSocketServerProcess({.numThreads = 1, .numSessions = 5}); in TEST_P()
97 auto proc = createRpcTestSocketServerProcess({.numSessions = 2}); in TEST_P()
288 auto proc = createRpcTestSocketServerProcess({.numThreads = 1, .numSessions = 2}); in TEST_P()
468 .numSessions = 1, in TEST_P()
DbinderRpcTestTrusty.cpp68 for (size_t i = 0; i < options.numSessions; i++) { in createRpcTestSocketServerProcessEtc()
DbinderRpcTest.cpp250 LOG_ALWAYS_FATAL_IF(options.numSessions < 1, "Must have at least one session to a server"); in createRpcTestSocketServerProcessEtc()
253 LOG_ALWAYS_FATAL_IF(options.numIncomingConnectionsBySession.size() != options.numSessions, in createRpcTestSocketServerProcessEtc()
255 options.numIncomingConnectionsBySession.size(), options.numSessions); in createRpcTestSocketServerProcessEtc()
316 for (size_t i = 0; i < options.numSessions; i++) { in createRpcTestSocketServerProcessEtc()
639 auto proc = createRpcTestSocketServerProcess({.numThreads = kNumClients, .numSessions = 2}); in TEST_P()
683 {.numThreads = 1, .numSessions = 2, .numIncomingConnectionsBySession = {0, 1}}); in TEST_P()
724 {.numThreads = 1, .numSessions = 1, .numIncomingConnectionsBySession = {1}}); in TEST_P()
762 {.numThreads = 1, .numSessions = 1, .numIncomingConnectionsBySession = {1}}); in TEST_P()
795 auto proc = createRpcTestSocketServerProcess({.numThreads = 1, .numSessions = 1}); in TEST_P()
814 {.numThreads = 1, .numSessions = 1, .numIncomingConnectionsBySession = {1}}); in TEST_P()
DbinderRpcTestCommon.h160 size_t numSessions = 1; member
/frameworks/base/services/smartspace/java/com/android/server/smartspace/
DSmartspacePerUserService.java281 final int numSessions = mSessionInfos.size(); in resurrectSessionsLocked() local
284 + numSessions + " sessions."); in resurrectSessionsLocked()
/frameworks/base/services/searchui/java/com/android/server/searchui/
DSearchUiPerUserService.java287 final int numSessions = mSessionInfos.size(); in resurrectSessionsLocked() local
290 + numSessions + " sessions."); in resurrectSessionsLocked()
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DAppPredictionPerUserService.java334 final int numSessions = mSessionInfos.size(); in resurrectSessionsLocked() local
337 + numSessions + " sessions."); in resurrectSessionsLocked()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceImpl.java774 final int numSessions = mSessions.size(); in destroyLocked() local
775 final ArraySet<RemoteFillService> remoteFillServices = new ArraySet<>(numSessions); in destroyLocked()
776 for (int i = 0; i < numSessions; i++) { in destroyLocked()
1289 final int numSessions = mSessions.size(); in listSessionsLocked() local
1290 if (numSessions <= 0) return; in listSessionsLocked()
1293 for (int i = 0; i < numSessions; i++) { in listSessionsLocked()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java1120 final int numSessions = sessions.size(); in calculateTimeUntilQuotaConsumedLocked() local
1122 for (int i = numSessions - 1; i >= 0; --i) { in calculateTimeUntilQuotaConsumedLocked()
1135 for (int i = 0; i < numSessions; ++i) { in calculateTimeUntilQuotaConsumedLocked()