Home
last modified time | relevance | path

Searched refs:add_vm_id (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Virtualization/virtualizationservice/src/
Dmaintenance.rs158 self.vm_id_db.add_vm_id(vm_id, user_id, app_id) in add_id()
412 get_db(&mut sk_state).add_vm_id(&VM_ID1, USER1, APP_A).unwrap(); in test_sk_state()
413 get_db(&mut sk_state).add_vm_id(&VM_ID2, USER1, APP_A).unwrap(); in test_sk_state()
414 get_db(&mut sk_state).add_vm_id(&VM_ID3, USER2, APP_B).unwrap(); in test_sk_state()
415 get_db(&mut sk_state).add_vm_id(&VM_ID4, USER3, APP_A).unwrap(); in test_sk_state()
416 get_db(&mut sk_state).add_vm_id(&VM_ID5, USER3, APP_C).unwrap(); in test_sk_state()
443 get_db(&mut sk_state).add_vm_id(&VM_ID1, USER1, APP_A).unwrap(); in test_sk_state_delete_id()
444 get_db(&mut sk_state).add_vm_id(&VM_ID2, USER1, APP_A).unwrap(); in test_sk_state_delete_id()
445 get_db(&mut sk_state).add_vm_id(&VM_ID3, USER2, APP_B).unwrap(); in test_sk_state_delete_id()
473 get_db(&mut sk_state).add_vm_id(&VM_ID1, USER1, APP_A).unwrap(); in test_sk_state_reconcile()
[all …]
/packages/modules/Virtualization/virtualizationservice/src/maintenance/
Dvmdb.rs218 pub fn add_vm_id(&mut self, vm_id: &VmId, user_id: i32, app_id: i32) -> Result<()> { in add_vm_id() method
461 db.add_vm_id(&VM_ID1, USER1, APP_A).unwrap(); in test_corrupt_database_file()
489 db.add_vm_id(&VM_ID1, USER1, APP_A).unwrap(); in test_database_from_the_future()
501 db.add_vm_id(&VM_ID1, USER1, APP_A).unwrap(); in test_add_remove()
502 db.add_vm_id(&VM_ID2, USER1, APP_A).unwrap(); in test_add_remove()
503 db.add_vm_id(&VM_ID3, USER1, APP_A).unwrap(); in test_add_remove()
504 db.add_vm_id(&VM_ID4, USER2, APP_B).unwrap(); in test_add_remove()
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()
545 db.add_vm_id(&VM_ID2, USER1, APP_A).unwrap(); in test_add_remove()
[all …]