Home
last modified time | relevance | path

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

12345678910>>...20

/aosp14/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/common/
H A DSettingsPageProviderRepositoryTest.kt29 val sppRepoEmpty = SettingsPageProviderRepository(emptyList(), emptyList())
35 SettingsPageProviderRepository(emptyList(), listOf(nullPage))
41 val sppRepo = SettingsPageProviderRepository(emptyList(), listOf(rootPage1, rootPage2))
51 val sppRepoEmpty = SettingsPageProviderRepository(emptyList(), emptyList())
59 ), emptyList())
/aosp14/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()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
H A DTrustRepositoryTest.kt155 listener.value.onTrustChanged(true, false, currentUserId, 0, emptyList())
158 listener.value.onTrustChanged(false, false, currentUserId, 0, emptyList())
181 listener.value.onTrustChanged(true, true, users[0].id, 0, emptyList())
183 listener.value.onTrustChanged(false, false, users[1].id, 0, emptyList())
194 listener.value.onTrustChanged(true, true, users[0].id, 0, emptyList())
197 listener.value.onTrustChanged(false, true, users[0].id, 0, emptyList())
207 listener.value.onTrustChanged(true, true, users[0].id, 0, emptyList())
219 listener.value.onTrustChanged(true, true, users[0].id, 0, emptyList())
/aosp14/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()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
H A DPrivacyItemControllerTest.kt128 verify(callback).onPrivacyItemsChanged(emptyList())
200 doReturn(emptyList<PrivacyItem>()).`when`(privacyItemMonitor).getActivePrivacyItems()
218 doReturn(emptyList<PrivacyItem>()).`when`(privacyItemMonitor).getActivePrivacyItems()
281 verify(callback, never()).onPrivacyItemsChanged(emptyList())
296 doReturn(emptyList<PrivacyItem>()).`when`(privacyItemMonitor).getActivePrivacyItems()
304 verify(callback).onPrivacyItemsChanged(emptyList())
320 doReturn(emptyList<PrivacyItem>()).`when`(privacyItemMonitor).getActivePrivacyItems()
328 verify(callback, never()).onPrivacyItemsChanged(emptyList())
343 doReturn(emptyList<PrivacyItem>()).`when`(privacyItemMonitor).getActivePrivacyItems()
354 verify(callback).onPrivacyItemsChanged(emptyList())
/aosp14/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()
/aosp14/frameworks/base/core/java/android/view/
H A DViewRootRectTracker.java40 private List<Rect> mRootRects = Collections.emptyList();
42 private List<Rect> mRects = Collections.emptyList();
153 return rects == null ? Collections.emptyList() : rects; in getTrackedRectsForView()
163 List<Rect> mRects = Collections.emptyList();
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/controller/
H A DWalletContextualSuggestionsController.kt80 trySendWithFailureLogging(emptyList<WalletCard>(), TAG)
108 emptyList()
111 MutableStateFlow<List<WalletCard>>(emptyList()).asStateFlow()
127 .stateIn(applicationCoroutineScope, SharingStarted.WhileSubscribed(), emptyList())
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/
H A DMediaTestUtils.kt33 actions = emptyList(),
34 actionsToShowInCompact = emptyList(),
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
H A DSelectionItemTest.kt32 StructureInfo(ComponentName("", ""), "s", emptyList())
79 SelectedItem.StructureItem(StructureInfo(componentName, structureName, emptyList()))
99 SelectedItem.StructureItem(StructureInfo(componentName, structureName, emptyList()))
/aosp14/frameworks/base/core/tests/coretests/src/android/content/integrity/
H A DInstallerAllowedByManifestFormulaTest.java117 .setAppCertificates(Collections.emptyList()) in getAppInstallMetadataBuilder()
118 .setAppCertificateLineage(Collections.emptyList()) in getAppInstallMetadataBuilder()
119 .setInstallerCertificates(Collections.emptyList()) in getAppInstallMetadataBuilder()
/aosp14/frameworks/base/core/tests/coretests/src/android/provider/
H A DNameValueCacheTest.java245 NAMESPACE, Collections.emptyList()); in testCaching_singleNamespace()
251 NAMESPACE, Collections.emptyList()); in testCaching_singleNamespace()
262 NAMESPACE, Collections.emptyList()); in testCaching_singleNamespace()
268 NAMESPACE, Collections.emptyList()); in testCaching_singleNamespace()
282 NAMESPACE, Collections.emptyList()); in testCaching_multipleNamespaces()
295 NAMESPACE2, Collections.emptyList()); in testCaching_multipleNamespaces()
301 NAMESPACE, Collections.emptyList()); in testCaching_multipleNamespaces()
307 NAMESPACE2, Collections.emptyList()); in testCaching_multipleNamespaces()
315 NAMESPACE, Collections.emptyList()); in testCaching_emptyNamespace()
321 NAMESPACE, Collections.emptyList()); in testCaching_emptyNamespace()
/aosp14/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
H A DImeOpenCloseStressTest.java100 Intent intent = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in testShowHideWithInputMethodManager_waitingVisibilityChange()
122 Intent intent = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in testShowHideWithInputMethodManager_waitingAnimationEnd()
149 Intent intent = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in testShowHideWithInputMethodManager_intervalAfterHide()
172 Intent intent = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in testShowHideWithInputMethodManager_inSameFrame()
239 Intent intent = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in testShowWithInputMethodManager_notRequestFocus()
261 Intent intent = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in testShowHideWithWindowInsetsController_waitingVisibilityChange()
282 Intent intent = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in testShowHideWithWindowInsetsController_waitingAnimationEnd()
308 Intent intent = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in testShowHideWithWindowInsetsController_intervalAfterHide()
332 Intent intent = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in testShowHideWithWindowInsetsController_inSameFrame()
400 Intent intent = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in testShowWithWindowInsetsController_afterStart_notRequestFocus()
H A DAutoShowTest.java115 Intent intent = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in autoShow_hasFocusedView_notRequestFocus()
173 Collections.emptyList()); in autoShow_forwardWithKeyboardOff()
226 Intent intent1 = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in autoShow_backwardWithKeyboardOff()
236 Collections.emptyList()); in autoShow_backwardWithKeyboardOff()
253 Intent intent1 = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in autoShow_backwardWithKeyboardOn()
285 Intent intent = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in clickFocusableView_requestFocus()
308 Intent intent1 = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in clickFocusableView_notRequestFocus()
/aosp14/frameworks/base/packages/StatementService/src/com/android/statementservice/network/retriever/
H A DStatementRetriever.kt59 val EMPTY = Result(emptyList(), null)
109 val content = webResponse.content ?: return@withContext Result(emptyList(), webResponse)
111 .successValueOrNull() ?: return@withContext Result(emptyList(), webResponse)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
H A DAuxiliaryPersistenceWrapper.kt54 var favorites: List<StructureInfo> = emptyList()
80 emptyList()
95 return emptyList()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
H A DKeyguardQuickAffordanceInteractor.kt181 .getOrDefault(slotId, emptyList())
224 repository.get().getCurrentSelections().getOrDefault(slotId, emptyList()).isEmpty()
228 repository.get().setSelections(slotId = slotId, affordanceIds = emptyList())
237 .getOrDefault(slotId, emptyList())
264 (selections[slot.id] ?: emptyList()).mapNotNull { affordanceId ->
276 .map { it[position.toSlotId()] ?: emptyList() }
374 return emptyList()
/aosp14/frameworks/base/graphics/java/android/graphics/fonts/
H A DSystemFonts.java260 return new FontConfig(Collections.emptyList(), Collections.emptyList(), in getSystemFontConfigInternal()
261 Collections.emptyList(), 0, 0); in getSystemFontConfigInternal()
264 return new FontConfig(Collections.emptyList(), Collections.emptyList(), in getSystemFontConfigInternal()
265 Collections.emptyList(), 0, 0); in getSystemFontConfigInternal()
/aosp14/frameworks/base/tests/vcn/java/com/android/server/vcn/util/
H A DMtuUtilsTest.java33 import static java.util.Collections.emptyList;
52 getMtu(emptyList(), ETHER_MTU /* maxMtu */, 0 /* underlyingMtu */, isIpv4)); in verifyUnderlyingMtuZero()
67 0, getMtu(emptyList(), 0 /* maxMtu */, IPV6_MIN_MTU /* underlyingMtu */, isIpv4)); in verifyClampsToMaxMtu()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/credentials/
H A DCredentialDescriptionRegistryTest.java113 Collections.emptyList()); in testEvictProvider_existingProviders_succeeds()
118 Collections.emptyList()); in testEvictProvider_existingProviders_succeeds()
139 Collections.emptyList()); in testGetMatchingProviders_existingProviders_succeeds()
144 Collections.emptyList()); in testGetMatchingProviders_existingProviders_succeeds()
/aosp14/frameworks/base/core/java/android/util/apk/
H A DSourceStampVerificationResult.java72 null, /* certificateLineage= */ Collections.emptyList()); in notPresent()
96 null, /* certificateLineage= */ Collections.emptyList()); in notVerified()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
H A DKeyguardQuickAffordanceInteractorTest.kt398 KeyguardQuickAffordanceSlots.SLOT_ID_BOTTOM_START to emptyList(),
399 KeyguardQuickAffordanceSlots.SLOT_ID_BOTTOM_END to emptyList(),
439 KeyguardQuickAffordanceSlots.SLOT_ID_BOTTOM_END to emptyList(),
473 KeyguardQuickAffordanceSlots.SLOT_ID_BOTTOM_END to emptyList(),
564 KeyguardQuickAffordanceSlots.SLOT_ID_BOTTOM_START to emptyList(),
592 KeyguardQuickAffordanceSlots.SLOT_ID_BOTTOM_START to emptyList(),
593 KeyguardQuickAffordanceSlots.SLOT_ID_BOTTOM_END to emptyList(),
655 KeyguardQuickAffordanceSlots.SLOT_ID_BOTTOM_START to emptyList(),
675 KeyguardQuickAffordanceSlots.SLOT_ID_BOTTOM_START to emptyList(),
676 KeyguardQuickAffordanceSlots.SLOT_ID_BOTTOM_END to emptyList(),
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A 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()
240 if (isEmpty(list)) return Collections.emptyList(); in filter()
319 if (cur == null || cur == Collections.emptyList()) { in add()
331 if (cur == null || cur == Collections.emptyList()) { in add()
402 return isEmpty(cur) ? Collections.emptyList() : new ArrayList<>(cur); in copyOf()
489 return item == null ? Collections.emptyList() : Collections.singletonList(item); in singletonOrEmpty()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/
H A DMediaProjectionAppSelectorControllerTest.kt55 taskListProvider.tasks = emptyList()
59 verify(view).bind(emptyList())
181 verify(view).bind(emptyList())
204 var tasks: List<RecentTask> = emptyList()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DScreenshotSmartActions.java79 return CompletableFuture.completedFuture(Collections.emptyList()); in getSmartActionsFuture()
86 return CompletableFuture.completedFuture(Collections.emptyList()); in getSmartActionsFuture()
101 smartActionsFuture = CompletableFuture.completedFuture(Collections.emptyList()); in getSmartActionsFuture()
150 return Collections.emptyList(); in getSmartActions()

12345678910>>...20