Home
last modified time | relevance | path

Searched refs:getPackageStateInternal (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPreferredComponentTest.java83 doReturn(psInt0).when(mMockPackageManagerInternal).getPackageStateInternal("foo_bar0"); in testPreferredComponent_sameSet_withAppInstalledByDeviceSetup()
84 doReturn(psInt1).when(mMockPackageManagerInternal).getPackageStateInternal("foo_bar1"); in testPreferredComponent_sameSet_withAppInstalledByDeviceSetup()
116 doReturn(psInt0).when(mMockPackageManagerInternal).getPackageStateInternal("foo_bar0"); in testPreferredComponent_notSameSet_withAppNotInstalledByDeviceSetup()
117 doReturn(psInt1).when(mMockPackageManagerInternal).getPackageStateInternal("foo_bar1"); in testPreferredComponent_notSameSet_withAppNotInstalledByDeviceSetup()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageHelperTestBase.kt95 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()
/frameworks/base/services/core/java/com/android/server/pm/
DSuspendPackageHelper.java133 final PackageStateInternal packageState = snapshot.getPackageStateInternal(packageName); in setPackagesSuspended()
264 final PackageStateInternal ps = snapshot.getPackageStateInternal(packageName, callingUid); in getSuspendedPackageAppExtras()
301 snapshot.getPackageStateInternal(packageName); in removeSuspensionsBySuspendingPackage()
370 snapshot.getPackageStateInternal(packageName, callingUid); in getSuspendedPackageLauncherExtras()
398 snapshot.getPackageStateInternal(packageName, callingUid); in isPackageSuspended()
414 final PackageStateInternal packageState = snapshot.getPackageStateInternal( in getSuspendingPackage()
461 final PackageStateInternal packageState = snapshot.getPackageStateInternal( in getSuspendedDialogInfo()
579 PackageStateInternal packageState = snapshot.getPackageStateInternal(packageName); in canSuspendPackageForUser()
DPackageManagerInternalBase.java189 public final PackageStateInternal getPackageStateInternal(String packageName) { in getPackageStateInternal() method in PackageManagerInternalBase
190 return snapshot().getPackageStateInternal(packageName); in getPackageStateInternal()
293 final PackageStateInternal packageState = getPackageStateInternal(packageName); in getDistractingPackageRestrictions()
389 final PackageStateInternal packageState = getPackageStateInternal(packageName); in isPackageEphemeral()
397 final PackageStateInternal packageState = getPackageStateInternal(packageName); in wasPackageEverLaunched()
408 getPackageStateInternal(component.getPackageName()), component, flags, userId); in isEnabledAndMatches()
516 final PackageStateInternal packageState = getPackageStateInternal(packageName); in getPackageTargetSdkVersion()
608 final PackageStateInternal packageState = getPackageStateInternal(packageName); in getEnabledComponents()
618 final PackageStateInternal packageState = getPackageStateInternal(packageName); in getDisabledComponents()
629 final PackageStateInternal packageState = getPackageStateInternal(packageName); in getApplicationEnabledState()
DIncrementalProgressListener.java37 .getPackageStateInternal(mPackageName); in onPackageLoadingProgressChanged()
DComputerEngine.java583 getPackageStateInternal(ai.applicationInfo.packageName, in queryIntentActivitiesInternal()
704 getPackageStateInternal(si.applicationInfo.packageName, in queryIntentServicesInternal()
799 getPackageStateInternal(pkgName, Process.SYSTEM_UID); in queryIntentActivitiesInternalBody()
1273 getPackageStateInternal(info.activityInfo.packageName, 0); in applyPostResolutionFilter()
1308 getPackageStateInternal(info.serviceInfo.packageName, 0); in applyPostServiceResolutionFilter()
1636 final PackageStateInternal ps = getPackageStateInternal(p.getPackageName()); in getPackageInfoInternalBody()
1669 public final PackageStateInternal getPackageStateInternal(String packageName) { in getPackageStateInternal() method in ComputerEngine
1670 return getPackageStateInternal(packageName, Binder.getCallingUid()); in getPackageStateInternal()
1673 public PackageStateInternal getPackageStateInternal(String packageName, in getPackageStateInternal() method in ComputerEngine
1752 PackageStateInternal ps = getPackageStateInternal(p.getPackageName()); in getInstalledPackagesBody()
[all …]
DAppDataHelper.java469 final PackageStateInternal packageState = snapshot.getPackageStateInternal(packageName);
533 final PackageStateInternal packageStateInternal = snapshot.getPackageStateInternal(
567 snapshot.getPackageStateInternal(packageName);
600 snapshot.getPackageStateInternal(packageName);
DDistractingPackageHelper.java183 final PackageStateInternal ps = snapshot.getPackageStateInternal(packageName); in removeDistractingPackageRestrictions()
DPackageManagerService.java1761 snapshot.getPackageStateInternal(packageName); in main()
3449 mAppDataHelper.prepareAppDataContentsLIF(pkg, snapshot.getPackageStateInternal(packageName),
3764 PackageStateInternal packageState = computer.getPackageStateInternal(componentPkgName);
4466 PackageStateInternal ps = snapshot.getPackageStateInternal(packageName);
4502 final PackageStateInternal stateRead = snapshot.getPackageStateInternal(packageName);
4528 final PackageStateInternal packageState = snapshot.getPackageStateInternal(packageName);
4920 final PackageStateInternal ps = newSnapshot.getPackageStateInternal(packageName);
5089 snapshot.getPackageStateInternal(packageNames.get(index));
5163 PackageStateInternal packageState = snapshot.getPackageStateInternal(packageName);
5861 final PackageStateInternal packageState = snapshot.getPackageStateInternal( in setApplicationHiddenSettingAsUser()
[all …]
DRemovePackageHelper.java145 .getPackageStateInternal(pkg.getPackageName()); in removePackageLI()
315 snapshot.getPackageStateInternal(packageName)); in clearPackageStateForUserLIF()
DPreferredActivityHelper.java313 final PackageStateInternal packageState = snapshot.getPackageStateInternal(packageName);
591 .getPackageStateInternal(defaultBrowser);
675 snapshot.getPackageStateInternal(prefPackageName), callingUid,
DResolveIntentHelper.java196 computer.getPackageStateInternal(packageName); in chooseBestActivity()
503 computer.getPackageStateInternal(pi.applicationInfo.packageName, in queryIntentContentProvidersInternal()
545 PackageStateInternal resolvedSetting = computer.getPackageStateInternal( in applyPostContentProviderResolutionFilter()
DBroadcastHelper.java505 snapshot.getPackageStateInternal(packageName, Process.SYSTEM_UID), in sendPostInstallBroadcasts()
646 snapshot.getPackageStateInternal(packageName, Process.SYSTEM_UID), in sendPackageAddedForNewUsers()
781 snapshot.getPackageStateInternal(packageName), callingUid, userId)) { in filterPackages()
815 PackageStateInternal setting = snapshot.getPackageStateInternal(packageName, in sendPackageChangedBroadcast()
DComputer.java200 PackageStateInternal getPackageStateInternal(String packageName); in getPackageStateInternal() method
201 PackageStateInternal getPackageStateInternal(String packageName, int callingUid); in getPackageStateInternal() method
DDexOptHelper.java276 final PackageStateInternal packageState = snapshot.getPackageStateInternal(packageName); in isCallerInstallerForPackage()
283 snapshot.getPackageStateInternal(installSource.mInstallerPackageName); in isCallerInstallerForPackage()
DPreferredComponent.java224 final PackageStateInternal ps = pmi.getPackageStateInternal(ai.packageName); in sameSet()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/
DSmallAreaDetectionControllerTest.java76 when(mMockPackageManagerInternal.getPackageStateInternal(PKG_A)).thenReturn(mMockPkgStateA); in setup()
77 when(mMockPackageManagerInternal.getPackageStateInternal(PKG_B)).thenReturn(mMockPkgStateB); in setup()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationService.java364 PackageStateInternal pkgSetting = snapshot.getPackageStateInternal(packageName); in getDomainVerificationInfo()
489 PackageStateInternal pkgSetting = snapshot.getPackageStateInternal(pkgName); in setDomainVerificationStatusInternal()
518 PackageStateInternal pkgSetting = snapshot.getPackageStateInternal(packageName); in setDomainVerificationStatusInternal()
721 PackageStateInternal pkgSetting = snapshot.getPackageStateInternal(packageName); in setDomainVerificationUserSelectionInternal()
820 PackageStateInternal pkgSetting = snapshot.getPackageStateInternal(packageName); in getDomainVerificationUserState()
908 PackageStateInternal pkgSetting = snapshot.getPackageStateInternal(packageName); in getOwnersForDomainInternal()
935 PackageStateInternal firstPkgSetting = snapshot.getPackageStateInternal(first); in getOwnersForDomainInternal()
936 PackageStateInternal secondPkgSetting = snapshot.getPackageStateInternal(second); in getOwnersForDomainInternal()
1214 PackageStateInternal pkgSetting = snapshot.getPackageStateInternal(pkgName); in writeSettings()
1370 PackageStateInternal pkgSetting = snapshot.getPackageStateInternal(packageName); in printOwnersForPackage()
[all …]
DDomainVerificationDebug.java76 PackageStateInternal pkgSetting = snapshot.getPackageStateInternal(pkgName); in printState()
92 PackageStateInternal pkgSetting = snapshot.getPackageStateInternal(packageName); in printState()
DDomainVerificationSettings.java220 snapshot.getPackageStateInternal(oldState.getPackageName()); in mergePkgState()
/frameworks/base/services/core/java/com/android/server/pm/resolution/
DComponentResolverBase.java150 PackageStateInternal packageState = computer.getPackageStateInternal(p.getPackageName()); in queryProvider()
200 final PackageStateInternal ps = computer.getPackageStateInternal(p.getPackageName()); in queryProviders()
283 final PackageStateInternal ps = computer.getPackageStateInternal(p.getPackageName()); in querySyncProviders()
DComponentResolver.java502 var packageState = computer.getPackageStateInternal(packageName); in adjustPriority()
914 final PackageStateInternal packageState = computer.getPackageStateInternal( in applyMimeGroups()
940 final PackageStateInternal packageState = computer.getPackageStateInternal( in isFilterStopped()
1118 computer.getPackageStateInternal(activity.getPackageName()); in newResult()
1435 computer.getPackageStateInternal(provider.getPackageName()); in newResult()
1670 final PackageStateInternal packageState = computer.getPackageStateInternal( in newResult()
/frameworks/base/services/core/java/com/android/server/display/
DSmallAreaDetectionController.java111 final PackageStateInternal stage = mPackageManager.getPackageStateInternal(pkg); in updateSmallAreaDetection()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationUserSelectionOverrideTest.kt90 whenever(getPackageStateInternal(anyString())) { in <lambda>()
DDomainVerificationSettingsMutationTest.kt250 whenever(getPackageStateInternal(anyString())) { in <lambda>()

123