Home
last modified time | relevance | path

Searched refs:getSessionInfo (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/core/tests/PackageInstallerSessions/src/android/content/pm/
DPackageSessionTests.kt220 assertThat(installer.getSessionInfo(it)?.appLabel) in <lambda>()
233 assertThat(installer.getSessionInfo(it)?.appPackageName) in <lambda>()
247 assertThat(installer.getSessionInfo(it)?.installerPackageName) in <lambda>()
259 assertThat(installer.getSessionInfo(it)?.whitelistedRestrictedPermissions!!) in <lambda>()
286 val sessionInfo = installer.getSessionInfo(sessionId) in <lambda>()
359 assertThat(installer.getSessionInfo(sessionId)!!.isActive).isEqualTo(true) in <lambda>()
395 assertThat(installer.getSessionInfo(sessionId)!!.isActive).isEqualTo(false) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/common/data/repository/
DPackageInstallerMonitorTest.kt98 whenever(packageInstaller.getSessionInfo(1)).thenReturn(session1) in <lambda>()
99 whenever(packageInstaller.getSessionInfo(2)).thenReturn(session2) in <lambda>()
156 whenever(packageInstaller.getSessionInfo(3)).thenReturn(session3) in <lambda>()
209 whenever(packageInstaller.getSessionInfo(1)).thenReturn(newSession) in <lambda>()
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/
DStubMediaRoute2ProviderService.java238 RoutingSessionInfo sessionInfo = getSessionInfo(sessionId); in onSetSessionVolume()
292 RoutingSessionInfo sessionInfo = getSessionInfo(sessionId); in onReleaseSession()
312 RoutingSessionInfo sessionInfo = getSessionInfo(sessionId); in onSelectRoute()
334 RoutingSessionInfo sessionInfo = getSessionInfo(sessionId); in onDeselectRoute()
362 RoutingSessionInfo sessionInfo = getSessionInfo(sessionId); in onTransferToRoute()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DSessionStager.kt78 sessionInfo = pi.getSessionInfo(stagedSessionId) in <lambda>()
DInstallRepository.kt149 packageInstaller.getSessionInfo(sessionId) in <lambda>()
295 val info: SessionInfo? = packageInstaller.getSessionInfo(stagedSessionId) in <lambda>()
482 val info = packageInstaller.getSessionInfo(sessionId) in <lambda>()
495 val info = packageInstaller.getSessionInfo(sessionId) in <lambda>()
512 val stagedSessionInfo = packageInstaller.getSessionInfo(stagedSessionId) in <lambda>()
DPackageUtil.kt211 val sessionInfo = pi.getSessionInfo(sessionId) ?: return false in isCallerSessionOwner()
/frameworks/base/media/java/android/media/session/
DISessionController.aidl45 Bundle getSessionInfo(); in getSessionInfo() method
DMediaController.java416 public Bundle getSessionInfo() { in getSessionInfo() method in MediaController
423 mSessionInfo = mSessionBinder.getSessionInfo(); in getSessionInfo()
/frameworks/base/core/java/android/content/pm/
DIPackageInstaller.aidl45 PackageInstaller.SessionInfo getSessionInfo(int sessionId); in getSessionInfo() method
DPackageInstaller.java897 public @Nullable SessionInfo getSessionInfo(int sessionId) { in getSessionInfo() method in PackageInstaller
899 return mInstaller.getSessionInfo(sessionId); in getSessionInfo()
4055 .getSessionInfo(sessionId); in getAppIcon()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallStart.java108 PackageInstaller.SessionInfo sessionInfo = mPackageInstaller.getSessionInfo(sessionId); in onCreate()
300 PackageInstaller.SessionInfo sessionInfo = mPackageInstaller.getSessionInfo(sessionId); in isCallerSessionOwner()
DInstallStaging.java121 final PackageInstaller.SessionInfo info = mInstaller.getSessionInfo( in onResume()
345 return mInstaller.getSessionInfo(mStagedSessionId); in doInBackground()
DInstallInstalling.java203 PackageInstaller.SessionInfo sessionInfo = installer.getSessionInfo(mSessionId); in onResume()
DPackageInstallerActivity.java390 final SessionInfo info = mInstaller.getSessionInfo(sessionId); in onCreate()
406 final SessionInfo info = mInstaller.getSessionInfo(sessionId); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/data/repository/
DPackageInstallerMonitor.kt125 val session = packageInstaller.getSessionInfo(sessionId) in <lambda>()
/frameworks/base/core/java/android/hardware/display/
DWifiDisplayStatus.java177 public WifiDisplaySessionInfo getSessionInfo() { in getSessionInfo() method in WifiDisplayStatus
/frameworks/base/media/java/android/media/
DMediaRoute2ProviderService.java218 public final RoutingSessionInfo getSessionInfo(@NonNull String sessionId) { in getSessionInfo() method in MediaRoute2ProviderService
602 if (getSessionInfo(sessionId) == null) { in checkSessionIdIsValid()
/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/
DStagedInstallInternalTest.java189 InstallUtils.getPackageInstaller().getSessionInfo(sessionId); in testDuplicateApkInApexShouldFail_Verify()
280 InstallUtils.getPackageInstaller().getSessionInfo(sessionId); in testFailStagedSessionIfStagingDirectoryDeleted_Verify()
665 PackageInstaller.SessionInfo sessionInfo = packageInstaller.getSessionInfo(sessionId); in assertSessionState()
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DWatchdogRollbackLoggerTest.java69 when(mockPi.getSessionInfo(anyInt())).thenReturn(mockSessionInfo); in setUp()
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayController.java675 mListener.onDisplaySessionInfo(getSessionInfo(mConnectedDeviceGroupInfo, 0)); in updateConnection()
763 getSessionInfo(mConnectedDeviceGroupInfo, session)); in updateConnection()
800 private WifiDisplaySessionInfo getSessionInfo(WifiP2pGroup info, int session) { in getSessionInfo() method in WifiDisplayController
/frameworks/base/services/core/java/com/android/server/rollback/
DWatchdogRollbackLogger.java150 PackageInstaller.SessionInfo sessionInfo = packageInstaller.getSessionInfo(sessionId); in logRollbackStatusOnBoot()
DRollbackManagerServiceImpl.java638 .getPackageInstaller().getSessionInfo(rollback.getOriginalSessionId());
838 PackageInstaller.SessionInfo packageSession = installer.getSessionInfo(sessionId);
845 ? installer.getSessionInfo(packageSession.getParentSessionId()) : packageSession;
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DPackageInstallerImpl.java213 PackageInstaller.SessionInfo sessionInfo = mPackageInstaller.getSessionInfo(sessionId); in innerCreateSession()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/
DPeopleServiceTest.java163 SessionInfo sessionInfo = mLocalService.getSessionInfo(mSessionId); in testRegisterCallbacks()
/frameworks/base/services/people/java/com/android/server/people/
DPeopleService.java483 SessionInfo getSessionInfo(AppPredictionSessionId sessionId) { in getSessionInfo() method in PeopleService.LocalService

12