Searched refs:addId (Results 1 – 25 of 68) sorted by relevance
123
158 insertedRecordIds.stream().forEach(readUsingIdsRequest::addId); in testReadIntervalRecordsByIds_expectCorrectResponse()185 insertedRecordIds.stream().forEach(readUsingIdsRequest::addId); in testReadInstantRecordsByIds_expectCorrectResponse()300 .addId(ownRecordId1) in testReadAnotherAppsRecordsByIds_recordsAreAfterCutOff_expectAllRecordsReturned()301 .addId(ownRecordId2) in testReadAnotherAppsRecordsByIds_recordsAreAfterCutOff_expectAllRecordsReturned()302 .addId(ownRecordId3) in testReadAnotherAppsRecordsByIds_recordsAreAfterCutOff_expectAllRecordsReturned()319 .addId(ownRecordId1) in testReadAnotherAppsRecordsByIds_recordsAreBeforeCutOff_expectNoRecordsReturned()320 .addId(ownRecordId2) in testReadAnotherAppsRecordsByIds_recordsAreBeforeCutOff_expectNoRecordsReturned()321 .addId(ownRecordId3) in testReadAnotherAppsRecordsByIds_recordsAreBeforeCutOff_expectNoRecordsReturned()
152 insertedRecordIds.forEach(readUsingIdsRequest::addId); in testReadIntervalRecordsByIds_expectCorrectResponse()171 insertedRecordIds.forEach(readUsingIdsRequest::addId); in testReadInstantRecordsByIds_expectCorrectResponse()
69 new ReadRecordsRequestUsingIds.Builder<>(DistanceRecord.class).addId(uuid).build(); in readDataById_noPageTokenSet()102 assertThrows(NullPointerException.class, () -> requestBuilder.addId(null)); in readDataById_nullId_throws()114 assertThrows(IllegalArgumentException.class, () -> request.addId("extra_id")); in readDataById_maxPageSizeExceeded_throws()
132 .addId(sessionId) in readRecords_usingIds_cannotAccessOtherAppRoute()148 .addId(sessionId) in readRecords_usingIds_canAccessOwnRoute()166 .addId(otherAppSessionId) in readRecords_usingIds_mixedOwnAndOtherAppSession()167 .addId(ownSessionId) in readRecords_usingIds_mixedOwnAndOtherAppSession()
140 .addId(sessionId) in readRecords_usingIds_cannotAccessOtherAppRoute()157 .addId(sessionId) in readRecords_usingIds_canAccessOwnRoute()175 .addId(otherAppSessionId) in readRecords_usingIds_mixedOwnAndOtherAppSession()176 .addId(ownSessionId) in readRecords_usingIds_mixedOwnAndOtherAppSession()
130 .addId(sessionId) in readRecords_usingIds_canAccessOtherAppRoute()146 .addId(sessionId) in readRecords_usingIds_canAccessOwnRoute()164 .addId(otherAppSessionId) in readRecords_usingIds_mixedOwnAndOtherAppSession()165 .addId(ownSessionId) in readRecords_usingIds_mixedOwnAndOtherAppSession()
107 .addId(sessionId) in readRecords_usingIds_canNotAccessOtherAppRoute()123 .addId(sessionId) in readRecords_usingIds_canAccessOwnRoute()
96 .addId(sessionId) in readRecords_usingIds_canNotAccessOtherAppRoute()
96 .addId(sessionId) in readRecords_usingIds_canAccessOtherAppRoute()
95 .addId(recordIdInsertedByAppA) in testChangeLogs_insert_multipleApps_noFilter_returnsUpsertLogsForAllApps()102 .addId(recordIdInsertedByAppB) in testChangeLogs_insert_multipleApps_noFilter_returnsUpsertLogsForAllApps()134 .addId(recordIdInsertedByAppA) in testChangeLogs_insert_multipleApps_filterDataOrigin_returnsUpsertLogs()
342 .addId(classAndId.second) in testAppWithReadPerms_readOtherAppsDataByIds_expectSuccess()412 .addId(ownRecordIds.get(0)) in testAppWithWritePermsOnly_readDataByIdForOwnApp_success()413 .addId(ownRecordIds.get(1)) in testAppWithWritePermsOnly_readDataByIdForOwnApp_success()437 .addId(ownRecordIds.get(0)) in testAppWithWritePermsOnly_readDataByIdForOtherApps_filtersOutOtherAppData()438 .addId(ownRecordIds.get(1)) in testAppWithWritePermsOnly_readDataByIdForOtherApps_filtersOutOtherAppData()439 .addId(otherAppRecordId) in testAppWithWritePermsOnly_readDataByIdForOtherApps_filtersOutOtherAppData()
494 .addId(id1) in testInsertRecords_intervalNoClientIdsAndSameTime_overwrites()495 .addId(id2) in testInsertRecords_intervalNoClientIdsAndSameTime_overwrites()530 .addId(id1) in testInsertRecords_intervalDifferentClientIdsAndSameTime_doesNotOverwrite()531 .addId(id2) in testInsertRecords_intervalDifferentClientIdsAndSameTime_doesNotOverwrite()577 .addId(id1) in testInsertRecords_instantNoClientIdsAndSameTime_overwrites()578 .addId(id2) in testInsertRecords_instantNoClientIdsAndSameTime_overwrites()604 .addId(id1) in testInsertRecords_instantDifferentClientIdsAndSameTime_doesNotOverwrite()605 .addId(id2) in testInsertRecords_instantDifferentClientIdsAndSameTime_doesNotOverwrite()634 .addId(id1) in testInsertRecords_hydrationNoClientIdsAndSameTime_doesNotOverwrite()635 .addId(id2) in testInsertRecords_hydrationNoClientIdsAndSameTime_doesNotOverwrite()[all …]
91 request.addId(insertedRecords.get(0).getMetadata().getId()); in testReadExerciseSession_insertAndRead_sessionIsNotAvailable()119 request.addId(insertedRecords.get(0).getMetadata().getId()); in testReadSleepSession_insertAndRead_sessionIsNotAvailable()
82 request.addId(insertedRecords.get(0).getMetadata().getId()); in testReadRoute_insertAndRead_routeIsNotAvailable()
156 request.addId(id); in insertRecordsAndReadRecordsByIds_viaSharedMemory_recordsEqual()204 .addId(id) in seriesDataWithHugeSampleCount_viaSharedMemory_recordEqual()
43 .addId(sessionId) in <lambda>()
184 request.addId(record.getMetadata().getId()); in testReadSkinTemperatureRecord_usingIds()199 .addId(UUID.randomUUID().toString()) in testReadSkinTemperatureRecord_invalidIds()477 request.addId(record.getMetadata().getId()); in testUpdateRecords_validInput_databaseUpdatedSuccessfully()515 request.addId(record.getMetadata().getId()); in testUpdateRecords_invalidInputRecords_noChangeInDatabase()565 request.addId(record.getMetadata().getId()); in testUpdateRecords_recordWithInvalidPackageName_noChangeInDataBase()
232 request.addId(insertedRecord.getMetadata().getId()); in testReadById_insertAndReadByIdOne_recordsAreEqual()251 request.addId(records.get(0).getMetadata().getId()); in testReadById_insertAndReadById_recordsAreEqual()252 request.addId(records.get(1).getMetadata().getId()); in testReadById_insertAndReadById_recordsAreEqual()
206 request.addId(testRecord.getMetadata().getId()); in testUpdateRecord_updateToRecordWithoutRouteWithWritePerm_routeIsNullAfterUpdate()350 request.addId(records.get(0).getMetadata().getId()); in testReadById_insertAndReadById_recordsAreEqual()351 request.addId(records.get(1).getMetadata().getId()); in testReadById_insertAndReadById_recordsAreEqual()362 request.addId(records.get(0).getMetadata().getId()); in testReadById_insertAndReadByIdOne_recordsAreEqual()517 .addId(id) in testDeleteRecord_usingTime_forAnotherApp_notDeleted()
116 .addId(UUID.randomUUID().toString()) in testReadBasalMetabolicRateRecord_invalidIds()362 .addId(id) in testDeleteBasalMetabolicRateRecord_usingTime_forAnotherApp_notDeleted()568 request.addId(record.getMetadata().getId()); in readBasalMetabolicRateRecordUsingIds()
101 .addId(UUID.randomUUID().toString()) in testReadTotalCaloriesBurnedRecord_invalidIds()442 request.addId(record.getMetadata().getId()); in readTotalCaloriesBurnedRecordUsingIds()
99 .addId(UUID.randomUUID().toString()) in testReadMenstruationFlowRecord_invalidIds()235 request.addId(record.getMetadata().getId()); in readMenstruationFlowRecordUsingIds()
98 .addId(UUID.randomUUID().toString()) in testReadSexualActivityRecord_invalidIds()226 request.addId(record.getMetadata().getId()); in readSexualActivityRecordUsingIds()
100 public Builder<T> addId(@NonNull String id) { in addId() method in ReadRecordsRequestUsingIds.Builder
54 val filter = ReadRecordsRequestUsingIds.Builder(record).addId(id).build() in <lambda>()