Home
last modified time | relevance | path

Searched refs:emptyList (Results 1 – 25 of 672) sorted by relevance

12345678910>>...27

/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DCellIdentityTest.java82 Collections.emptyList()); in testConstructCellIdentityGsm()
90 Collections.emptyList()); in testConstructCellIdentityGsm()
99 Collections.emptyList()); in testConstructCellIdentityGsm()
111 Collections.emptyList(), null); in testEquals()
114 Collections.emptyList(), null); in testEquals()
119 ALPHA_SHORT, Collections.emptyList(), null); in testEquals()
121 ALPHA_SHORT, Collections.emptyList(), null); in testEquals()
179 Collections.emptyList(), null); in testIsSameCell()
182 Collections.emptyList(), null); in testIsSameCell()
190 ALPHA_SHORT, Collections.emptyList()); in testIsSameCell()
[all …]
H A DCellIdentityGsmTest.java120 Collections.emptyList()); in testConstructorWithEmptyMccMnc()
130 Collections.emptyList()); in testConstructorWithEmptyMccMnc()
140 Collections.emptyList()); in testConstructorWithEmptyMccMnc()
154 Collections.emptyList()); in testEquals()
157 Collections.emptyList()); in testEquals()
162 Collections.emptyList()); in testEquals()
164 Collections.emptyList()); in testEquals()
170 Collections.emptyList()); in testEquals()
172 Collections.emptyList()); in testEquals()
225 Collections.emptyList()); in testgetGlobalCellId()
[all …]
H A DCellIdentityWcdmaTest.java103 Collections.emptyList(), null); in testConstructorWithEmptyMccMnc()
112 Collections.emptyList(), null); in testConstructorWithEmptyMccMnc()
121 Collections.emptyList(), null); in testConstructorWithEmptyMccMnc()
130 Collections.emptyList(), null); in testConstructorWithEmptyMccMnc()
143 Collections.emptyList(), null); in testEquals()
146 Collections.emptyList(), null); in testEquals()
151 Collections.emptyList(), null); in testEquals()
153 Collections.emptyList(), null); in testEquals()
158 Collections.emptyList(), null); in testEquals()
160 Collections.emptyList(), null); in testEquals()
[all …]
H A DCellIdentityLteTest.java118 Collections.emptyList(), null); in testConstructorWithEmptyMccMnc()
128 Collections.emptyList(), null); in testConstructorWithEmptyMccMnc()
138 Collections.emptyList(), null); in testConstructorWithEmptyMccMnc()
170 Collections.emptyList(), null); in testEquals()
173 Collections.emptyList(), null); in testEquals()
179 Collections.emptyList(), null); in testEquals()
182 Collections.emptyList(), null); in testEquals()
188 Collections.emptyList(), null); in testEquals()
191 Collections.emptyList(), null); in testEquals()
214 Collections.emptyList(), null); in testParcelWithUnknownMccMnc()
[all …]
H A DCellIdentityTdscdmaTest.java75 Collections.emptyList(), null); in testConstructor()
94 null, null, LAC, CID, CPID, UARFCN, "", "", Collections.emptyList(), null); in testConstructorWithEmptyMccMnc()
100 Collections.emptyList(), null); in testConstructorWithEmptyMccMnc()
106 Collections.emptyList(), null); in testConstructorWithEmptyMccMnc()
112 Collections.emptyList(), null); in testConstructorWithEmptyMccMnc()
122 Collections.emptyList(), null); in testParcel()
137 Collections.emptyList(), null); in testParcelWithUnknowMccMnc()
162 Collections.emptyList(), null); in testParcelWithInvalidMccMnc()
H A DCellIdentityNrTest.java54 Collections.emptyList()); in testGetMethod()
76 ALPHAL, ALPHAS, Collections.emptyList()); in testEquals_sameParameters()
79 ALPHAL, ALPHAS, Collections.emptyList()); in testEquals_sameParameters()
90 ALPHAL, ALPHAS, Collections.emptyList()); in testEquals_differentParameters()
93 ALPHAL, ALPHAS, Collections.emptyList()); in testEquals_differentParameters()
104 ALPHAL, ALPHAS, Collections.emptyList()); in testParcel()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
H A DDefaultAppsPreferenceControllerTest.java106 when(mRoleManager.getRoleHolders(RoleManager.ROLE_SMS)).thenReturn(Collections.emptyList()); in getSummary_browserAndDialerAvailable_shouldReturnBrowserAndDialer()
116 Collections.emptyList()); in getSummary_browserAndSmsAvailable_shouldReturnBrowserAndSms()
126 Collections.emptyList()); in getSummary_dialerAndSmsAvailable_shouldReturnDialerAndSms()
140 Collections.emptyList()); in getSummary_browserAvailable_shouldReturnBrowser()
141 when(mRoleManager.getRoleHolders(RoleManager.ROLE_SMS)).thenReturn(Collections.emptyList()); in getSummary_browserAvailable_shouldReturnBrowser()
149 Collections.emptyList()); in getSummary_dialerAvailable_shouldReturnDialer()
152 when(mRoleManager.getRoleHolders(RoleManager.ROLE_SMS)).thenReturn(Collections.emptyList()); in getSummary_dialerAvailable_shouldReturnDialer()
160 Collections.emptyList()); in getSummary_smsAvailable_shouldReturnSms()
162 Collections.emptyList()); in getSummary_smsAvailable_shouldReturnSms()
172 Collections.emptyList()); in getSummary_noneAvailable_shouldReturnNull()
[all …]
/aosp12/frameworks/libs/net/common/tests/unit/src/android/net/util/
H A DLinkPropertiesUtilsTest.java274 final List<String> emptyList = new ArrayList<>(); in testCompareOrUpdateResult() local
278 new CompareOrUpdateResult<String, String>(oldItems, emptyList, extractPrefix); in testCompareOrUpdateResult()
280 emptyList, strArray("hello123", "howareyou669", "goodbye5678"), emptyList); in testCompareOrUpdateResult()
283 result = new CompareOrUpdateResult<String, String>(emptyList, newItems, extractPrefix); in testCompareOrUpdateResult()
285 strArray("hello123", "goodbye000", "verywell"), emptyList, emptyList); in testCompareOrUpdateResult()
289 assertCompareOrUpdateResult(result, emptyList, emptyList, emptyList); in testCompareOrUpdateResult()
299 strArray("hello123", "goodbye000", "verywell"), emptyList, emptyList); in testCompareOrUpdateResult()
304 emptyList, strArray("hello123", "howareyou669", "goodbye5678"), emptyList); in testCompareOrUpdateResult()
308 assertCompareOrUpdateResult(result, emptyList, emptyList, emptyList); in testCompareOrUpdateResult()
/aosp12/packages/apps/Car/libs/car-qc-lib/tests/unit/src/com/android/car/qc/
H A DQCRowTest.java74 Collections.singletonList(item), Collections.emptyList(), Collections.emptyList()); in createFromParcel_accurateData_startItem()
84 Collections.emptyList(), Collections.singletonList(item), Collections.emptyList()); in createFromParcel_accurateData_endItem()
94 Collections.emptyList(), Collections.emptyList(), in createFromParcel_accurateData_slider()
101 return createRow(action, disabledAction, icon, Collections.emptyList(), in createRow()
102 Collections.emptyList(), Collections.emptyList()); in createRow()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
H A DMediaControlPanelTest.kt213 val state = MediaData(USER_ID, true, BG_COLOR, APP, null, ARTIST, TITLE, null, emptyList(),
214 emptyList(), PACKAGE, null, null, device, true, null)
222 val state = MediaData(USER_ID, true, BG_COLOR, APP, null, ARTIST, TITLE, null, emptyList(),
223 emptyList(), PACKAGE, session.getSessionToken(), null, device, true, null)
233 emptyList(), PACKAGE, session.getSessionToken(), null, device, true, null)
246 emptyList(), PACKAGE, session.getSessionToken(), null, disabledDevice, true, null)
258 emptyList(), PACKAGE, session.getSessionToken(), null, null, true, null)
269 emptyList(), PACKAGE, session.getSessionToken(), null, device, true, null,
327 emptyList(), PACKAGE, session.getSessionToken(), null, null, true, null,
341 emptyList(), PACKAGE, session.getSessionToken(), null, null, true, null,
[all …]
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
H A DConnectedClientsTrackerTest.kt73 doReturn(emptyList<TetheredClient>()).`when`(server1).allLeases
74 doReturn(emptyList<TetheredClient>()).`when`(server2).allLeases
84 val client2WithoutAddr = TetheredClient(client2Addr, emptyList(), TETHERING_WIFI)
102 assertSameClients(listOf(client3), assertNewClients(tracker, servers, emptyList()))
109 doReturn(emptyList<TetheredClient>()).`when`(server1).allLeases
110 doReturn(emptyList<TetheredClient>()).`when`(server2).allLeases
111 assertSameClients(listOf(TetheredClient(client1Addr, emptyList(), TETHERING_WIFI)),
127 TetheredClient(client1Addr, emptyList(), TETHERING_WIFI),
/aosp12/frameworks/base/core/tests/coretests/src/android/provider/
H A DNameValueCacheTest.java144 Collections.emptyList()); in testCaching_singleNamespace()
151 NAMESPACE, Collections.emptyList()); in testCaching_singleNamespace()
163 NAMESPACE, Collections.emptyList()); in testCaching_singleNamespace()
170 NAMESPACE, Collections.emptyList()); in testCaching_singleNamespace()
194 Collections.emptyList()); in testCaching_multipleNamespaces()
202 Collections.emptyList()); in testCaching_multipleNamespaces()
209 NAMESPACE, Collections.emptyList()); in testCaching_multipleNamespaces()
214 NAMESPACE2, Collections.emptyList()); in testCaching_multipleNamespaces()
223 Collections.emptyList()); in testCaching_emptyNamespace()
230 NAMESPACE, Collections.emptyList()); in testCaching_emptyNamespace()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/
H A DExpansionStateLoggerTest.java68 Collections.emptyList()); in testVisible()
91 Collections.emptyList()); in testVisibleAndNotExpanded()
104 Collections.emptyList()); in testVisibleAndExpanded()
119 Collections.emptyList()); in testExpandedAndVisible_expandedBeforeVisible()
133 Collections.emptyList()); in testExpandedAndVisible_visibleBeforeExpanded()
148 Collections.emptyList()); in testExpandedAndVisible_logOnceOnly()
166 Collections.emptyList()); in testOnEntryUpdated()
174 Collections.emptyList()); in testOnEntryUpdated()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/
H A DAndroidPackageParsingEquivalenceTest.kt97 val firstActivityNames = it.first?.activities?.map { it.name } ?: emptyList()
98 val secondActivityNames = it.second?.activities?.map { it.name } ?: emptyList()
112 val firstReceiverNames = it.first?.receivers?.map { it.name } ?: emptyList()
113 val secondReceiverNames = it.second?.receivers?.map { it.name } ?: emptyList()
127 val firstProviderNames = it.first?.providers?.map { it.name } ?: emptyList()
128 val secondProviderNames = it.second?.providers?.map { it.name } ?: emptyList()
142 val firstServiceNames = it.first?.services?.map { it.name } ?: emptyList()
143 val secondServiceNames = it.second?.services?.map { it.name } ?: emptyList()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
H A DUserPackageInfosLiveData.kt52 for (packageInfo in value ?: emptyList()) {
59 for (packageInfo in value ?: emptyList()) {
62 for (packageInfo in newValue ?: emptyList()) {
88 for (packageInfo in value ?: emptyList()) {
96 for (packageInfo in value ?: emptyList()) {
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/model/
H A DTimeZoneDataTest.java24 import static java.util.Collections.emptyList;
54 when(countryTimeZones.getTimeZoneMappings()).thenReturn(emptyList()); in testRegionsWithTimeZone()
62 when(mCountryZonesFinder.lookupAllCountryIsoCodes()).thenReturn(emptyList()); in testGetRegionIds()
79 "Unknown/Secret_City", true, null /* notUsedAfter */, emptyList()), in testLookupCountryCodesForZoneId()
81 "Unknown/Secret_City2", false, null /* notUsedAfter */, emptyList()) in testLookupCountryCodesForZoneId()
87 "Unknown/Secret_City", true, null /* notUsedAfter */, emptyList()) in testLookupCountryCodesForZoneId()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/
H A DAppSearchImplTest.java440 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testTriggerCheckOptimizeByMutationSize()
501 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testReset()
594 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testReset()
630 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testRewriteSearchSpec_oneInstance()
665 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testRewriteSearchSpec_twoInstances()
675 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testRewriteSearchSpec_twoInstances()
721 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testRewriteSearchSpec_ignoresSearchSpecSchemaFilters()
764 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testQueryWithMultiplePackages_noPackageFilters()
778 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testQueryWithMultiplePackages_noPackageFilters()
822 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testQueryWithMultiplePackages_withPackageFilters()
[all …]
/aosp12/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sidebar/
H A DUserItemsCombinerTest.java83 .setRootListForCurrentUser(Collections.emptyList()) in testCreatePresentableList_empty()
84 .setRootListForOtherUser(Collections.emptyList()); in testCreatePresentableList_empty()
92 .setRootListForOtherUser(Collections.emptyList()); in testCreatePresentableList_currentIsPersonal_personalItemsOnly()
103 .setRootListForCurrentUser(Collections.emptyList()) in testCreatePresentableList_currentIsWork_personalItemsOnly()
114 .setRootListForCurrentUser(Collections.emptyList()) in testCreatePresentableList_currentIsPersonal_workItemsOnly()
127 .setRootListForOtherUser(Collections.emptyList()); in testCreatePresentableList_currentIsWork_workItemsOnly()
189 .setRootListForCurrentUser(Collections.emptyList()) in testCreatePresentableList_currentIsWork_personalItemsOnly_cannotShare()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DWakeupLockTest.java131 mWakeupLock.setLock(Collections.emptyList()); in verifyInitializingLockByTimeout()
145 mWakeupLock.setLock(Collections.emptyList()); in addToLockSavesToStore()
168 setLockAndInitializeByTimeout(Collections.emptyList()); in isEmptyWhenInitializedWithEmptyList()
180 setLockAndInitializeByTimeout(Collections.emptyList()); in setLockClearsPreviousNetworks()
225 updateEnoughTimesToEvictWithAsserts(Collections.emptyList()); in updateWithLockedNetworkAfterItIsRemovedDoesNotReset()
263 updateEnoughTimesToEvictWithoutAsserts(Collections.emptyList()); in updateShouldOnlySaveIfLockChanges()
291 mWakeupLock.update(Collections.emptyList()); in unlockingShouldRecordEventInMetrics()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DInflatedSmartReplyState.kt32 get() = smartReplies?.choices ?: emptyList()
34 get() = smartActions?.actions ?: emptyList()
36 get() = suppressedActions?.suppressedActionIndices ?: emptyList()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
H A DHdmiCecMessageBuilderTest.java109 Lists.newArrayList(Constants.RC_PROFILE_TV_NONE), Collections.emptyList()); in buildReportFeatures_basicTv_1_4()
119 Lists.newArrayList(Constants.RC_PROFILE_TV_NONE), Collections.emptyList()); in buildReportFeatures_basicPlayback_1_4()
130 Lists.newArrayList(Constants.RC_PROFILE_TV_NONE), Collections.emptyList()); in buildReportFeatures_basicPlaybackAudioSystem_1_4()
140 Lists.newArrayList(Constants.RC_PROFILE_TV_NONE), Collections.emptyList()); in buildReportFeatures_basicTv_2_0()
150 Lists.newArrayList(Constants.RC_PROFILE_TV_ONE), Collections.emptyList()); in buildReportFeatures_remoteControlTv_2_0()
161 Constants.RC_PROFILE_SOURCE_HANDLES_SETUP_MENU), Collections.emptyList()); in buildReportFeatures_remoteControlPlayback_2_0()
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DBackgroundFallbackTest.java30 import static java.util.Collections.emptyList;
205 new ColorDrawable(Color.BLACK), VISIBLE, emptyList()); in setUpViewHierarchy()
213 SCREEN_HEIGHT, new ColorDrawable(Color.BLACK), VISIBLE, emptyList()); in setUpViewHierarchy()
220 new ColorDrawable(Color.BLACK), VISIBLE, emptyList()); in setUpViewHierarchy()
227 SCREEN_HEIGHT, new ColorDrawable(Color.BLACK), VISIBLE, emptyList()); in setUpViewHierarchy()
235 SCREEN_HEIGHT - insetTop - insetBottom, null, VISIBLE, emptyList()); in setUpViewHierarchy()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
H A DPrivacyItemControllerTest.kt152 verify(callback).onPrivacyItemsChanged(emptyList())
197 privacyItemController.userTrackerCallback.onProfilesChanged(emptyList())
218 doReturn(emptyList<AppOpItem>()).`when`(appOpsController).getActiveAppOps(anyBoolean())
236 doReturn(emptyList<AppOpItem>()).`when`(appOpsController).getActiveAppOps(anyBoolean())
452 verify(callback, never()).onPrivacyItemsChanged(emptyList())
466 doReturn(emptyList<AppOpItem>()).`when`(appOpsController).getActiveAppOps(anyBoolean())
475 verify(callback).onPrivacyItemsChanged(emptyList())
489 doReturn(emptyList<AppOpItem>()).`when`(appOpsController).getActiveAppOps(anyBoolean())
498 verify(callback, never()).onPrivacyItemsChanged(emptyList())
524 verify(callback).onPrivacyItemsChanged(emptyList())
[all …]
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
H A DShadowInputMethodManagerWithMethodList.java37 private List<InputMethodInfo> mInputMethodInfos = Collections.emptyList();
38 private List<InputMethodInfo> mEnabledInputMethodInfos = Collections.emptyList();
58 return Collections.emptyList(); in getEnabledInputMethodSubtypeList()
/aosp12/packages/apps/TV/src/com/android/tv/dvr/
H A DDvrScheduleManager.java263 return Collections.emptyList(); in getStartedRecordings()
522 return Collections.emptyList(); in getConflictingSchedules()
526 return Collections.emptyList(); in getConflictingSchedules()
546 return Collections.emptyList(); in getConflictingSchedules()
550 return Collections.emptyList(); in getConflictingSchedules()
561 return Collections.emptyList(); in getConflictingSchedules()
580 return Collections.emptyList(); in getConflictingSchedules()
584 return Collections.emptyList(); in getConflictingSchedules()
604 return Collections.emptyList(); in getConflictingSchedulesInfo()
608 return Collections.emptyList(); in getConflictingSchedulesInfo()
[all …]

12345678910>>...27