Lines Matching refs:add_vm_id
158 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()
474 get_db(&mut sk_state).add_vm_id(&VM_ID2, USER1, APP_A).unwrap(); in test_sk_state_reconcile()
475 get_db(&mut sk_state).add_vm_id(&VM_ID3, USER2, APP_B).unwrap(); in test_sk_state_reconcile()
476 get_db(&mut sk_state).add_vm_id(&VM_ID4, USER2, CORE_APP_A).unwrap(); in test_sk_state_reconcile()
477 get_db(&mut sk_state).add_vm_id(&VM_ID5, USER3, APP_C).unwrap(); in test_sk_state_reconcile()
555 get_db(&mut sk_state).add_vm_id(&VM_ID1, USER1, APP_A).unwrap(); in test_sk_state_reconcile_not_needed()
556 get_db(&mut sk_state).add_vm_id(&VM_ID2, USER1, APP_A).unwrap(); in test_sk_state_reconcile_not_needed()
557 get_db(&mut sk_state).add_vm_id(&VM_ID3, USER2, APP_B).unwrap(); in test_sk_state_reconcile_not_needed()
558 get_db(&mut sk_state).add_vm_id(&VM_ID5, USER3, APP_C).unwrap(); in test_sk_state_reconcile_not_needed()