Home
last modified time | relevance | path

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

12345678910>>...12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
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()
126 ALPHA_LONG, ALPHA_SHORT, Collections.emptyList(), null); in testEquals()
128 ALPHA_SHORT, Collections.emptyList(), null); in testEquals()
136 MNC_STR, ALPHA_LONG, ALPHA_SHORT, Collections.emptyList(), null); in testParcel()
[all …]
DCellIdentityGsmTest.java50 ALPHA_LONG, ALPHA_SHORT, Collections.emptyList()); in testDefaultConstructor()
75 ALPHA_LONG, ALPHA_SHORT, Collections.emptyList()); in testConstructorWithThreeDigitMnc()
93 ALPHA_LONG, ALPHA_SHORT, Collections.emptyList()); in testConstructorWithTwoDigitMnc()
110 Collections.emptyList()); in testConstructorWithEmptyMccMnc()
120 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()
[all …]
DCellIdentityWcdmaTest.java50 ALPHA_LONG, ALPHA_SHORT, Collections.emptyList(), null); in testDefaultConstructor()
71 ALPHA_LONG, ALPHA_SHORT, Collections.emptyList(), null); in testConstructorWithThreeDigitMnc()
89 ALPHA_LONG, ALPHA_SHORT, Collections.emptyList(), null); in testConstructorWithTwoDigitMnc()
103 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()
[all …]
DCellIdentityLteTest.java53 ALPHA_LONG, ALPHA_SHORT, Collections.emptyList(), null); in testDefaultConstructor()
78 mncWithThreeDigit, ALPHA_LONG, ALPHA_SHORT, Collections.emptyList(), null); in testConstructorWithThreeDigitMnc()
92 mncWithTwoDigit, ALPHA_LONG, ALPHA_SHORT, Collections.emptyList(), null); in testConstructorWithTwoDigitMnc()
105 ALPHA_SHORT, Collections.emptyList(), null); in testConstructorWithEmptyMccMnc()
115 Collections.emptyList(), null); in testConstructorWithEmptyMccMnc()
125 Collections.emptyList(), null); in testConstructorWithEmptyMccMnc()
135 Collections.emptyList(), null); in testConstructorWithEmptyMccMnc()
167 Collections.emptyList(), null); in testEquals()
170 Collections.emptyList(), null); in testEquals()
176 Collections.emptyList(), null); in testEquals()
[all …]
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()
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()
/frameworks/libs/net/common/tests/unit/src/android/net/util/
DLinkPropertiesUtilsTest.java226 final List<String> emptyList = new ArrayList<>(); in testCompareOrUpdateResult() local
230 new CompareOrUpdateResult<String, String>(oldItems, emptyList, extractPrefix); in testCompareOrUpdateResult()
232 emptyList, strArray("hello123", "howareyou669", "goodbye5678"), emptyList); in testCompareOrUpdateResult()
235 result = new CompareOrUpdateResult<String, String>(emptyList, newItems, extractPrefix); in testCompareOrUpdateResult()
237 strArray("hello123", "goodbye000", "verywell"), emptyList, emptyList); in testCompareOrUpdateResult()
241 assertCompareOrUpdateResult(result, emptyList, emptyList, emptyList); in testCompareOrUpdateResult()
251 strArray("hello123", "goodbye000", "verywell"), emptyList, emptyList); in testCompareOrUpdateResult()
256 emptyList, strArray("hello123", "howareyou669", "goodbye5678"), emptyList); in testCompareOrUpdateResult()
260 assertCompareOrUpdateResult(result, emptyList, emptyList, emptyList); in testCompareOrUpdateResult()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DMediaControlPanelTest.kt184 val state = MediaData(USER_ID, true, BG_COLOR, APP, null, ARTIST, TITLE, null, emptyList(), in bindWhenUnattached()
185 emptyList(), PACKAGE, null, null, device, true, null) in bindWhenUnattached()
193 val state = MediaData(USER_ID, true, BG_COLOR, APP, null, ARTIST, TITLE, null, emptyList(), in bindText()
194 emptyList(), PACKAGE, session.getSessionToken(), null, device, true, null) in bindText()
204 val state = MediaData(USER_ID, true, BG_COLOR, APP, null, ARTIST, TITLE, null, emptyList(), in bindBackgroundColor()
205 emptyList(), PACKAGE, session.getSessionToken(), null, device, true, null) in bindBackgroundColor()
215 val state = MediaData(USER_ID, true, BG_COLOR, APP, null, ARTIST, TITLE, null, emptyList(), in bindDevice()
216 emptyList(), PACKAGE, session.getSessionToken(), null, device, true, null) in bindDevice()
227 val state = MediaData(USER_ID, true, BG_COLOR, APP, null, ARTIST, TITLE, null, emptyList(), in bindDisabledDevice()
228 emptyList(), PACKAGE, session.getSessionToken(), null, disabledDevice, true, null) in bindDisabledDevice()
[all …]
DMediaDataFilterTest.kt89 dataMain = MediaData(USER_MAIN, true, BG_COLOR, APP, null, ARTIST, TITLE, null, emptyList(), in eq()
90 emptyList(), PACKAGE, null, null, device, true, null) in eq()
93 emptyList(), emptyList(), PACKAGE, null, null, device, true, null) in eq()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DConnectedClientsTrackerTest.kt73 doReturn(emptyList<TetheredClient>()).`when`(server1).allLeases in testUpdateConnectedClients()
74 doReturn(emptyList<TetheredClient>()).`when`(server2).allLeases in testUpdateConnectedClients()
84 val client2WithoutAddr = TetheredClient(client2Addr, emptyList(), TETHERING_WIFI) in testUpdateConnectedClients()
102 assertSameClients(listOf(client3), assertNewClients(tracker, servers, emptyList())) in testUpdateConnectedClients()
109 doReturn(emptyList<TetheredClient>()).`when`(server1).allLeases in testUpdateConnectedClients()
110 doReturn(emptyList<TetheredClient>()).`when`(server2).allLeases in testUpdateConnectedClients()
111 assertSameClients(listOf(TetheredClient(client1Addr, emptyList(), TETHERING_WIFI)), in testUpdateConnectedClients()
127 TetheredClient(client1Addr, emptyList(), TETHERING_WIFI), in testUpdateConnectedClients_LeaseExpiration()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/
DAndroidPackageParsingEquivalenceTest.kt97 val firstActivityNames = it.first?.activities?.map { it.name } ?: emptyList() in packageInfoEquality()
98 val secondActivityNames = it.second?.activities?.map { it.name } ?: emptyList() in packageInfoEquality()
112 val firstReceiverNames = it.first?.receivers?.map { it.name } ?: emptyList() in packageInfoEquality()
113 val secondReceiverNames = it.second?.receivers?.map { it.name } ?: emptyList() in packageInfoEquality()
127 val firstProviderNames = it.first?.providers?.map { it.name } ?: emptyList() in packageInfoEquality()
128 val secondProviderNames = it.second?.providers?.map { it.name } ?: emptyList() in packageInfoEquality()
142 val firstServiceNames = it.first?.services?.map { it.name } ?: emptyList() in packageInfoEquality()
143 val secondServiceNames = it.second?.services?.map { it.name } ?: emptyList() in packageInfoEquality()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/
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()
/frameworks/base/core/tests/coretests/src/android/provider/
DNameValueCacheTest.java141 Collections.emptyList()); in testCaching_singleNamespace()
148 NAMESPACE, Collections.emptyList()); in testCaching_singleNamespace()
160 NAMESPACE, Collections.emptyList()); in testCaching_singleNamespace()
167 NAMESPACE, Collections.emptyList()); in testCaching_singleNamespace()
191 Collections.emptyList()); in testCaching_multipleNamespaces()
199 Collections.emptyList()); in testCaching_multipleNamespaces()
206 NAMESPACE, Collections.emptyList()); in testCaching_multipleNamespaces()
211 NAMESPACE2, Collections.emptyList()); in testCaching_multipleNamespaces()
220 Collections.emptyList()); in testCaching_emptyNamespace()
227 NAMESPACE, Collections.emptyList()); in testCaching_emptyNamespace()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWakeupLockTest.java126 mWakeupLock.setLock(Collections.emptyList()); in verifyInitializingLockByTimeout()
140 mWakeupLock.setLock(Collections.emptyList()); in addToLockSavesToStore()
163 setLockAndInitializeByTimeout(Collections.emptyList()); in isEmptyWhenInitializedWithEmptyList()
175 setLockAndInitializeByTimeout(Collections.emptyList()); in setLockClearsPreviousNetworks()
220 updateEnoughTimesToEvictWithAsserts(Collections.emptyList()); in updateWithLockedNetworkAfterItIsRemovedDoesNotReset()
258 updateEnoughTimesToEvictWithoutAsserts(Collections.emptyList()); in updateShouldOnlySaveIfLockChanges()
286 mWakeupLock.update(Collections.emptyList()); in unlockingShouldRecordEventInMetrics()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DAndroidPackageInfoFetcher.java79 return Collections.<String>emptyList(); in getStatements()
83 return Collections.<String>emptyList(); in getStatements()
90 return Collections.<String>emptyList(); in getStatements()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DAuxiliaryPersistenceWrapper.kt54 var favorites: List<StructureInfo> = emptyList()
79 emptyList() in initialize()
93 return emptyList() in getCachedFavoritesAndRemoveFor()
/frameworks/layoutlib/bridge/src/android/view/accessibility/
DAccessibilityManager.java242 return Collections.emptyList(); in getAccessibilityServiceList()
246 return Collections.emptyList(); in getInstalledAccessibilityServiceList()
264 return Collections.emptyList(); in getEnabledAccessibilityServiceList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotSmartActions.java55 return CompletableFuture.completedFuture(Collections.emptyList()); in getSmartActionsFuture()
61 return CompletableFuture.completedFuture(Collections.emptyList()); in getSmartActionsFuture()
78 smartActionsFuture = CompletableFuture.completedFuture(Collections.emptyList()); in getSmartActionsFuture()
115 return Collections.emptyList(); in getSmartActions()
/frameworks/base/core/java/com/android/internal/util/
DCollectionUtils.java115 if (isEmpty(cur)) return Collections.emptyList(); in map()
157 if (isEmpty(cur)) return Collections.emptyList(); in mapNotNull()
176 return cur == null ? Collections.emptyList() : cur; in emptyIfNull()
226 if (isEmpty(list)) return Collections.emptyList(); in filter()
305 if (cur == null || cur == Collections.emptyList()) { in add()
317 if (cur == null || cur == Collections.emptyList()) { in add()
388 return isEmpty(cur) ? Collections.emptyList() : new ArrayList<>(cur); in copyOf()
475 return item == null ? Collections.emptyList() : Collections.singletonList(item); in singletonOrEmpty()
/frameworks/base/core/java/android/view/
DGestureExclusionTracker.java37 private List<Rect> mRootGestureExclusionRects = Collections.emptyList();
39 private List<Rect> mGestureExclusionRects = Collections.emptyList();
113 List<Rect> mExclusionRects = Collections.emptyList();
/frameworks/base/core/java/android/content/pm/
DStringParceledListSlice.java42 public static StringParceledListSlice emptyList() { in emptyList() method in StringParceledListSlice
43 return new StringParceledListSlice(Collections.<String> emptyList()); in emptyList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/storage/
DBubblePersistentRepository.kt57 if (!bubbleFile.exists()) return emptyList() in readFromDisk()
61 return emptyList() in readFromDisk()
/frameworks/base/services/core/java/com/android/server/pm/pkg/
DPackageStateUnserialized.java19 import static java.util.Collections.emptyList;
48 private List<SharedLibraryInfo> usesLibraryInfos = emptyList();
51 private List<String> usesLibraryFiles = emptyList();
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DConnectedClientsTracker.java50 private List<WifiClient> mLastWifiClients = Collections.emptyList();
52 private List<TetheredClient> mLastTetheredClients = Collections.emptyList();
110 client, Collections.emptyList() /* addresses */, TETHERING_WIFI)); in updateConnectedClients()

12345678910>>...12