Home
last modified time | relevance | path

Searched refs:status2 (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/libs/vr/libpdx/
Dstatus_tests.cpp61 Status<int> status2; in TEST() local
64 status2 = ErrorStatus(13); in TEST()
66 EXPECT_FALSE(status2.empty()); in TEST()
68 EXPECT_FALSE(status2.ok()); in TEST()
71 EXPECT_EQ(0, status2.get()); in TEST()
72 EXPECT_EQ(13, status2.error()); in TEST()
74 status1 = status2; in TEST()
76 EXPECT_FALSE(status2.empty()); in TEST()
78 EXPECT_FALSE(status2.ok()); in TEST()
81 EXPECT_EQ(0, status2.get()); in TEST()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbTest.java387 int status2 = 121; in setRecoveryStatus_withSingleKey() local
400 mRecoverableKeyStoreDb.setRecoveryStatus(uid, alias, status2); in setRecoveryStatus_withSingleKey()
403 assertThat(retrievedKey.getRecoveryStatus()).isEqualTo(status2); in setRecoveryStatus_withSingleKey()
412 int status2 = 121; in getStatusForAllKeys_with3Keys() local
437 int updates = mRecoverableKeyStoreDb.setRecoveryStatus(uid, alias, status2); in getStatusForAllKeys_with3Keys()
439 updates = mRecoverableKeyStoreDb.setRecoveryStatus(uid, alias3, status2); in getStatusForAllKeys_with3Keys()
444 assertThat(statuses).containsEntry(alias, status2); // updated from default in getStatusForAllKeys_with3Keys()
446 assertThat(statuses).containsEntry(alias3, status2); // updated in getStatusForAllKeys_with3Keys()
472 int status2 = 121; in testInvalidateKeysForUser_withSingleKey() local
485 mRecoverableKeyStoreDb.setRecoveryStatus(uid, alias, status2); in testInvalidateKeysForUser_withSingleKey()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManagerTest.java1223 int status2 = 200; in setRecoveryStatus() local
1235 mRecoverableKeyStoreManager.setRecoveryStatus(alias, status2); in setRecoveryStatus()
1238 assertThat(statuses).containsEntry(alias, status2); // updated in setRecoveryStatus()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java7452 private int bestDomainVerificationStatus(int status1, int status2) {
7454 return status2;
7456 if (status2 == INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_NEVER) {
7459 return (int) MathUtils.max(status1, status2);