| /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
| NFAToDFAConverter.java | [all...] |
| /external/doclava/src/com/google/doclava/ |
| Stubs.java | 27 import java.util.Collections; [all...] |
| /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
| IteratorsTest.java | 34 import java.util.Collections; 121 Iterator<Integer> iterator = Collections.singleton(0).iterator(); 153 Iterator<String> iterator = Collections.singletonList("foo").iterator(); 204 Iterator<String> iterator = Collections.singletonList("foo").iterator(); 233 List<String> expected = Collections.singletonList("foo"); 242 List<String> expected = Collections.emptyList(); 257 Iterator<String> unfiltered = Collections.<String>emptyList().iterator(); 266 List<String> expected = Collections.emptyList(); 488 assertEquals(Collections.emptyList(), iterable); 512 assertEquals(Collections.singletonList("b"), iterable) [all...] |
| MultimapsTest.java | 40 import java.util.Collections; 342 assertEquals(Collections.singleton(1), multimapView.get("foo")); 343 assertEquals(Collections.singleton(2), multimapView.get("bar")); 349 multimapView.putAll("baz", Collections.singleton(3)); 357 multimapView.replaceValues("foo", Collections.<Integer>emptySet()); 371 "foo", (Collection<Integer>) Collections.singleton(1))); 391 assertEquals(Collections.emptySet(), multimap.removeAll("dog")); 394 assertEquals(Collections.singleton(2), multimap.removeAll("bar")); 404 assertEquals(Collections.singleton(1), asMap.get("foo")); 413 Collections.singletonList(1)))) [all...] |
| /external/guava/guava-tests/test/com/google/common/collect/ |
| ImmutableSortedSetTest.java | 46 import java.util.Collections; 322 // TODO: test other collections for this problem 641 Collections.addAll(input, "in", "the", "quick", "jumped", "over", "a"); 662 Collections.addAll(input, "in", "the", "quick", "jumped", "over", "a"); 687 Collections.addAll(complex, "in", "the", "a"); 705 assertTrue(set.containsAll(Collections.emptyList())); 736 Comparator<Comparable<?>> comparator = Collections.reverseOrder(); 751 // don't use Collections.reverseOrder(); it didn't reserialize to the same instance in JDK5 [all...] |
| MultimapsTest.java | 44 import java.util.Collections; 434 assertEquals(Collections.singleton(1), multimapView.get("foo")); 435 assertEquals(Collections.singleton(2), multimapView.get("bar")); 441 multimapView.putAll("baz", Collections.singleton(3)); 449 multimapView.replaceValues("foo", Collections.<Integer>emptySet()); 463 "foo", (Collection<Integer>) Collections.singleton(1))); 492 assertEquals(Collections.emptySet(), multimap.removeAll("dog")); 495 assertEquals(Collections.singleton(2), multimap.removeAll("bar")); 505 assertEquals(Collections.singleton(1), asMap.get("foo")); 514 Collections.singletonList(1)))) [all...] |
| /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
| MeasureUnitTest.java | 17 import java.util.Collections; [all...] |
| /external/javassist/src/main/javassist/util/proxy/ |
| ProxyFactory.java | 776 Collections.sort(signatureMethods, sorter); [all...] |
| /external/protobuf/java/src/test/java/com/google/protobuf/ |
| DescriptorsTest.java | 68 import java.util.Collections; 132 assertEquals(Collections.emptyList(), 146 assertEquals(Collections.emptyList(),
|
| /frameworks/base/cmds/pm/src/com/android/commands/pm/ |
| Pm.java | 81 import java.util.Collections; 429 Collections.sort(list, new Comparator<FeatureInfo>() { 469 Collections.sort(list, new Comparator<String>() { 523 Collections.sort(list, new Comparator<InstrumentationInfo>() { [all...] |
| /frameworks/base/core/java/android/app/ |
| LoadedApk.java | 60 import java.util.Collections; 290 Collections.addAll(zipPaths, mSplitAppDirs); 319 Collections.addAll(zipPaths, instrumentationSplitAppDirs); 323 Collections.addAll(zipPaths, instrumentedSplitAppDirs); [all...] |
| /frameworks/base/core/java/com/android/internal/app/ |
| ChooserActivity.java | 62 import java.util.Collections; [all...] |
| /frameworks/base/core/java/com/android/internal/os/ |
| BatteryStatsHelper.java | 47 import java.util.Collections; 435 Collections.sort(mMobilemsppList, new Comparator<BatterySipper>() { 444 Collections.sort(mUsageList); 469 int index = Collections.binarySearch(mUsageList, bs); 480 int index = Collections.binarySearch(mUsageList, bs);
|
| /frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
| ApplicationsState.java | 53 import java.util.Collections; 650 Collections.sort(filteredApps, comparator); [all...] |
| /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
| NetworkControllerImpl.java | 53 import java.util.Collections; 433 subscriptions = Collections.emptyList(); 459 Collections.sort(subscriptions, new Comparator<SubscriptionInfo>() { [all...] |
| /frameworks/base/services/core/java/com/android/server/content/ |
| ContentService.java | 56 import java.util.Collections; 112 Collections.sort(sorted, new Comparator<Integer>() { [all...] |
| /frameworks/base/services/core/java/com/android/server/media/ |
| MediaRouterService.java | 52 import java.util.Collections; [all...] |
| /frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/ |
| SetterStore.java | 31 import java.util.Collections; 390 Collections.sort(matching, COMPARE_MULTI_ATTRIBUTE_SETTERS); [all...] |
| /frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/ |
| ExprModelTest.java | 38 import java.util.Collections; 489 Collections.addAll(justRead, a, b); 545 Collections.addAll(justRead, a, b, c); 554 Collections.addAll(justRead, a, b, d); 558 Collections.addAll(justRead, cTernary.getIfTrue(), abTernary, baTernary); 562 Collections.addAll(justRead, cTernary); [all...] |
| /frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
| SubscriptionController.java | 48 import java.util.Collections; 561 Collections.sort(subList, new Comparator<SubscriptionInfo>() { [all...] |
| /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
| ScriptGroup.java | 23 import java.util.Collections; 861 Collections.sort(mNodes, new Comparator<Node>() { [all...] |
| /libcore/libart/src/main/java/java/lang/ |
| Class.java | 56 import java.util.Collections; 717 Collections.addAll(result, getDeclaredMethodsUnchecked(true)); 721 Collections.addAll(result, c.getDeclaredMethodsUnchecked(true)); 729 Collections.addAll(result, ifc.getDeclaredMethodsUnchecked(true)); [all...] |
| /libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
| HttpsURLConnectionTest.java | 44 import java.util.Collections; [all...] |
| /packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
| CustomContactListFilterActivity.java | 68 import java.util.Collections; 515 Collections.sort(mSyncedGroups, sIdComparator); [all...] |
| /packages/apps/DeskClock/src/com/android/deskclock/timer/ |
| TimerFullScreenFragment.java | 65 import java.util.Collections; 245 Collections.sort(mTimers, mTimersCompare); 308 Collections.sort(mTimers, new Comparator<TimerObj>() { [all...] |