Home
last modified time | relevance | path

Searched defs:apiType (Results 1 – 25 of 38) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/unittest/service-core/appsearch/src/com/android/adservices/service/appsearch/
DAppSearchInteractionsDaoTest.java85 String apiType = AppSearchInteractionsDao.API_TYPE_PRIVACY_SANDBOX_FEATURE; in testToString() local
122 String apiType = AppSearchInteractionsDao.API_TYPE_PRIVACY_SANDBOX_FEATURE; in testGetQuery() local
129 String apiType = AppSearchInteractionsDao.API_TYPE_PRIVACY_SANDBOX_FEATURE; in testGetRowId() local
145 String apiType = AppSearchInteractionsDao.API_TYPE_PRIVACY_SANDBOX_FEATURE; in testGetPrivacySandboxFeatureType() local
174 String apiType = AppSearchInteractionsDao.API_TYPE_INTERACTIONS; in testGetManualInteractions() local
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchConsentDao.java77 String id, String userId, String namespace, String apiType, String consent) { in AppSearchConsentDao()
136 public static String getRowId(@NonNull String uid, @NonNull String apiType) { in getRowId()
188 @NonNull String apiType, in readConsentData()
214 static String getQuery(String userId, String apiType) { in getQuery()
DAppSearchInteractionsDao.java94 String id, String userId, String namespace, String apiType, int value) { in AppSearchInteractionsDao()
144 public static String getRowId(@NonNull String uid, @NonNull String apiType) { in getRowId()
252 static String getQuery(String userId, String apiType) { in getQuery()
DAppSearchConsentWorker.java157 boolean getConsent(@NonNull String apiType) { in getConsent()
173 void setConsent(@NonNull String apiType, @NonNull Boolean consented) { in setConsent()
389 String apiType = AppSearchInteractionsDao.API_TYPE_PRIVACY_SANDBOX_FEATURE; in setCurrentPrivacySandboxFeature() local
425 String apiType = AppSearchInteractionsDao.API_TYPE_INTERACTIONS; in recordUserManualInteractionWithConsent() local
DAppSearchConsentManager.java89 public boolean getConsent(@NonNull String apiType) { in getConsent()
99 public void setConsent(@NonNull String apiType, @NonNull Boolean consented) { in setConsent()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DDenylist.java182 @CallStats.CallType int apiType = CallStats.getApiCallTypeFromName(apis[i]); in retrieveApiTypes() local
222 @CallStats.CallType int apiType) { in checkDeniedPackageDatabase()
244 @NonNull String packageName, @CallStats.CallType int apiType) { in checkDeniedPackage()
258 @NonNull String databaseName, @CallStats.CallType int apiType) { in checkDeniedDatabase()
DAppSearchRateLimitConfig.java138 public int getApiCost(@CallStats.CallType int apiType) { in getApiCost()
170 @CallStats.CallType int apiType = CallStats.getApiCallTypeFromName(apiName); in createApiCostsMap() local
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DLogFields.java23 private final int apiType; field in LogFields
43 int apiType, int uriType, int taskType, boolean callerIsSyncAdapter, long startNanos) { in LogFields()
88 private int apiType; field in LogFields.Builder
106 public Builder setApiType(int apiType) { in setApiType()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DFledgeAllowListsFilter.java64 @AppManifestConfigCall.ApiType int apiType) in assertAppInAllowlist()
98 String appPackageName, @AppManifestConfigCall.ApiType int apiType) { in isInAllowList()
DFledgeAuthorizationFilter.java217 @AppManifestConfigCall.ApiType int apiType) in assertAdTechAllowed()
295 private EnrollmentData getEnrollmentData(AdTechIdentifier adTechIdentifier, int apiType) { in getEnrollmentData()
313 Uri uriForAdTech, int apiType) { in getAdTechIdentifierEnrollmentDataPair()
336 @AppManifestConfigCall.ApiType int apiType, in isAllowedAccess()
370 @AppManifestConfigCall.ApiType int apiType) in getAndAssertAdTechFromUriAllowed()
DAbstractFledgeServiceFilter.java133 @AppManifestConfigCall.ApiType int apiType) in getAndAssertAdTechFromUriAllowed()
153 @AppManifestConfigCall.ApiType int apiType) in assertFledgeEnrollment()
177 String callerPackageName, int apiName, @AppManifestConfigCall.ApiType int apiType) in assertAppInAllowList()
DBackgroundJobsManager.java103 public static void scheduleJobsPerApi(@NonNull Context context, AdServicesApiType apiType) { in scheduleJobsPerApi()
119 @NonNull JobScheduler jobScheduler, AdServicesApiType apiType) { in unscheduleJobsPerApi()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/
DUiStatsLogger.java416 public static void logOptInSelected(AdServicesApiType apiType) { in logOptInSelected()
425 public static void logOptOutSelected(AdServicesApiType apiType) { in logOptOutSelected()
605 private static int getDefaultConsent(AdServicesApiType apiType) { in getDefaultConsent()
648 private static int getPerApiConsentAction(AdServicesApiType apiType, boolean isOptIn) { in getPerApiConsentAction()
741 private static UIStats getBaseUiStats(AdServicesApiType apiType) { in getBaseUiStats()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DConsentManager.java394 public void enable(@NonNull Context context, AdServicesApiType apiType) { in enable()
435 public void disable(@NonNull Context context, AdServicesApiType apiType) { in disable()
447 context.getSystemService(JobScheduler.class), apiType); in disable() local
511 public AdServicesApiConsent getConsent(AdServicesApiType apiType) { in getConsent()
DConsentManagerV2.java404 public void enable(@NonNull Context context, AdServicesApiType apiType) { in enable()
441 public void disable(@NonNull Context context, AdServicesApiType apiType) { in disable()
449 context.getSystemService(JobScheduler.class), apiType); in disable() local
493 public AdServicesApiConsent getConsent(AdServicesApiType apiType) { in getConsent()
915 void resetByApi(AdServicesApiType apiType) throws IOException { in resetByApi()
1107 boolean getPerApiConsentFromSourceOfTruth(AdServicesApiType apiType) { in getPerApiConsentFromSourceOfTruth()
1112 void setPerApiConsentToSourceOfTruth(boolean isGiven, AdServicesApiType apiType) { in setPerApiConsentToSourceOfTruth()
DAppConsentForRStorageManager.java103 public AdServicesApiConsent getConsent(AdServicesApiType apiType) { in getConsent()
180 public void setConsent(AdServicesApiType apiType, boolean isGiven) throws IOException { in setConsent()
DConsentCompositeStorage.java202 public AdServicesApiConsent getConsent(AdServicesApiType apiType) { in getConsent()
605 public void setConsent(AdServicesApiType apiType, boolean isGiven) { in setConsent()
613 private void setConsentToApiType(AdServicesApiType apiType, boolean isGiven) { in setConsentToApiType()
DIConsentStorage.java101 AdServicesApiConsent getConsent(@NonNull AdServicesApiType apiType) throws IOException; in getConsent()
192 void setConsent(@NonNull AdServicesApiType apiType, boolean isGiven) throws IOException; in setConsent()
DAppConsentStorageManager.java134 public AdServicesApiConsent getConsent(AdServicesApiType apiType) { in getConsent()
332 public void setConsent(AdServicesApiType apiType, boolean isGiven) throws IOException { in setConsent()
DAdServicesStorageManager.java126 public AdServicesApiConsent getConsent(AdServicesApiType apiType) { in getConsent()
288 public void setConsent(AdServicesApiType apiType, boolean isGiven) { in setConsent()
/packages/modules/AdServices/adservices/tests/cts/hosttests/app/src/com/android/adservices/cts/dao/
DAppSearchConsentDao.java58 String id, String userId, String namespace, String apiType, String consent) { in AppSearchConsentDao()
87 public static String getRowId(@NonNull String uid, @NonNull String apiType) { in getRowId()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/util/
DRateLimitedExecutor.java84 @CallStats.CallType int apiType) { in execute()
133 public boolean addTaskToQueue(@NonNull String packageName, @CallStats.CallType int apiType) { in addTaskToQueue()
159 public void removeTaskFromQueue(@NonNull String packageName, @CallStats.CallType int apiType) { in removeTaskFromQueue()
DServiceImplHelper.java365 @CallStats.CallType int apiType, in executeLambdaForUserAsync()
416 @CallStats.CallType int apiType, in executeLambdaForUserAsync()
461 @CallStats.CallType int apiType, in executeLambdaForUserNoCallbackAsync()
/packages/apps/Camera2/src/com/android/camera/device/
DCameraDeviceKey.java65 public CameraDeviceKey(ApiType apiType, CameraId cameraId) { in CameraDeviceKey()
/packages/modules/AdServices/adservices/tests/cts/hosttests/app/src/com/android/adservices/cts/
DAppSearchWriterActivity.java111 private void setConsent(@NonNull String userId, @NonNull String apiType, boolean consented) { in setConsent()

12