Home
last modified time | relevance | path

Searched refs:sessions (Results 1 – 22 of 22) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiWakeMetricsTest.java49 assertEquals(wifiWakeStats.sessions.length, 0); in buildsEmptyProto()
67 assertEquals(wifiWakeStats.sessions.length, 3); in buildsMultiSessionProto_fewerThanMax()
85 assertEquals(wifiWakeStats.sessions.length, WifiWakeMetrics.MAX_RECORDED_SESSIONS); in buildsMultiSessionProto_greaterThanMax()
89 WifiWakeStats.Session session = wifiWakeStats.sessions[i]; in buildsMultiSessionProto_greaterThanMax()
113 assertEquals(wifiWakeStats.sessions.length, 3); in buildProtoCountsWakes()
128 assertEquals(wifiWakeStats.sessions.length, 1); in buildProtoDoesNotCountWakeInCurrentSession()
152 assertEquals(wifiWakeStats.sessions.length, 1); in buildProtoDoesNotIncludeCurrentSession()
153 assertEquals(wifiWakeStats.sessions[0].lockedNetworksAtStart, 1); in buildProtoDoesNotIncludeCurrentSession()
165 assertEquals(wifiWakeStats.sessions.length, 0); in ignoresEventsIfStartNotCalled()
180 assertEquals(wifiWakeStats.sessions.length, 1); in ignoresEventsAfterResetAndBeforeStartCalled()
[all …]
/packages/apps/TV/common/src/com/android/tv/common/support/tis/
DSimpleSessionManager.java30 private final Set<Session> sessions; field in SimpleSessionManager
35 sessions = VERSION.SDK_INT >= VERSION_CODES.M ? new ArraySet<>() : new HashSet<>(); in SimpleSessionManager()
40 sessions.remove(session); in removeSession()
45 sessions.add(session); in addSession()
50 return sessions.size() < max; in canCreateNewSession()
55 return ImmutableSet.copyOf(sessions); in getSessions()
60 return sessions.size(); in getSessionCount()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeSessionTest.java107 IkeSession[] sessions = new IkeSession[numSession]; in testConstructFromDifferentThreads() local
117 sessions[index] = in testConstructFromDifferentThreads()
138 sessions[0].mIkeSessionStateMachine.getHandler().getLooper(), in testConstructFromDifferentThreads()
139 sessions[1].mIkeSessionStateMachine.getHandler().getLooper()); in testConstructFromDifferentThreads()
141 for (IkeSession s : sessions) { in testConstructFromDifferentThreads()
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DTunerTsStreamerManager.java147 Set<Integer> sessions = new HashSet<>(); in putLocked() local
148 sessions.add(sessionId); in putLocked()
149 mSessions.put(channel, sessions); in putLocked()
162 Set<Integer> sessions = mSessions.get(channel); in removeSessionLocked() local
163 sessions.remove(sessionId); in removeSessionLocked()
164 if (sessions.size() == 0) { in removeSessionLocked()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiWakeMetrics.java169 proto.sessions = new WifiWakeStats.Session[mSessions.size()]; in buildProto()
172 proto.sessions[i] = mSessions.get(i).buildProto(); in buildProto()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareStateManager.java607 SparseArray<WifiAwareDiscoverySessionState> sessions = client.getSessions(); in requestMacAddresses() local
608 for (int j = 0; j < sessions.size(); ++j) { in requestMacAddresses()
609 WifiAwareDiscoverySessionState session = sessions.valueAt(j); in requestMacAddresses()
2458 SparseArray<WifiAwareDiscoverySessionState> sessions = client.getSessions(); in disconnectLocal() local
2459 for (int i = 0; i < sessions.size(); ++i) { in disconnectLocal()
2460 mAwareMetrics.recordDiscoverySessionDuration(sessions.valueAt(i).getCreationTime(), in disconnectLocal()
2461 sessions.valueAt(i).isPublishSession()); in disconnectLocal()
3321 SparseArray<WifiAwareDiscoverySessionState> sessions = mClients.valueAt( in onAwareDownLocal() local
3323 for (int j = 0; j < sessions.size(); ++j) { in onAwareDownLocal()
3324 mAwareMetrics.recordDiscoverySessionDuration(sessions.valueAt(j).getCreationTime(), in onAwareDownLocal()
[all …]
DWifiAwareMetrics.java290 SparseArray<WifiAwareDiscoverySessionState> sessions = client.getSessions(); in recordDiscoverySessionInternal() local
291 for (int j = 0; j < sessions.size(); ++j) { in recordDiscoverySessionInternal()
292 WifiAwareDiscoverySessionState session = sessions.valueAt(j); in recordDiscoverySessionInternal()
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto369 // SoftAP event list tracking sessions and client counts in tethered mode
372 // SoftAP event list tracking sessions and client counts in local only mode
1606 // maximum number of concurrent publish sessions in a single app
1609 // maximum number of concurrent subscribe sessions in a single app
1612 // maximum number of concurrent discovery (publish+subscribe) sessions in a single app
1615 // maximum number of concurrent publish sessions in the system
1618 // maximum number of concurrent subscribe sessions in the system
1621 // maximum number of concurrent discovery (publish+subscribe) sessions in the system
1667 // histogram of duration (in ms) of attach sessions
1670 // histogram of duration (in ms) of publish sessions
[all …]
/packages/modules/DnsResolver/
DREADME-DoT.md101 `DnsTlsSessionCache` sets a limit of 5 sessions in each cache, expiring the oldest one
103 reuse sessions more than once, it should not be possible to hit this limit.
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DAnalyticsTests.java313 List<TelecomAnalytics.SessionTiming> sessions = tm.dumpAnalytics().getSessionTimings(); in testAnalyticsLogSessionTiming() local
314 sessions.stream() in testAnalyticsLogSessionTiming()
/packages/providers/MediaProvider/src/com/android/providers/media/
DTranscodeHelperImpl.java357 Set<StorageTranscodingSession> sessions = new ArraySet<>(); in onAnrDelayStarted() local
359 sessions.addAll(mStorageTranscodingSessions.values()); in onAnrDelayStarted()
362 for (StorageTranscodingSession session: sessions) { in onAnrDelayStarted()
/packages/services/Telecomm/proto/
Dtelecom.proto14 // Timing information for the logging sessions
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java3915 SparseArray<WifiAwareDiscoverySessionState> sessions = in validateInternalNoSessions() local
3918 collector.checkThat("No sessions exist for clientId=" + clientId, sessions.size(), in validateInternalNoSessions()
3978 SparseArray<WifiAwareDiscoverySessionState> sessions = in getInternalSessionState() local
3981 return sessions.get(sessionId); in getInternalSessionState()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dfi_wordlist.combined.gz
Dsv_wordlist.combined.gz
Dhr_wordlist.combined.gz
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...