Home
last modified time | relevance | path

Searched refs:app_index (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/security/asset/services/common/src/
H A Dprocess_info.rs28 app_index: i32, field
55 …ap_info: HapInfoFfi { app_id: app_id.as_mut_ptr(), app_id_len: app_id.len() as u32, app_index: 0 }, in init()
73 pub app_index: i32, field
133 … ProcessInfoDetail::Hap(HapInfo { app_id, app_index: process_info_ffi.hap_info.app_index }) in build()
H A Dcalling_info.rs54 owner_info.append(&mut hap_info.app_index.to_string().as_bytes().to_vec()); in build()
91 pub fn app_index(&self) -> u32 { in app_index() method
114 let app_index = 0; in test_build_callig_info_specific_and_hap() localVariable
119 process_info_detail: ProcessInfoDetail::Hap(HapInfo { app_id, app_index }), in test_build_callig_info_specific_and_hap()
133 let app_index = 0; in test_build_callig_info_hap() localVariable
139 process_info_detail: ProcessInfoDetail::Hap(HapInfo { app_id, app_index }), in test_build_callig_info_hap()
/ohos5.0/base/security/asset/services/core_service/src/common_event/
H A Dstart_event.rs44 let app_index = match want.get(app_index_get_key) { in handle_package_removed() localVariable
57 let owner = format!("{}_{}", app_id, app_index); in handle_package_removed()
71 …::on_package_removed(user_id, owner.as_ptr(), owner.len() as u32, bundle_name.as_ptr(), app_index); in handle_package_removed()
109 let app_index = match want.get(APP_RESTORE_INDEX) { in handle_common_event() localVariable
122 listener::on_app_restore(user_id, bundle_name.as_ptr(), app_index); in handle_common_event()
H A Dlistener.rs165 app_index: i32, in on_package_removed()
178 logi!("[INFO]On app -{}-{}-{}- removed.", user_id, bundle_name, app_index); in on_package_removed()
187 params.insert(PARAM_NAME_APP_INDEX, Value::Number(app_index as u32)); in on_package_removed()
237 pub(crate) extern "C" fn on_app_restore(user_id: i32, bundle_name: *const u8, app_index: i32) { in on_app_restore()
252 params.insert(PARAM_NAME_APP_INDEX, Value::Number(app_index as u32)); in on_app_restore()
/ohos5.0/base/security/asset/services/core_service/src/
H A Dstub.rs64 let app_index = match &process_info.process_info_detail { in on_app_request() localVariable
65 ProcessInfoDetail::Hap(hap_info) => hap_info.app_index, in on_app_request()
74 params.insert(PARAM_NAME_APP_INDEX, Value::Number(app_index as u32)); in on_app_request()
/ohos5.0/base/security/asset/services/db_operator/src/
H A Ddatabase_file_upgrade.rs58 let app_index = split_owner_info.last().unwrap(); in construct_splited_db_name() localVariable
64 format!("Hap_{}_{}", owner_info, app_index) in construct_splited_db_name()
/ohos5.0/base/security/asset/services/core_service/src/operations/
H A Doperation_add.rs139 if calling_info.app_index() > 0 { in check_sync_permission()