Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/com/android/internal/util/
DCollectionUtils.java70 if (isEmpty(cur)) return Collections.emptyList(); in map()
91 if (isEmpty(cur)) return Collections.emptyList(); in mapNotNull()
110 return cur == null ? Collections.emptyList() : cur; in emptyIfNull()
135 if (isEmpty(list)) return Collections.emptyList(); in filter()
174 if (cur == null || cur == Collections.emptyList()) { in add()
197 return isEmpty(cur) ? Collections.emptyList() : new ArrayList<>(cur); in copyOf()
/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/tools/layoutlib/bridge/src/android/view/accessibility/
DAccessibilityManager.java172 return Collections.emptyList(); in getAccessibilityServiceList()
176 return Collections.emptyList(); in getInstalledAccessibilityServiceList()
194 return Collections.emptyList(); in getEnabledAccessibilityServiceList()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserDataPreparerTest.java145 assertEquals(Collections.emptyList(), Arrays.asList(FileUtils.listFilesOrEmpty( in testDestroyUserData()
168 assertEquals(Collections.emptyList(), Arrays.asList(FileUtils.listFilesOrEmpty(systemDir))); in testDestroyUserData_De()
169 assertEquals(Collections.emptyList(), Arrays.asList(FileUtils.listFilesOrEmpty( in testDestroyUserData_De()
171 assertEquals(Collections.emptyList(), Arrays.asList(FileUtils.listFilesOrEmpty( in testDestroyUserData_De()
191 assertEquals(Collections.emptyList(), Arrays.asList(FileUtils.listFilesOrEmpty( in testDestroyUserData_Ce()
193 assertEquals(Collections.emptyList(), Arrays.asList(FileUtils.listFilesOrEmpty( in testDestroyUserData_Ce()
/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()
DParceledListSlice.java42 public static <T extends Parcelable> ParceledListSlice<T> emptyList() { in emptyList() method in ParceledListSlice
43 return new ParceledListSlice<T>(Collections.<T> emptyList()); in emptyList()
/frameworks/base/core/java/android/appwidget/
DAppWidgetManager.java725 return Collections.emptyList(); in getInstalledProvidersForProfile()
756 return Collections.emptyList(); in getInstalledProvidersForPackage()
767 return Collections.emptyList(); in getInstalledProviders()
787 return Collections.emptyList(); in getInstalledProviders()
814 return Collections.emptyList(); in getInstalledProvidersForProfile()
825 return Collections.emptyList(); in getInstalledProvidersForProfile()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderResult.java39 mSystemViews = systemViewInfoList == null ? Collections.emptyList() : systemViewInfoList; in RenderResult()
40 mRootViews = rootViewInfoList == null ? Collections.emptyList() : rootViewInfoList; in RenderResult()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/
DRemotePrintServicePlugin.java73 mPrinters = Collections.emptyList(); in RemotePrintServicePlugin()
136 mPrinters = Collections.emptyList(); in onChanged()
/frameworks/base/core/java/android/view/
DKeyboardShortcutGroup.java52 this(label, Collections.<KeyboardShortcutInfo>emptyList()); in KeyboardShortcutGroup()
74 this(label, Collections.<KeyboardShortcutInfo>emptyList(), isSystemGroup); in KeyboardShortcutGroup()
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java144 return Collections.emptyList(); in queryUsageStats()
169 return Collections.emptyList(); in queryConfigurations()
/frameworks/base/core/java/android/printservice/
DPrinterDiscoverySession.java146 return Collections.emptyList(); in getPrinters()
458 return Collections.emptyList(); in getTrackedPrinters()
502 priorityList = Collections.emptyList(); in startPrinterDiscovery()
DPrintService.java346 return Collections.emptyList(); in getActivePrintJobs()
364 return Collections.emptyList(); in getActivePrintJobs()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityInteractionClient.java242 return Collections.emptyList(); in getWindows()
357 return Collections.emptyList(); in findAccessibilityNodeInfosByViewId()
405 return Collections.emptyList(); in findAccessibilityNodeInfosByText()
587 result = Collections.emptyList(); in getFindAccessibilityNodeInfosResultAndClear()
614 mFindAccessibilityNodeInfosResult = Collections.emptyList(); in setFindAccessibilityNodeInfosResult()
DAccessibilityManager.java513 return Collections.emptyList(); in getInstalledAccessibilityServiceList()
530 return Collections.emptyList(); in getInstalledAccessibilityServiceList()
555 return Collections.emptyList(); in getEnabledAccessibilityServiceList()
572 return Collections.emptyList(); in getEnabledAccessibilityServiceList()
/frameworks/support/media-compat/tests/src/android/support/v4/media/
DStubMediaBrowserServiceCompat.java129 result.sendResult(Collections.<MediaItem>emptyList()); in onSearch()
157 mPendingLoadChildrenResult.sendResult(Collections.<MediaItem>emptyList()); in sendDelayedNotifyChildrenChanged()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/model/
DMusicProvider.java96 return Collections.emptyList(); in getGenres()
106 return Collections.emptyList(); in getMusicsByGenre()
118 return Collections.emptyList(); in searchMusic()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DAdapterItem.java56 return Collections.emptyList(); in getChildren()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/
DTileAdapterTest.java50 mTileAdapter.resetTileSpecs(host, Collections.emptyList()); in testResetNotifiesHost()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java344 return Collections.emptyList(); in getAllPermissionGroups()
484 return Collections.emptyList(); in getSharedLibrariesAsUser()
732 return Collections.emptyList(); in getInstalledPackagesAsUser()
749 return Collections.emptyList(); in getPackagesHoldingPermissions()
771 return Collections.emptyList(); in getInstalledApplicationsAsUser()
789 return Collections.emptyList(); in getInstantApps()
914 return Collections.emptyList(); in queryIntentActivitiesAsUser()
951 return Collections.emptyList(); in queryIntentActivityOptions()
971 return Collections.emptyList(); in queryBroadcastReceiversAsUser()
1006 return Collections.emptyList(); in queryIntentServicesAsUser()
[all …]
/frameworks/base/packages/StatementService/src/com/android/statementservice/
DIntentFilterVerificationReceiver.java73 Collections.<String>emptyList()); in sendErrorToPackageManager()
201 Collections.<String>emptyList()); in onReceiveResult()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridgeRenderSession.java71 return mSession != null ? mSession.getViewInfos() : Collections.emptyList(); in getRootViews()
76 return mSession != null ? mSession.getSystemViewInfos() : Collections.emptyList(); in getSystemRootViews()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DCallbackArgExpr.java67 return Collections.emptyList(); in constructDependencies()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSPanelTest.java55 when(mHost.getTiles()).thenReturn(Collections.emptyList()); in setup()
/frameworks/base/telephony/java/android/telephony/
DVisualVoicemailSmsFilterSettings.java64 public static final List<String> DEFAULT_ORIGINATING_NUMBERS = Collections.emptyList();

12345