Home
last modified time | relevance | path

Searched refs:AdServicesExtDataParams (Results 1 – 19 of 19) sorted by relevance

/packages/modules/AdServices/adservices/framework/java/android/adservices/extdata/
DAdServicesExtDataParams.java39 public final class AdServicesExtDataParams implements Parcelable { class
127 public AdServicesExtDataParams( in AdServicesExtDataParams() method in AdServicesExtDataParams
142 private AdServicesExtDataParams(@NonNull Parcel in) { in AdServicesExtDataParams() method in AdServicesExtDataParams
153 public static final Creator<AdServicesExtDataParams> CREATOR =
154 new Creator<AdServicesExtDataParams>() {
156 public AdServicesExtDataParams createFromParcel(Parcel in) {
157 return new AdServicesExtDataParams(in);
161 public AdServicesExtDataParams[] newArray(int size) {
162 return new AdServicesExtDataParams[size];
253 public AdServicesExtDataParams.Builder setNotificationDisplayed( in setNotificationDisplayed()
[all …]
DGetAdServicesExtDataResult.java34 @NonNull private final AdServicesExtDataParams mAdServicesExtDataParams;
39 @NonNull AdServicesExtDataParams adServicesExtDataParams) { in GetAdServicesExtDataResult()
50 in.readParcelable(AdServicesExtDataParams.class.getClassLoader()); in GetAdServicesExtDataResult()
96 public AdServicesExtDataParams getAdServicesExtDataParams() { in getAdServicesExtDataParams()
120 @NonNull private AdServicesExtDataParams mAdServicesExtDataParams;
140 public Builder setAdServicesExtDataParams(AdServicesExtDataParams adServicesExtDataParams) { in setAdServicesExtDataParams()
DAdServicesExtDataStorageService.java98 public abstract AdServicesExtDataParams onGetAdServicesExtData(); in onGetAdServicesExtData()
107 @NonNull AdServicesExtDataParams adServicesExtDataParams, in onPutAdServicesExtData()
119 AdServicesExtDataParams adServicesExtDataParams = onGetAdServicesExtData();
133 @NonNull AdServicesExtDataParams params,
DIAdServicesExtDataStorageService.aidl19 import android.adservices.extdata.AdServicesExtDataParams;
30 void putAdServicesExtData(in AdServicesExtDataParams params, in putAdServicesExtData()
DAdServicesExtDataParams.aidl19 parcelable AdServicesExtDataParams;
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/extdata/
DAdServicesExtDataStorageServiceManager.java22 import static android.adservices.extdata.AdServicesExtDataParams.BOOLEAN_FALSE;
23 import static android.adservices.extdata.AdServicesExtDataParams.BOOLEAN_TRUE;
24 import static android.adservices.extdata.AdServicesExtDataParams.BOOLEAN_UNKNOWN;
25 import static android.adservices.extdata.AdServicesExtDataParams.STATE_UNKNOWN;
26 import static android.adservices.extdata.AdServicesExtDataParams.UserManualInteraction;
44 import android.adservices.extdata.AdServicesExtDataParams;
73 private static final AdServicesExtDataParams DEFAULT_PARAMS =
74 new AdServicesExtDataParams.Builder()
127 public AdServicesExtDataParams getAdServicesExtData() { in getAdServicesExtData()
142 public void onResult(AdServicesExtDataParams result) { in getAdServicesExtData()
[all …]
DAdServicesExtDataStorageServiceDebugProxy.java19 import static android.adservices.extdata.AdServicesExtDataParams.BOOLEAN_UNKNOWN;
20 import static android.adservices.extdata.AdServicesExtDataParams.STATE_UNKNOWN;
31 import android.adservices.extdata.AdServicesExtDataParams;
83 @NonNull AdServicesExtDataParams params, in setAdServicesExtData()
85 @NonNull AdServicesOutcomeReceiver<AdServicesExtDataParams, Exception> callback) { in setAdServicesExtData() argument
127 @NonNull AdServicesOutcomeReceiver<AdServicesExtDataParams, Exception> callback) { in getAdServicesExtData()
130 AdServicesExtDataParams adServicesExtDataParams = in getAdServicesExtData()
131 new AdServicesExtDataParams.Builder() in getAdServicesExtData()
DAdServicesExtDataStorageServiceWorker.java22 import android.adservices.extdata.AdServicesExtDataParams;
81 @NonNull AdServicesOutcomeReceiver<AdServicesExtDataParams, Exception> callback) { in getAdServicesExtData()
117 @NonNull AdServicesExtDataParams params, in setAdServicesExtData()
119 @NonNull AdServicesOutcomeReceiver<AdServicesExtDataParams, Exception> callback) { in setAdServicesExtData() argument
149 AdServicesOutcomeReceiver<AdServicesExtDataParams, Exception> callback) { in constructCallback() argument
166 AdServicesOutcomeReceiver<AdServicesExtDataParams, Exception> callback,
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/extdata/
DAdServicesExtDataStorageServiceWorkerTest.java20 import static android.adservices.extdata.AdServicesExtDataParams.BOOLEAN_FALSE;
21 import static android.adservices.extdata.AdServicesExtDataParams.BOOLEAN_TRUE;
22 import static android.adservices.extdata.AdServicesExtDataParams.STATE_NO_MANUAL_INTERACTIONS_RECOR…
34 import android.adservices.extdata.AdServicesExtDataParams;
59 private static final AdServicesExtDataParams TEST_PARAMS =
60 new AdServicesExtDataParams.Builder()
105 AdServicesOutcomeReceiverForTests<AdServicesExtDataParams> receiver = in testGetAdServicesExtData_serviceNotFound_resultsInOnErrorSet()
118 AdServicesOutcomeReceiverForTests<AdServicesExtDataParams> receiver = in testGetAdServicesExtData_onResultSet()
122 AdServicesExtDataParams result = receiver.assertSuccess(); in testGetAdServicesExtData_onResultSet()
131 AdServicesOutcomeReceiverForTests<AdServicesExtDataParams> receiver = in testGetAdServicesExtData_onErrorSet()
[all …]
DAdServicesExtDataStorageServiceManagerTest.java22 import static android.adservices.extdata.AdServicesExtDataParams.BOOLEAN_FALSE;
23 import static android.adservices.extdata.AdServicesExtDataParams.BOOLEAN_TRUE;
24 import static android.adservices.extdata.AdServicesExtDataParams.BOOLEAN_UNKNOWN;
25 import static android.adservices.extdata.AdServicesExtDataParams.STATE_NO_MANUAL_INTERACTIONS_RECOR…
26 import static android.adservices.extdata.AdServicesExtDataParams.STATE_UNKNOWN;
51 import android.adservices.extdata.AdServicesExtDataParams;
77 private static final AdServicesExtDataParams TEST_PARAMS =
78 new AdServicesExtDataParams.Builder()
106 @Captor private ArgumentCaptor<AdServicesExtDataParams> mParamsCaptor;
136 AdServicesExtDataParams result = mManager.getAdServicesExtData(); in testGetAdServicesExtData_onResultSet_returnsParams()
[all …]
DAdServicesExtDataStorageServiceDebugProxyTest.java19 import static android.adservices.extdata.AdServicesExtDataParams.BOOLEAN_FALSE;
20 import static android.adservices.extdata.AdServicesExtDataParams.BOOLEAN_TRUE;
21 import static android.adservices.extdata.AdServicesExtDataParams.STATE_NO_MANUAL_INTERACTIONS_RECOR…
36 import android.adservices.extdata.AdServicesExtDataParams;
56 private static final AdServicesExtDataParams TEST_PARAMS =
57 new AdServicesExtDataParams.Builder()
116 AdServicesOutcomeReceiverForTests<AdServicesExtDataParams> receiver = in testGetAdServicesExtData_onResultSet()
120 AdServicesExtDataParams adServicesExtDataParams = receiver.assertSuccess(); in testGetAdServicesExtData_onResultSet()
140 AdServicesOutcomeReceiverForTests<AdServicesExtDataParams> receiver = in testGetAdServicesExtData_onErrorSet()
149 AdServicesOutcomeReceiverForTests<AdServicesExtDataParams> receiver = in testSetAdServicesExtData_onResultSet()
[all …]
/packages/modules/AdServices/adservices/tests/cts/extdata/src/com.android.adservices.tests.extdata/
DAdServicesExtDataServiceCtsTest.java18 import static android.adservices.extdata.AdServicesExtDataParams.BOOLEAN_FALSE;
19 import static android.adservices.extdata.AdServicesExtDataParams.BOOLEAN_TRUE;
20 import static android.adservices.extdata.AdServicesExtDataParams.STATE_UNKNOWN;
24 import android.adservices.extdata.AdServicesExtDataParams;
41 private AdServicesExtDataParams mParamsStorage = null;
43 public AdServicesExtDataParams onGetAdServicesExtData() { in onGetAdServicesExtData()
48 AdServicesExtDataParams adServicesExtDataParams, int[] adServicesExtDataFields) { in onPutAdServicesExtData()
69 AdServicesExtDataParams paramsToUpdate = in testAdServicesExtDataStorageService()
70 new AdServicesExtDataParams( in testAdServicesExtDataStorageService()
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/extdata/
DAdServicesExtDataParamsTest.java28 AdServicesExtDataParams params = in testWriteToParcel()
29 new AdServicesExtDataParams.Builder() in testWriteToParcel()
42 AdServicesExtDataParams fromParcel = in testWriteToParcel()
43 AdServicesExtDataParams.CREATOR.createFromParcel(parcel); in testWriteToParcel()
44 expect.that(AdServicesExtDataParams.CREATOR.newArray(1)).hasLength(1); in testWriteToParcel()
59 AdServicesExtDataParams params = in testToString()
60 new AdServicesExtDataParams.Builder() in testToString()
DGetAdServicesExtDataResultTest.java28 AdServicesExtDataParams params = in testWriteToParcel()
29 new AdServicesExtDataParams.Builder() in testWriteToParcel()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/consent/
DAdExtDataConsentMigrationUtilsV2.java19 import static android.adservices.extdata.AdServicesExtDataParams.BOOLEAN_TRUE;
20 import static android.adservices.extdata.AdServicesExtDataParams.BOOLEAN_UNKNOWN;
21 import static android.adservices.extdata.AdServicesExtDataParams.STATE_MANUAL_INTERACTIONS_RECORDED;
26 import android.adservices.extdata.AdServicesExtDataParams;
88 AdServicesExtDataParams dataFromR = adExtDataManager.getAdServicesExtData(); in handleConsentMigrationFromAdExtDataIfNeededV2()
176 IConsentStorage transferStorage, AdServicesExtDataParams dataFromR) throws IOException { in migrateAdExtDataV2()
DAdExtDataConsentMigrationUtils.java19 import static android.adservices.extdata.AdServicesExtDataParams.BOOLEAN_TRUE;
20 import static android.adservices.extdata.AdServicesExtDataParams.BOOLEAN_UNKNOWN;
21 import static android.adservices.extdata.AdServicesExtDataParams.STATE_MANUAL_INTERACTIONS_RECORDED;
26 import android.adservices.extdata.AdServicesExtDataParams;
91 AdServicesExtDataParams dataFromR = adExtDataManager.getAdServicesExtData(); in handleConsentMigrationFromAdExtDataIfNeeded()
183 AdServicesExtDataParams dataFromR) { in migrateAdExtData()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/consent/
DAdExtDataConsentMigrationUtilsV2Test.java19 import static android.adservices.extdata.AdServicesExtDataParams.BOOLEAN_FALSE;
20 import static android.adservices.extdata.AdServicesExtDataParams.BOOLEAN_TRUE;
21 import static android.adservices.extdata.AdServicesExtDataParams.BOOLEAN_UNKNOWN;
22 import static android.adservices.extdata.AdServicesExtDataParams.STATE_MANUAL_INTERACTIONS_RECORDED;
23 import static android.adservices.extdata.AdServicesExtDataParams.STATE_UNKNOWN;
36 import android.adservices.extdata.AdServicesExtDataParams;
60 private static final AdServicesExtDataParams TEST_PARAMS_WITH_ALL_DATA =
61 new AdServicesExtDataParams.Builder()
69 private static final AdServicesExtDataParams TEST_PARAMS_WITH_PARTIAL_DATA =
70 new AdServicesExtDataParams.Builder()
[all …]
DAdExtDataConsentMigrationUtilsTest.java19 import static android.adservices.extdata.AdServicesExtDataParams.BOOLEAN_FALSE;
20 import static android.adservices.extdata.AdServicesExtDataParams.BOOLEAN_TRUE;
21 import static android.adservices.extdata.AdServicesExtDataParams.BOOLEAN_UNKNOWN;
22 import static android.adservices.extdata.AdServicesExtDataParams.STATE_MANUAL_INTERACTIONS_RECORDED;
23 import static android.adservices.extdata.AdServicesExtDataParams.STATE_UNKNOWN;
36 import android.adservices.extdata.AdServicesExtDataParams;
61 private static final AdServicesExtDataParams TEST_PARAMS_WITH_ALL_DATA =
62 new AdServicesExtDataParams.Builder()
70 private static final AdServicesExtDataParams TEST_PARAMS_WITH_PARTIAL_DATA =
71 new AdServicesExtDataParams.Builder()
[all …]
/packages/modules/AdServices/adservices/framework/api/
Dsystem-current.txt135 …vices.flags.adext_data_service_apis_enabled") public final class AdServicesExtDataParams implement…
136 ctor public AdServicesExtDataParams(int, int, int, int, int, long);
145 …ic final android.os.Parcelable.Creator<android.adservices.extdata.AdServicesExtDataParams> CREATOR;
151 …method @NonNull public abstract android.adservices.extdata.AdServicesExtDataParams onGetAdServices…
152 … void onPutAdServicesExtData(@NonNull android.adservices.extdata.AdServicesExtDataParams, @NonNull…