Searched refs:keyValueData (Results 1 – 6 of 6) sorted by relevance
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/ |
D | AbstractDbIntegrationTest.java | 177 private boolean areEqualKeyValueData(KeyValueData keyValueData, KeyValueData keyValueData1) { in areEqualKeyValueData() argument 178 return Objects.equals(keyValueData.getKey(), keyValueData1.getKey()) in areEqualKeyValueData() 179 && Objects.equals(keyValueData.getDataType(), keyValueData1.getDataType()) in areEqualKeyValueData() 180 && Objects.equals(keyValueData.getValue(), keyValueData1.getValue()); in areEqualKeyValueData() 364 for (KeyValueData keyValueData : input.mKeyValueDataList) { in seedTables() 365 insertToDb(keyValueData, db); in seedTables() 687 public static void insertToDb(KeyValueData keyValueData, SQLiteDatabase db) in insertToDb() argument 690 values.put(MeasurementTables.KeyValueDataContract.KEY, keyValueData.getKey()); in insertToDb() 691 values.put(MeasurementTables.KeyValueDataContract.VALUE, keyValueData.getValue()); in insertToDb() 694 keyValueData.getDataType().toString()); in insertToDb()
|
D | DbState.java | 180 KeyValueData keyValueData = getKeyValueDataFrom(aJSON); in DbState() local 181 mKeyValueDataList.add(keyValueData); in DbState()
|
D | MeasurementDaoTest.java | 5914 KeyValueData keyValueData = optKeyValueData.get(); in getRegistrationRedirectCount_keyMissing() local 5915 assertEquals(KeyValueData.DataType.REGISTRATION_REDIRECT_COUNT, keyValueData.getDataType()); in getRegistrationRedirectCount_keyMissing() 5916 assertEquals("missing_random_id", keyValueData.getKey()); in getRegistrationRedirectCount_keyMissing() 5917 assertNull(keyValueData.getValue()); in getRegistrationRedirectCount_keyMissing() 5918 assertEquals(1, keyValueData.getRegistrationRedirectCount()); in getRegistrationRedirectCount_keyMissing() 5938 KeyValueData keyValueData = optKeyValueData.get(); in getRegistrationRedirectCount_keyExists() local 5939 assertEquals(KeyValueData.DataType.REGISTRATION_REDIRECT_COUNT, keyValueData.getDataType()); in getRegistrationRedirectCount_keyExists() 5940 assertEquals("random_id", keyValueData.getKey()); in getRegistrationRedirectCount_keyExists() 5941 assertEquals("2", keyValueData.getValue()); in getRegistrationRedirectCount_keyExists() 5942 assertEquals(2, keyValueData.getRegistrationRedirectCount()); in getRegistrationRedirectCount_keyExists() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/ |
D | AsyncRegistrationQueueRunner.java | 900 KeyValueData keyValueData = in handleSuccess() local 904 int currentCount = keyValueData.getRegistrationRedirectCount(); in handleSuccess() 918 keyValueData.setRegistrationRedirectCount(currentCount); in handleSuccess() 919 dao.insertOrUpdateKeyValueData(keyValueData); in handleSuccess()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/ |
D | IMeasurementDao.java | 564 void insertOrUpdateKeyValueData(@NonNull KeyValueData keyValueData) throws DatastoreException; in insertOrUpdateKeyValueData() argument
|
D | MeasurementDao.java | 3226 public void insertOrUpdateKeyValueData(@NonNull KeyValueData keyValueData) 3231 keyValueData.getDataType().toString()); 3232 contentValues.put(MeasurementTables.KeyValueDataContract.KEY, keyValueData.getKey()); 3233 contentValues.put(MeasurementTables.KeyValueDataContract.VALUE, keyValueData.getValue());
|