Home
last modified time | relevance | path

Searched refs:recordList (Results 1 – 25 of 61) 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.kt76 ) = recordListFlow.map { recordList -> in <lambda>() method
77 recordList.asyncFilter { record -> in <lambda>()
87 override suspend fun onFirstLoaded(recordList: List<AppNotificationsRecord>): Boolean { in <lambda>()
88 recordList.asyncForEach { it.controller.getEnabled() } in <lambda>()
108 override fun getSpinnerOptions(recordList: List<AppNotificationsRecord>): List<SpinnerOption> { in <lambda>()
110 if (recordList.isNotEmpty() && repository.isUserUnlocked(recordList[0].app.userId)) { in <lambda>()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/backgroundinstall/
DBackgroundInstalledAppsPageProviderTest.kt200 val recordList = recordListFlow.first() in <lambda>() constant
202 assertThat(recordList).hasSize(1) in <lambda>()
203 assertThat(recordList[0].app).isSameInstanceAs(APP) in <lambda>()
222 val recordList = recordListFlow.first() in <lambda>() constant
223 assertThat(recordList).hasSize(1) in <lambda>()
224 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/
DBloodGlucoseRecordTest.java91 List<Record> recordList = in testReadBloodGlucoseRecord_usingIds() local
93 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBloodGlucoseRecord_usingIds()
109 List<Record> recordList = in testReadBloodGlucoseRecord_usingClientRecordIds() local
111 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBloodGlucoseRecord_usingClientRecordIds()
218 private void readBloodGlucoseRecordUsingIds(List<Record> recordList) in readBloodGlucoseRecordUsingIds() argument
222 for (Record record : recordList) { in readBloodGlucoseRecordUsingIds()
229 assertThat(result).hasSize(recordList.size()); in readBloodGlucoseRecordUsingIds()
230 assertThat(result).containsExactlyElementsIn(recordList); in readBloodGlucoseRecordUsingIds()
DSexualActivityRecordTest.java90 List<Record> recordList = in testReadSexualActivityRecord_usingIds() local
92 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadSexualActivityRecord_usingIds()
108 List<Record> recordList = in testReadSexualActivityRecord_usingClientRecordIds() local
110 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadSexualActivityRecord_usingClientRecordIds()
223 private void readSexualActivityRecordUsingIds(List<Record> recordList) in readSexualActivityRecordUsingIds() argument
227 for (Record record : recordList) { in readSexualActivityRecordUsingIds()
234 assertThat(result).hasSize(recordList.size()); in readSexualActivityRecordUsingIds()
235 assertThat(result).containsExactlyElementsIn(recordList); in readSexualActivityRecordUsingIds()
DLeanBodyMassRecordTest.java91 List<Record> recordList = in testReadLeanBodyMassRecord_usingIds() local
93 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadLeanBodyMassRecord_usingIds()
109 List<Record> recordList = in testReadLeanBodyMassRecord_usingClientRecordIds() local
111 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadLeanBodyMassRecord_usingClientRecordIds()
218 private void readLeanBodyMassRecordUsingIds(List<Record> recordList) in readLeanBodyMassRecordUsingIds() argument
222 for (Record record : recordList) { in readLeanBodyMassRecordUsingIds()
229 assertThat(result).hasSize(recordList.size()); in readLeanBodyMassRecordUsingIds()
230 assertThat(result).containsExactlyElementsIn(recordList); in readLeanBodyMassRecordUsingIds()
DOxygenSaturationRecordTest.java91 List<Record> recordList = in testReadOxygenSaturationRecord_usingIds() local
94 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadOxygenSaturationRecord_usingIds()
110 List<Record> recordList = in testReadOxygenSaturationRecord_usingClientRecordIds() local
113 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadOxygenSaturationRecord_usingClientRecordIds()
233 private void readOxygenSaturationRecordUsingIds(List<Record> recordList) in readOxygenSaturationRecordUsingIds() argument
237 for (Record record : recordList) { in readOxygenSaturationRecordUsingIds()
244 assertThat(result).hasSize(recordList.size()); in readOxygenSaturationRecordUsingIds()
245 assertThat(result).containsExactlyElementsIn(recordList); in readOxygenSaturationRecordUsingIds()
DOvulationTestRecordTest.java90 List<Record> recordList = in testReadOvulationTestRecord_usingIds() local
92 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadOvulationTestRecord_usingIds()
108 List<Record> recordList = in testReadOvulationTestRecord_usingClientRecordIds() local
110 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadOvulationTestRecord_usingClientRecordIds()
221 private void readOvulationTestRecordUsingIds(List<Record> recordList) in readOvulationTestRecordUsingIds() argument
225 for (Record record : recordList) { in readOvulationTestRecordUsingIds()
232 assertThat(result).hasSize(recordList.size()); in readOvulationTestRecordUsingIds()
233 assertThat(result).containsExactlyElementsIn(recordList); in readOvulationTestRecordUsingIds()
DBoneMassRecordTest.java90 List<Record> recordList = in testReadBoneMassRecord_usingIds() local
92 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBoneMassRecord_usingIds()
108 List<Record> recordList = in testReadBoneMassRecord_usingClientRecordIds() local
110 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBoneMassRecord_usingClientRecordIds()
214 private void readBoneMassRecordUsingIds(List<Record> recordList) throws InterruptedException { in readBoneMassRecordUsingIds() argument
217 for (Record record : recordList) { in readBoneMassRecordUsingIds()
224 assertThat(result).hasSize(recordList.size()); in readBoneMassRecordUsingIds()
225 assertThat(result).containsExactlyElementsIn(recordList); in readBoneMassRecordUsingIds()
DFloorsClimbedRecordTest.java100 List<Record> recordList = in testReadFloorsClimbedRecord_usingIds() local
102 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadFloorsClimbedRecord_usingIds()
125 List<Record> recordList = in testReadFloorsClimbedRecord_usingClientRecordIds() local
127 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()
DMenstruationFlowRecordTest.java90 List<Record> recordList = in testReadMenstruationFlowRecord_usingIds() local
93 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadMenstruationFlowRecord_usingIds()
109 List<Record> recordList = in testReadMenstruationFlowRecord_usingClientRecordIds() local
112 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadMenstruationFlowRecord_usingClientRecordIds()
232 private void readMenstruationFlowRecordUsingIds(List<Record> recordList) in readMenstruationFlowRecordUsingIds() argument
236 for (Record record : recordList) { in readMenstruationFlowRecordUsingIds()
243 assertThat(result).hasSize(recordList.size()); in readMenstruationFlowRecordUsingIds()
244 assertThat(result).containsExactlyElementsIn(recordList); in readMenstruationFlowRecordUsingIds()
DBasalBodyTemperatureRecordTest.java103 List<Record> recordList = in testReadBasalBodyTemperatureRecord_usingIds() local
107 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBasalBodyTemperatureRecord_usingIds()
124 List<Record> recordList = in testReadBasalBodyTemperatureRecord_usingClientRecordIds() local
128 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBasalBodyTemperatureRecord_usingClientRecordIds()
395 private void readBasalBodyTemperatureRecordUsingIds(List<Record> recordList) in readBasalBodyTemperatureRecordUsingIds() argument
399 for (Record record : recordList) { in readBasalBodyTemperatureRecordUsingIds()
406 assertThat(result).hasSize(recordList.size()); in readBasalBodyTemperatureRecordUsingIds()
407 assertThat(result).containsExactlyElementsIn(recordList); in readBasalBodyTemperatureRecordUsingIds()
DRespiratoryRateRecordTest.java90 List<Record> recordList = in testReadRespiratoryRateRecord_usingIds() local
93 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadRespiratoryRateRecord_usingIds()
109 List<Record> recordList = in testReadRespiratoryRateRecord_usingClientRecordIds() local
112 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadRespiratoryRateRecord_usingClientRecordIds()
227 private void readRespiratoryRateRecordUsingIds(List<Record> recordList) in readRespiratoryRateRecordUsingIds() argument
231 for (Record record : recordList) { in readRespiratoryRateRecordUsingIds()
238 assertThat(result).hasSize(recordList.size()); in readRespiratoryRateRecordUsingIds()
239 assertThat(result).containsExactlyElementsIn(recordList); in readRespiratoryRateRecordUsingIds()
DVo2MaxRecordTest.java89 List<Record> recordList = in testReadVo2MaxRecord_usingIds() local
91 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadVo2MaxRecord_usingIds()
107 List<Record> recordList = in testReadVo2MaxRecord_usingClientRecordIds() local
109 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadVo2MaxRecord_usingClientRecordIds()
209 private void readVo2MaxRecordUsingIds(List<Record> recordList) throws InterruptedException { in readVo2MaxRecordUsingIds() argument
212 for (Record record : recordList) { in readVo2MaxRecordUsingIds()
219 assertThat(result).hasSize(recordList.size()); in readVo2MaxRecordUsingIds()
220 assertThat(result).containsExactlyElementsIn(recordList); in readVo2MaxRecordUsingIds()
DCervicalMucusRecordTest.java90 List<Record> recordList = in testReadCervicalMucusRecord_usingIds() local
92 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadCervicalMucusRecord_usingIds()
108 List<Record> recordList = in testReadCervicalMucusRecord_usingClientRecordIds() local
110 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadCervicalMucusRecord_usingClientRecordIds()
224 private void readCervicalMucusRecordUsingIds(List<Record> recordList) in readCervicalMucusRecordUsingIds() argument
228 for (Record record : recordList) { in readCervicalMucusRecordUsingIds()
235 assertThat(result).hasSize(recordList.size()); in readCervicalMucusRecordUsingIds()
236 assertThat(result).containsExactlyElementsIn(recordList); in readCervicalMucusRecordUsingIds()
DBodyFatRecordTest.java90 List<Record> recordList = in testReadBodyFatRecord_usingIds() local
92 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBodyFatRecord_usingIds()
108 List<Record> recordList = in testReadBodyFatRecord_usingClientRecordIds() local
110 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBodyFatRecord_usingClientRecordIds()
209 private void readBodyFatRecordUsingIds(List<Record> recordList) throws InterruptedException { in readBodyFatRecordUsingIds() argument
212 for (Record record : recordList) { in readBodyFatRecordUsingIds()
219 assertThat(result).hasSize(recordList.size()); in readBodyFatRecordUsingIds()
220 assertThat(result).containsExactlyElementsIn(recordList); in readBodyFatRecordUsingIds()
DBodyTemperatureRecordTest.java101 List<Record> recordList = in testReadBodyTemperatureRecord_usingIds() local
104 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBodyTemperatureRecord_usingIds()
120 List<Record> recordList = in testReadBodyTemperatureRecord_usingClientRecordIds() local
123 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBodyTemperatureRecord_usingClientRecordIds()
240 private void readBodyTemperatureRecordUsingIds(List<Record> recordList) in readBodyTemperatureRecordUsingIds() argument
244 for (Record record : recordList) { in readBodyTemperatureRecordUsingIds()
251 assertThat(result).hasSize(recordList.size()); in readBodyTemperatureRecordUsingIds()
252 assertThat(result).containsExactlyElementsIn(recordList); in readBodyTemperatureRecordUsingIds()
DActiveCaloriesBurnedRecordTest.java111 List<Record> recordList = in testReadActiveCaloriesBurnedRecord_usingIds() local
115 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadActiveCaloriesBurnedRecord_usingIds()
132 List<Record> recordList = in testReadActiveCaloriesBurnedRecord_usingClientRecordIds() local
136 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadActiveCaloriesBurnedRecord_usingClientRecordIds()
550 private void readActiveCaloriesBurnedRecordUsingIds(List<Record> recordList) in readActiveCaloriesBurnedRecordUsingIds() argument
554 for (Record record : recordList) { in readActiveCaloriesBurnedRecordUsingIds()
561 assertThat(result).hasSize(recordList.size()); in readActiveCaloriesBurnedRecordUsingIds()
562 assertThat(result).containsExactlyElementsIn(recordList); in readActiveCaloriesBurnedRecordUsingIds()
DBasalMetabolicRateRecordTest.java105 List<Record> recordList = in testReadBasalMetabolicRateRecord_usingIds() local
109 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBasalMetabolicRateRecord_usingIds()
127 List<Record> recordList = in testReadBasalMetabolicRateRecord_usingClientRecordIds() local
131 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadBasalMetabolicRateRecord_usingClientRecordIds()
565 private void readBasalMetabolicRateRecordUsingIds(List<Record> recordList) in readBasalMetabolicRateRecordUsingIds() argument
569 for (Record record : recordList) { in readBasalMetabolicRateRecordUsingIds()
576 assertThat(result).hasSize(recordList.size()); in readBasalMetabolicRateRecordUsingIds()
577 assertThat(result).containsExactlyElementsIn(recordList); in readBasalMetabolicRateRecordUsingIds()
DRestingHeartRateRecordTest.java102 List<Record> recordList = in testReadRestingHeartRateRecord_usingIds() local
105 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadRestingHeartRateRecord_usingIds()
121 List<Record> recordList = in testReadRestingHeartRateRecord_usingClientRecordIds() local
124 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadRestingHeartRateRecord_usingClientRecordIds()
244 private void readRestingHeartRateRecordUsingIds(List<Record> recordList) in readRestingHeartRateRecordUsingIds() argument
248 for (Record record : recordList) { in readRestingHeartRateRecordUsingIds()
255 assertThat(result).hasSize(recordList.size()); in readRestingHeartRateRecordUsingIds()
256 assertThat(result).containsExactlyElementsIn(recordList); in readRestingHeartRateRecordUsingIds()
DDistanceRecordTest.java118 List<Record> recordList = in testReadDistanceRecord_usingIds() local
120 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadDistanceRecord_usingIds()
136 List<Record> recordList = in testReadDistanceRecord_usingClientRecordIds() local
138 List<Record> insertedRecords = TestUtils.insertRecords(recordList); in testReadDistanceRecord_usingClientRecordIds()
332 private void readDistanceRecordUsingIds(List<Record> recordList) throws InterruptedException { in readDistanceRecordUsingIds() argument
335 for (Record record : recordList) { in readDistanceRecordUsingIds()
342 assertThat(result).hasSize(recordList.size()); in readDistanceRecordUsingIds()
343 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