Searched refs:VM_ID5 (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Virtualization/virtualizationservice/src/ |
D | maintenance.rs | 372 const VM_ID5: VmId = [5u8; 64]; constant 386 sk_state.inner.unwrap().delete_ids(&[VM_ID1, VM_ID2, VM_ID3, VM_ID4, VM_ID5]); in test_sk_state_batching() 393 SkOp::DeleteIds(vec![VM_ID5]), in test_sk_state_batching() 402 sk_state.inner.unwrap().delete_ids(&[VM_ID1, VM_ID2, VM_ID3, VM_ID4, VM_ID5]); in test_sk_state_no_batching() 404 assert_eq!(got, vec![SkOp::DeleteIds(vec![VM_ID1, VM_ID2, VM_ID3, VM_ID4, VM_ID5])]); in test_sk_state_no_batching() 416 get_db(&mut sk_state).add_vm_id(&VM_ID5, USER3, APP_C).unwrap(); in test_sk_state() 425 vec![SkOp::DeleteIds(vec![VM_ID3]), SkOp::DeleteIds(vec![VM_ID4, VM_ID5]),] in test_sk_state() 477 get_db(&mut sk_state).add_vm_id(&VM_ID5, USER3, APP_C).unwrap(); in test_sk_state_reconcile() 485 assert_eq!(vec![VM_ID5], get_db(&mut sk_state).vm_ids_for_user(USER3).unwrap()); in test_sk_state_reconcile() 502 assert_eq!(vec![VM_ID5], get_db(&mut sk_state).vm_ids_for_user(USER3).unwrap()); in test_sk_state_reconcile() [all …]
|
/packages/modules/Virtualization/virtualizationservice/src/maintenance/ |
D | vmdb.rs | 367 const VM_ID5: VmId = [5u8; 64]; constant 505 db.add_vm_id(&VM_ID5, USER3, APP_A).unwrap(); in test_add_remove() 506 db.add_vm_id(&VM_ID5, USER3, APP_C).unwrap(); // Overwrites APP_A in test_add_remove() 520 assert_eq!(vec![VM_ID5], db.vm_ids_for_user(USER3).unwrap()); in test_add_remove() 529 assert!(!db.is_vm_id_for_app(&VM_ID5, USER3 as u32, APP_A as u32).unwrap()); in test_add_remove() 530 assert!(db.is_vm_id_for_app(&VM_ID5, USER3 as u32, APP_C as u32).unwrap()); in test_add_remove() 553 assert_eq!(vec![VM_ID5], db.vm_ids_for_user(USER3).unwrap()); in test_add_remove()
|