Home
last modified time | relevance | path

Searched refs:status2 (Results 1 – 7 of 7) 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.java426 int status2 = 121; in setRecoveryStatus_withSingleKey() local
439 mRecoverableKeyStoreDb.setRecoveryStatus(uid, alias, status2); in setRecoveryStatus_withSingleKey()
442 assertThat(retrievedKey.getRecoveryStatus()).isEqualTo(status2); in setRecoveryStatus_withSingleKey()
451 int status2 = 121; in getStatusForAllKeys_with3Keys() local
476 int updates = mRecoverableKeyStoreDb.setRecoveryStatus(uid, alias, status2); in getStatusForAllKeys_with3Keys()
478 updates = mRecoverableKeyStoreDb.setRecoveryStatus(uid, alias3, status2); in getStatusForAllKeys_with3Keys()
483 assertThat(statuses).containsEntry(alias, status2); // updated from default in getStatusForAllKeys_with3Keys()
485 assertThat(statuses).containsEntry(alias3, status2); // updated in getStatusForAllKeys_with3Keys()
511 int status2 = 121; in testInvalidateKeysForUser_withSingleKey() local
524 mRecoverableKeyStoreDb.setRecoveryStatus(uid, alias, status2); in testInvalidateKeysForUser_withSingleKey()
[all …]
/frameworks/base/core/tests/timetests/src/android/service/timezone/
DTimeZoneProviderEventTest.java186 TimeZoneProviderStatus status2 = new TimeZoneProviderStatus.Builder() in isEquivalentToAndEquals_uncertain() local
211 TimeZoneProviderEvent.createUncertainEvent(1111L, status2); in isEquivalentToAndEquals_uncertain()
224 TimeZoneProviderStatus status2 = new TimeZoneProviderStatus.Builder() in isEquivalentToAndEquals_suggestion() local
275 TimeZoneProviderEvent.createSuggestionEvent(2222L, suggestion1, status2); in isEquivalentToAndEquals_suggestion()
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/
DLocationAlgorithmEventTest.java73 LocationTimeZoneAlgorithmStatus status2 = new LocationTimeZoneAlgorithmStatus( in testEquals() local
76 LocationAlgorithmEvent event3 = new LocationAlgorithmEvent(status2, suggestion1); in testEquals()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManagerTest.java1269 int status2 = 200; in setRecoveryStatus() local
1281 mRecoverableKeyStoreManager.setRecoveryStatus(alias, status2); in setRecoveryStatus()
1284 assertThat(statuses).containsEntry(alias, status2); // updated in setRecoveryStatus()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManagerTest.java609 ConversationStatus status2 = 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
2688 return status2; in bestDomainVerificationStatus()
2690 if (status2 == INTENT_FILTER_DOMAIN_VERIFICATION_STATUS_NEVER) { in bestDomainVerificationStatus()
2693 return (int) MathUtils.max(status1, status2); in bestDomainVerificationStatus()