Home
last modified time | relevance | path

Searched refs:status1 (Results 1 – 2 of 2) 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/services/core/java/com/android/server/pm/
DPackageManagerService.java7519 private int bestDomainVerificationStatus(int status1, int status2) {
7520 if (status1 == INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_NEVER) {
7524 return status1;
7526 return (int) MathUtils.max(status1, status2);