Home
last modified time | relevance | path

Searched refs:UserPackage (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/webview/
DWebViewAppPickerTest.java40 import android.webkit.UserPackage;
214 UserPackage packageForFirstUser = mock(UserPackage.class); in testDisabledReasonNullIfPackagesOk()
218 UserPackage packageForSecondUser = mock(UserPackage.class); in testDisabledReasonNullIfPackagesOk()
231 UserPackage packageForFirstUser = mock(UserPackage.class); in testDisabledReasonForSingleUserDisabledPackage()
247 UserPackage packageForFirstUser = mock(UserPackage.class); in testDisabledReasonForSingleUserUninstalledPackage()
263 UserPackage packageForFirstUser = mock(UserPackage.class); in testDisabledReasonSeveralUsers()
268 UserPackage packageForSecondUser = mock(UserPackage.class); in testDisabledReasonSeveralUsers()
288 UserPackage packageForFirstUser = mock(UserPackage.class); in testDisabledReasonUninstalledAndDisabled()
293 UserPackage packageForSecondUser = mock(UserPackage.class); in testDisabledReasonUninstalledAndDisabled()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DLocationAccessCheck.java206 private @NonNull ArraySet<UserPackage> loadAlreadyNotifiedPackagesLocked() { in loadAlreadyNotifiedPackagesLocked()
209 ArraySet<UserPackage> packages = new ArraySet<>(); in loadAlreadyNotifiedPackagesLocked()
230 packages.add(new UserPackage(mContext, pkg, user)); in loadAlreadyNotifiedPackagesLocked()
250 private void safeAlreadyNotifiedPackagesLocked(@NonNull ArraySet<UserPackage> packages) { in safeAlreadyNotifiedPackagesLocked()
263 UserPackage userPkg = packages.valueAt(i); in safeAlreadyNotifiedPackagesLocked()
284 ArraySet<UserPackage> alreadyNotifiedPackages = loadAlreadyNotifiedPackagesLocked(); in markAsNotified()
285 alreadyNotifiedPackages.add(new UserPackage(mContext, pkg, user)); in markAsNotified()
378 List<UserPackage> packages = getLocationUsersWithNoNotificationYetLocked(ops); in addLocationNotificationIfNeeded()
389 UserPackage packageToNotifyFor = null; in addLocationNotificationIfNeeded()
394 UserPackage pkg = packages.get(i); in addLocationNotificationIfNeeded()
[all …]
/packages/apps/Settings/src/com/android/settings/webview/
DWebViewUpdateServiceWrapper.java25 import android.webkit.UserPackage;
93 public List<UserPackage> getPackageInfosAllUsers(Context context, String packageName) { in getPackageInfosAllUsers()
94 return UserPackage.getPackageInfosAllUsers(context, packageName, PACKAGE_FLAGS); in getPackageInfosAllUsers()
DWebViewAppPicker.java30 import android.webkit.UserPackage;
152 List<UserPackage> userPackages = in getDisabledReason()
154 for (UserPackage userPackage : userPackages) { in getDisabledReason()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/webview/
DWebViewUpdateServiceWrapper.java25 import android.webkit.UserPackage;
93 public List<UserPackage> getPackageInfosAllUsers(Context context, String packageName) { in getPackageInfosAllUsers()
94 return UserPackage.getPackageInfosAllUsers(context, packageName, PACKAGE_FLAGS); in getPackageInfosAllUsers()
DWebViewAppPicker.java30 import android.webkit.UserPackage;
152 List<UserPackage> userPackages = in getDisabledReason()
154 for (UserPackage userPackage : userPackages) { in getDisabledReason()