Searched refs:blob_count_in_state (Results 1 – 1 of 1) sorted by relevance
| /system/security/keystore2/src/database/ |
| D | tests.rs | 2534 fn blob_count_in_state(db: &mut KeystoreDB, sc_type: SubComponentType, state: BlobState) -> usize { in blob_count_in_state() function 2558 assert_eq!(5, blob_count_in_state(&mut db, SubComponentType::KEY_BLOB, BlobState::Current)); in test_blobentry_gc() 2559 assert_eq!(0, blob_count_in_state(&mut db, SubComponentType::KEY_BLOB, BlobState::Superseded)); in test_blobentry_gc() 2560 assert_eq!(0, blob_count_in_state(&mut db, SubComponentType::KEY_BLOB, BlobState::Orphaned)); in test_blobentry_gc() 2569 assert_eq!(5, blob_count_in_state(&mut db, SubComponentType::KEY_BLOB, BlobState::Current)); in test_blobentry_gc() 2570 assert_eq!(2, blob_count_in_state(&mut db, SubComponentType::KEY_BLOB, BlobState::Superseded)); in test_blobentry_gc() 2571 assert_eq!(0, blob_count_in_state(&mut db, SubComponentType::KEY_BLOB, BlobState::Orphaned)); in test_blobentry_gc() 2584 assert_eq!(3, blob_count_in_state(&mut db, SubComponentType::KEY_BLOB, BlobState::Current)); in test_blobentry_gc() 2585 assert_eq!(2, blob_count_in_state(&mut db, SubComponentType::KEY_BLOB, BlobState::Superseded)); in test_blobentry_gc() 2586 assert_eq!(2, blob_count_in_state(&mut db, SubComponentType::KEY_BLOB, BlobState::Orphaned)); in test_blobentry_gc() [all …]
|