/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | LiteTest.java | 33 import static java.util.Collections.emptyList; 540 assertEquals(emptyList(), message.getRepeatedBoolList()); in testSanityCopyOnWrite() 542 assertEquals(emptyList(), message.getRepeatedBoolList()); in testSanityCopyOnWrite() 545 assertEquals(emptyList(), builder.getRepeatedBoolList()); in testSanityCopyOnWrite() 550 assertEquals(emptyList(), message.getRepeatedBytesList()); in testSanityCopyOnWrite() 554 assertEquals(emptyList(), message.getRepeatedBytesList()); in testSanityCopyOnWrite() 557 assertEquals(emptyList(), builder.getRepeatedBytesList()); in testSanityCopyOnWrite() 564 assertEquals(emptyList(), message.getRepeatedCordList()); in testSanityCopyOnWrite() 566 assertEquals(emptyList(), message.getRepeatedCordList()); in testSanityCopyOnWrite() 569 assertEquals(emptyList(), builder.getRepeatedCordList()); in testSanityCopyOnWrite() [all …]
|
D | ProtobufArrayListTest.java | 59 assertSame(ProtobufArrayList.emptyList(), ProtobufArrayList.emptyList()); in testEmptyListReturnsSameInstance() 63 assertImmutable(ProtobufArrayList.<Integer>emptyList()); in testEmptyListIsImmutable() 162 list.addAll(Collections.<Integer>emptyList()); in assertImmutable() 204 list.addAll(0, Collections.<Integer>emptyList()); in assertImmutable() 232 list.removeAll(Collections.emptyList()); in assertImmutable() 253 list.retainAll(Collections.emptyList()); in assertImmutable()
|
D | FloatArrayListTest.java | 61 assertSame(FloatArrayList.emptyList(), FloatArrayList.emptyList()); in testEmptyListReturnsSameInstance() 65 assertImmutable(FloatArrayList.emptyList()); in testEmptyListIsImmutable() 145 assertEquals(0, FloatArrayList.emptyList().size()); in testSize() 269 assertFalse(list.addAll(Collections.<Float>emptyList())); in testAddAll() 270 assertFalse(list.addAll(FloatArrayList.emptyList())); in testAddAll() 321 list.addAll(Collections.<Float>emptyList()); in assertImmutable() 363 list.addAll(0, Collections.<Float>emptyList()); in assertImmutable() 398 list.removeAll(Collections.<Float>emptyList()); in assertImmutable() 419 list.retainAll(Collections.<Float>emptyList()); in assertImmutable()
|
D | LongArrayListTest.java | 61 assertSame(LongArrayList.emptyList(), LongArrayList.emptyList()); in testEmptyListReturnsSameInstance() 65 assertImmutable(LongArrayList.emptyList()); in testEmptyListIsImmutable() 145 assertEquals(0, LongArrayList.emptyList().size()); in testSize() 269 assertFalse(list.addAll(Collections.<Long>emptyList())); in testAddAll() 270 assertFalse(list.addAll(LongArrayList.emptyList())); in testAddAll() 321 list.addAll(Collections.<Long>emptyList()); in assertImmutable() 363 list.addAll(0, Collections.<Long>emptyList()); in assertImmutable() 398 list.removeAll(Collections.<Long>emptyList()); in assertImmutable() 419 list.retainAll(Collections.<Long>emptyList()); in assertImmutable()
|
D | IntArrayListTest.java | 61 assertSame(IntArrayList.emptyList(), IntArrayList.emptyList()); in testEmptyListReturnsSameInstance() 65 assertImmutable(IntArrayList.emptyList()); in testEmptyListIsImmutable() 145 assertEquals(0, IntArrayList.emptyList().size()); in testSize() 269 assertFalse(list.addAll(Collections.<Integer>emptyList())); in testAddAll() 270 assertFalse(list.addAll(IntArrayList.emptyList())); in testAddAll() 321 list.addAll(Collections.<Integer>emptyList()); in assertImmutable() 363 list.addAll(0, Collections.<Integer>emptyList()); in assertImmutable() 398 list.removeAll(Collections.<Integer>emptyList()); in assertImmutable() 419 list.retainAll(Collections.<Integer>emptyList()); in assertImmutable()
|
D | BooleanArrayListTest.java | 61 assertSame(BooleanArrayList.emptyList(), BooleanArrayList.emptyList()); in testEmptyListReturnsSameInstance() 65 assertImmutable(BooleanArrayList.emptyList()); in testEmptyListIsImmutable() 145 assertEquals(0, BooleanArrayList.emptyList().size()); in testSize() 269 assertFalse(list.addAll(Collections.<Boolean>emptyList())); in testAddAll() 270 assertFalse(list.addAll(BooleanArrayList.emptyList())); in testAddAll() 318 list.addAll(Collections.<Boolean>emptyList()); in assertImmutable() 360 list.addAll(0, Collections.<Boolean>emptyList()); in assertImmutable() 395 list.removeAll(Collections.<Boolean>emptyList()); in assertImmutable() 416 list.retainAll(Collections.<Boolean>emptyList()); in assertImmutable()
|
D | DoubleArrayListTest.java | 61 assertSame(DoubleArrayList.emptyList(), DoubleArrayList.emptyList()); in testEmptyListReturnsSameInstance() 65 assertImmutable(DoubleArrayList.emptyList()); in testEmptyListIsImmutable() 145 assertEquals(0, DoubleArrayList.emptyList().size()); in testSize() 269 assertFalse(list.addAll(Collections.<Double>emptyList())); in testAddAll() 270 assertFalse(list.addAll(DoubleArrayList.emptyList())); in testAddAll() 321 list.addAll(Collections.<Double>emptyList()); in assertImmutable() 363 list.addAll(0, Collections.<Double>emptyList()); in assertImmutable() 398 list.removeAll(Collections.<Double>emptyList()); in assertImmutable() 419 list.retainAll(Collections.<Double>emptyList()); in assertImmutable()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/ |
D | ExpansionStateLoggerTest.java | 68 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 testOnEntryReinflated() 174 Collections.emptyList()); in testOnEntryReinflated()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WakeupLockTest.java | 126 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/core/tests/coretests/src/android/view/textclassifier/ |
D | ModelFileManagerTest.java | 89 new File("/path/a"), 1, Collections.emptyList(), "", true); in get() 103 Collections.emptyList(), "", true); in findBestModel_versionCode() 108 Collections.emptyList(), "", true); in findBestModel_versionCode() 124 Collections.emptyList(), "", true); in findBestModel_languageDependentModelIsPreferred() 146 Collections.emptyList(), "", true); in findBestModel_noMatchedLanguageModel() 168 Collections.emptyList(), "", true); in findBestModel_noMatchedLanguageModel_defaultLocaleModelExists() 218 Collections.emptyList(), "", true); in findBestModel_languageIsMoreImportantThanVersion_bestModelComesFirst() 291 Collections.emptyList(), "", true); in modelFile_isPreferredTo_languageDependentIsBetter() 306 Collections.emptyList(), "", false); in modelFile_isPreferredTo_version()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | AndroidPackageInfoFetcher.java | 79 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/ |
D | BackgroundFallbackTest.java | 30 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/core/java/com/android/internal/util/ |
D | CollectionUtils.java | 111 if (isEmpty(cur)) return Collections.emptyList(); in map() 153 if (isEmpty(cur)) return Collections.emptyList(); in mapNotNull() 172 return cur == null ? Collections.emptyList() : cur; in emptyIfNull() 211 if (isEmpty(list)) return Collections.emptyList(); in filter() 250 if (cur == null || cur == Collections.emptyList()) { in add() 295 return isEmpty(cur) ? Collections.emptyList() : new ArrayList<>(cur); in copyOf() 348 return item == null ? Collections.emptyList() : Collections.singletonList(item); in singletonOrEmpty()
|
/frameworks/layoutlib/bridge/src/android/view/accessibility/ |
D | AccessibilityManager.java | 242 return Collections.emptyList(); in getAccessibilityServiceList() 246 return Collections.emptyList(); in getInstalledAccessibilityServiceList() 264 return Collections.emptyList(); in getEnabledAccessibilityServiceList()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputMethodManagerInternal.java | 74 return Collections.emptyList(); 79 return Collections.emptyList();
|
/frameworks/base/core/java/android/view/ |
D | GestureExclusionTracker.java | 37 private List<Rect> mRootGestureExclusionRects = Collections.emptyList(); 39 private List<Rect> mGestureExclusionRects = Collections.emptyList(); 113 List<Rect> mExclusionRects = Collections.emptyList();
|
D | KeyboardShortcutGroup.java | 53 this(label, Collections.<KeyboardShortcutInfo>emptyList()); in KeyboardShortcutGroup() 77 this(label, Collections.<KeyboardShortcutInfo>emptyList(), isSystemGroup); in KeyboardShortcutGroup()
|
/frameworks/base/core/java/android/content/pm/ |
D | StringParceledListSlice.java | 42 public static StringParceledListSlice emptyList() { in emptyList() method in StringParceledListSlice 43 return new StringParceledListSlice(Collections.<String> emptyList()); in emptyList()
|
D | ParceledListSlice.java | 45 public static <T extends Parcelable> ParceledListSlice<T> emptyList() { in emptyList() method in ParceledListSlice 46 return new ParceledListSlice<T>(Collections.<T> emptyList()); in emptyList()
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetManager.java | 761 return Collections.emptyList(); in getInstalledProvidersForProfile() 792 return Collections.emptyList(); in getInstalledProvidersForPackage() 803 return Collections.emptyList(); in getInstalledProviders() 824 return Collections.emptyList(); in getInstalledProviders() 852 return Collections.emptyList(); in getInstalledProvidersForProfile() 863 return Collections.emptyList(); in getInstalledProvidersForProfile()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
D | RenderResult.java | 39 mSystemViews = systemViewInfoList == null ? Collections.emptyList() : systemViewInfoList; in RenderResult() 40 mRootViews = rootViewInfoList == null ? Collections.emptyList() : rootViewInfoList; in RenderResult()
|
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/ |
D | RemoteRenderSessionAdapter.java | 94 return Collections.emptyList(); in getRootViews() 100 return Collections.emptyList(); in getSystemRootViews()
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/ |
D | RemotePrintServicePlugin.java | 73 mPrinters = Collections.emptyList(); in RemotePrintServicePlugin() 136 mPrinters = Collections.emptyList(); in onChanged()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserDataPreparerTest.java | 146 assertEquals(Collections.emptyList(), Arrays.asList(FileUtils.listFilesOrEmpty( in testDestroyUserData() 166 assertEquals(Collections.emptyList(), Arrays.asList(FileUtils.listFilesOrEmpty(systemDir))); in testDestroyUserData_De() 167 assertEquals(Collections.emptyList(), Arrays.asList(FileUtils.listFilesOrEmpty( in testDestroyUserData_De() 184 assertEquals(Collections.emptyList(), Arrays.asList(FileUtils.listFilesOrEmpty( in testDestroyUserData_Ce()
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceProvider.java | 271 return Collections.emptyList(); in onGetSliceDescendants() 490 Collections.emptyList()) in createPermissionSlice() 502 Collections.emptyList()) in createPermissionSlice() 504 Collections.emptyList()) in createPermissionSlice() 506 Collections.emptyList()) in createPermissionSlice()
|