/system/core/libcutils/ |
D | multiuser.cpp | 28 uid_t multiuser_get_uid(userid_t user_id, appid_t app_id) { in multiuser_get_uid() argument 29 return (user_id * AID_USER_OFFSET) + (app_id % AID_USER_OFFSET); in multiuser_get_uid() 32 gid_t multiuser_get_cache_gid(userid_t user_id, appid_t app_id) { in multiuser_get_cache_gid() argument 33 if (app_id >= AID_APP_START && app_id <= AID_APP_END) { in multiuser_get_cache_gid() 34 return multiuser_get_uid(user_id, (app_id - AID_APP_START) + AID_CACHE_GID_START); in multiuser_get_cache_gid() 40 gid_t multiuser_get_ext_gid(userid_t user_id, appid_t app_id) { in multiuser_get_ext_gid() argument 41 if (app_id >= AID_APP_START && app_id <= AID_APP_END) { in multiuser_get_ext_gid() 42 return multiuser_get_uid(user_id, (app_id - AID_APP_START) + AID_EXT_GID_START); in multiuser_get_ext_gid() 48 gid_t multiuser_get_ext_cache_gid(userid_t user_id, appid_t app_id) { in multiuser_get_ext_cache_gid() argument 49 if (app_id >= AID_APP_START && app_id <= AID_APP_END) { in multiuser_get_ext_cache_gid() [all …]
|
/system/bt/bta/sys/ |
D | bta_sys_conn.cc | 192 void bta_sys_conn_open(uint8_t id, uint8_t app_id, in bta_sys_conn_open() argument 195 bta_sys_cb.prm_cb(BTA_SYS_CONN_OPEN, id, app_id, peer_addr); in bta_sys_conn_open() 199 bta_sys_cb.ppm_cb(BTA_SYS_CONN_OPEN, id, app_id, peer_addr); in bta_sys_conn_open() 214 void bta_sys_conn_close(uint8_t id, uint8_t app_id, in bta_sys_conn_close() argument 217 bta_sys_cb.prm_cb(BTA_SYS_CONN_CLOSE, id, app_id, peer_addr); in bta_sys_conn_close() 221 bta_sys_cb.ppm_cb(BTA_SYS_CONN_CLOSE, id, app_id, peer_addr); in bta_sys_conn_close() 236 void bta_sys_app_open(uint8_t id, uint8_t app_id, const RawAddress& peer_addr) { in bta_sys_app_open() argument 238 bta_sys_cb.ppm_cb(BTA_SYS_APP_OPEN, id, app_id, peer_addr); in bta_sys_app_open() 252 void bta_sys_app_close(uint8_t id, uint8_t app_id, in bta_sys_app_close() argument 255 bta_sys_cb.ppm_cb(BTA_SYS_APP_CLOSE, id, app_id, peer_addr); in bta_sys_app_close() [all …]
|
D | bta_sys.h | 141 uint8_t app_id, const RawAddress& peer_addr); 144 typedef void(tBTA_SYS_SSR_CFG_CBACK)(uint8_t id, uint8_t app_id, 240 extern void bta_sys_conn_open(uint8_t id, uint8_t app_id, 242 extern void bta_sys_conn_close(uint8_t id, uint8_t app_id, 244 extern void bta_sys_app_open(uint8_t id, uint8_t app_id, 246 extern void bta_sys_app_close(uint8_t id, uint8_t app_id, 248 extern void bta_sys_sco_open(uint8_t id, uint8_t app_id, 250 extern void bta_sys_sco_close(uint8_t id, uint8_t app_id, 252 extern void bta_sys_sco_use(uint8_t id, uint8_t app_id, 254 extern void bta_sys_sco_unuse(uint8_t id, uint8_t app_id, [all …]
|
/system/bt/stack/gatt/ |
D | connection_manager.cc | 93 bool background_connect_add(uint8_t app_id, const RawAddress& address) { in background_connect_add() argument 102 if (it->second.doing_bg_conn.count(app_id)) { in background_connect_add() 103 LOG(INFO) << "App id=" << loghex(app_id) in background_connect_add() 120 bgconn_dev[address].doing_bg_conn.insert(app_id); in background_connect_add() 138 bool background_connect_remove(uint8_t app_id, const RawAddress& address) { in background_connect_remove() argument 143 if (!it->second.doing_bg_conn.erase(app_id)) return false; in background_connect_remove() 154 void on_app_deregistered(uint8_t app_id) { in on_app_deregistered() argument 159 it->second.doing_bg_conn.erase(app_id); in on_app_deregistered() 161 it->second.doing_direct_conn.erase(app_id); in on_app_deregistered() 178 uint8_t app_id = it->second.doing_direct_conn.begin()->first; in on_connection_complete() local [all …]
|
D | connection_manager.h | 40 extern bool background_connect_add(tAPP_ID app_id, const RawAddress& address); 41 extern bool background_connect_remove(tAPP_ID app_id, 47 extern void on_app_deregistered(tAPP_ID app_id); 52 extern bool direct_connect_add(tAPP_ID app_id, const RawAddress& address); 53 extern bool direct_connect_remove(tAPP_ID app_id, const RawAddress& address); 59 extern void on_connection_timed_out(uint8_t app_id, const RawAddress& address);
|
/system/bt/bta/pan/ |
D | bta_pan_act.cc | 60 bta_sys_busy(BTA_ID_PAN, p_scb->app_id, p_scb->bd_addr); in bta_pan_pm_conn_busy() 76 bta_sys_idle(BTA_ID_PAN, p_scb->app_id, p_scb->bd_addr); in bta_pan_pm_conn_idle() 116 p_scb->app_id = bta_pan_cb.app_id[0]; in bta_pan_conn_state_cback() 118 p_scb->app_id = bta_pan_cb.app_id[1]; in bta_pan_conn_state_cback() 120 p_scb->app_id = bta_pan_cb.app_id[2]; in bta_pan_conn_state_cback() 154 bta_pan_co_rx_flow(handle, p_scb->app_id, true); in bta_pan_data_flow_cb() 157 bta_pan_co_rx_flow(handle, p_scb->app_id, false); in bta_pan_data_flow_cb() 258 static bool bta_pan_has_multiple_connections(uint8_t app_id) { in bta_pan_has_multiple_connections() argument 265 if (p_scb->in_use && app_id == p_scb->app_id) { in bta_pan_has_multiple_connections() 281 if (p_scb->in_use && p_scb->app_id != bta_pan_cb.app_id[0] && in bta_pan_has_multiple_connections() [all …]
|
D | bta_pan_api.cc | 110 p_buf->user_app_id = p_user_info->app_id; in BTA_PanSetRole() 118 p_buf->gn_app_id = p_gn_info->app_id; in BTA_PanSetRole() 126 p_buf->nap_app_id = p_nap_info->app_id; in BTA_PanSetRole()
|
D | bta_pan_int.h | 129 uint8_t app_id; /* application id for the connection */ member 137 uint8_t app_id[3]; /* application id for PAN roles */ member
|
/system/bt/bta/include/ |
D | bta_hh_co.h | 52 uint8_t app_id); 66 uint16_t attr_mask, uint8_t app_id); 78 extern void bta_hh_co_close(uint8_t dev_handle, uint8_t app_id); 124 uint8_t app_id); 143 const RawAddress& remote_bda, uint8_t* p_num_rpt, uint8_t app_id); 157 uint8_t app_id);
|
D | bta_pan_co.h | 75 extern void bta_pan_co_open(uint16_t handle, uint8_t app_id, 90 extern void bta_pan_co_close(uint16_t handle, uint8_t app_id); 105 extern void bta_pan_co_tx_path(uint16_t handle, uint8_t app_id); 120 extern void bta_pan_co_rx_path(uint16_t handle, uint8_t app_id); 135 extern void bta_pan_co_tx_write(uint16_t handle, uint8_t app_id, 154 extern void bta_pan_co_rx_flow(uint16_t handle, uint8_t app_id, bool enable);
|
/system/core/libcutils/include/cutils/ |
D | multiuser.h | 32 extern uid_t multiuser_get_uid(userid_t user_id, appid_t app_id); 34 extern gid_t multiuser_get_cache_gid(userid_t user_id, appid_t app_id); 35 extern gid_t multiuser_get_ext_gid(userid_t user_id, appid_t app_id); 36 extern gid_t multiuser_get_ext_cache_gid(userid_t user_id, appid_t app_id); 37 extern gid_t multiuser_get_shared_gid(userid_t user_id, appid_t app_id);
|
/system/core/libcutils/include_vndk/cutils/ |
D | multiuser.h | 32 extern uid_t multiuser_get_uid(userid_t user_id, appid_t app_id); 34 extern gid_t multiuser_get_cache_gid(userid_t user_id, appid_t app_id); 35 extern gid_t multiuser_get_ext_gid(userid_t user_id, appid_t app_id); 36 extern gid_t multiuser_get_ext_cache_gid(userid_t user_id, appid_t app_id); 37 extern gid_t multiuser_get_shared_gid(userid_t user_id, appid_t app_id);
|
/system/security/keystore/tests/ |
D | aaid_truncation_test.cpp | 92 KeyAttestationApplicationId app_id(make_package_info(kDummyPackageName)); in TEST() local 94 auto result = build_attestation_application_id(app_id); in TEST() 101 KeyAttestationApplicationId app_id(make_package_info(kLongPackageName)); in TEST() local 103 auto result = build_attestation_application_id(app_id); in TEST() 117 KeyAttestationApplicationId app_id( in TEST() local 120 auto result = build_attestation_application_id(app_id); in TEST() 140 KeyAttestationApplicationId app_id(std::move(packages)); in TEST() local 141 auto result = build_attestation_application_id(app_id); in TEST()
|
/system/bt/btif/co/ |
D | bta_pan_co.cc | 75 void bta_pan_co_open(uint16_t handle, uint8_t app_id, tBTA_PAN_ROLE local_role, in bta_pan_co_open() argument 80 app_id, local_role, peer_role, handle); in bta_pan_co_open() 118 void bta_pan_co_close(uint16_t handle, uint8_t app_id) { in bta_pan_co_close() argument 119 BTIF_TRACE_API("bta_pan_co_close:app_id:%d, handle:%d", app_id, handle); in bta_pan_co_close() 154 void bta_pan_co_tx_path(uint16_t handle, uint8_t app_id) { in bta_pan_co_tx_path() argument 162 BTIF_TRACE_API("%s, handle:%d, app_id:%d", __func__, handle, app_id); in bta_pan_co_tx_path() 209 UNUSED_ATTR uint8_t app_id) { in bta_pan_co_rx_path() argument 227 UNUSED_ATTR uint8_t app_id, in bta_pan_co_tx_write() argument 250 void bta_pan_co_rx_flow(UNUSED_ATTR uint16_t handle, UNUSED_ATTR uint8_t app_id, in bta_pan_co_rx_flow() argument
|
D | bta_hh_co.cc | 315 tBTA_HH_ATTR_MASK attr_mask, uint8_t app_id) { in bta_hh_co_open() argument 334 p_dev->attr_mask, p_dev->sub_class, p_dev->app_id); in bta_hh_co_open() 362 p_dev->app_id = app_id; in bta_hh_co_open() 408 void bta_hh_co_close(uint8_t dev_handle, uint8_t app_id) { in bta_hh_co_close() argument 413 app_id); in bta_hh_co_close() 456 uint8_t app_id) { in bta_hh_co_data() argument 462 __func__, dev_handle, sub_class, mode, ctry_code, app_id); in bta_hh_co_data() 636 UNUSED_ATTR uint8_t app_id) { in bta_hh_le_co_rpt_info() argument 675 UNUSED_ATTR uint8_t app_id) { in bta_hh_le_co_cache_load() argument 704 UNUSED_ATTR uint8_t app_id) { in bta_hh_le_co_reset_rpt_cache() argument
|
/system/bt/bta/dm/ |
D | bta_dm_pm.cc | 42 uint8_t app_id, const RawAddress& peer_addr); 90 if (p_bta_dm_pm_cfg[0].app_id != 0) { in bta_dm_init_pm() 337 uint8_t app_id, const RawAddress& peer_addr) { in bta_dm_pm_cback() argument 343 app_id); in bta_dm_pm_cback() 348 for (i = 1; i <= p_bta_dm_pm_cfg[0].app_id; i++) { in bta_dm_pm_cback() 350 ((p_bta_dm_pm_cfg[i].app_id == BTA_ALL_APP_ID) || in bta_dm_pm_cback() 351 (p_bta_dm_pm_cfg[i].app_id == app_id))) in bta_dm_pm_cback() 356 if (i > p_bta_dm_pm_cfg[0].app_id) return; in bta_dm_pm_cback() 390 (bta_dm_conn_srvcs.conn_srvc[j].app_id == app_id) && in bta_dm_pm_cback() 423 bta_dm_conn_srvcs.conn_srvc[j].app_id = app_id; in bta_dm_pm_cback() [all …]
|
/system/bt/bta/ag/ |
D | bta_ag_act.cc | 83 open.hdr.app_id = p_scb->app_id; in bta_ag_cback_open() 107 p_scb->app_id = data.api_register.app_id; in bta_ag_register() 118 reg.hdr.app_id = p_scb->app_id; in bta_ag_register() 393 close.hdr.app_id = p_scb->app_id; in bta_ag_rfc_close() 396 bta_sys_conn_close(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_rfc_close() 430 bta_sys_sco_unuse(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_rfc_close() 492 bta_sys_conn_open(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_rfc_open() 626 bta_sys_busy(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_rfc_data() 631 bta_sys_sco_open(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_rfc_data() 633 bta_sys_idle(BTA_ID_AG, p_scb->app_id, p_scb->peer_addr); in bta_ag_rfc_data() [all …]
|
D | bta_ag_api.cc | 96 uint8_t app_id) { in BTA_AgRegister() argument 99 service_names, app_id)); in BTA_AgRegister()
|
/system/bt/bta/hh/ |
D | bta_hh_act.cc | 205 p_cb->app_id = 0; in bta_hh_sdp_cback() 213 if (p_cb->app_id != 0) { in bta_hh_sdp_cback() 217 sdp_rec->ssr_min_tout, p_cb->app_id); in bta_hh_sdp_cback() 327 if (p_cb->app_id) { in bta_hh_start_sdp() 338 p_cb->dscp_info.ssr_min_tout, p_cb->app_id); in bta_hh_start_sdp() 453 (p_cb->app_id == 0)) { in bta_hh_sdp_cmpl() 465 if (p_cb->app_id == 0 && !p_cb->incoming_conn) { in bta_hh_sdp_cmpl() 538 p_cb->app_id); in bta_hh_open_cmpl_act() 549 bta_sys_conn_open(BTA_ID_HH, p_cb->app_id, p_cb->addr); in bta_hh_open_cmpl_act() 594 if (p_cb->app_id != 0) { in bta_hh_open_act() [all …]
|
D | bta_hh_utils.cc | 174 uint16_t ssr_min_tout, uint8_t app_id) { in bta_hh_add_device_to_list() argument 184 p_cb->app_id = app_id; in bta_hh_add_device_to_list() 218 p_cb->app_id = p_bta_hh_cfg->p_devt_list[xx].app_id; in bta_hh_tod_spt()
|
/system/update_engine/ |
D | omaha_request_params.cc | 256 bool OmahaRequestParams::IsDlcAppId(const std::string& app_id) const { in IsDlcAppId() 257 return dlc_apps_params().find(app_id) != dlc_apps_params().end(); in IsDlcAppId() 260 void OmahaRequestParams::SetDlcNoUpdate(const string& app_id) { in SetDlcNoUpdate() argument 261 auto itr = dlc_apps_params_.find(app_id); in SetDlcNoUpdate()
|
D | omaha_request_params.h | 100 inline void set_app_id(const std::string& app_id) { in set_app_id() argument 101 image_props_.product_id = app_id; in set_app_id() 102 image_props_.canary_product_id = app_id; in set_app_id() 233 virtual bool IsDlcAppId(const std::string& app_id) const; 236 void SetDlcNoUpdate(const std::string& app_id);
|
/system/bt/bta/av/ |
D | bta_av_main.cc | 177 uint8_t app_id, const RawAddress& peer_addr); 179 uint8_t app_id, const RawAddress& peer_addr); 513 p_data->api_reg.app_id); in bta_av_api_register() 525 registr.app_id = p_data->api_reg.app_id; in bta_av_api_register() 559 p_scb->app_id = registr.app_id; in bta_av_api_register() 689 if (AVDT_CreateStream(p_scb->app_id, &p_scb->seps[codec_index].av_handle, in bta_av_api_register() 693 __func__, p_scb->hndl, p_scb->app_id, codec_index); in bta_av_api_register() 942 uint8_t id, uint8_t app_id, in bta_av_sys_rs_cback() argument 952 peer_addr.ToString().c_str(), id, app_id, bta_av_cb.rs_idx); in bta_av_sys_rs_cback() 964 __func__, peer_addr.ToString().c_str(), id, app_id, p_scb->hndl); in bta_av_sys_rs_cback() [all …]
|
/system/chre/platform/shared/include/chre/platform/shared/ |
D | host_messages_generated.h | 210 uint64_t app_id() const { 240 void add_app_id(uint64_t app_id) { 241 fbb_.AddElement<uint64_t>(NanoappMessage::VT_APP_ID, app_id, 0); 267 uint64_t app_id = 0, 272 builder_.add_app_id(app_id); 281 uint64_t app_id = 0, 287 app_id, 549 uint64_t app_id() const { 578 void add_app_id(uint64_t app_id) { 579 fbb_.AddElement<uint64_t>(NanoappListEntry::VT_APP_ID, app_id, 0); [all …]
|
/system/chre/host/common/include/chre_host/ |
D | host_messages_generated.h | 321 uint64_t app_id; 326 : app_id(0), 341 uint64_t app_id() const { 386 void add_app_id(uint64_t app_id) { 387 fbb_.AddElement<uint64_t>(NanoappMessage::VT_APP_ID, app_id, 0); 413 uint64_t app_id = 0, 418 builder_.add_app_id(app_id); 427 uint64_t app_id = 0, 433 app_id, 785 uint64_t app_id; [all …]
|