Home
last modified time | relevance | path

Searched refs:UserPackage (Results 1 – 7 of 7) 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/modules/Permission/PermissionController/src/com/android/permissioncontroller/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/DocumentsUI/src/com/android/documentsui/
DUserPackage.java28 public class UserPackage { class
32 public UserPackage(UserId userId, String packageName) { in UserPackage() method in UserPackage
47 if (o instanceof UserPackage) { in equals()
48 UserPackage other = (UserPackage) o; in equals()
/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/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsFragment.java66 import com.android.documentsui.UserPackage;
447 final Map<UserPackage, ResolveInfo> appsMapping = new HashMap<>(); in includeHandlerApps()
448 final Map<UserPackage, Item> appItems = new HashMap<>(); in includeHandlerApps()
468 UserPackage userPackage = new UserPackage(userId, packageName); in includeHandlerApps()
483 final UserPackage userPackage = new UserPackage(rootItem.userId, in includeHandlerApps()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DProvidersCache.java55 import com.android.documentsui.UserPackage;
222 new UserPackage(userId, packageName),
501 private final UserPackage mForceRefreshUserPackage;
521 @Nullable UserPackage forceRefreshUserPackage,
642 new UserPackage(userId, info.packageName), mForceRefreshUserPackage);