Home
last modified time | relevance | path

Searched refs:status1 (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/vr/libpdx/
Dstatus_tests.cpp60 Status<int> status1; in TEST() local
63 status1 = Status<int>{12}; in TEST()
65 EXPECT_FALSE(status1.empty()); in TEST()
67 EXPECT_TRUE(status1.ok()); in TEST()
69 EXPECT_EQ(12, status1.get()); in TEST()
70 EXPECT_EQ(0, status1.error()); in TEST()
74 status1 = status2; in TEST()
75 EXPECT_FALSE(status1.empty()); in TEST()
77 EXPECT_FALSE(status1.ok()); in TEST()
79 EXPECT_EQ(0, status1.get()); in TEST()
[all …]
/frameworks/base/core/tests/timetests/src/android/service/timezone/
DTimeZoneProviderEventTest.java181 TimeZoneProviderStatus status1 = new TimeZoneProviderStatus.Builder() in isEquivalentToAndEquals_uncertain() local
193 TimeZoneProviderEvent.createUncertainEvent(1111L, status1); in isEquivalentToAndEquals_uncertain()
201 TimeZoneProviderEvent.createUncertainEvent(1111L, status1); in isEquivalentToAndEquals_uncertain()
206 TimeZoneProviderEvent.createUncertainEvent(2222L, status1); in isEquivalentToAndEquals_uncertain()
219 TimeZoneProviderStatus status1 = new TimeZoneProviderStatus.Builder() in isEquivalentToAndEquals_suggestion() local
234 TimeZoneProviderEvent.createSuggestionEvent(1111L, suggestion1, status1); in isEquivalentToAndEquals_suggestion()
243 TimeZoneProviderEvent.createSuggestionEvent(1111L, suggestion1, status1); in isEquivalentToAndEquals_suggestion()
249 TimeZoneProviderEvent.createSuggestionEvent(2222L, suggestion1, status1); in isEquivalentToAndEquals_suggestion()
261 TimeZoneProviderEvent.createSuggestionEvent(2222L, suggestion2, status1); in isEquivalentToAndEquals_suggestion()
270 TimeZoneProviderEvent.createSuggestionEvent(2222L, suggestion3, status1); in isEquivalentToAndEquals_suggestion()
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/
DLocationAlgorithmEventTest.java59 LocationTimeZoneAlgorithmStatus status1 = new LocationTimeZoneAlgorithmStatus( in testEquals() local
62 LocationAlgorithmEvent event1v1 = new LocationAlgorithmEvent(status1, suggestion1); in testEquals()
65 LocationAlgorithmEvent event1v2 = new LocationAlgorithmEvent(status1, suggestion1); in testEquals()
70 LocationAlgorithmEvent event2 = new LocationAlgorithmEvent(status1, suggestion2); in testEquals()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManagerTest.java607 ConversationStatus status1 = new ConversationStatus.Builder(OTHER_SHORTCUT_ID, in testDoNotUpdateStatusPostedIfDifferentShortcutId() local
613 Arrays.asList(status1, status2)); in testDoNotUpdateStatusPostedIfDifferentShortcutId()
/frameworks/base/services/core/java/com/android/server/pm/
DComputerEngine.java2686 private int bestDomainVerificationStatus(int status1, int status2) { in bestDomainVerificationStatus() argument
2687 if (status1 == INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_NEVER) { in bestDomainVerificationStatus()
2691 return status1; in bestDomainVerificationStatus()
2693 return (int) MathUtils.max(status1, status2); in bestDomainVerificationStatus()