Home
last modified time | relevance | path

Searched refs:o1 (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerServiceImplRebootTests.java75 final OverlayInfo o1 = impl.getOverlayInfo(IDENTIFIER, USER); in testImmutableEnabledChange() local
76 expect.that(o1).isNotNull(); in testImmutableEnabledChange()
78 expect.that(o1.isEnabled()).isFalse(); in testImmutableEnabledChange()
79 expect.that(o1.isMutable).isFalse(); in testImmutableEnabledChange()
108 final OverlayInfo o1 = impl.getOverlayInfo(IDENTIFIER, USER); in testMutableEnabledChangeHasNoEffect() local
109 expect.that(o1).isNotNull(); in testMutableEnabledChangeHasNoEffect()
111 expect.that(o1.isEnabled()).isFalse(); in testMutableEnabledChangeHasNoEffect()
112 expect.that(o1.isMutable).isTrue(); in testMutableEnabledChangeHasNoEffect()
192 final OverlayInfo o1 = impl.getOverlayInfo(IDENTIFIER, USER); in testMutablePriorityChange() local
193 expect.that(o1).isNotNull(); in testMutablePriorityChange()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DCacheOomRanker.java444 public int compare(RankedProcessRecord o1, RankedProcessRecord o2) { in compare() argument
445 return Float.compare(o1.score, o2.score); in compare()
451 public int compare(RankedProcessRecord o1, RankedProcessRecord o2) { in compare() argument
452 return Long.compare(o1.proc.getLastActivityTime(), o2.proc.getLastActivityTime()); in compare()
458 public int compare(RankedProcessRecord o1, RankedProcessRecord o2) { in compare() argument
459 return Long.compare(o1.proc.mState.getCacheOomRankerUseCount(), in compare()
466 public int compare(RankedProcessRecord o1, RankedProcessRecord o2) { in compare() argument
470 o1.proc.mState.getCacheOomRankerRss()); in compare()
476 public int compare(RankedProcessRecord o1, RankedProcessRecord o2) { in compare() argument
478 return Long.compare(o2.proc.mProfile.getLastRss(), o1.proc.mProfile.getLastRss()); in compare()
DBroadcastStats.java38 @Override public int compare(ActionEntry o1, ActionEntry o2) {
39 if (o1.mTotalDispatchTime < o2.mTotalDispatchTime) {
42 if (o1.mTotalDispatchTime > o2.mTotalDispatchTime) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
DLeakDetectorTest.java107 Object o1 = new Object(); in testDump() local
111 mLeakDetector.trackInstance(o1); in testDump()
123 Object o1 = new Object(); in testDisabled() local
127 mLeakDetector.trackInstance(o1); in testDisabled()
/frameworks/rs/toolkit/
Dx86.cpp89 __m128i o0, o1; in rsdIntrinsicConvolve3x3_K() local
117 o1 = _mm_madd_epi16(_mm_unpacklo_epi16(p1, p2), c0); in rsdIntrinsicConvolve3x3_K()
120 o1 = _mm_add_epi32(o1, _mm_madd_epi16(_mm_unpacklo_epi16(p3, p5), c2)); in rsdIntrinsicConvolve3x3_K()
123 o1 = _mm_add_epi32(o1, _mm_madd_epi16(_mm_unpacklo_epi16(p6, p7), c4)); in rsdIntrinsicConvolve3x3_K()
126 o1 = _mm_add_epi32(o1, _mm_madd_epi16(_mm_unpacklo_epi16(p9, p10), c6)); in rsdIntrinsicConvolve3x3_K()
129 o1 = _mm_add_epi32(o1, _mm_madd_epi16(_mm_unpacklo_epi16(p11, _mm_setzero_si128()), c8)); in rsdIntrinsicConvolve3x3_K()
132 o1 = _mm_srai_epi32(o1, 8); in rsdIntrinsicConvolve3x3_K()
134 o0 = packus_epi32(o0, o1); in rsdIntrinsicConvolve3x3_K()
612 __m128i o0, o1, o2, o3; in rsdIntrinsicConvolve5x5_K() local
704 o1 = _mm_madd_epi16( _mm_unpacklo_epi16(p1, p2), c0); in rsdIntrinsicConvolve5x5_K()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_x86.cpp86 __m128i o0, o1; in rsdIntrinsicConvolve3x3_K() local
114 o1 = _mm_madd_epi16(_mm_unpacklo_epi16(p1, p2), c0); in rsdIntrinsicConvolve3x3_K()
117 o1 = _mm_add_epi32(o1, _mm_madd_epi16(_mm_unpacklo_epi16(p3, p5), c2)); in rsdIntrinsicConvolve3x3_K()
120 o1 = _mm_add_epi32(o1, _mm_madd_epi16(_mm_unpacklo_epi16(p6, p7), c4)); in rsdIntrinsicConvolve3x3_K()
123 o1 = _mm_add_epi32(o1, _mm_madd_epi16(_mm_unpacklo_epi16(p9, p10), c6)); in rsdIntrinsicConvolve3x3_K()
126 o1 = _mm_add_epi32(o1, _mm_madd_epi16(_mm_unpacklo_epi16(p11, _mm_setzero_si128()), c8)); in rsdIntrinsicConvolve3x3_K()
129 o1 = _mm_srai_epi32(o1, 8); in rsdIntrinsicConvolve3x3_K()
131 o0 = packus_epi32(o0, o1); in rsdIntrinsicConvolve3x3_K()
609 __m128i o0, o1, o2, o3; in rsdIntrinsicConvolve5x5_K() local
701 o1 = _mm_madd_epi16( _mm_unpacklo_epi16(p1, p2), c0); in rsdIntrinsicConvolve5x5_K()
[all …]
/frameworks/base/core/java/android/service/autofill/
DFieldClassification.java44 public int compare(Match o1, Match o2) { in FieldClassification()
45 if (o1.mScore > o2.mScore) return -1; in FieldClassification()
46 if (o1.mScore < o2.mScore) return 1; in FieldClassification()
/frameworks/base/services/core/java/com/android/server/servicewatcher/
DCurrentUserServiceSupplier.java79 private static final Comparator<BoundServiceInfo> sBoundServiceInfoComparator = (o1, o2) -> {
80 if (o1 == o2) {
82 } else if (o1 == null) {
91 int ret = Integer.compare(o1.getVersion(), o2.getVersion());
93 if (o1.getUserId() != USER_SYSTEM && o2.getUserId() == USER_SYSTEM) {
95 } else if (o1.getUserId() == USER_SYSTEM && o2.getUserId() != USER_SYSTEM) {
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
DViewerConfigJsonBuilder.kt50 groups.toSortedSet { o1, o2 -> o1.name.compareTo(o2.name) }.forEach { group -> in <lambda>() method
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSliceProviderPermissionsTest.java111 private void assertEquivalent(SliceProviderPermissions o1, SliceProviderPermissions o2) { in assertEquivalent() argument
112 assertEquals(o1.getPkg(), o2.getPkg()); in assertEquivalent()
113 assertEquals(o1.getAuthorities(), o2.getAuthorities()); in assertEquivalent()
/frameworks/base/core/tests/coretests/src/com/android/internal/content/res/
DOverlayConfigTest.java423 OverlayConfig.Configuration o1 = overlayConfig.getConfiguration("one"); in testMerge() local
424 assertNotNull(o1); in testMerge()
425 assertFalse(o1.parsedConfig.mutable); in testMerge()
426 assertTrue(o1.parsedConfig.enabled); in testMerge()
427 assertEquals(0, o1.configIndex); in testMerge()
689 OverlayConfig.Configuration o1 = overlayConfig.getConfiguration("one"); in testOverlayManifest_withRequiredSystemPropertyAndValueNotMatched() local
690 assertNull(o1); in testOverlayManifest_withRequiredSystemPropertyAndValueNotMatched()
720 OverlayConfig.Configuration o1 = overlayConfig.getConfiguration("one"); in testOverlayManifest_withRequiredSystemPropertyAndValueMatched() local
721 assertNotNull(o1); in testOverlayManifest_withRequiredSystemPropertyAndValueMatched()
/frameworks/compile/slang/tests/P_odr_array/
Ddef2.rscript3 SameDefinition1 o1;
Ddef1.rscript3 SameDefinition1 o1;
/frameworks/base/services/core/java/com/android/server/pm/
DWatchedIntentResolver.java128 public int compare(WatchedIntentFilter o1, WatchedIntentFilter o2) {
129 final int q1 = o1.getPriority();
/frameworks/base/services/core/java/com/android/server/compat/overrides/
DAppCompatOverridesParser.java339 public int compare(PackageOverride o1, PackageOverride o2) { in compare() argument
341 boolean isVersionInRange1 = isVersionInRange(o1, mVersionCode); in compare()
348 boolean isVersionAfterRange1 = isVersionAfterRange(o1, mVersionCode); in compare()
357 getVersionProximity(o1, mVersionCode), getVersionProximity(o2, mVersionCode)); in compare()
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/location/
DTestThreadingDomain.java41 (o1, o2) -> (int) (o1.executionTimeMillis - o2.executionTimeMillis);
/frameworks/compile/slang/tests/F_one_definition_rule1/
Ddef1.rscript9 DifferentDefinition1 o1;
Ddef2.rscript10 DifferentDefinition1 o1;
/frameworks/compile/slang/tests/P_one_definition_rule/
Ddef2.rscript16 SameDefinition1 o1;
Ddef1.rscript16 SameDefinition1 o1;
/frameworks/base/core/java/com/android/internal/content/om/
DOverlayConfig.java116 final ParsedOverlayInfo o1 = c1.parsedInfo;
118 Preconditions.checkArgument(o1.isStatic && o2.isStatic,
121 if (!o1.targetPackageName.equals(o2.targetPackageName)) {
122 return o1.targetPackageName.compareTo(o2.targetPackageName);
125 final int comparedPriority = o1.priority - o2.priority;
126 return comparedPriority == 0 ? o1.path.compareTo(o2.path) : comparedPriority;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/pluggable/
DNotifComparator.java44 public abstract int compare(@NonNull ListEntry o1, @NonNull ListEntry o2); in compare() argument
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
DLoaderDicom.java284 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()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DAddPrinterActivity.java811 @Override public int compare(RecommendationInfo o1, in updateRecommendations()
813 if (o1.getNumDiscoveredPrinters() != in updateRecommendations()
816 o1.getNumDiscoveredPrinters(); in updateRecommendations()
817 } else if (o1.recommendsMultiVendorService() in updateRecommendations()
819 if (o1.recommendsMultiVendorService()) { in updateRecommendations()
825 return collator.compare(o1.getName().toString(), in updateRecommendations()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DShadeListBuilder.java1212 @NonNull ListEntry o1, @NonNull ListEntry o2) { in getSectionComparator()
1213 final NotifSection section = o1.getSection(); in getSectionComparator()
1223 private final Comparator<ListEntry> mTopLevelComparator = (o1, o2) -> {
1225 o1.getSectionIndex(),
1229 NotifComparator sectionComparator = getSectionComparator(o1, o2);
1231 cmp = sectionComparator.compare(o1, o2);
1236 cmp = mNotifComparators.get(i).compare(o1, o2);
1241 o1.getRepresentativeEntry().getRanking().getRank(),
1246 o1.getRepresentativeEntry().getSbn().getNotification().getWhen(),
1253 private final Comparator<NotificationEntry> mGroupChildrenComparator = (o1, o2) -> {
[all …]

123