Home
last modified time | relevance | path

Searched refs:userSetting (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerTests.java1521 private int getExpectedInstallLocation(int userSetting) { in getExpectedInstallLocation() argument
1525 if (userSetting == InstallLocationUtils.APP_INSTALL_AUTO) { in getExpectedInstallLocation()
1527 } else if (userSetting == InstallLocationUtils.APP_INSTALL_EXTERNAL) { in getExpectedInstallLocation()
1529 } else if (userSetting == InstallLocationUtils.APP_INSTALL_INTERNAL) { in getExpectedInstallLocation()
1536 private void setExistingXUserX(int userSetting, int iFlags, int iloc) throws Exception { in setExistingXUserX() argument
1547 setInstallLoc(userSetting); in setExistingXUserX()
1560 int userSetting = InstallLocationUtils.APP_INSTALL_INTERNAL; in testExistingIUserI() local
1562 setExistingXUserX(userSetting, iFlags, PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY); in testExistingIUserI()
1572 int userSetting = InstallLocationUtils.APP_INSTALL_EXTERNAL; in testExistingIUserE() local
1574 setExistingXUserX(userSetting, iFlags, PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY); in testExistingIUserE()
[all …]
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateServiceImpl.java176 String userSetting = mSystemInterface.getUserChosenWebViewProvider(mContext); in prepareWebViewInSystemServer() local
177 if (userSetting != null in prepareWebViewInSystemServer()
178 && !userSetting.equals(mCurrentWebViewPackage.packageName)) { in prepareWebViewInSystemServer()
DWebViewUpdateServiceImpl2.java232 String userSetting = mSystemInterface.getUserChosenWebViewProvider(mContext); in prepareWebViewInSystemServer() local
233 if (userSetting != null in prepareWebViewInSystemServer()
234 && !userSetting.equals(mCurrentWebViewPackage.packageName)) { in prepareWebViewInSystemServer()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeScreenBrightness.java271 int userSetting = mSystemSettings.getIntForUser( in clampToUserSetting() local
274 return Math.min(brightness, userSetting); in clampToUserSetting()
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
DWebViewUpdateServiceTest.java134 WebViewProviderInfo[] webviewPackages, String userSetting) { in checkCertainPackageUsedAfterWebViewBootPreparation() argument
136 expectedProviderName, webviewPackages, 1, userSetting); in checkCertainPackageUsedAfterWebViewBootPreparation()
140 WebViewProviderInfo[] webviewPackages, int numRelros, String userSetting) { in checkCertainPackageUsedAfterWebViewBootPreparation() argument
142 if (userSetting != null) { in checkCertainPackageUsedAfterWebViewBootPreparation()
143 mTestSystemImpl.updateUserSetting(null, userSetting); in checkCertainPackageUsedAfterWebViewBootPreparation()