Home
last modified time | relevance | path

Searched refs:recordList (Results 1 – 25 of 60) sorted by relevance

123

/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/storage/
DStorageAppListTest.kt50 val recordList = recordListFlow.firstWithTimeoutOrNull()!! in <lambda>() constant
51 assertThat(recordList).hasSize(1) in <lambda>()
52 assertThat(recordList.first().app).isSameInstanceAs(APP) in <lambda>()
53 assertThat(recordList.first().size).isEqualTo(0L) in <lambda>()
70 val recordList = recordListFlow.firstWithTimeoutOrNull()!! in <lambda>() constant
71 assertThat(recordList).hasSize(2) in <lambda>()
72 assertThat(recordList.none { it.app === GAME }).isTrue() in <lambda>()
89 val recordList = recordListFlow.firstWithTimeoutOrNull()!! in <lambda>() constant
90 assertThat(recordList).hasSize(1) in <lambda>()
91 assertThat(recordList.all { it.app === GAME }).isTrue() in <lambda>()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/specialaccess/
DPictureInPictureTest.kt87 val recordList = recordListFlow.first() in <lambda>() constant
88 assertThat(recordList).hasSize(1) in <lambda>()
89 val record = recordList[0] in <lambda>()
104 val recordList = recordListFlow.first() in <lambda>() constant
105 assertThat(recordList).hasSize(1) in <lambda>()
106 val record = recordList[0] in <lambda>()
145 val recordList = recordListFlow.first() in <lambda>() constant
146 assertThat(recordList).hasSize(1) in <lambda>()
155 val recordList = recordListFlow.first() in <lambda>() constant
156 assertThat(recordList).isEmpty() in <lambda>()
/packages/apps/Settings/src/com/android/settings/spa/notification/
DAppNotificationsListModel.kt74 ) = recordListFlow.map { recordList -> in <lambda>() method
75 recordList.asyncFilter { record -> in <lambda>()
85 override suspend fun onFirstLoaded(recordList: List<AppNotificationsRecord>): Boolean { in <lambda>()
86 recordList.asyncForEach { it.controller.getEnabled() } in <lambda>()
106 override fun getSpinnerOptions(recordList: List<AppNotificationsRecord>): List<SpinnerOption> { in <lambda>()
108 if (repository.isUserUnlocked(recordList[0].app.userId)) { in <lambda>()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/backgroundinstall/
DBackgroundInstalledAppsPageProviderTest.kt209 val recordList = recordListFlow.first() in <lambda>() constant
211 assertThat(recordList).hasSize(1) in <lambda>()
212 assertThat(recordList[0].app).isSameInstanceAs(APP) in <lambda>()
231 val recordList = recordListFlow.first() in <lambda>() constant
232 assertThat(recordList).hasSize(1) in <lambda>()
233 assertThat(recordList[0]).isSameInstanceAs(APP_RECORD_WITH_PACKAGE_MATCH) in <lambda>()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appcompat/
DUserAspectRatioAppsPageProviderTest.kt115 val recordList = recordListFlow.firstWithTimeoutOrNull()!! in <lambda>() constant
117 assertThat(recordList).hasSize(1) in <lambda>()
118 assertThat(recordList[0].app).isSameInstanceAs(APP) in <lambda>()
128 val recordList = checkNotNull(recordListFlow.firstWithTimeoutOrNull()) in <lambda>() constant
129 assertThat(recordList).containsExactly(APP_RECORD_SUGGESTED) in <lambda>()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/development/compat/
DPlatformCompatAppListModelTest.kt73 val recordList = recordListFlow.first() in <lambda>() constant
74 assertThat(recordList).hasSize(1) in <lambda>()
75 val record = recordList[0] in <lambda>()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DMenstruationFlowRecordTest.java88 List<Record> recordList = in testReadMenstruationFlowRecord_usingIds() local
91 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadMenstruationFlowRecord_usingIds()
107 List<Record> recordList = in testReadMenstruationFlowRecord_usingClientRecordIds() local
110 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadMenstruationFlowRecord_usingClientRecordIds()
230 private void readMenstruationFlowRecordUsingIds(List<Record> recordList) in readMenstruationFlowRecordUsingIds() argument
234 for (Record record : recordList) { in readMenstruationFlowRecordUsingIds()
241 assertThat(result).hasSize(recordList.size()); in readMenstruationFlowRecordUsingIds()
242 assertThat(result).containsExactlyElementsIn(recordList); in readMenstruationFlowRecordUsingIds()
DSexualActivityRecordTest.java88 List<Record> recordList = in testReadSexualActivityRecord_usingIds() local
90 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadSexualActivityRecord_usingIds()
106 List<Record> recordList = in testReadSexualActivityRecord_usingClientRecordIds() local
108 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadSexualActivityRecord_usingClientRecordIds()
221 private void readSexualActivityRecordUsingIds(List<Record> recordList) in readSexualActivityRecordUsingIds() argument
225 for (Record record : recordList) { in readSexualActivityRecordUsingIds()
232 assertThat(result).hasSize(recordList.size()); in readSexualActivityRecordUsingIds()
233 assertThat(result).containsExactlyElementsIn(recordList); in readSexualActivityRecordUsingIds()
DOxygenSaturationRecordTest.java89 List<Record> recordList = in testReadOxygenSaturationRecord_usingIds() local
92 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadOxygenSaturationRecord_usingIds()
108 List<Record> recordList = in testReadOxygenSaturationRecord_usingClientRecordIds() local
111 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadOxygenSaturationRecord_usingClientRecordIds()
231 private void readOxygenSaturationRecordUsingIds(List<Record> recordList) in readOxygenSaturationRecordUsingIds() argument
235 for (Record record : recordList) { in readOxygenSaturationRecordUsingIds()
242 assertThat(result).hasSize(recordList.size()); in readOxygenSaturationRecordUsingIds()
243 assertThat(result).containsExactlyElementsIn(recordList); in readOxygenSaturationRecordUsingIds()
DOvulationTestRecordTest.java88 List<Record> recordList = in testReadOvulationTestRecord_usingIds() local
90 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadOvulationTestRecord_usingIds()
106 List<Record> recordList = in testReadOvulationTestRecord_usingClientRecordIds() local
108 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadOvulationTestRecord_usingClientRecordIds()
219 private void readOvulationTestRecordUsingIds(List<Record> recordList) in readOvulationTestRecordUsingIds() argument
223 for (Record record : recordList) { in readOvulationTestRecordUsingIds()
230 assertThat(result).hasSize(recordList.size()); in readOvulationTestRecordUsingIds()
231 assertThat(result).containsExactlyElementsIn(recordList); in readOvulationTestRecordUsingIds()
DBodyTemperatureRecordTest.java99 List<Record> recordList = in testReadBodyTemperatureRecord_usingIds() local
102 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBodyTemperatureRecord_usingIds()
118 List<Record> recordList = in testReadBodyTemperatureRecord_usingClientRecordIds() local
121 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBodyTemperatureRecord_usingClientRecordIds()
238 private void readBodyTemperatureRecordUsingIds(List<Record> recordList) in readBodyTemperatureRecordUsingIds() argument
242 for (Record record : recordList) { in readBodyTemperatureRecordUsingIds()
249 assertThat(result).hasSize(recordList.size()); in readBodyTemperatureRecordUsingIds()
250 assertThat(result).containsExactlyElementsIn(recordList); in readBodyTemperatureRecordUsingIds()
DBoneMassRecordTest.java88 List<Record> recordList = in testReadBoneMassRecord_usingIds() local
90 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBoneMassRecord_usingIds()
106 List<Record> recordList = in testReadBoneMassRecord_usingClientRecordIds() local
108 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBoneMassRecord_usingClientRecordIds()
212 private void readBoneMassRecordUsingIds(List<Record> recordList) throws InterruptedException { in readBoneMassRecordUsingIds() argument
215 for (Record record : recordList) { in readBoneMassRecordUsingIds()
222 assertThat(result).hasSize(recordList.size()); in readBoneMassRecordUsingIds()
223 assertThat(result).containsExactlyElementsIn(recordList); in readBoneMassRecordUsingIds()
DRespiratoryRateRecordTest.java88 List<Record> recordList = in testReadRespiratoryRateRecord_usingIds() local
91 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadRespiratoryRateRecord_usingIds()
107 List<Record> recordList = in testReadRespiratoryRateRecord_usingClientRecordIds() local
110 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadRespiratoryRateRecord_usingClientRecordIds()
225 private void readRespiratoryRateRecordUsingIds(List<Record> recordList) in readRespiratoryRateRecordUsingIds() argument
229 for (Record record : recordList) { in readRespiratoryRateRecordUsingIds()
236 assertThat(result).hasSize(recordList.size()); in readRespiratoryRateRecordUsingIds()
237 assertThat(result).containsExactlyElementsIn(recordList); in readRespiratoryRateRecordUsingIds()
DCervicalMucusRecordTest.java88 List<Record> recordList = in testReadCervicalMucusRecord_usingIds() local
90 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadCervicalMucusRecord_usingIds()
106 List<Record> recordList = in testReadCervicalMucusRecord_usingClientRecordIds() local
108 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadCervicalMucusRecord_usingClientRecordIds()
222 private void readCervicalMucusRecordUsingIds(List<Record> recordList) in readCervicalMucusRecordUsingIds() argument
226 for (Record record : recordList) { in readCervicalMucusRecordUsingIds()
233 assertThat(result).hasSize(recordList.size()); in readCervicalMucusRecordUsingIds()
234 assertThat(result).containsExactlyElementsIn(recordList); in readCervicalMucusRecordUsingIds()
DBodyFatRecordTest.java88 List<Record> recordList = in testReadBodyFatRecord_usingIds() local
90 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBodyFatRecord_usingIds()
106 List<Record> recordList = in testReadBodyFatRecord_usingClientRecordIds() local
108 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBodyFatRecord_usingClientRecordIds()
207 private void readBodyFatRecordUsingIds(List<Record> recordList) throws InterruptedException { in readBodyFatRecordUsingIds() argument
210 for (Record record : recordList) { in readBodyFatRecordUsingIds()
217 assertThat(result).hasSize(recordList.size()); in readBodyFatRecordUsingIds()
218 assertThat(result).containsExactlyElementsIn(recordList); in readBodyFatRecordUsingIds()
DLeanBodyMassRecordTest.java89 List<Record> recordList = in testReadLeanBodyMassRecord_usingIds() local
91 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadLeanBodyMassRecord_usingIds()
107 List<Record> recordList = in testReadLeanBodyMassRecord_usingClientRecordIds() local
109 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadLeanBodyMassRecord_usingClientRecordIds()
216 private void readLeanBodyMassRecordUsingIds(List<Record> recordList) in readLeanBodyMassRecordUsingIds() argument
220 for (Record record : recordList) { in readLeanBodyMassRecordUsingIds()
227 assertThat(result).hasSize(recordList.size()); in readLeanBodyMassRecordUsingIds()
228 assertThat(result).containsExactlyElementsIn(recordList); in readLeanBodyMassRecordUsingIds()
DActiveCaloriesBurnedRecordTest.java109 List<Record> recordList = in testReadActiveCaloriesBurnedRecord_usingIds() local
113 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadActiveCaloriesBurnedRecord_usingIds()
130 List<Record> recordList = in testReadActiveCaloriesBurnedRecord_usingClientRecordIds() local
134 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadActiveCaloriesBurnedRecord_usingClientRecordIds()
548 private void readActiveCaloriesBurnedRecordUsingIds(List<Record> recordList) in readActiveCaloriesBurnedRecordUsingIds() argument
552 for (Record record : recordList) { in readActiveCaloriesBurnedRecordUsingIds()
559 assertThat(result).hasSize(recordList.size()); in readActiveCaloriesBurnedRecordUsingIds()
560 assertThat(result).containsExactlyElementsIn(recordList); in readActiveCaloriesBurnedRecordUsingIds()
DVo2MaxRecordTest.java87 List<Record> recordList = in testReadVo2MaxRecord_usingIds() local
89 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadVo2MaxRecord_usingIds()
105 List<Record> recordList = in testReadVo2MaxRecord_usingClientRecordIds() local
107 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadVo2MaxRecord_usingClientRecordIds()
207 private void readVo2MaxRecordUsingIds(List<Record> recordList) throws InterruptedException { in readVo2MaxRecordUsingIds() argument
210 for (Record record : recordList) { in readVo2MaxRecordUsingIds()
217 assertThat(result).hasSize(recordList.size()); in readVo2MaxRecordUsingIds()
218 assertThat(result).containsExactlyElementsIn(recordList); in readVo2MaxRecordUsingIds()
DFloorsClimbedRecordTest.java98 List<Record> recordList = in testReadFloorsClimbedRecord_usingIds() local
100 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadFloorsClimbedRecord_usingIds()
123 List<Record> recordList = in testReadFloorsClimbedRecord_usingClientRecordIds() local
125 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadFloorsClimbedRecord_usingClientRecordIds()
487 private void readFloorsClimbedRecordUsingIds(List<Record> recordList) in readFloorsClimbedRecordUsingIds() argument
491 for (Record record : recordList) { in readFloorsClimbedRecordUsingIds()
495 assertThat(result).hasSize(recordList.size()); in readFloorsClimbedRecordUsingIds()
496 assertThat(result).containsExactlyElementsIn(recordList); in readFloorsClimbedRecordUsingIds()
DBloodGlucoseRecordTest.java89 List<Record> recordList = in testReadBloodGlucoseRecord_usingIds() local
91 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBloodGlucoseRecord_usingIds()
107 List<Record> recordList = in testReadBloodGlucoseRecord_usingClientRecordIds() local
109 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBloodGlucoseRecord_usingClientRecordIds()
216 private void readBloodGlucoseRecordUsingIds(List<Record> recordList) in readBloodGlucoseRecordUsingIds() argument
220 for (Record record : recordList) { in readBloodGlucoseRecordUsingIds()
227 assertThat(result).hasSize(recordList.size()); in readBloodGlucoseRecordUsingIds()
228 assertThat(result).containsExactlyElementsIn(recordList); in readBloodGlucoseRecordUsingIds()
DBasalBodyTemperatureRecordTest.java101 List<Record> recordList = in testReadBasalBodyTemperatureRecord_usingIds() local
105 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBasalBodyTemperatureRecord_usingIds()
122 List<Record> recordList = in testReadBasalBodyTemperatureRecord_usingClientRecordIds() local
126 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBasalBodyTemperatureRecord_usingClientRecordIds()
393 private void readBasalBodyTemperatureRecordUsingIds(List<Record> recordList) in readBasalBodyTemperatureRecordUsingIds() argument
397 for (Record record : recordList) { in readBasalBodyTemperatureRecordUsingIds()
404 assertThat(result).hasSize(recordList.size()); in readBasalBodyTemperatureRecordUsingIds()
405 assertThat(result).containsExactlyElementsIn(recordList); in readBasalBodyTemperatureRecordUsingIds()
DBasalMetabolicRateRecordTest.java103 List<Record> recordList = in testReadBasalMetabolicRateRecord_usingIds() local
107 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBasalMetabolicRateRecord_usingIds()
125 List<Record> recordList = in testReadBasalMetabolicRateRecord_usingClientRecordIds() local
129 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBasalMetabolicRateRecord_usingClientRecordIds()
563 private void readBasalMetabolicRateRecordUsingIds(List<Record> recordList) in readBasalMetabolicRateRecordUsingIds() argument
567 for (Record record : recordList) { in readBasalMetabolicRateRecordUsingIds()
574 assertThat(result).hasSize(recordList.size()); in readBasalMetabolicRateRecordUsingIds()
575 assertThat(result).containsExactlyElementsIn(recordList); in readBasalMetabolicRateRecordUsingIds()
DRestingHeartRateRecordTest.java100 List<Record> recordList = in testReadRestingHeartRateRecord_usingIds() local
103 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadRestingHeartRateRecord_usingIds()
119 List<Record> recordList = in testReadRestingHeartRateRecord_usingClientRecordIds() local
122 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadRestingHeartRateRecord_usingClientRecordIds()
242 private void readRestingHeartRateRecordUsingIds(List<Record> recordList) in readRestingHeartRateRecordUsingIds() argument
246 for (Record record : recordList) { in readRestingHeartRateRecordUsingIds()
253 assertThat(result).hasSize(recordList.size()); in readRestingHeartRateRecordUsingIds()
254 assertThat(result).containsExactlyElementsIn(recordList); in readRestingHeartRateRecordUsingIds()
DDistanceRecordTest.java116 List<Record> recordList = in testReadDistanceRecord_usingIds() local
118 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadDistanceRecord_usingIds()
134 List<Record> recordList = in testReadDistanceRecord_usingClientRecordIds() local
136 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadDistanceRecord_usingClientRecordIds()
330 private void readDistanceRecordUsingIds(List<Record> recordList) throws InterruptedException { in readDistanceRecordUsingIds() argument
333 for (Record record : recordList) { in readDistanceRecordUsingIds()
340 assertThat(result).hasSize(recordList.size()); in readDistanceRecordUsingIds()
341 assertThat(result).containsExactlyElementsIn(recordList); in readDistanceRecordUsingIds()
/packages/apps/Settings/src/com/android/settings/spa/development/
DUsageStatsListModel.kt56 override fun getSpinnerOptions(recordList: List<UsageStatsAppRecord>): List<SpinnerOption> = in <lambda>()
68 ) = recordListFlow.map { recordList -> in <lambda>() method
69 recordList.filter { it.usageStats != null } in <lambda>()

123