Home
last modified time | relevance | path

Searched refs:DBKAnonMessage (Results 1 – 11 of 11) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/kanon/
DKAnonMessageDaoTest.java42 private final DBKAnonMessage.Builder mDefaultDBKAnonMessageBuilder =
43 DBKAnonMessage.builder()
61 List<DBKAnonMessage> dbkAnonMessageList = in testGetNKAnonMessageWithStatus_withNoMessage_returnsEmptyList()
70 DBKAnonMessage message1 = in testGetNKAnonMessageWithStatus_fetchesMessagesWithStatus()
74 DBKAnonMessage message2 = in testGetNKAnonMessageWithStatus_fetchesMessagesWithStatus()
80 List<DBKAnonMessage> fetchedDBKAnonMessagesList = in testGetNKAnonMessageWithStatus_fetchesMessagesWithStatus()
89 DBKAnonMessage message1 = in testGetNKAnonMessageWithStatus_withDifferentStatus_fetchesCorrectMessages()
93 DBKAnonMessage message2 = in testGetNKAnonMessageWithStatus_withDifferentStatus_fetchesCorrectMessages()
99 List<DBKAnonMessage> fetchedDBKAnonMessagesList = in testGetNKAnonMessageWithStatus_withDifferentStatus_fetchesCorrectMessages()
110 DBKAnonMessage message1 = in testDeleteKAnonMessagesWithIds_deletesMessagesWithGivenIdList()
[all …]
DDBKAnonMessageTest.java38 DBKAnonMessage dbkAnonMessage = in testBuildKAnonMessage_validMessage_buildsSuccessfully()
39 DBKAnonMessage.builder() in testBuildKAnonMessage_validMessage_buildsSuccessfully()
63 DBKAnonMessage dbkAnonMessage = in testBuildKAnonMessage_unsetMessageId_buildsSuccessfully()
64 DBKAnonMessage.builder() in testBuildKAnonMessage_unsetMessageId_buildsSuccessfully()
88 DBKAnonMessage.builder() in testBuildKAnonMessage_unsetCreatedAt_throwsError()
102 DBKAnonMessage.builder() in testBuildKAnonMessage_unsetKAnonHashSet_throwsError()
116 DBKAnonMessage.builder() in testBuildKAnonMessage_unsetExpiryInstant_throwsError()
130 DBKAnonMessage.builder() in testBuildKAnonMessage_unsetStatus_throwsError()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/kanon/
DKAnonMessageManagerTest.java28 import com.android.adservices.data.kanon.DBKAnonMessage;
80 private final DBKAnonMessage mDbkAnonMessage1 =
81 DBKAnonMessage.builder()
89 private final DBKAnonMessage mDbkAnonMessage2 =
90 DBKAnonMessage.builder()
98 private final DBKAnonMessage mDbkAnonMessage3 =
99 DBKAnonMessage.builder()
130 List<DBKAnonMessage> dbkAnonMessages = in testPersistNewAnonMessageEntities_shouldPersistSuccessfully()
199 List<DBKAnonMessage> dbkAnonMessages = in testPersistNewAnonMessageEntities_messageWithUnsetId_shouldHaveIdGenerated()
243 List<DBKAnonMessage> dbkAnonMessages = in testPersistNewAnonMessageEntities_ttlIsPickedUpFromDatabase()
DKAnonSignJoinBackgroundJobWorkerTest.java28 import com.android.adservices.data.kanon.DBKAnonMessage;
66 private final DBKAnonMessage.Builder mDbkAnonMessageBuilder =
67 DBKAnonMessage.builder()
97 DBKAnonMessage dbkAnonMessage = in makeSignJoinCalls_nonZeroBackgroundCallBatchSize_makesSignJoinCalls()
131 DBKAnonMessage dbkAnonMessage = in makeSignJoinCalls_zeroBackgroundCallBatchSize_doesNotMakeSignJoinCalls()
DKAnonSignJoinManagerTest.java37 import com.android.adservices.data.kanon.DBKAnonMessage;
94 private final DBKAnonMessage.Builder mDbkAnonMessageBuilder =
95 DBKAnonMessage.builder()
190 DBKAnonMessage dbkAnonMessageAlreadyJoined = in processNewMessage_messageSignedWithActiveClientParams_shouldNotProcessMessage()
227 DBKAnonMessage dbkAnonMessageAlreadyJoined = in processNewMessage_messageSignedWithExpiredClientParams_shouldProcessMessage()
DKAnonCallerImplFullIntegrationTests.java38 import com.android.adservices.data.kanon.DBKAnonMessage;
278 DBKAnonMessage dbKAnonMessage = in createAndPersistKAnonMessages()
279 DBKAnonMessage.builder() in createAndPersistKAnonMessages()
288 DBKAnonMessage dbKAnonMessageSecond = in createAndPersistKAnonMessages()
289 DBKAnonMessage.builder() in createAndPersistKAnonMessages()
DKAnonCallerImplTest.java50 import com.android.adservices.data.kanon.DBKAnonMessage;
559 DBKAnonMessage dbKAnonMessage = in test_signedJoinedSuccessfully_shouldCaptureBackgroundJobStats()
560 DBKAnonMessage.builder() in test_signedJoinedSuccessfully_shouldCaptureBackgroundJobStats()
703 DBKAnonMessage dbKAnonMessage = in createAndPersistKAnonMessages()
704 DBKAnonMessage.builder() in createAndPersistKAnonMessages()
713 DBKAnonMessage dbKAnonMessageSecond = in createAndPersistKAnonMessages()
714 DBKAnonMessage.builder() in createAndPersistKAnonMessages()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/kanon/
DKAnonMessageDao.java33 public abstract void insertKAnonMessage(DBKAnonMessage kAnonMessage); in insertKAnonMessage()
37 public abstract long[] insertAllKAnonMessages(List<DBKAnonMessage> messages); in insertAllKAnonMessages()
41 public abstract List<DBKAnonMessage> getNLatestKAnonMessagesWithStatus( in getNLatestKAnonMessagesWithStatus()
46 public abstract List<DBKAnonMessage> getKAnonMessagesWithMessage(String hashSetToSearch); in getKAnonMessagesWithMessage()
DDBKAnonMessage.java33 @Entity(tableName = DBKAnonMessage.TABLE_NAME)
37 public abstract class DBKAnonMessage { class
118 public static DBKAnonMessage.Builder builder() { in builder()
123 public static DBKAnonMessage create( in create()
184 public abstract DBKAnonMessage build(); in build()
DKAnonDatabase.java32 entities = {DBServerParameters.class, DBClientParameters.class, DBKAnonMessage.class},
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/kanon/
DKAnonMessageManager.java21 import com.android.adservices.data.kanon.DBKAnonMessage;
56 List<DBKAnonMessage> dbkAnonMessages = in persistNewAnonMessageEntities()
121 private DBKAnonMessage parseKAnonMessageEntityToNewDBKAnonMessage( in parseKAnonMessageEntityToNewDBKAnonMessage()
126 return DBKAnonMessage.builder() in parseKAnonMessageEntityToNewDBKAnonMessage()
140 DBKAnonMessage dbkAnonMessage) { in parseDBKAnonMessageToKAnonMessageEntity()