Home
last modified time | relevance | path

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

12

/frameworks/opt/net/wifi/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 …]
/frameworks/base/services/core/java/com/android/server/job/controllers/
DQuotaController.java850 List<TimingSession> sessions = mTimingSessions.get(userId, packageName); in getTimeUntilQuotaConsumedLocked() local
851 if (sessions == null || sessions.size() == 0) { in getTimeUntilQuotaConsumedLocked()
866 sessions, startMaxElapsed, maxExecutionTimeRemainingMs); in getTimeUntilQuotaConsumedLocked()
875 sessions, startMaxElapsed, maxExecutionTimeRemainingMs), in getTimeUntilQuotaConsumedLocked()
877 sessions, startWindowElapsed, allowedTimeRemainingMs)); in getTimeUntilQuotaConsumedLocked()
886 private long calculateTimeUntilQuotaConsumedLocked(@NonNull List<TimingSession> sessions, in calculateTimeUntilQuotaConsumedLocked() argument
890 for (int i = 0; i < sessions.size(); ++i) { in calculateTimeUntilQuotaConsumedLocked()
891 TimingSession session = sessions.get(i); in calculateTimeUntilQuotaConsumedLocked()
998 List<TimingSession> sessions = mTimingSessions.get(userId, packageName); in updateExecutionStatsLocked() local
999 if (sessions == null || sessions.size() == 0) { in updateExecutionStatsLocked()
[all …]
/frameworks/base/media/java/android/media/session/
DIActiveSessionsListener.aidl25 void onActiveSessionsChanged(in List<MediaSession.Token> sessions); in onActiveSessionsChanged() argument
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureManagerServiceShellCommand.java205 final ArrayList<String> sessions = resultData in requestList()
207 for (String session : sessions) { in requestList()
DContentCaptureManagerService.java426 final ArrayList<String> sessions = new ArrayList<>(); in listSessions() local
432 service.listSessionsLocked(sessions); in listSessions()
435 visitServicesLocked((s) -> s.listSessionsLocked(sessions)); in listSessions()
439 resultData.putStringArrayList(RECEIVER_BUNDLE_EXTRA_SESSIONS, sessions); in listSessions()
/frameworks/opt/net/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()
/frameworks/base/media/apex/java/android/media/
DMediaSession2Service.java134 List<MediaSession2> sessions = getSessions(); in onDestroy() local
135 for (MediaSession2 session : sessions) { in onDestroy()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceShellCommand.java371 final ArrayList<String> sessions = resultData in requestList()
373 for (String session : sessions) { in requestList()
DAutofillManagerService.java378 final ArrayList<String> sessions = new ArrayList<>(); in listSessions() local
384 service.listSessionsLocked(sessions); in listSessions()
387 visitServicesLocked((s) -> s.listSessionsLocked(sessions)); in listSessions()
391 resultData.putStringArrayList(RECEIVER_BUNDLE_EXTRA_SESSIONS, sessions); in listSessions()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageInstallerSessionTest.java191 private void dumpSessions(List<PackageInstallerSession> sessions) { in dumpSessions() argument
200 for (PackageInstallerSession session : sessions) { in dumpSessions()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioInputDescriptor.h76 void setPreemptedSessions(const SortedVector<audio_session_t>& sessions);
/frameworks/base/proto/src/
Dwifi.proto368 // SoftAP event list tracking sessions and client counts in tethered mode
371 // SoftAP event list tracking sessions and client counts in local only mode
1217 // maximum number of concurrent publish sessions in a single app
1220 // maximum number of concurrent subscribe sessions in a single app
1223 // maximum number of concurrent discovery (publish+subscribe) sessions in a single app
1226 // maximum number of concurrent publish sessions in the system
1229 // maximum number of concurrent subscribe sessions in the system
1232 // maximum number of concurrent discovery (publish+subscribe) sessions in the system
1278 // histogram of duration (in ms) of attach sessions
1281 // histogram of duration (in ms) of publish sessions
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareStateManager.java509 SparseArray<WifiAwareDiscoverySessionState> sessions = client.getSessions(); in requestMacAddresses() local
510 for (int j = 0; j < sessions.size(); ++j) { in requestMacAddresses()
511 WifiAwareDiscoverySessionState session = sessions.valueAt(j); in requestMacAddresses()
2242 SparseArray<WifiAwareDiscoverySessionState> sessions = client.getSessions(); in disconnectLocal() local
2243 for (int i = 0; i < sessions.size(); ++i) { in disconnectLocal()
2244 mAwareMetrics.recordDiscoverySessionDuration(sessions.valueAt(i).getCreationTime(), in disconnectLocal()
2245 sessions.valueAt(i).isPublishSession()); in disconnectLocal()
3059 SparseArray<WifiAwareDiscoverySessionState> sessions = mClients.valueAt( in onAwareDownLocal() local
3061 for (int j = 0; j < sessions.size(); ++j) { in onAwareDownLocal()
3062 mAwareMetrics.recordDiscoverySessionDuration(sessions.valueAt(i).getCreationTime(), in onAwareDownLocal()
[all …]
DWifiAwareMetrics.java286 SparseArray<WifiAwareDiscoverySessionState> sessions = client.getSessions(); in recordDiscoverySessionInternal() local
287 for (int j = 0; j < sessions.size(); ++j) { in recordDiscoverySessionInternal()
288 WifiAwareDiscoverySessionState session = sessions.valueAt(j); in recordDiscoverySessionInternal()
/frameworks/base/services/core/java/com/android/server/pm/
DApexManager.java588 final ApexSessionInfo[] sessions = waitForApexService().getSessions(); in dump() local
589 for (ApexSessionInfo si : sessions) { in dump()
DPackageInstallerService.java914 private static int getSessionCount(SparseArray<PackageInstallerSession> sessions, in getSessionCount() argument
917 final int size = sessions.size(); in getSessionCount()
919 final PackageInstallerSession session = sessions.valueAt(i); in getSessionCount()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioInputDescriptor.cpp107 void AudioInputDescriptor::setPreemptedSessions(const SortedVector<audio_session_t>& sessions) in setPreemptedSessions() argument
109 mPreemptedSessions = sessions; in setPreemptedSessions()
/frameworks/base/core/proto/android/server/
Djobscheduler.proto283 // The maximum number of timing sessions an app can run within this particular standby
286 // The maximum number of timing sessions an app can run within this particular standby
289 // The maximum number of timing sessions an app can run within this particular standby
292 // The maximum number of timing sessions an app can run within this particular standby
295 // The maximum number of timing sessions that should be allowed to run in the past
537 // sessions that started before the window as long as they end within the window.
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMediaManager.java314 final List<MediaController> sessions in findAndUpdateMediaNotifications() local
319 for (MediaController aController : sessions) { in findAndUpdateMediaNotifications()
/frameworks/base/core/proto/android/service/
Dprint.proto51 // The printer discovery sessions
/frameworks/rs/tests/lldb/
DREADME.txt12 debug sessions.
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java1324 private int getCombinedSessionFlags(List<Session> sessions) { in getCombinedSessionFlags() argument
1327 for (Session session : sessions) { in getCombinedSessionFlags()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp825 uint32_t sessions = t->hasAudioSession(sessionId); in createTrack() local
826 if (sessions & ThreadBase::EFFECT_SESSION) { in createTrack()
2332 uint32_t sessions = thread->hasAudioSession(sessionId); in getAudioHwSyncForSession() local
2333 if (sessions & ThreadBase::TRACK_SESSION) { in getAudioHwSyncForSession()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java3403 SparseArray<WifiAwareDiscoverySessionState> sessions = in validateInternalNoSessions() local
3406 collector.checkThat("No sessions exist for clientId=" + clientId, sessions.size(), in validateInternalNoSessions()
3465 SparseArray<WifiAwareDiscoverySessionState> sessions = in getInternalSessionState() local
3468 return sessions.get(sessionId); in getInternalSessionState()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java796 List<MediaSessionRecord> sessions = mPriorityStack.getPriorityList(false, userId); in destroySessionsForUserLocked() local
797 for (MediaSessionRecord session : sessions) { in destroySessionsForUserLocked()

12