Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
H A DStagingManagerTest.java239 sessions.add(apkSession); in restoreSessions_unknownApexSession_failsAllSessions()
240 sessions.add(apexSession); in restoreSessions_unknownApexSession_failsAllSessions()
294 sessions.add(apkSession); in restoreSessions_failedApexSessions_failsAllSessions()
295 sessions.add(apexSession1); in restoreSessions_failedApexSessions_failsAllSessions()
296 sessions.add(apexSession2); in restoreSessions_failedApexSessions_failsAllSessions()
297 sessions.add(apexSession3); in restoreSessions_failedApexSessions_failsAllSessions()
344 sessions.add(apkSession); in restoreSessions_stagedApexSession_failsAllSessions()
345 sessions.add(apexSession); in restoreSessions_stagedApexSession_failsAllSessions()
407 sessions.add(apkSession); in restoreSessions_failedAndActivatedApexSessions_abortsCheckpoint()
438 sessions.add(apkSession); in restoreSessions_apexSessionInImpossibleState_failsAllSessions()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DStagingManager.java591 int j = sessions.size(); in handleNonReadyAndDestroyedSessions()
597 StagedSession session = sessions.get(i); in handleNonReadyAndDestroyedSessions()
602 sessions.set(i, session2); in handleNonReadyAndDestroyedSessions()
610 sessions.set(i, session2); in handleNonReadyAndDestroyedSessions()
617 sessions.subList(j, sessions.size()).clear(); in handleNonReadyAndDestroyedSessions()
630 for (int i = 0; i < sessions.size(); i++) { in restoreSessions()
631 StagedSession session = sessions.get(i); in restoreSessions()
680 for (int i = 0; i < sessions.size(); i++) { in restoreSessions()
681 StagedSession session = sessions.get(i); in restoreSessions()
747 for (int i = 0; i < sessions.size(); i++) { in restoreSessions()
[all …]
H A DApexManager.java604 final ApexSessionInfo[] sessions = waitForApexService().getSessions(); in getSessions() local
605 final SparseArray<ApexSessionInfo> result = new SparseArray<>(sessions.length); in getSessions()
606 for (int i = 0; i < sessions.length; i++) { in getSessions()
607 result.put(sessions[i].sessionId, sessions[i]); in getSessions()
962 final ApexSessionInfo[] sessions = waitForApexService().getSessions(); in dump() local
963 for (ApexSessionInfo si : sessions) { in dump()
/aosp14/frameworks/base/apct-tests/perftests/packagemanager/src/android/content/pm/
H A DPackageInstallerBenchmark.java244 List<PackageInstaller.Session> sessions = in commit_aSingleApkSession_untilFinishBenchmark() local
247 for (PackageInstaller.Session session : sessions) { in commit_aSingleApkSession_untilFinishBenchmark()
262 List<PackageInstaller.Session> sessions = createSinglePackageSessions( in commit_threeSingleApkSessions_untilFinishBenchmark() local
265 for (PackageInstaller.Session session : sessions) { in commit_threeSingleApkSessions_untilFinishBenchmark()
283 List<PackageInstaller.Session> sessions = createMultiplePackageSessions( in commit_aMultiplePackagesSession_untilFinishBenchmark() local
286 for (PackageInstaller.Session session : sessions) { in commit_aMultiplePackagesSession_untilFinishBenchmark()
306 List<PackageInstaller.Session> sessions = createMultiplePackageSessions( in commit_threeMultiplePackageSessions_untilFinishBenchmark() local
309 for (PackageInstaller.Session session : sessions) { in commit_threeMultiplePackageSessions_untilFinishBenchmark()
324 List<PackageInstaller.Session> sessions = createSinglePackageSessions( in commit_aMultipleApksSession_untilFinishBenchmark() local
327 for (PackageInstaller.Session session : sessions) { in commit_aMultipleApksSession_untilFinishBenchmark()
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
H A DPackageInstallerSessionTest.kt96 val sessions = createSession { regex
101 val restored = writeRestoreAssert(sessions)
108 val sessions = createSession { regex
121 writeRestoreAssert(sessions).single().params.run {
199 private fun writeRestoreAssert(sessions: List<PackageInstallerSession>) =
200 writeSessions(sessions)
202 .also { assertEquals(sessions, it) }
204 private fun writeSessions(sessions: List<PackageInstallerSession>) {
211 for (session in sessions) {
/aosp14/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/
H A DMediaRouter2ManagerTest.java417 assertThat(sessions).hasSize(2); in testGetRoutingSessions()
419 RoutingSessionInfo sessionInfo = sessions.get(1); in testGetRoutingSessions()
524 assertThat(sessions.size()).isEqualTo(2); in testSelectAndTransferAndRelease()
525 RoutingSessionInfo sessionInfo = sessions.get(1); in testSelectAndTransferAndRelease()
549 List<RoutingSessionInfo> sessions = new ArrayList<>(); in testTransferTwice() local
562 sessions.add(newSession); in testTransferTwice()
596 assertThat(sessions.size()).isEqualTo(2); in testTransferTwice()
606 mManager.releaseSession(sessions.get(0)); in testTransferTwice()
634 RoutingSessionInfo targetSession = sessions.get(sessions.size() - 1); in testTransfer_ignored_fails()
710 assertThat(sessions).hasSize(2); in testSetSessionVolume()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DAccessibilityManagerInternal.java34 SparseArray<IAccessibilityInputMethodSession> sessions, boolean enabled); in setImeSessionEnabled() argument
67 public void setImeSessionEnabled(SparseArray<IAccessibilityInputMethodSession> sessions,
/aosp14/frameworks/base/media/java/android/media/
H A DMediaRouter2Manager.java233 List<RoutingSessionInfo> sessions = getRoutingSessions(packageName); in getAvailableRoutes() local
234 return getAvailableRoutes(sessions.get(sessions.size() - 1)); in getAvailableRoutes()
246 List<RoutingSessionInfo> sessions = getRoutingSessions(packageName); in getTransferableRoutes() local
247 return getTransferableRoutes(sessions.get(sessions.size() - 1)); in getTransferableRoutes()
421 List<RoutingSessionInfo> sessions = new ArrayList<>(); in getRoutingSessions() local
422 sessions.add(getSystemRoutingSession(packageName)); in getRoutingSessions()
426 sessions.add(sessionInfo); in getRoutingSessions()
429 return sessions; in getRoutingSessions()
H A DMediaRoute2ProviderService.java527 List<RoutingSessionInfo> sessions; in updateSessions() local
529 sessions = new ArrayList<>(mSessionInfos.values()); in updateSessions()
533 mRemoteCallback.notifySessionsUpdated(sessions); in updateSessions()
/aosp14/frameworks/base/media/java/android/media/session/
H A DIActiveSessionsListener.aidl25 void onActiveSessionsChanged(in List<MediaSession.Token> sessions); in onActiveSessionsChanged() argument
/aosp14/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
H A DContentCaptureManagerServiceShellCommand.java205 final ArrayList<String> sessions = resultData in requestList()
207 for (String session : sessions) { in requestList()
H A DContentCaptureManagerService.java627 final ArrayList<String> sessions = new ArrayList<>(); in listSessions() local
633 service.listSessionsLocked(sessions); in listSessions()
636 visitServicesLocked((s) -> s.listSessionsLocked(sessions)); in listSessions()
640 resultData.putStringArrayList(RECEIVER_BUNDLE_EXTRA_SESSIONS, sessions); in listSessions()
/aosp14/frameworks/base/core/proto/android/server/
H A Djobscheduler.proto292 // The maximum number of timing sessions an app can run within this particular standby
295 // The maximum number of timing sessions an app can run within this particular standby
298 // The maximum number of timing sessions an app can run within this particular standby
301 // The maximum number of timing sessions an app can run within this particular standby
304 // The maximum number of timing sessions an app can run within this particular standby
307 // The maximum number of timing sessions that should be allowed to run in the past
317 // standby bucket can only have expedited job sessions totalling EJ_LIMIT (without factoring
321 // standby bucket can only have expedited job sessions totalling EJ_LIMIT (without factoring
325 // standby bucket can only have expedited job sessions totalling EJ_LIMIT (without factoring
329 // standby bucket can only have expedited job sessions totalling EJ_LIMIT (without factoring
[all …]
/aosp14/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
H A DSoundTriggerMiddlewareValidation.java117 public Set<Session> sessions = new HashSet<>(); field in SoundTriggerMiddlewareValidation.ModuleState
236 for (Session session : module.sessions) { in dump()
348 mModules.get(mHandle).sessions.add(this); in attach()
645 mModules.get(mHandle).sessions.remove(this); in detachInternal()
H A DREADME.md56 notion of having separate client sessions sharing the same HAL.
61 stack. It also provides concrete connections to the Audio service (for negotiating sessions shared
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
H A DQuotaController.java1093 final int numSessions = sessions.size();
1109 TimedEvent event = sessions.get(i);
1156 if (sessions == null || sessions.size() == 0) {
1177 sessions.remove(i);
1496 if (sessions == null) {
1497 sessions = new ArrayList<>();
1500 sessions.add(session);
2629 if (sessions == null) {
2633 while (sessions.size() > 0) {
2639 sessions.remove(0);
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/touch/
H A DDreamOverlayTouchMonitor.java450 private void isolate(Set<TouchSessionImpl> sessions) {
452 .filter(touchSession -> !sessions.contains(touchSession))
/aosp14/frameworks/base/services/credentials/java/com/android/server/credentials/
H A DMetricUtilities.java254 var sessions = providers.values(); in logApiCalledCandidateGetMetric() local
255 for (var session : sessions) { in logApiCalledCandidateGetMetric()
/aosp14/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DAutofillManagerServiceShellCommand.java431 final ArrayList<String> sessions = resultData in requestList()
433 for (String session : sessions) { in requestList()
H A DAutofillManagerService.java514 final ArrayList<String> sessions = new ArrayList<>(); in listSessions() local
520 service.listSessionsLocked(sessions); in listSessions()
523 visitServicesLocked((s) -> s.listSessionsLocked(sessions)); in listSessions()
527 resultData.putStringArrayList(RECEIVER_BUNDLE_EXTRA_SESSIONS, sessions); in listSessions()
/aosp14/frameworks/base/services/core/java/com/android/server/media/
H A DMediaRoute2ProviderServiceProxy.java384 private void onSessionsUpdated(Connection connection, List<RoutingSessionInfo> sessions) { in onSessionsUpdated() argument
391 for (RoutingSessionInfo session : sessions) { in onSessionsUpdated()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
H A DInfoMediaManager.java199 List<RoutingSessionInfo> sessions = in isRoutingSessionAvailableForVolumeControl() local
202 for (RoutingSessionInfo session : sessions) { in isRoutingSessionAvailableForVolumeControl()
/aosp14/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/
H A DStagedInstallInternalTest.java653 List<PackageInstaller.SessionInfo> sessions = packageInstaller.getStagedSessions(); in assertSessionState() local
655 for (PackageInstaller.SessionInfo session : sessions) { in assertSessionState()
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java375 public void setImeSessionEnabled(SparseArray<IAccessibilityInputMethodSession> sessions, in setImeSessionEnabled() argument
377 mService.scheduleSetImeSessionEnabled(sessions, enabled); in setImeSessionEnabled()
5214 public void scheduleSetImeSessionEnabled(SparseArray<IAccessibilityInputMethodSession> sessions, in scheduleSetImeSessionEnabled() argument
5217 this, sessions, enabled)); in scheduleSetImeSessionEnabled()
5220 private void setImeSessionEnabled(SparseArray<IAccessibilityInputMethodSession> sessions, in setImeSessionEnabled() argument
5226 if (sessions.contains(service.mId) && service.requestImeApis()) { in setImeSessionEnabled()
5227 service.setImeSessionEnabledLocked(sessions.get(service.mId), enabled); in setImeSessionEnabled()
/aosp14/frameworks/base/core/proto/android/service/
H A Dprint.proto51 // The printer discovery sessions

12