/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/common/data/repository/ |
D | PackageInstallerMonitorTest.kt | 55 @Mock private lateinit var packageInstaller: PackageInstaller in <lambda>() variable in com.android.systemui.common.data.repository.PackageInstallerMonitorTest 97 whenever(packageInstaller.allSessions).thenReturn(defaultSessions) in <lambda>() 98 whenever(packageInstaller.getSessionInfo(1)).thenReturn(session1) in <lambda>() 99 whenever(packageInstaller.getSessionInfo(2)).thenReturn(session2) in <lambda>() 106 packageInstaller, in <lambda>() 114 verify(packageInstaller, never()).registerSessionCallback(any(), eq(handler)) in <lambda>() 128 verify(packageInstaller).registerSessionCallback(capture(), eq(handler)) in <lambda>() 132 verify(packageInstaller, never()).unregisterSessionCallback(any()) in <lambda>() 139 verify(packageInstaller).unregisterSessionCallback(eq(callback)) in <lambda>() 152 verify(packageInstaller).registerSessionCallback(capture(), eq(handler)) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/data/repository/ |
D | PackageInstallerMonitor.kt | 47 private val packageInstaller: PackageInstaller, in <lambda>() constant 65 packageInstaller.allSessions in <lambda>() 71 packageInstaller.registerSessionCallback( in <lambda>() 80 packageInstaller.unregisterSessionCallback(this@PackageInstallerMonitor) in <lambda>() 125 val session = packageInstaller.getSessionInfo(sessionId) in <lambda>()
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | TestPackageInstaller.java | 61 PackageInstaller packageInstaller = mContext.getPackageManager().getPackageInstaller(); in installPackage() local 65 int sessionId = packageInstaller.createSession(params); in installPackage() 66 PackageInstaller.Session session = packageInstaller.openSession(sessionId); in installPackage() 109 PackageInstaller packageInstaller = mContext.getPackageManager().getPackageInstaller(); in uninstall() local 110 packageInstaller.uninstall(mPackageName, intentSender.getIntentSender(mSessionId)); in uninstall()
|
/frameworks/base/services/tests/PackageManagerServiceTests/preverifieddomains/src/com/android/server/pm/test/preverifieddomains/ |
D | PreVerifiedDomainsTests.kt | 126 private lateinit var packageInstaller: PackageInstaller variable in com.android.server.pm.test.preverifieddomains.PreVerifiedDomainsTests 140 packageInstaller = packageManager.packageInstaller in setUp() 212 session = packageInstaller.openSession(sessionId) in testSetAndGetPreVerifiedDomains() 222 val sessionId = packageInstaller.createSession(sessionParam) in createSessionWithPreVerifiedDomains() 223 val session = packageInstaller.openSession(sessionId) in createSessionWithPreVerifiedDomains()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/ |
D | InstallRepository.kt | 74 private val packageInstaller: PackageInstaller = packageManager.packageInstaller in <lambda>() constant in com.android.packageinstaller.v2.model.InstallRepository 149 packageInstaller.getSessionInfo(sessionId) in <lambda>() 183 && !isCallerSessionOwner(packageInstaller, originatingUid, sessionId)) in <lambda>() 185 && !isCallerSessionOwner(packageInstaller, Process.myUid(), stagedSessionId)) in <lambda>() 295 val info: SessionInfo? = packageInstaller.getSessionInfo(stagedSessionId) in <lambda>() 313 stagedSessionId = packageInstaller.createSession(params) in <lambda>() 362 packageInstaller.abandonSession(stagedSessionId) in <lambda>() 396 val installInfo = packageInstaller.readInstallInfo(pfd, debugPathName, 0) in <lambda>() 482 val info = packageInstaller.getSessionInfo(sessionId) in <lambda>() 495 val info = packageInstaller.getSessionInfo(sessionId) in <lambda>() [all …]
|
D | SessionStager.kt | 45 val pi: PackageInstaller = context.packageManager.packageInstaller in <lambda>()
|
D | UninstallRepository.kt | 723 .packageManager.packageInstaller.uninstall( in startUninstall()
|
/frameworks/base/services/tests/BackgroundInstallControlServiceTests/host/test-app/BackgroundInstallControlServiceTestApp/src/com/android/server/pm/test/app/ |
D | BackgroundInstallControlServiceTest.java | 195 PackageInstaller packageInstaller = context.getPackageManager().getPackageInstaller(); in installPackage() local 201 int sessionId = packageInstaller.createSession(params); in installPackage() 202 PackageInstaller.Session session = packageInstaller.openSession(sessionId); in installPackage()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | Rollback.java | 547 PackageInstaller packageInstaller = pm.getPackageInstaller(); in commit() local 557 int parentSessionId = packageInstaller.createSession(parentParams); in commit() 558 PackageInstaller.Session parentSession = packageInstaller.openSession( in commit() 590 int sessionId = packageInstaller.createSession(params); in commit() 591 PackageInstaller.Session session = packageInstaller.openSession(sessionId); in commit()
|
D | WatchdogRollbackLogger.java | 122 PackageInstaller packageInstaller = context.getPackageManager().getPackageInstaller(); in logRollbackStatusOnBoot() local 150 PackageInstaller.SessionInfo sessionInfo = packageInstaller.getSessionInfo(sessionId); in logRollbackStatusOnBoot()
|
/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/ |
D | StagedInstallInternalTest.java | 651 PackageInstaller packageInstaller = getPackageInstaller(); in assertSessionState() local 653 List<PackageInstaller.SessionInfo> sessions = packageInstaller.getStagedSessions(); in assertSessionState() 665 PackageInstaller.SessionInfo sessionInfo = packageInstaller.getSessionInfo(sessionId); in assertSessionState()
|
/frameworks/base/core/tests/PackageInstallerSessions/src/android/content/pm/ |
D | PackageSessionTests.kt | 77 private val installer = context.packageManager.packageInstaller in <lambda>()
|