/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CellIdentityTest.java | 82 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 …]
|
D | CellIdentityGsmTest.java | 50 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 …]
|
D | CellIdentityWcdmaTest.java | 50 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 …]
|
D | CellIdentityLteTest.java | 53 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 …]
|
D | CellIdentityTdscdmaTest.java | 75 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()
|
D | CellIdentityNrTest.java | 54 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()
|
D | NetworkScanResultTest.java | 46 Collections.emptyList()); in testParcel() 57 Collections.emptyList(), null); in testParcel()
|
/frameworks/libs/net/common/tests/unit/src/android/net/util/ |
D | LinkPropertiesUtilsTest.java | 226 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/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/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | ConnectedClientsTrackerTest.kt | 73 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/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();
|
/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/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | ConnectedClientsTracker.java | 50 private List<WifiClient> mLastWifiClients = Collections.emptyList(); 52 private List<TetheredClient> mLastTetheredClients = Collections.emptyList(); 110 client, Collections.emptyList() /* addresses */, TETHERING_WIFI)); in updateConnectedClients()
|
/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/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ScreenshotNotificationSmartActionsTest.java | 90 Assert.assertEquals(Collections.emptyList(), smartActions); in testExceptionHandlingInGetSmartActionsFuture() 105 Assert.assertEquals(Collections.emptyList(), actions); in testExceptionHandlingInGetSmartActions() 130 Assert.assertEquals(Collections.emptyList(), smartActions); in testUnsupportedBitmapConfiguration() 184 CompletableFuture.completedFuture(Collections.emptyList()), notificationBuilder); in testNotificationActionExtras()
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/ |
D | RemotePrintServicePlugin.java | 73 mPrinters = Collections.emptyList(); in RemotePrintServicePlugin() 136 mPrinters = Collections.emptyList(); in onChanged()
|