Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiWakeMetricsTest.java46 assertEquals(wifiWakeStats.numSessions, 0); in buildsEmptyProto()
65 assertEquals(wifiWakeStats.numSessions, 3); in buildsMultiSessionProto_fewerThanMax()
72 int numSessions = WifiWakeMetrics.MAX_RECORDED_SESSIONS + 1; in buildsMultiSessionProto_greaterThanMax() local
73 for (int i = 0; i < numSessions; i++) { in buildsMultiSessionProto_greaterThanMax()
83 assertEquals(wifiWakeStats.numSessions, numSessions); in buildsMultiSessionProto_greaterThanMax()
84 assertEquals(wifiWakeStats.numWakeups, numSessions); in buildsMultiSessionProto_greaterThanMax()
111 assertEquals(wifiWakeStats.numSessions, 3); in buildProtoCountsWakes()
126 assertEquals(wifiWakeStats.numSessions, 1); in buildProtoDoesNotCountWakeInCurrentSession()
151 assertEquals(wifiWakeStats.numSessions, 1); in buildProtoDoesNotIncludeCurrentSession()
164 assertEquals(wifiWakeStats.numSessions, 0); in ignoresEventsIfStartNotCalled()
[all …]
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCapturePerUserService.java212 final int numSessions = mSessions.size(); in resurrectSessionsLocked() local
215 + numSessions + " sessions"); in resurrectSessionsLocked()
218 for (int i = 0; i < numSessions; i++) { in resurrectSessionsLocked()
225 final int numSessions = mSessions.size(); in onPackageUpdatingLocked() local
227 Slog.d(TAG, "Pausing " + numSessions + " sessions while package is updating"); in onPackageUpdatingLocked()
229 for (int i = 0; i < numSessions; i++) { in onPackageUpdatingLocked()
469 final int numSessions = mSessions.size(); in destroySessionsLocked() local
470 for (int i = 0; i < numSessions; i++) { in destroySessionsLocked()
479 final int numSessions = mSessions.size(); in listSessionsLocked() local
480 for (int i = 0; i < numSessions; i++) { in listSessionsLocked()
[all …]
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DAppPredictionPerUserService.java293 final int numSessions = mSessionInfos.size(); in resurrectSessionsLocked() local
296 + numSessions + " sessions."); in resurrectSessionsLocked()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceImpl.java663 final int numSessions = mSessions.size(); in destroyLocked() local
664 final ArraySet<RemoteFillService> remoteFillServices = new ArraySet<>(numSessions); in destroyLocked()
665 for (int i = 0; i < numSessions; i++) { in destroyLocked()
1081 final int numSessions = mSessions.size(); in listSessionsLocked() local
1082 if (numSessions <= 0) return; in listSessionsLocked()
1085 for (int i = 0; i < numSessions; i++) { in listSessionsLocked()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiWakeMetrics.java166 proto.numSessions = mTotalSessions; in buildProto()