/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | StagingManagerTest.java | 214 List<StagingManager.StagedSession> sessions = new ArrayList<>(); in restoreSessions_handlesDestroyedAndNotReadySessions() local 215 sessions.add(destroyedApkSession); in restoreSessions_handlesDestroyedAndNotReadySessions() 216 sessions.add(destroyedApexSession); in restoreSessions_handlesDestroyedAndNotReadySessions() 217 sessions.add(nonReadyApkSession); in restoreSessions_handlesDestroyedAndNotReadySessions() 218 sessions.add(nonReadyApexSession); in restoreSessions_handlesDestroyedAndNotReadySessions() 219 sessions.add(destroyedNonReadySession); in restoreSessions_handlesDestroyedAndNotReadySessions() 220 sessions.add(regularApkSession); in restoreSessions_handlesDestroyedAndNotReadySessions() 222 mStagingManager.restoreSessions(sessions, false); in restoreSessions_handlesDestroyedAndNotReadySessions() 224 assertThat(sessions).containsExactly(regularApkSession); in restoreSessions_handlesDestroyedAndNotReadySessions() 245 List<StagingManager.StagedSession> sessions = new ArrayList<>(); in restoreSessions_unknownApexSession_failsAllSessions() local [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | StagingManager.java | 876 private void handleNonReadyAndDestroyedSessions(List<StagedSession> sessions) { in handleNonReadyAndDestroyedSessions() argument 877 int j = sessions.size(); in handleNonReadyAndDestroyedSessions() 883 StagedSession session = sessions.get(i); in handleNonReadyAndDestroyedSessions() 887 StagedSession session2 = sessions.set(j - 1, session); in handleNonReadyAndDestroyedSessions() 888 sessions.set(i, session2); in handleNonReadyAndDestroyedSessions() 894 StagedSession session2 = sessions.set(j - 1, session); in handleNonReadyAndDestroyedSessions() 895 sessions.set(i, session2); in handleNonReadyAndDestroyedSessions() 902 sessions.subList(j, sessions.size()).clear(); in handleNonReadyAndDestroyedSessions() 905 void restoreSessions(@NonNull List<StagedSession> sessions, boolean isDeviceUpgrading) { in restoreSessions() argument 915 for (int i = 0; i < sessions.size(); i++) { in restoreSessions() [all …]
|
D | ApexManager.java | 731 final ApexSessionInfo[] sessions = waitForApexService().getSessions(); in getSessions() local 732 final SparseArray<ApexSessionInfo> result = new SparseArray<>(sessions.length); in getSessions() 733 for (int i = 0; i < sessions.length; i++) { in getSessions() 734 result.put(sessions[i].sessionId, sessions[i]); in getSessions() 1116 final ApexSessionInfo[] sessions = waitForApexService().getSessions(); in dump() local 1117 for (ApexSessionInfo si : sessions) { in dump()
|
/frameworks/native/libs/binder/tests/ |
D | binderRpcTest.cpp | 249 std::vector<SessionInfo> sessions; member 253 for (auto& session : sessions) { in ~ProcessSession() 257 for (auto& info : sessions) { in ~ProcessSession() 291 EXPECT_EQ(remoteCounts.size(), proc.sessions.size()); in ~BinderRpcTestProcessSession() 393 ret.sessions.push_back({session, session->getRootObject()}); in createRpcTestSocketServerProcess() 410 ret.rootBinder = ret.proc.sessions.at(0).root; in createRpcTestSocketServerProcess() 423 EXPECT_EQ(nullptr, proc.sessions.at(0).root); in TEST_P() 440 for (auto session : proc.proc.sessions) { in TEST_P() 598 proc.rootIface->repeatBinder(proc.proc.sessions.at(1).root, &outBinder) in TEST_P() 702 std::vector<sp<IBinderRpcSession>> sessions; in TEST_P() local [all …]
|
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/ |
D | MediaRouter2ManagerTest.java | 335 List<RoutingSessionInfo> sessions = mManager.getRoutingSessions(mPackageName); in testGetRoutingSessions() local 336 assertEquals(2, sessions.size()); in testGetRoutingSessions() 338 RoutingSessionInfo sessionInfo = sessions.get(1); in testGetRoutingSessions() 441 List<RoutingSessionInfo> sessions = mManager.getRoutingSessions(mPackageName); in testSelectAndTransferAndRelease() local 443 assertEquals(2, sessions.size()); in testSelectAndTransferAndRelease() 444 RoutingSessionInfo sessionInfo = sessions.get(1); in testSelectAndTransferAndRelease() 468 List<RoutingSessionInfo> sessions = new ArrayList<>(); in testTransferTwice() local 481 sessions.add(newSession); in testTransferTwice() 514 assertEquals(2, sessions.size()); in testTransferTwice() 519 assertFalse(activeSessionIds.contains(sessions.get(0).getId())); in testTransferTwice() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaRouter2Manager.java | 223 List<RoutingSessionInfo> sessions = getRoutingSessions(packageName); in getAvailableRoutes() local 224 return getAvailableRoutes(sessions.get(sessions.size() - 1)); in getAvailableRoutes() 236 List<RoutingSessionInfo> sessions = getRoutingSessions(packageName); in getTransferableRoutes() local 237 return getTransferableRoutes(sessions.get(sessions.size() - 1)); in getTransferableRoutes() 332 List<RoutingSessionInfo> sessions = getRoutingSessions(packageName); in filterRoutesForPackage() local 333 RoutingSessionInfo sessionInfo = sessions.get(sessions.size() - 1); in filterRoutesForPackage() 404 List<RoutingSessionInfo> sessions = new ArrayList<>(); in getRoutingSessions() local 408 sessions.add(new RoutingSessionInfo.Builder(sessionInfo) in getRoutingSessions() 412 sessions.add(sessionInfo); in getRoutingSessions() 415 return sessions; in getRoutingSessions()
|
D | MediaRoute2ProviderService.java | 515 List<RoutingSessionInfo> sessions; in updateSessions() local 517 sessions = new ArrayList<>(mSessionInfo.values()); in updateSessions() 521 mRemoteCallback.notifySessionsUpdated(sessions); in updateSessions()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | QuotaController.java | 1043 List<TimingSession> sessions = mTimingSessions.get(userId, packageName); 1045 if (sessions == null || sessions.size() == 0) { 1064 sessions, startMaxElapsed, maxExecutionTimeRemainingMs); 1073 sessions, startMaxElapsed, maxExecutionTimeRemainingMs), 1075 sessions, startWindowElapsed, allowedTimeRemainingMs)); 1084 private long calculateTimeUntilQuotaConsumedLocked(@NonNull List<TimingSession> sessions, 1088 for (int i = 0; i < sessions.size(); ++i) { 1089 TimingSession session = sessions.get(i); 1129 List<TimingSession> sessions = mEJTimingSessions.get(userId, packageName); 1130 if (sessions == null || sessions.size() == 0) { [all …]
|
/frameworks/base/media/java/android/media/session/ |
D | IActiveSessionsListener.aidl | 25 void onActiveSessionsChanged(in List<MediaSession.Token> sessions); in onActiveSessionsChanged() argument
|
/frameworks/native/libs/binder/ |
D | RpcServer.cpp | 161 std::vector<sp<RpcSession>> sessions; in listSessions() local 164 sessions.push_back(session); in listSessions() 166 return sessions; in listSessions()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | QosCallbackTracker.java | 99 public void updateSessions(@NonNull final List<QosBearerSession> sessions) { in updateSessions() argument 100 logd("updateSessions: sessions size=" + sessions.size()); in updateSessions() 103 for (final QosBearerSession incomingSession : sessions) { in updateSessions()
|
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/ |
D | ContentCaptureManagerServiceShellCommand.java | 205 final ArrayList<String> sessions = resultData in requestList() 207 for (String session : sessions) { in requestList()
|
D | ContentCaptureManagerService.java | 513 final ArrayList<String> sessions = new ArrayList<>(); in listSessions() local 519 service.listSessionsLocked(sessions); in listSessions() 522 visitServicesLocked((s) -> s.listSessionsLocked(sessions)); in listSessions() 526 resultData.putStringArrayList(RECEIVER_BUNDLE_EXTRA_SESSIONS, sessions); in listSessions()
|
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/ |
D | SoundTriggerMiddlewareValidation.java | 119 Set<Session> sessions = new HashSet<>(); field in SoundTriggerMiddlewareValidation.ModuleState 268 for (Session session : module.sessions) { in dump() 414 mModules.get(mHandle).sessions.add(this); in attach() 720 mModules.get(mHandle).sessions.remove(this); in detachInternal()
|
/frameworks/base/core/proto/android/server/ |
D | jobscheduler.proto | 292 // 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 …]
|
/frameworks/base/apex/media/framework/java/android/media/ |
D | MediaSession2Service.java | 134 List<MediaSession2> sessions = getSessions(); in onDestroy() local 135 for (MediaSession2 session : sessions) { in onDestroy()
|
/frameworks/av/camera/aidl/android/hardware/ |
D | ICameraService.aidl | 126 in CameraIdAndSessionConfiguration[] sessions, in isConcurrentSessionConfigurationSupported() argument
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerServiceShellCommand.java | 396 final ArrayList<String> sessions = resultData in requestList() 398 for (String session : sessions) { in requestList()
|
D | AutofillManagerService.java | 418 final ArrayList<String> sessions = new ArrayList<>(); in listSessions() local 424 service.listSessionsLocked(sessions); in listSessions() 427 visitServicesLocked((s) -> s.listSessionsLocked(sessions)); in listSessions() 431 resultData.putStringArrayList(RECEIVER_BUNDLE_EXTRA_SESSIONS, sessions); in listSessions()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageInstallerSessionTest.java | 198 private void dumpSessions(List<PackageInstallerSession> sessions) { in dumpSessions() argument 206 for (PackageInstallerSession session : sessions) { in dumpSessions()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioInputDescriptor.h | 76 void setPreemptedSessions(const SortedVector<audio_session_t>& sessions);
|
/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/ |
D | StagedInstallInternalTest.java | 435 List<PackageInstaller.SessionInfo> sessions = packageInstaller.getStagedSessions(); in assertSessionState() local 437 for (PackageInstaller.SessionInfo session : sessions) { in assertSessionState()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaRoute2ProviderServiceProxy.java | 376 private void onSessionsUpdated(Connection connection, List<RoutingSessionInfo> sessions) { in onSessionsUpdated() argument 383 for (RoutingSessionInfo session : sessions) { in onSessionsUpdated()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioInputDescriptor.cpp | 107 void AudioInputDescriptor::setPreemptedSessions(const SortedVector<audio_session_t>& sessions) in setPreemptedSessions() argument 109 mPreemptedSessions = sessions; in setPreemptedSessions()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationMediaManager.java | 494 final List<MediaController> sessions = in findPlayingMediaNotification() local 497 for (MediaController aController : sessions) { in findPlayingMediaNotification()
|