/frameworks/base/core/tests/coretests/src/android/net/ |
D | IpPrefixTest.java | 163 private void assertAreEqual(Object o1, Object o2) { in assertAreEqual() argument 164 assertTrue(o1.equals(o2)); in assertAreEqual() 165 assertTrue(o2.equals(o1)); in assertAreEqual() 168 private void assertAreNotEqual(Object o1, Object o2) { in assertAreNotEqual() argument 169 assertFalse(o1.equals(o2)); in assertAreNotEqual() 170 assertFalse(o2.equals(o1)); in assertAreNotEqual()
|
D | RouteInfoTest.java | 111 private void assertAreEqual(Object o1, Object o2) { in assertAreEqual() argument 112 assertTrue(o1.equals(o2)); in assertAreEqual() 113 assertTrue(o2.equals(o1)); in assertAreEqual() 116 private void assertAreNotEqual(Object o1, Object o2) { in assertAreNotEqual() argument 117 assertFalse(o1.equals(o2)); in assertAreNotEqual() 118 assertFalse(o2.equals(o1)); in assertAreNotEqual()
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
D | DelegateClassAdapterTest.java | 247 Object o2 = outerClazz2.newInstance(); in testDelegateInner() 248 assertNotNull(o2); in testDelegateInner() 252 assertEquals(4+10+20, callGet(o2, 10, 20)); in testDelegateInner() 253 assertEquals(1+10+20, callGet_Original(o2, 10, 20)); in testDelegateInner() 259 callMethod(o2, "privateMethod", false /*makePublic*/); in testDelegateInner() 271 callMethod(o2, "privateMethod_Original", false /*makePublic*/)); in testDelegateInner() 281 Object i2 = innerCons.newInstance(o2); in testDelegateInner() 329 Object o2 = outerClazz2.newInstance(); in testDelegateStaticInner() 330 assertNotNull(o2); in testDelegateStaticInner()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsics_x86.cpp | 609 __m128i o0, o1, o2, o3; in rsdIntrinsicConvolve5x5_K() local 716 o2 = _mm_madd_epi16( _mm_unpacklo_epi16(p2,p3), c0); in rsdIntrinsicConvolve5x5_K() 717 o2 = _mm_add_epi32(o2, _mm_madd_epi16( _mm_unpacklo_epi16(p4, p5), c2)); in rsdIntrinsicConvolve5x5_K() 718 o2 = _mm_add_epi32(o2, _mm_madd_epi16( _mm_unpacklo_epi16(p6, p10), c4)); in rsdIntrinsicConvolve5x5_K() 719 o2 = _mm_add_epi32(o2, _mm_madd_epi16( _mm_unpacklo_epi16(p11, p12), c6)); in rsdIntrinsicConvolve5x5_K() 720 o2 = _mm_add_epi32(o2, _mm_madd_epi16( _mm_unpacklo_epi16(p13, p14), c8)); in rsdIntrinsicConvolve5x5_K() 721 o2 = _mm_add_epi32(o2, _mm_madd_epi16( _mm_unpacklo_epi16(p18, p19), c10)); in rsdIntrinsicConvolve5x5_K() 722 o2 = _mm_add_epi32(o2, _mm_madd_epi16( _mm_unpacklo_epi16(p20, p21), c12)); in rsdIntrinsicConvolve5x5_K() 723 o2 = _mm_add_epi32(o2, _mm_madd_epi16( _mm_unpacklo_epi16(p22, p26), c14)); in rsdIntrinsicConvolve5x5_K() 724 o2 = _mm_add_epi32(o2, _mm_madd_epi16( _mm_unpacklo_epi16(p27, p28), c16)); in rsdIntrinsicConvolve5x5_K() [all …]
|
/frameworks/base/tools/preload2/src/com/android/preload/actions/ |
D | ReloadListAction.java | 55 public int compare(Client o1, Client o2) { in compare() argument 57 String s2 = o2.getClientData().getClientDescription(); in compare()
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
D | ConditionalBindingTest.java | 49 NotBindableVo o2 = new NotBindableVo("b"); in testCorrectness() local 52 mBinder.setObj2(o2); in testCorrectness()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastStats.java | 36 @Override public int compare(ActionEntry o1, ActionEntry o2) { 37 if (o1.mTotalDispatchTime < o2.mTotalDispatchTime) { 40 if (o1.mTotalDispatchTime > o2.mTotalDispatchTime) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ScanDetailCache.java | 115 public int compare(Object o1, Object o2) { in trim() 117 ScanDetail b = (ScanDetail) o2; in trim() 141 public int compare(Object o1, Object o2) { in sort() 143 ScanResult b = ((ScanDetail) o2).getScanResult(); in sort()
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/loaders/ |
D | LoaderDicom.java | 284 public int compare(File o1, File o2) { in buildVolume() 286 return o1.getName().compareTo(o2.getName()); in buildVolume() 350 public int compare(File o1, File o2) { in buildRSVolume() 352 return o1.getName().compareTo(o2.getName()); in buildRSVolume() 509 public int compare(File o1, File o2) { in buildRSVolume2() 511 return o1.getName().compareTo(o2.getName()); in buildRSVolume2()
|
D | LoaderRaw.java | 76 public int compare(File o1, File o2) { in buildRSVolume() 78 return Integer.decode(o1.getName()).compareTo(Integer.decode(o2.getName())); in buildRSVolume()
|
/frameworks/compile/slang/tests/F_one_definition_rule2/ |
D | def2.rs | 8 DifferentDefinition2 o2;
|
D | def1.rs | 9 DifferentDefinition2 o2;
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
D | UsageStatsActivity.java | 46 public int compare(UsageStats o1, UsageStats o2) { 47 return Long.compare(o2.getTotalTimeInForeground(), o1.getTotalTimeInForeground());
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | AddPrinterActivity.java | 764 RecommendationInfo o2) { in updateRecommendations() 766 o2.getNumDiscoveredPrinters()) { in updateRecommendations() 767 return o2.getNumDiscoveredPrinters() - in updateRecommendations() 770 != o2.recommendsMultiVendorService()) { in updateRecommendations() 778 o2.getName().toString()); in updateRecommendations()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 430 public int compare(FeatureInfo o1, FeatureInfo o2) { in runListFeatures() 431 if (o1.name == o2.name) return 0; in runListFeatures() 433 if (o2.name == null) return 1; in runListFeatures() 434 return o1.name.compareTo(o2.name); in runListFeatures() 489 public int compare(InstrumentationInfo o1, InstrumentationInfo o2) { in runListInstrumentation() 490 return o1.targetPackage.compareTo(o2.targetPackage); in runListInstrumentation() 521 public int compare(String o1, String o2) { in runListLibraries() 522 if (o1 == o2) return 0; in runListLibraries() 524 if (o2 == null) return 1; in runListLibraries() 525 return o1.compareTo(o2); in runListLibraries()
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/ |
D | SetterStore.java | 62 public int compare(MultiAttributeSetter o1, MultiAttributeSetter o2) { 63 if (o1.attributes.length != o2.attributes.length) { 64 return o2.attributes.length - o1.attributes.length; 67 ModelClass view2 = mClassAnalyzer.findClass(o2.mKey.viewType, null).erasure(); 76 .equals(o2.mKey.attributeIndices.keySet())) { 79 Iterator<String> o2Keys = o2.mKey.attributeIndices.keySet().iterator(); 94 final int index2 = o2.mKey.attributeIndices.get(attribute); 98 .findClass(o2.mKey.parameterTypes[index2], null); 103 if (o2.mCasts[index2] == null) { 108 } else if (o2.mCasts[index2] != null) { [all …]
|
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/ |
D | SortedListTest.java | 50 public int compare(Item o1, Item o2) { 51 return mCallback.compare(o1, o2); 69 public int compare(Item o1, Item o2) { in setUp() 70 return o1.cmpField < o2.cmpField ? -1 : (o1.cmpField == o2.cmpField ? 0 : 1); in setUp()
|
/frameworks/base/docs/html/ |
D | security_at_android_dot_com.txt | 10 jR4JA/9wJMxv+2eFuFGeLtiPjo+o2+AfIxTTEIlWyNkO+a9KkzmPY/JP4OyVGKjM
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | Bridge.java | 345 public int compare(Field o1, Field o2) { in parseStyleable() 346 if (o1 == o2) { in parseStyleable() 350 Class<?> t2 = o2.getType(); in parseStyleable() 356 return o1.getName().compareTo(o2.getName()); in parseStyleable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/ |
D | EventBus.java | 670 public int compare(Class<?> o1, Class<?> o2) { in dumpInternal() 671 return o1.getSimpleName().compareTo(o2.getSimpleName()); in dumpInternal() 686 public int compare(Class<?> o1, Class<?> o2) { in dumpInternal() 687 return o1.getSimpleName().compareTo(o2.getSimpleName()); in dumpInternal()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneSwitcherTest.java | 96 private boolean objectEquals(Object o1, Object o2) { in objectEquals() argument 97 if (o1 == null) return (o2 == null); in objectEquals() 98 return o1.equals(o2); in objectEquals()
|
D | SubscriptionMonitorTest.java | 92 private boolean objectEquals(Object o1, Object o2) { in objectEquals() argument 93 if (o1 == null) return (o2 == null); in objectEquals() 94 return o1.equals(o2); in objectEquals()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
D | SortedList.java | 697 abstract public int compare(T2 o1, T2 o2); in compare() argument 805 public int compare(T2 o1, T2 o2) { in compare() argument 806 return mWrappedCallback.compare(o1, o2); in compare()
|
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/ |
D | HistogramPredictor.java | 260 Map.Entry<String, Double> o2) { in findTopClasses() 261 return o2.getValue().compareTo(o1.getValue()); in findTopClasses()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
D | TaskStack.java | 523 public int compare(Task o1, Task o2) { 524 if (o1.isFreeformTask() && !o2.isFreeformTask()) { 526 } else if (o2.isFreeformTask() && !o1.isFreeformTask()) { 529 return Long.compare(o1.temporarySortIndexInStack, o2.temporarySortIndexInStack);
|