Home
last modified time | relevance | path

Searched refs:readUserState (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java283 public PackageUserState readUserState(int userId) { in readUserState() method in PackageSettingBase
299 return readUserState(userId).enabled; in getEnabled()
303 return readUserState(userId).lastDisableAppCaller; in getLastDisabledAppCaller()
311 return readUserState(userId).installed; in getInstalled()
315 return readUserState(userId).installReason; in getInstallReason()
328 return readUserState(userId).overlayPaths; in getOverlayPaths()
339 if (readUserState(user).installed) { in isAnyInstalled()
365 return readUserState(userId).ceDataInode; in getCeDataInode()
373 return readUserState(userId).stopped; in getStopped()
381 return readUserState(userId).notLaunched; in getNotLaunched()
[all …]
DComponentResolver.java276 p, flags, ps.readUserState(userId), userId); in queryProviders()
299 return PackageParser.generateProviderInfo(p, flags, ps.readUserState(userId), userId); in queryProvider()
320 PackageParser.generateProviderInfo(p, 0, ps.readUserState(userId), userId); in querySyncProviders()
1244 final PackageUserState userState = ps.readUserState(userId); in newResult()
1511 final PackageUserState userState = ps.readUserState(userId); in newResult()
1728 final PackageUserState userState = ps.readUserState(userId); in newResult()
DPackageManagerService.java4008 final PackageUserState state = ps.readUserState(userId);
4103 final PackageUserState state = ps.readUserState(userId);
4587 ps.readUserState(userId), userId);
4639 p, flags, ps.readUserState(userId), userId);
5061 a, flags, ps.readUserState(userId), userId);
5136 a, flags, ps.readUserState(userId), userId);
5296 if (!ps.readUserState(userId).isAvailable(flags)) {
5350 s, flags, ps.readUserState(userId), userId);
5374 p, flags, ps.readUserState(userId), userId);
7366 || !ps.readUserState(userId).isEnabled(mInstantAppInstallerActivity, 0)) {
[all …]
DSettings.java851 : oldPackage.readUserState(user.id); in writeUserRestrictionsLPw()
852 if (!oldUserState.equals(newPackage.readUserState(user.id))) { in writeUserRestrictionsLPw()
1981 final PackageUserState ustate = pkg.readUserState(userId); in writePackageRestrictionsLPr()
4231 final PackageUserState userState = ps.readUserState(userId); in isEnabledAndMatchLPr()
4757 final PackageUserState pus = ps.readUserState(user.id); in dumpPackageLPr()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageManagerSettingsTests.java183 final PackageUserState packageUserState1 = ps1.readUserState(0); in testReadPackageRestrictions_oldSuspendInfo()
188 final PackageUserState packageUserState2 = ps2.readUserState(0); in testReadPackageRestrictions_oldSuspendInfo()
231 .readUserState(0); in testReadWritePackageRestrictions_newSuspendInfo()
240 .readUserState(0); in testReadWritePackageRestrictions_newSuspendInfo()
248 .readUserState(0); in testReadWritePackageRestrictions_newSuspendInfo()
292 .readUserState(0); in testReadWritePackageRestrictions_distractionFlags()
296 .readUserState(0); in testReadWritePackageRestrictions_distractionFlags()
300 .readUserState(0); in testReadWritePackageRestrictions_distractionFlags()
462 final PackageUserState userState = testPkgSetting01.readUserState(0); in testUpdatePackageSetting01()
463 final PackageUserState oldUserState = oldPkgSetting01.readUserState(0); in testUpdatePackageSetting01()
[all …]
DScanTests.java126 assertThat(scanResult.pkgSetting.readUserState(uid).installed, is(true)); in newInstallForAllUsers()
/frameworks/base/services/
Dart-profile11252 HSPLcom/android/server/pm/PackageSettingBase;->readUserState(I)Landroid/content/pm/PackageUserState;