/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/ |
D | AppRestoreButtonTest.kt | 54 private val packageInstaller = mock<PackageInstaller>() constant 62 whenever(userPackageManager.packageInstaller).thenReturn(packageInstaller) in setUp() 115 verify(packageInstaller).requestUnarchive( in appRestoreButton_clicked()
|
D | AppArchiveButtonTest.kt | 55 private val packageInstaller = mock<PackageInstaller>() constant 65 whenever(userPackageManager.packageInstaller).thenReturn(packageInstaller) in setUp() 150 verify(packageInstaller).requestArchive( in appArchiveButton_clicked()
|
D | AppButtonsTest.kt | 73 private lateinit var packageInstaller: PackageInstaller variable in com.android.settings.spa.app.appinfo.AppButtonsTest 89 whenever(packageManager.packageInstaller).thenReturn(packageInstaller) in setUp()
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | NoRollbackPermissionTest.java | 36 PackageInstaller packageInstaller = in testCreateInstallSessionWithReasonRollbackFails() local 46 assertThrows(SecurityException.class, () -> packageInstaller.createSession(parentParams)); in testCreateInstallSessionWithReasonRollbackFails()
|
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/ |
D | AppArchiveButton.kt | 54 private val packageInstaller = userPackageManager.packageInstaller in <lambda>() constant 112 packageInstaller.requestArchive(app.packageName, pendingIntent.intentSender) in <lambda>()
|
D | AppRestoreButton.kt | 51 private val packageInstaller = userPackageManager.packageInstaller in <lambda>() constant 101 packageInstaller.requestUnarchive(app.packageName, pendingIntent.intentSender) in <lambda>()
|
/packages/modules/Permission/tests/cts/permissionmultiuser/src/android/permissionmultiuser/cts/ |
D | AppDataSharingUpdatesTest.kt | 213 @JvmStatic private val packageInstaller = packageManager.packageInstaller in <lambda>() constant 296 val sessionId = packageInstaller.createSession(sessionParam) in <lambda>() 297 return packageInstaller.openSession(sessionId) in <lambda>()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | AddWorkspaceItemsTask.java | 127 InstallSessionHelper packageInstaller = in execute() local 154 SessionInfo sessionInfo = packageInstaller.getActiveSessionInfo(item.user, in execute() 157 if (!packageInstaller.verifySessionInfo(sessionInfo)) { in execute()
|
D | FirstScreenBroadcast.java | 177 private static void printList(String packageInstaller, String label, Set<String> packages) { in printList() argument 179 Log.d(TAG, packageInstaller + ":" + label + ":" + pkg); in printList()
|
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/ |
D | BasePermissionTest.kt | 101 private val packageInstaller = packageManager.packageInstaller in <lambda>() constant 472 val sessionId = packageInstaller.createSession(sessionParam) in <lambda>() 473 val session = packageInstaller.openSession(sessionId)!! in <lambda>()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | InstallPackageTask.java | 278 PackageInstaller packageInstaller = mPm.getPackageInstaller(); in onFinished() local 279 packageInstaller.unregisterSessionCallback(mSessionCallback); in onFinished()
|
/packages/modules/Permission/tests/cts/permissionpolicy/src/android/permissionpolicy/cts/ |
D | RestrictedPermissionsTest.java | 427 final PackageInstaller packageInstaller = getContext() in installRestrictedPermissionUserApp() local 429 final int sessionId = packageInstaller.createSession(params); in installRestrictedPermissionUserApp() 430 final Session session = packageInstaller.openSession(sessionId); in installRestrictedPermissionUserApp()
|