Home
last modified time | relevance | path

Searched refs:hasPackage (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/tools/powermodel/src/com/android/powermodel/
DAppInfo.java25 public boolean hasPackage(String pkg) { in hasPackage() method in AppInfo
26 return mAttribution.hasPackage(pkg); in hasPackage()
DAttributionKey.java45 public boolean hasPackage(String pkg) { in hasPackage() method in AttributionKey
DAppList.java45 if (app.hasPackage(pkg)) { in findApp()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsRestrictionsImpl.java413 boolean hasPackage; in dumpRestrictions()
415 hasPackage = packageNames.includes(dumpPackage); in dumpRestrictions()
417 hasPackage = true; in dumpRestrictions()
419 if (!hasPackage) { in dumpRestrictions()
DAppOpsService.java6257 boolean hasPackage = dumpPackage == null || dumpUid == mUidStates.keyAt(i); in dump()
6268 (!hasOp || !hasPackage || !hasMode) && pkgi < pkgOps.size(); in dump()
6286 if (!hasPackage && dumpPackage.equals(ops.packageName)) { in dump()
6287 hasPackage = true; in dump()
6291 if (!hasOp || !hasPackage || !hasMode) { in dump()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DCallerIdentity.java66 public boolean hasPackage() { in hasPackage() method in CallerIdentity
DDevicePolicyManagerService.java6350 || (caller.hasPackage() && isCallerDelegate(caller, DELEGATION_CERT_INSTALL))
6482 || (caller.hasPackage() && (isCallerDelegate || isCredentialManagementApp)));
6551 || (caller.hasPackage() && (isCallerDelegate || isCredentialManagementApp)));
6679 || (caller.hasPackage() && isCallerDelegate(caller, DELEGATION_CERT_SELECTION)));
6818 caller) || isDefaultDeviceOwner(caller))) || (caller.hasPackage() && (
6961 || (caller.hasPackage() && (isCallerDelegate || isCredentialManagementApp)));
9568 || (caller.hasPackage()
9598 || (caller.hasPackage()
11751 || (caller.hasPackage() && isCallerDelegate(caller,
11774 || (caller.hasPackage() && isCallerDelegate(caller, DELEGATION_APP_RESTRICTIONS))) {
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPendingPackageBroadcasts.java47 public boolean hasPackage(@UserIdInt int userId, @NonNull String packageName) { in hasPackage() method in PendingPackageBroadcasts
DShortcutUser.java146 public boolean hasPackage(@NonNull String packageName) { in hasPackage() method in ShortcutUser
DShortcutService.java1467 if (!user.hasPackage(packageName)) { in cleanupDanglingBitmapDirectoriesLocked()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/
DNoteTaskControllerTest.kt270 hasPackage(NOTE_TASK_PACKAGE_NAME) in <lambda>()
294 hasPackage(NOTE_TASK_PACKAGE_NAME) in <lambda>()
451 hasPackage(NOTE_TASK_PACKAGE_NAME) in <lambda>()
673 hasPackage(NOTE_TASK_PACKAGE_NAME) in <lambda>()
/frameworks/base/core/java/com/android/internal/app/procstats/
DUidState.java171 public boolean hasPackage(String packageName) { in hasPackage() method in UidState
DProcessStats.java1877 if (reqPackage != null && !uidState.hasPackage(reqPackage)) { in dumpLocked()