/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/util/ |
D | DebugUtilsTest.java | 38 import com.android.odp.module.common.PackageUtils; 58 .mockStatic(PackageUtils.class) in setUp() 99 doReturn(true).when(() -> PackageUtils.isPackageDebuggable(any(), any())); in testReturnsExceptionCodeIfDebuggableAndFlagEnabled() 113 doReturn(true).when(() -> PackageUtils.isPackageDebuggable(any(), any())); in testDoesNotReturnExceptionCodeIfFlagDisabled() 127 doReturn(false).when(() -> PackageUtils.isPackageDebuggable(any(), any())); in testDoesNotReturnExceptionCodeIfPackageNotDebuggable() 141 doReturn(true).when(() -> PackageUtils.isPackageDebuggable(any(), any())); in testDoesNotReturnExceptionCodeIfDeviceNotDebuggable()
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | PackageUtils.java | 26 final class PackageUtils { class 27 private static final String TAG = PackageUtils.class.getSimpleName(); 41 private PackageUtils() { in PackageUtils() method in PackageUtils
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/enrollment/ |
D | PartnerEnrollmentChecker.java | 19 import com.android.odp.module.common.PackageUtils; 40 PackageUtils.getCertDigest( in isCallerAppEnrolled() 69 PackageUtils.getCertDigest( in isIsolatedServiceEnrolled()
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/download/mdd/ |
D | OnDevicePersonalizationFileGroupPopulator.java | 29 import com.android.odp.module.common.PackageUtils; 134 return packageName + "_" + PackageUtils.getCertDigest(context, packageName); in createPackageFileGroupName() 151 if (PackageUtils.isPackageDebuggable(context, packageName)) { in createDownloadUrl() 170 if (!PackageUtils.isPackageDebuggable(context, packageName)) { in createDownloadUrl() 191 PackageUtils.getCertDigest(context, packageName)).getSyncToken(); in addDownloadUrlQueryParameters()
|
/packages/modules/OnDevicePersonalization/common/java/com/android/odp/module/common/ |
D | PackageUtils.java | 46 public class PackageUtils { class 47 private PackageUtils() { in PackageUtils() method in PackageUtils 91 byte[] digest = PackageUtils.computeSha256DigestBytes(signatures[0].toByteArray()); in getCertDigest()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | PackageUtils.java | 23 public class PackageUtils { class 24 private PackageUtils() { in PackageUtils() method in PackageUtils
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/utils/ |
D | PackageUtils.java | 30 public final class PackageUtils { class 32 private PackageUtils() {} in PackageUtils() method in PackageUtils
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/ |
D | EncryptionUnawareConfirmationMixin.java | 27 import com.android.permissioncontroller.role.utils.PackageUtils; 45 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfo(packageName, context); in getConfirmationMessage()
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/scheduling/ |
D | FederatedComputeLearningJobScheduleOrchestratorTest.java | 41 import com.android.odp.module.common.PackageUtils; 96 PackageUtils.getCertDigest(mContext, mContext.getPackageName())) in checkAndScheduleTest() 112 PackageUtils.getCertDigest(mContext, mContext.getPackageName())) in checkAndScheduleTest()
|
/packages/modules/OnDevicePersonalization/tests/manualtests/src/com/android/ondevicepersonalization/services/download/ |
D | OnDevicePersonalizationDataProcessingAsyncCallableManualTests.java | 29 import com.android.odp.module.common.PackageUtils; 80 PackageUtils.getCertDigest(mContext, mPackageName)); in setup() 97 PackageUtils.getCertDigest(mContext, mPackageName)); in testRun()
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/util/ |
D | PackageUtils.java | 31 public final class PackageUtils { class 33 private PackageUtils() {} in PackageUtils() method in PackageUtils
|
/packages/modules/Permission/service/java/com/android/permission/util/ |
D | PackageUtils.java | 31 public final class PackageUtils { class 32 private PackageUtils() {} in PackageUtils() method in PackageUtils
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/behavior/ |
D | BrowserRoleBehavior.java | 36 import com.android.role.controller.util.PackageUtils; 141 if (PackageUtils.isSystemPackageAsUser(packageName, user, context)) { in grantAsUser() 152 if (PackageUtils.isSystemPackageAsUser(packageName, user, context)) { in revokeAsUser()
|
D | EmergencyRoleBehavior.java | 30 import com.android.role.controller.util.PackageUtils; 60 PackageInfo packageInfo = PackageUtils.getPackageInfoAsUser(packageName, 0, in getFallbackHolderAsUser()
|
D | DialerRoleBehavior.java | 30 import com.android.role.controller.util.PackageUtils; 66 if (PackageUtils.isSystemPackageAsUser(packageName, user, context)) { in grantAsUser()
|
D | SmsRoleBehavior.java | 35 import com.android.role.controller.util.PackageUtils; 119 if (SdkLevel.isAtLeastS() && PackageUtils.isSystemPackageAsUser(packageName, user, in grantAsUser()
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/util/ |
D | DebugUtils.java | 27 import com.android.odp.module.common.PackageUtils; 57 && PackageUtils.isPackageDebuggable(context, service.getPackageName())) { in getIsolatedServiceExceptionCode()
|
D | LogUtils.java | 27 import com.android.odp.module.common.PackageUtils; 57 PackageUtils.getCertDigest( in writeLogRecords()
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/download/ |
D | OnDevicePersonalizationDataProcessingAsyncCallableTests.java | 37 import com.android.odp.module.common.PackageUtils; 137 PackageUtils.getCertDigest(mContext, mPackageName)); in setup() 165 PackageUtils.getCertDigest(mContext, mPackageName)); in testRun() 225 PackageUtils.getCertDigest(mContext, mPackageName)); in testRunOldDataDownloaded()
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/ |
D | AppOp.java | 28 import com.android.role.controller.util.PackageUtils; 130 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfoAsUser(packageName, user, in isAvailableAsUser()
|
D | AppOpPermissions.java | 30 import com.android.role.controller.util.PackageUtils; 53 PackageInfo packageInfo = PackageUtils.getPackageInfoAsUser(packageName, in grantAsUser()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/ |
D | RoleLiveData.java | 32 import com.android.permissioncontroller.role.utils.PackageUtils; 90 ApplicationInfo qualifyingApplicationInfo = PackageUtils.getApplicationInfoAsUser( in loadValueInBackground()
|
D | RoleListLiveData.java | 32 import com.android.permissioncontroller.role.utils.PackageUtils; 115 ApplicationInfo holderApplicationInfo = PackageUtils.getApplicationInfoAsUser( in loadValueInBackground()
|
D | RequestRoleActivity.java | 43 import com.android.permissioncontroller.role.utils.PackageUtils; 141 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfo(mPackageName, this); in onCreate() 323 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfo(packageName, context); in getApplicationUid()
|
/packages/apps/Dialer/java/com/android/dialer/oem/ |
D | MotorolaUtils.java | 24 import com.android.dialer.common.PackageUtils; 150 supportSprintWifiCall = PackageUtils.isPackageEnabled(WIFI_CALL_PACKAGE_NAME, context); in isSupportingSprintWifiCall()
|