/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | SuspendPackageHelperTest.kt | 54 val failedNames = suspendPackageHelper.setPackagesSuspended(pms.snapshotComputer(), in <lambda>() 60 verify(pms).scheduleWritePackageRestrictions(eq(TEST_USER_ID)) in <lambda>() 71 var failedNames = suspendPackageHelper.setPackagesSuspended(pms.snapshotComputer(), in <lambda>() 78 failedNames = suspendPackageHelper.setPackagesSuspended(pms.snapshotComputer(), in <lambda>() 88 val failedNames = suspendPackageHelper.setPackagesSuspended(pms.snapshotComputer(), in <lambda>() 100 val failedNames = suspendPackageHelper.setPackagesSuspended(pms.snapshotComputer(), in <lambda>() 111 val failedNames = suspendPackageHelper.setPackagesSuspended(pms.snapshotComputer(), in <lambda>() 124 val failedNames = suspendPackageHelper.setPackagesSuspended(pms.snapshotComputer(), in <lambda>() 138 var failedNames = suspendPackageHelper.setPackagesSuspended(pms.snapshotComputer(), in <lambda>() 145 failedNames = suspendPackageHelper.setPackagesSuspended(pms.snapshotComputer(), in <lambda>() [all …]
|
D | InitAppsHelperTest.kt | 83 val pms = createPackageManagerService() in testSystemScanFlagOnFirstBoot() constant 84 assertThat(pms.isFirstBoot).isEqualTo(true) in testSystemScanFlagOnFirstBoot() 85 assertThat(pms.isDeviceUpgrading).isEqualTo(false) in testSystemScanFlagOnFirstBoot() 86 val initAppsHelper = InitAppsHelper(pms, rule.mocks().apexManager, null, in testSystemScanFlagOnFirstBoot() 98 val pms = createPackageManagerService() in testSystemScanFlagWithMockOTA() constant 99 assertThat(pms.isFirstBoot).isEqualTo(false) in testSystemScanFlagWithMockOTA() 100 assertThat(pms.isDeviceUpgrading).isEqualTo(true) in testSystemScanFlagWithMockOTA() 101 val initAppsHelper = InitAppsHelper(pms, rule.mocks().apexManager, null, in testSystemScanFlagWithMockOTA() 112 val pms = createPackageManagerService() in testSystemScanFlagNoOTA() constant 113 assertThat(pms.isFirstBoot).isEqualTo(false) in testSystemScanFlagNoOTA() [all …]
|
D | DistractingPackageHelperTest.kt | 45 pms, broadcastHelper, suspendPackageHelper) in setup() 54 pms.snapshotComputer(), packagesToChange, in setDistractingPackageRestrictionsAsUser() 58 verify(pms).scheduleWritePackageRestrictions(eq(TEST_USER_ID)) in setDistractingPackageRestrictionsAsUser() 72 pms.snapshotComputer(), packagesToChange, in setDistractingPackageRestrictionsAsUser_setSameDistractionRestrictionTwice() 75 clearInvocations(pms) in setDistractingPackageRestrictionsAsUser_setSameDistractionRestrictionTwice() 79 pms.snapshotComputer(), packagesToChange, in setDistractingPackageRestrictionsAsUser_setSameDistractionRestrictionTwice() 82 verify(pms, never()).scheduleWritePackageRestrictions(eq(TEST_USER_ID)) in setDistractingPackageRestrictionsAsUser_setSameDistractionRestrictionTwice() 91 pms.snapshotComputer(), null /* packageNames */, in setDistractingPackageRestrictionsAsUser_emptyPackageName() 96 pms.snapshotComputer(), arrayOfNulls(0) /* packageNames */, in setDistractingPackageRestrictionsAsUser_emptyPackageName() 104 pms.snapshotComputer(), arrayOf(TEST_PACKAGE_1), in setDistractingPackageRestrictionsAsUser_callerIsNotAllowed() [all …]
|
D | PackageFreezerTest.kt | 48 lateinit var pms: PackageManagerService variable in com.android.server.pm.PackageFreezerTest 56 var pms = PackageManagerService(rule.mocks().injector, in createPackageManagerService() variable 64 return pms in createPackageManagerService() 78 pms.checkPackageStartable(pms.snapshotComputer(), TEST_PACKAGE, TEST_USER_ID) in checkPackageStartable() 85 pms = spy(createPackageManagerService(TEST_PACKAGE)) in setup() 86 whenever(pms.killApplication(any(), any(), any(), any(), any())) in setup() 91 val freezer = PackageFreezer(TEST_PACKAGE, TEST_USER_ID, TEST_REASON, pms, in freezePackage() 93 verify(pms, times(1)) in freezePackage() 107 val freezer1 = PackageFreezer(TEST_PACKAGE, TEST_USER_ID, TEST_REASON, pms, in freezePackage_twice() 109 val freezer2 = PackageFreezer(TEST_PACKAGE, TEST_USER_ID, TEST_REASON, pms, in freezePackage_twice() [all …]
|
D | PackageHelperTestBase.kt | 55 lateinit var pms: PackageManagerService variable in com.android.server.pm.PackageHelperTestBase 87 pms = spy(createPackageManagerService( in setup() 92 pms, rule.mocks().injector, broadcastHelper, protectedPackages) in setup() 95 packageSetting1 = pms.snapshotComputer().getPackageStateInternal(TEST_PACKAGE_1)!! in setup() 96 packageSetting2 = pms.snapshotComputer().getPackageStateInternal(TEST_PACKAGE_2)!! in setup() 97 ownerSetting = pms.snapshotComputer().getPackageStateInternal(DEVICE_OWNER_PACKAGE)!! in setup() 108 mockKnownPackages(pms) in setup() 111 private fun mockKnownPackages(pms: PackageManagerService) { in mockKnownPackages() 112 Mockito.doAnswer { it.arguments[0] == DEVICE_ADMIN_PACKAGE }.`when`(pms) in mockKnownPackages() 118 Mockito.doReturn(arrayOf(INSTALLER_PACKAGE)).`when`(pms).getKnownPackageNamesInternal( in mockKnownPackages() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | VerificationUtils.java | 106 PackageManagerService pms) { in processVerificationResponseOnTimeout() argument 109 pms); in processVerificationResponseOnTimeout() 114 PackageVerificationResponse response, PackageManagerService pms) { in processVerificationResponse() argument 117 pms); in processVerificationResponse() 122 PackageManagerService pms) { in processVerificationResponse() argument 134 if (pms != null && verifyingSession != null) { in processVerificationResponse() 138 pms.mContext); in processVerificationResponse() 152 if (pms != null && state.areAllVerificationsComplete()) { in processVerificationResponse() 153 pms.mPendingVerification.remove(verificationId); in processVerificationResponse()
|
/frameworks/base/services/java/com/android/server/ |
D | HsumBootUserInitializer.java | 69 PackageManagerService pms, ContentResolver contentResolver, in createInstance() argument 77 am, pms, contentResolver, in createInstance() 82 PackageManagerService pms, ContentResolver contentResolver, in HsumBootUserInitializer() argument 86 mPms = pms; in HsumBootUserInitializer()
|
/frameworks/base/services/core/java/com/android/server/ |
D | Watchdog.java | 740 IPowerManager pms = (IPowerManager)ServiceManager.getService(Context.POWER_SERVICE); in rebootSystem() local 742 pms.reboot(false, reason, false); in rebootSystem()
|
/frameworks/av/media/libstagefright/httplive/fuzzer/corpus/ |
D | meta | 26498 …���(IJ3,b��F�w"� �3D�(�Iu��d�RTPD�{�w������#q<P����Y��?3\d�H��l���pms���N��{����WyzS-Y… 61912 …���(IJ3,b��F�w"� �3D�(�Iu��d�RTPD�{�w������#q<P����Y��?3\d�H��l���pms���N��{����WyzS-Y…
|
D | meta2 | 26540 …���(IJ3,b��F�w"� �3D�(�Iu��d�RTPD�{�w������#q<P����Y��?3\d�H��l���pms���N��{����WyzS-Y…
|