Home
last modified time | relevance | path

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

12345678910>>...15

/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.java56 ALPHA_LONG, ALPHA_SHORT, Collections.emptyList(), null); in testDefaultConstructor()
81 mncWithThreeDigit, ALPHA_LONG, ALPHA_SHORT, Collections.emptyList(), null); in testConstructorWithThreeDigitMnc()
95 mncWithTwoDigit, ALPHA_LONG, ALPHA_SHORT, Collections.emptyList(), null); in testConstructorWithTwoDigitMnc()
108 ALPHA_SHORT, Collections.emptyList(), null); in testConstructorWithEmptyMccMnc()
118 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()
[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.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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DMediaControlPanelTest.kt212 val state = MediaData(USER_ID, true, BG_COLOR, APP, null, ARTIST, TITLE, null, emptyList(), in bindWhenUnattached()
213 emptyList(), PACKAGE, null, null, device, true, null) in bindWhenUnattached()
221 val state = MediaData(USER_ID, true, BG_COLOR, APP, null, ARTIST, TITLE, null, emptyList(), in bindText()
222 emptyList(), PACKAGE, session.getSessionToken(), null, device, true, null) in bindText()
231 val state = MediaData(USER_ID, true, BG_COLOR, APP, null, ARTIST, TITLE, null, emptyList(), in bindDevice()
232 emptyList(), PACKAGE, session.getSessionToken(), null, device, true, null) in bindDevice()
244 val state = MediaData(USER_ID, true, BG_COLOR, APP, null, ARTIST, TITLE, null, emptyList(), in bindDisabledDevice()
245 emptyList(), PACKAGE, session.getSessionToken(), null, disabledDevice, true, null) in bindDisabledDevice()
258 val state = MediaData(USER_ID, true, BG_COLOR, APP, null, ARTIST, TITLE, null, emptyList(), in bindNullDevice()
259 emptyList(), PACKAGE, session.getSessionToken(), null, null, true, null) in bindNullDevice()
[all …]
/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.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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DInflatedSmartReplyState.kt32 get() = smartReplies?.choices ?: emptyList()
34 get() = smartActions?.actions ?: emptyList()
36 get() = suppressedActions?.suppressedActionIndices ?: emptyList()
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchImplTest.java439 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testTriggerCheckOptimizeByMutationSize()
499 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testReset()
591 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testReset()
626 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testRewriteSearchSpec_oneInstance()
660 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testRewriteSearchSpec_twoInstances()
669 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testRewriteSearchSpec_twoInstances()
714 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testRewriteSearchSpec_ignoresSearchSpecSchemaFilters()
756 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testQueryWithMultiplePackages_noPackageFilters()
769 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testQueryWithMultiplePackages_noPackageFilters()
812 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testQueryWithMultiplePackages_withPackageFilters()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
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()
/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/base/tests/vcn/java/com/android/server/vcn/util/
DMtuUtilsTest.java33 import static java.util.Collections.emptyList;
52 IPV6_MIN_MTU, getMtu(emptyList(), ETHER_MTU /* maxMtu */, 0 /* underlyingMtu */)); in testUnderlyingMtuZero()
57 assertEquals(0, getMtu(emptyList(), 0 /* maxMtu */, IPV6_MIN_MTU /* underlyingMtu */)); in testClampsToMaxMtu()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyItemControllerTest.kt152 verify(callback).onPrivacyItemsChanged(emptyList()) in testSetListeningFalseByRemovingLastCallback()
197 privacyItemController.userTrackerCallback.onProfilesChanged(emptyList()) in testReceiver_profilesChanged()
218 doReturn(emptyList<AppOpItem>()).`when`(appOpsController).getActiveAppOps(anyBoolean()) in testMultipleCallbacksAreUpdated()
236 doReturn(emptyList<AppOpItem>()).`when`(appOpsController).getActiveAppOps(anyBoolean()) in testRemoveCallback()
452 verify(callback, never()).onPrivacyItemsChanged(emptyList()) in testPassageOfTimeDoesNotRemoveIndicators()
466 doReturn(emptyList<AppOpItem>()).`when`(appOpsController).getActiveAppOps(anyBoolean()) in testNotHeldAfterTimeIsOff()
475 verify(callback).onPrivacyItemsChanged(emptyList()) in testNotHeldAfterTimeIsOff()
489 doReturn(emptyList<AppOpItem>()).`when`(appOpsController).getActiveAppOps(anyBoolean()) in testElementNotRemovedBeforeHoldTime()
498 verify(callback, never()).onPrivacyItemsChanged(emptyList()) in testElementNotRemovedBeforeHoldTime()
512 doReturn(emptyList<AppOpItem>()).`when`(appOpsController).getActiveAppOps(anyBoolean()) in testElementAutoRemovedAfterHoldTime()
[all …]
/frameworks/base/packages/StatementService/src/com/android/statementservice/network/retriever/
DStatementRetriever.kt59 val EMPTY = Result(emptyList(), null)
109 val content = webResponse.content ?: return@withContext Result(emptyList(), webResponse) in retrieve()
111 .successValueOrNull() ?: return@withContext Result(emptyList(), webResponse) in retrieve()
/frameworks/base/core/java/android/util/apk/
DSourceStampVerificationResult.java72 null, /* certificateLineage= */ Collections.emptyList()); in notPresent()
96 null, /* certificateLineage= */ Collections.emptyList()); in notVerified()
/frameworks/layoutlib/bridge/src/android/view/accessibility/
DAccessibilityManager.java245 return Collections.emptyList(); in getAccessibilityServiceList()
249 return Collections.emptyList(); in getInstalledAccessibilityServiceList()
267 return Collections.emptyList(); in getEnabledAccessibilityServiceList()
/frameworks/base/core/java/com/android/internal/util/
DCollectionUtils.java122 if (isEmpty(cur)) return Collections.emptyList(); in map()
164 if (isEmpty(cur)) return Collections.emptyList(); in mapNotNull()
183 return cur == null ? Collections.emptyList() : cur; in emptyIfNull()
233 if (isEmpty(list)) return Collections.emptyList(); in filter()
312 if (cur == null || cur == Collections.emptyList()) { in add()
324 if (cur == null || cur == Collections.emptyList()) { in add()
395 return isEmpty(cur) ? Collections.emptyList() : new ArrayList<>(cur); in copyOf()
482 return item == null ? Collections.emptyList() : Collections.singletonList(item); in singletonOrEmpty()
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/
DAppSearchImplPlatformTest.java267 /*schemas=*/ Collections.emptyList(), in testRemoveSchema_removedFromVisibilityStore()
269 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testRemoveSchema_removedFromVisibilityStore()
298 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testRemoveSchema_removedFromVisibilityStore()
333 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testSetSchema_defaultPlatformVisible()
390 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testSetSchema_defaultNotVisibleToPackages()
429 /*schemasNotDisplayedBySystem=*/ Collections.emptyList(), in testSetSchema_visibleToPackages()
/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()

12345678910>>...15