Lines Matching refs:extractor
3410 fn extractor(ke: &KeyEntryRow) -> (Domain, i64, Option<&str>, Uuid) { in test_create_key_entry() function
3421 assert_eq!(extractor(&entries[0]), (Domain::APP, 100, None, KEYSTORE_UUID)); in test_create_key_entry()
3422 assert_eq!(extractor(&entries[1]), (Domain::SELINUX, 101, None, KEYSTORE_UUID)); in test_create_key_entry()
3616 fn extractor( in test_rebind_alias() function
3628 extractor(&entries[0]), in test_rebind_alias()
3632 extractor(&entries[1]), in test_rebind_alias()
3641 extractor(&entries[0]), in test_rebind_alias()
3645 extractor(&entries[1]), in test_rebind_alias()
3653 assert_eq!(extractor(&entries[0]), (None, None, None, Some(KEYSTORE_UUID))); in test_rebind_alias()
3655 extractor(&entries[1]), in test_rebind_alias()
3681 assert_eq!(extractor(&entries[0]), (None, None, None, Some(KEYSTORE_UUID))); in test_rebind_alias()
3683 extractor(&entries[1]), in test_rebind_alias()