/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | AppManifestConfigHelper.java | 71 public static boolean isAllowedAttributionAccess(String appPackageName, String enrollmentId) { in isAllowedAttributionAccess() argument 75 appPackageName, in isAllowedAttributionAccess() 90 String appPackageName, String enrollmentId) { in isAllowedCustomAudiencesAccess() argument 94 appPackageName, in isAllowedCustomAudiencesAccess() 109 String appPackageName, String enrollmentId) { in isAllowedProtectedSignalsAccess() argument 113 appPackageName, in isAllowedProtectedSignalsAccess() 127 public static boolean isAllowedAdSelectionAccess(String appPackageName, String enrollmentId) { in isAllowedAdSelectionAccess() argument 132 appPackageName, in isAllowedAdSelectionAccess() 137 || isAllowedCustomAudiencesAccess(appPackageName, enrollmentId) in isAllowedAdSelectionAccess() 138 || isAllowedProtectedSignalsAccess(appPackageName, enrollmentId); in isAllowedAdSelectionAccess() [all …]
|
D | FledgeAuthorizationFilter.java | 138 @NonNull String appPackageName, in assertAppDeclaredPermission() argument 143 Objects.requireNonNull(appPackageName); in assertAppDeclaredPermission() 146 if (!PermissionHelper.hasPermission(context, appPackageName, permission)) { in assertAppDeclaredPermission() 147 logAndThrowPermissionFailure(appPackageName, apiNameLoggingId, permission); in assertAppDeclaredPermission() 162 @NonNull String appPackageName, in assertAppDeclaredAnyPermission() argument 167 Objects.requireNonNull(appPackageName); in assertAppDeclaredAnyPermission() 171 if (PermissionHelper.hasPermission(context, appPackageName, permission)) { in assertAppDeclaredAnyPermission() 175 logAndThrowMultiplePermissionFailure(appPackageName, apiNameLoggingId, permissions); in assertAppDeclaredAnyPermission() 214 @NonNull String appPackageName, in assertAdTechAllowed() argument 220 Objects.requireNonNull(appPackageName); in assertAdTechAllowed() [all …]
|
D | FledgeAllowListsFilter.java | 62 @NonNull String appPackageName, in assertAppInAllowlist() 66 Objects.requireNonNull(appPackageName); in assertAppInAllowlist() 67 if (!isInAllowList(appPackageName, apiType)) { in assertAppInAllowlist() 70 appPackageName, apiNameLoggingId); in assertAppInAllowlist() 73 appPackageName, in assertAppInAllowlist() 98 String appPackageName, @AppManifestConfigCall.ApiType int apiType) { in isInAllowList() argument 100 return AllowLists.isPackageAllowListed(mFlags.getPpapiAppAllowList(), appPackageName); in isInAllowList() 102 return AllowLists.isPackageAllowListed(mFlags.getPasAppAllowList(), appPackageName); in isInAllowList() 104 return AllowLists.isPackageAllowListed(mFlags.getPpapiAppAllowList(), appPackageName) in isInAllowList() 105 || AllowLists.isPackageAllowListed(mFlags.getPasAppAllowList(), appPackageName); in isInAllowList()
|
D | PermissionHelper.java | 49 @NonNull Context context, @NonNull String appPackageName, int callingUid) { in hasTopicsPermission() argument 52 context, appPackageName, AdServicesPermissions.ACCESS_ADSERVICES_TOPICS); in hasTopicsPermission() 68 @NonNull Context context, @NonNull String appPackageName, int callingUid) { in hasAdIdPermission() argument 71 context, appPackageName, AdServicesPermissions.ACCESS_ADSERVICES_AD_ID); in hasAdIdPermission() 87 @NonNull Context context, @NonNull String appPackageName) { in hasAttributionPermission() argument 90 context, appPackageName, AdServicesPermissions.ACCESS_ADSERVICES_ATTRIBUTION); in hasAttributionPermission() 169 @NonNull Context context, @NonNull String appPackageName) { in hasAccessAdServicesCommonStatePermission() argument 171 context, appPackageName, AdServicesPermissions.ACCESS_ADSERVICES_STATE); in hasAccessAdServicesCommonStatePermission()
|
D | AppImportanceFilter.java | 144 @NonNull String appPackageName, int apiNameIdForLogging, @Nullable String sdkName) in assertCallerIsInForeground() 153 int importance = mActivityManager.getPackageImportance(appPackageName); in assertCallerIsInForeground() 156 appPackageName, importance, mImportanceThresholdSupplier.get()); in assertCallerIsInForeground() 161 appPackageName, importance, mImportanceThresholdSupplier.get()); in assertCallerIsInForeground() 163 appPackageName, in assertCallerIsInForeground() 234 @NonNull String appPackageName, in logForegroundViolation() 244 .setAppPackageName(appPackageName) in logForegroundViolation()
|
D | AllowLists.java | 74 @NonNull String allowList, @NonNull String appPackageName) { in isPackageAllowListed() argument 83 .anyMatch(packageName -> packageName.equals(appPackageName)); in isPackageAllowListed() 98 @NonNull String appPackageName) { in isSignatureAllowListed() argument 103 byte[] appSignatureHash = getAppSignatureHash(context, appPackageName); in isSignatureAllowListed() 113 LogUtil.v("App %s has signature(s) as %s", appPackageName, hexSignature); in isSignatureAllowListed()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/devapi/ |
D | CustomAudienceDevOverridesHelper.java | 77 String appPackageName = mDevContext.getCallingAppPackageName(); in getBiddingLogicOverride() local 80 mCustomAudienceDao.getBiddingLogicUriOverride(owner, buyer, name, appPackageName); in getBiddingLogicOverride() 84 appPackageName, owner, buyer, name, result); in getBiddingLogicOverride() 107 String appPackageName = mDevContext.getCallingAppPackageName(); in getTrustedBiddingSignalsOverride() local 111 owner, buyer, name, appPackageName); in getTrustedBiddingSignalsOverride() 145 String appPackageName = mDevContext.getCallingAppPackageName(); in addOverride() local 147 if (Objects.equals(owner, appPackageName)) { in addOverride() 150 appPackageName, in addOverride() 165 .setAppPackageName(appPackageName) in addOverride() 170 owner, appPackageName); in addOverride() [all …]
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestExtensions.cpp | 136 .appPackageName = "", in TEST_F() 229 .appPackageName = package, in TEST_F() 238 .appPackageName = package, in TEST_F() 247 .appPackageName = package, in TEST_F() 256 .appPackageName = package, in TEST_F() 265 .appPackageName = package, in TEST_F() 274 .appPackageName = package_non_allowlisted, in TEST_F() 284 .appPackageName = package_non_allowlisted, in TEST_F() 294 .appPackageName = package_non_allowlisted, in TEST_F() 307 .appPackageName = package, in TEST_F() [all …]
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/ |
D | GetAdServicesCommonStatesParams.java | 34 @Nullable String sdkPackageName, @NonNull String appPackageName) { in GetAdServicesCommonStatesParams() argument 36 mAppPackageName = appPackageName; in GetAdServicesCommonStatesParams() 86 public Builder(String appPackageName, String sdkPackageName) { in Builder() argument 87 mAppPackageName = appPackageName; in Builder() 101 public @NonNull Builder setAppPackageName(@NonNull String appPackageName) { in setAppPackageName() argument 102 mAppPackageName = appPackageName; in setAppPackageName()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/ |
D | AdSelectionEntryDao.java | 143 String adSelectionConfigId, String appPackageName); in doesAdSelectionOverrideExistForPackageName() argument 303 String adSelectionConfigId, String appPackageName); in getDecisionLogicOverride() argument 317 String adSelectionConfigId, String appPackageName); in getTrustedScoringSignalsOverride() argument 331 String adSelectionConfigId, String appPackageName); in getPerBuyerDecisionLogicOverride() argument 448 String adSelectionConfigId, String appPackageName); in removeAdSelectionOverrideByIdAndPackageName() argument 460 String adSelectionConfigId, String appPackageName); in removeBuyerDecisionLogicOverrideByIdAndPackageName() argument 475 public abstract void removeAllAdSelectionOverrides(String appPackageName); in removeAllAdSelectionOverrides() argument 481 public abstract void removeAllBuyerDecisionOverrides(String appPackageName); in removeAllBuyerDecisionOverrides() argument 554 String adSelectionFromOutcomesConfigId, String appPackageName); in doesAdSelectionFromOutcomesOverrideExistForPackageName() argument 568 String adSelectionFromOutcomesConfigId, String appPackageName); in getSelectionLogicOverride() argument [all …]
|
D | DBAdSelectionOverride.java | 67 String appPackageName, in create() argument 72 .setAppPackageName(appPackageName) in create() 92 public abstract DBAdSelectionOverride.Builder setAppPackageName(String appPackageName); in setAppPackageName() argument
|
D | DBAdSelectionFromOutcomesOverride.java | 68 String appPackageName, in create() argument 73 .setAppPackageName(appPackageName) in create() 93 String appPackageName); in setAppPackageName() argument
|
/packages/modules/NeuralNetworks/runtime/ |
D | AppInfoFetcher.cpp | 52 appInfo->appPackageName = packageInfo.appPackageName; in fetchAppPackageLocationInfo() 65 .appPackageName = "", in AppInfoFetcher() 81 .appPackageName = "",
|
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ |
D | WebTriggerInputParcel.java | 59 @NonNull String appPackageName, in WebTriggerInputParcel() argument 64 this.mAppPackageName = appPackageName; in WebTriggerInputParcel() 121 String appPackageName = in.readString(); in WebTriggerInputParcel() local 127 this.mAppPackageName = appPackageName; in WebTriggerInputParcel() 177 @NonNull String appPackageName, in Builder() argument 182 mAppPackageName = appPackageName; in Builder()
|
D | ExecuteInputParcel.java | 61 @NonNull String appPackageName, in ExecuteInputParcel() 63 this.mAppPackageName = appPackageName; in ExecuteInputParcel() 114 String appPackageName = in.readString(); in ExecuteInputParcel() local 117 this.mAppPackageName = appPackageName; in ExecuteInputParcel()
|
/packages/modules/RemoteKeyProvisioning/app/tests/hosttest/src/com/android/rkpdapp/hosttest/ |
D | AtomsHostTest.java | 52 String appPackageName = null; in setUp() local 56 appPackageName = "com.android.rkpdapp"; in setUp() 59 appPackageName = "com.google.android.rkpdapp"; in setUp() 63 if (appPackageName == null) { in setUp() 66 ConfigUtils.uploadConfigForPushedAtoms(getDevice(), appPackageName, mAtoms); in setUp() local
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/adid/ |
D | GetAdIdParam.java | 35 private GetAdIdParam(@Nullable String sdkPackageName, @NonNull String appPackageName) { in GetAdIdParam() argument 37 mAppPackageName = appPackageName; in GetAdIdParam() 98 public @NonNull Builder setAppPackageName(@NonNull String appPackageName) { in setAppPackageName() argument 99 mAppPackageName = appPackageName; in setAppPackageName()
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/appsetid/ |
D | GetAppSetIdParam.java | 35 private GetAppSetIdParam(@Nullable String sdkPackageName, @NonNull String appPackageName) { in GetAppSetIdParam() argument 37 mAppPackageName = appPackageName; in GetAppSetIdParam() 98 public @NonNull Builder setAppPackageName(@NonNull String appPackageName) { in setAppPackageName() argument 99 mAppPackageName = appPackageName; in setAppPackageName()
|
/packages/modules/NeuralNetworks/runtime/packageinfo/ |
D | PackageInfo.cpp | 61 appPackageInfo->appPackageName = new char[packageName.size() + 1]; in ANeuralNetworks_fetch_PackageInfo() 62 memcpy(appPackageInfo->appPackageName, packageName.c_str(), packageName.size() + 1); in ANeuralNetworks_fetch_PackageInfo() 78 if (appPackageInfo->appPackageName != nullptr) { in ANeuralNetworks_free_PackageInfo() 79 delete[] appPackageInfo->appPackageName; in ANeuralNetworks_free_PackageInfo()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/cobalt/ |
D | AppNameApiErrorLogger.java | 90 public void logErrorOccurrence(String appPackageName, int apiCode, int errorCode) { in logErrorOccurrence() argument 99 appPackageName, apiCode); in logErrorOccurrence() 103 Objects.requireNonNull(appPackageName, "appPackageName cannot be null"); in logErrorOccurrence() 109 METRIC_ID, appPackageName, ImmutableList.of(apiCodeEvent, errorCodeEvent)); in logErrorOccurrence()
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/topics/ |
D | GetTopicsParam.java | 41 @NonNull String appPackageName, in GetTopicsParam() argument 45 mAppPackageName = appPackageName; in GetTopicsParam() 133 public @NonNull Builder setAppPackageName(@NonNull String appPackageName) { in setAppPackageName() argument 134 mAppPackageName = appPackageName; in setAppPackageName()
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/measurement/ |
D | RegistrationRequestFixture.java | 29 @NonNull String appPackageName, in getInvalidRegistrationRequest() argument 32 Objects.requireNonNull(appPackageName); in getInvalidRegistrationRequest() 38 parcel.writeString(appPackageName); in getInvalidRegistrationRequest()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/stats/ |
D | MeasurementReportsStatsTest.java | 33 String appPackageName = "appPackageName"; in testBuilderCreateSucceed() local 39 .setSourceRegistrant(appPackageName) in testBuilderCreateSucceed() 46 Assert.assertEquals(appPackageName, measurementReportsStats.getSourceRegistrant()); in testBuilderCreateSucceed()
|
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/oemextension/ |
D | SessionStatus.java | 77 private SessionStatus(long sessionId, int state, int reasonCode, String appPackageName, in SessionStatus() argument 82 mAppPackageName = appPackageName; in SessionStatus() 143 public SessionStatus.Builder setAppPackageName(String appPackageName) { in setAppPackageName() argument 144 mAppPackageName = appPackageName; in setAppPackageName()
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/measurement/ |
D | StatusParam.java | 96 public Builder(@NonNull String appPackageName, @NonNull String sdkPackageName) { in Builder() argument 97 Objects.requireNonNull(appPackageName); in Builder() 99 mAppPackageName = appPackageName; in Builder()
|