Home
last modified time | relevance | path

Searched refs:listOf (Results 1 – 25 of 505) sorted by relevance

12345678910>>...21

/aosp14/frameworks/base/tools/lint/framework/checks/src/main/java/com/google/android/lint/parcel/
H A DSaferParcelChecker.kt79 …ate val PARCEL_METHOD_READ_SERIALIZABLE = Method("android.os.Parcel", "readSerializable", listOf())
82 …ate val PARCEL_METHOD_READ_PARCELABLE = Method(listOf("T"), "android.os.Parcel", "readParcelable",…
83 … PARCEL_METHOD_READ_PARCELABLE_LIST = Method(listOf("T"), "android.os.Parcel", "readParcelableList…
84 …e val PARCEL_METHOD_READ_SPARSE_ARRAY = Method(listOf("T"), "android.os.Parcel", "readSparseArray"…
85 …private val PARCEL_METHOD_READ_ARRAY = Method("android.os.Parcel", "readArray", listOf("java.lang.…
90 …ivate val BUNDLE_METHOD_GET_PARCELABLE = Method(listOf("T"), "android.os.Bundle", "getParcelable",…
91 …_METHOD_GET_PARCELABLE_ARRAY_LIST = Method(listOf("T"), "android.os.Bundle", "getParcelableArrayLi…
93 …THOD_GET_SPARSE_PARCELABLE_ARRAY = Method(listOf("T"), "android.os.Bundle", "getSparseParcelableAr…
97 …NTENT_METHOD_GET_PARCELABLE_EXTRA = Method(listOf("T"), "android.content.Intent", "getParcelableEx…
99 …_PARCELABLE_ARRAY_LIST_EXTRA = Method(listOf("T"), "android.content.Intent", "getParcelableArrayLi…
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/listbuilder/
H A DShadeListBuilderHelperTest.kt41 listOf('A', 'A', 'A'),
42 listOf('B', 'B', 'B'),
47 listOf('A', 'A', 'A'),
48 listOf('B'),
49 listOf('A', 'A'),
54 listOf('A', 'A', 'A'),
55 listOf('A', 'A'),
60 listOf('A', 'A', 'A'),
62 listOf('C', 'C'),
63 listOf('D'),
[all …]
H A DSemiStableSortTest.kt195 assertTrue(listOf(1).isSorted(intCmp))
196 assertTrue(listOf(1, 2).isSorted(intCmp))
197 assertTrue(listOf(1, 2, 3).isSorted(intCmp))
198 assertTrue(listOf(1, 2, 3, 4).isSorted(intCmp))
199 assertTrue(listOf(1, 2, 3, 4, 5).isSorted(intCmp))
200 assertTrue(listOf(1, 1, 1, 1, 1).isSorted(intCmp))
202 assertFalse(listOf(2, 1).isSorted(intCmp))
203 assertFalse(listOf(2, 1, 2).isSorted(intCmp))
204 assertFalse(listOf(1, 2, 1).isSorted(intCmp))
205 assertFalse(listOf(1, 2, 3, 2, 5).isSorted(intCmp))
[all …]
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/storage/
H A DBubbleVolatileRepositoryTest.kt89 eq(listOf("shortcut-1")), eq(user11),
92 eq(listOf("alice and bob")), eq(user11),
112 eq(listOf("shortcut-2")), eq(user0),
132 eq(listOf("shortcut-2")), eq(user0),
186 .isEqualTo(listOf(bubble1, bubble3))
215 .isEqualTo(listOf(bubble11, bubble12))
234 .isEqualTo(listOf(bubble11, bubble12))
246 .isEqualTo(listOf(bubble11, bubble12))
257 .isEqualTo(listOf(bubble11, bubble12))
263 .isEqualTo(listOf(bubble1, bubble3))
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/quickaffordance/
H A DKeyguardQuickAffordanceLocalUserSelectionManagerTest.kt122 slotId1 to listOf(affordanceId1),
133 slotId1 to listOf(affordanceId1),
134 slotId2 to listOf(affordanceId2),
164 affordanceIds = listOf(),
170 slotId2 to listOf(),
196 listOf(
206 affordanceIds = listOf(affordance1),
210 affordanceIds = listOf(affordance2),
226 affordanceIds = listOf(affordance2),
230 affordanceIds = listOf(affordance3),
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/commandline/
H A DCommandParserTest.kt46 parser.parse(listOf("-f"))
53 parser.parse(listOf())
60 parser.parse(listOf("-p", "123"))
67 parser.parse(listOf())
80 parser.parse(listOf("-p", "123"))
87 assertFalse(parser.parse(listOf()))
99 val args = listOf("-f").listIterator()
152 parser.parse(listOf("-f", "test", "--flag1"))
171 assertFalse(parser.parse(listOf("-f")))
181 listOf(
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DHeadsUpCoordinatorTest.kt494 val entryList = listOf(groupSibling1, groupSibling2)
520 val entryList = listOf(groupChild1, groupChild2)
557 .setChildren(listOf(groupSibling1, groupSibling2))
595 .setChildren(listOf(groupSibling1, groupSibling2))
630 .setChildren(listOf(groupSibling1, groupSibling2))
666 .setChildren(listOf(groupSibling1, groupSibling2))
693 .setChildren(listOf(groupSibling1, groupSibling2))
719 .setChildren(listOf(groupChild1, groupChild2))
747 .setChildren(listOf(groupChild1, groupChild2))
770 whenever(notifPipeline.allNotifs).thenReturn(listOf(entry))
[all …]
H A DGroupWhenCoordinatorTest.kt88 .setChildren(listOf(childEntry1, childEntry2))
91 beforeFinalizeFilterListener.onBeforeFinalizeFilter(listOf(groupEntry))
108 .setChildren(listOf(childEntry1, childEntry2))
112 beforeFinalizeFilterListener.onBeforeFinalizeFilter(listOf(groupEntry))
135 beforeFinalizeFilterListener.onBeforeFinalizeFilter(listOf(groupEntry))
153 .setChildren(listOf(childEntry1, childEntry2, childEntry3))
157 beforeFinalizeFilterListener.onBeforeFinalizeFilter(listOf(groupEntry))
174 .setChildren(listOf(childEntry1, childEntry2))
178 beforeFinalizeFilterListener.onBeforeFinalizeFilter(listOf(groupEntry))
196 .setChildren(listOf(childEntry1, childEntry2, childEntry3))
[all …]
H A DDismissibilityCoordinatorTest.kt65 onBeforeRenderListListener.onBeforeRenderList(listOf(entry))
81 onBeforeRenderListListener.onBeforeRenderList(listOf(entry))
95 onBeforeRenderListListener.onBeforeRenderList(listOf(entry))
112 onBeforeRenderListListener.onBeforeRenderList(listOf(entry))
129 onBeforeRenderListListener.onBeforeRenderList(listOf(entry))
147 onBeforeRenderListListener.onBeforeRenderList(listOf(entry))
172 listOf(noFlagEntry, ongoingEntry, nonDismissEntry)
200 onBeforeRenderListListener.onBeforeRenderList(listOf(group))
220 onBeforeRenderListListener.onBeforeRenderList(listOf(group))
240 onBeforeRenderListListener.onBeforeRenderList(listOf(group))
[all …]
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
H A DSystemStubMultiUserDisableUninstallTest.kt173 codePaths = listOf(CodePath.SAME, CodePath.SYSTEM)
184 codePaths = listOf(CodePath.SAME, CodePath.SYSTEM)
192 codePaths = listOf(CodePath.SAME, CodePath.SYSTEM)
200 codePaths = listOf(CodePath.SYSTEM)
211 codePaths = listOf(CodePath.SAME, CodePath.SYSTEM)
219 codePaths = listOf(CodePath.SAME, CodePath.SYSTEM)
227 codePaths = listOf(CodePath.SYSTEM)
417 codePaths = listOf(CodePath.SYSTEM)
448 codePaths = listOf(CodePath.SYSTEM)
479 codePaths = listOf(CodePath.SYSTEM)
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/disableflags/
H A DDisableFlagsLoggerTest.kt27 private val disable1Flags = listOf(
32 private val disable2Flags = listOf(
104 disable1FlagsList = listOf(
108 listOf()
117 disable1FlagsList = listOf(
121 listOf()
130 disable1FlagsList = listOf(),
131 disable2FlagsList = listOf(
143 disable1FlagsList = listOf(),
144 disable2FlagsList = listOf(
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/udfps/
H A DSinglePointerTouchProcessorTest.kt90 listOf(
168 listOf(
179 listOf(
295 listOf(
308 listOf(
321 listOf(
335 listOf(
348 listOf(
359 listOf(
372 listOf(
[all …]
H A DNormalizedTouchDataTest.kt30 listOf(
32 validXs = listOf(SENSOR.left, SENSOR.right, SENSOR.centerX()),
33 validYs = listOf(SENSOR.top, SENSOR.bottom, SENSOR.centerY())
36 invalidXs = listOf(SENSOR.left - 1, SENSOR.right + 1),
37 invalidYs = listOf(SENSOR.top - 1, SENSOR.bottom + 1),
38 validXs = listOf(SENSOR.left, SENSOR.right, SENSOR.centerX()),
39 validYs = listOf(SENSOR.top, SENSOR.bottom, SENSOR.centerY())
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
H A DListenerSetTest.kt119 assertThat(runnableSet.containsAll(listOf())).isTrue()
120 assertThat(runnableSet.containsAll(listOf(runnable1))).isFalse()
121 assertThat(runnableSet.containsAll(listOf(runnable2))).isFalse()
125 assertThat(runnableSet.containsAll(listOf())).isTrue()
126 assertThat(runnableSet.containsAll(listOf(runnable1))).isTrue()
127 assertThat(runnableSet.containsAll(listOf(runnable2))).isFalse()
131 assertThat(runnableSet.containsAll(listOf())).isTrue()
132 assertThat(runnableSet.containsAll(listOf(runnable1))).isTrue()
133 assertThat(runnableSet.containsAll(listOf(runnable2))).isTrue()
137 assertThat(runnableSet.containsAll(listOf())).isTrue()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/table/
H A DLogDiffsForTableTest.kt877 listOf(
1159 val flow = flowOf(listOf(5), listOf(6), listOf(7))
1165 initialValue = listOf(1234),
1177 val flow = flowOf(listOf(5), listOf(6), listOf(7))
1210 listOf(listOf("val1", "val2"), listOf("val3"), listOf("val4", "val5", "val6"))
1272 listOf(
1274 listOf("val1"),
1275 listOf("val1"),
1331 listOf("val1")
1363 flow.emit(listOf(2222, 3333))
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/
H A DMobileIconsViewModelTest.kt84 interactor.filteredSubscriptions.value = listOf(SUB_1, SUB_2)
94 listOf(
101 assertThat(latest).isEqualTo(listOf(1))
104 listOf(
121 assertThat(latest).isEqualTo(listOf(2, 5, 7))
150 interactor.filteredSubscriptions.value = listOf(SUB_2)
177 interactor.filteredSubscriptions.value = listOf(SUB_1)
194 interactor.filteredSubscriptions.value = listOf(SUB_1)
211 interactor.filteredSubscriptions.value = listOf(SUB_1)
236 interactor.filteredSubscriptions.value = listOf(SUB_1, SUB_2)
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
H A DWindowManagerLockscreenVisibilityInteractorTest.kt123 listOf(
144 listOf(
170 listOf(
194 listOf(
228 listOf(
246 listOf(
257 listOf(
290 listOf(
308 listOf(
326 listOf(
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
H A DControlsListingControllerImplTest.kt244 val list = listOf(serviceInfo)
297 val list = listOf(serviceInfo)
329 setUpQueryResult(listOf(
348 setUpQueryResult(listOf(
374 setUpQueryResult(listOf(
400 setUpQueryResult(listOf(
427 setUpQueryResult(listOf(
454 setUpQueryResult(listOf(
484 setUpQueryResult(listOf(
515 setUpQueryResult(listOf(
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
H A DPrivacyChipBuilderTest.kt45 val items = listOf(bar2, foo0, baz1, bar3)
54 assertEquals(listOf("Bar", "Baz", "Foo"), appsList.map { it.packageName })
55 assertEquals(listOf(Privacy.TYPE_CAMERA, Privacy.TYPE_LOCATION), typesList[0])
56 assertEquals(listOf(Privacy.TYPE_CAMERA), typesList[1])
57 assertEquals(listOf(Privacy.TYPE_MICROPHONE), typesList[2])
72 val items = listOf(appLocation, appMicrophone, appCamera)
75 assertEquals(listOf("Camera", "Microphone", "Location"), appList)
H A DPrivacyDialogControllerV2Test.kt332 listOf(usage_microphone, usage_camera)
355 listOf(usage_recent, usage_active)
378 listOf(usage_active, usage_active_moreRecent)
405 listOf(usage_recent, usage_mostRecent, usage_moreRecent)
428 listOf(usage_camera, usage_location, usage_microphone)
452 listOf(usage_camera, usage_location, usage_microphone)
478 listOf(usage_camera, usage_location, usage_microphone)
502 listOf(usage_camera, usage_location, usage_microphone)
519 .thenReturn(listOf(usage_other))
562 `when`(userTracker.userProfiles).thenReturn(listOf(
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/pipeline/domain/interactor/
H A DCurrentTilesInteractorImplTest.kt143 listOf(
185 listOf(
199 listOf(
213 listOf(
233 listOf(
261 listOf(
413 listOf(
422 listOf(
437 listOf(
450 listOf(
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/
H A DMediaProjectionAppSelectorControllerTest.kt64 taskListProvider.tasks = listOf(createRecentTask(taskId = 1))
68 verify(view).bind(listOf(createRecentTask(taskId = 1)))
74 listOf(
85 listOf(
96 listOf(
108 listOf(
119 listOf(
131 listOf(
143 listOf(
156 listOf(
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/
H A DFlagCommandTest.kt66 cmd.execute(pw, listOf(flagA.name))
72 cmd.execute(pw, listOf(stringFlag.name))
78 cmd.execute(pw, listOf(intFlag.name))
84 cmd.execute(pw, listOf(flagB.name, "on"))
90 cmd.execute(pw, listOf(stringFlag.name, "set", "foobar"))
96 cmd.execute(pw, listOf(intFlag.name, "put", "123"))
102 cmd.execute(pw, listOf(flagB.name, "toggle"))
108 cmd.execute(pw, listOf(flagA.name, "erase"))
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/pipeline/domain/autoaddable/
H A DWorkTileAutoAddableTest.kt58 _userProfiles = listOf(USER_INFO_0)
68 userTracker.set(listOf(USER_INFO_0, USER_INFO_WORK), selectedUserIndex = 0)
75 userTracker.set(listOf(USER_INFO_0, USER_INFO_WORK), selectedUserIndex = 0)
79 userTracker.set(listOf(USER_INFO_0), selectedUserIndex = 0)
86 userTracker.set(listOf(USER_INFO_0, USER_INFO_WORK), selectedUserIndex = 0)
97 userTracker.set(listOf(USER_INFO_1, USER_INFO_WORK), selectedUserIndex = 0)
104 userTracker.set(listOf(USER_INFO_0, USER_INFO_WORK), selectedUserIndex = 0)
107 userTracker.set(listOf(USER_INFO_1), selectedUserIndex = 0)
/aosp14/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/search/
H A DSpaSearchContract.kt65 listOf(
79 listOf(
93 listOf(
101 listOf(
109 listOf(
124 listOf(

12345678910>>...21