Home
last modified time | relevance | path

Searched refs:identity (Results 1 – 25 of 122) sorted by relevance

12345

/base/location/services/location_locator/locator/include/
Dlocator_skeleton.h35 MessageParcel &data, MessageParcel &reply, AppIdentity &identity);
46 int PreGetSwitchState(MessageParcel &data, MessageParcel &reply, AppIdentity &identity);
47 int PreRegisterSwitchCallback(MessageParcel &data, MessageParcel &reply, AppIdentity &identity);
48 int PreStartLocating(MessageParcel &data, MessageParcel &reply, AppIdentity &identity);
49 int PreStopLocating(MessageParcel &data, MessageParcel &reply, AppIdentity &identity);
50 int PreGetCacheLocation(MessageParcel &data, MessageParcel &reply, AppIdentity &identity);
51 int PreEnableAbility(MessageParcel &data, MessageParcel &reply, AppIdentity &identity);
52 int PreUpdateSaAbility(MessageParcel &data, MessageParcel &reply, AppIdentity &identity);
53 int PreIsGeoConvertAvailable(MessageParcel &data, MessageParcel &reply, AppIdentity &identity);
54 int PreGetAddressByCoordinate(MessageParcel &data, MessageParcel &reply, AppIdentity &identity);
[all …]
/base/location/services/location_locator/locator/source/
Dlocator_skeleton.cpp79 …torAbilityStub::PreGetSwitchState(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) in PreGetSwitchState() argument
96 …tyStub::PreRegisterSwitchCallback(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) in PreRegisterSwitchCallback() argument
105 reply.WriteInt32(locatorAbility->RegisterSwitchCallback(client, identity.GetUid())); in PreRegisterSwitchCallback()
110 …atorAbilityStub::PreStartLocating(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) in PreStartLocating() argument
115 if (!CheckLocationPermission(reply, identity)) { in PreStartLocating()
135 reply.WriteInt32(locatorAbility->StartLocating(requestConfig, callback, identity)); in PreStartLocating()
139 …catorAbilityStub::PreStopLocating(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) in PreStopLocating() argument
141 if (!CheckLocationPermission(reply, identity)) { in PreStopLocating()
161 …rAbilityStub::PreGetCacheLocation(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) in PreGetCacheLocation() argument
166 if (!CheckLocationPermission(reply, identity)) { in PreGetCacheLocation()
[all …]
/base/security/device_auth/frameworks/deviceauth_lite/unittest/
Ddeviceauth_test.cpp52 static void Transmit(const struct session_identity *identity, const void *data, uint32_t length) in Transmit() argument
55 …LOG("identity session_id[%d] package_name[%s]", identity->session_id, identity->package_name.name); in Transmit()
60 static void GetProtocolParams(const struct session_identity *identity, int32_t operationCode, in GetProtocolParams() argument
64 …LOG("identity session_id[%d] package_name[%s]", identity->session_id, identity->package_name.name); in GetProtocolParams()
73 static void SetSessionKey(const struct session_identity *identity, const struct hc_session_key *ses… in SetSessionKey() argument
76 …LOG("identity session_id[%d] package_name[%s]", identity->session_id, identity->package_name.name); in SetSessionKey()
81 static void SetServiceResult(const struct session_identity *identity, int32_t result) in SetServiceResult() argument
84 …LOG("identity session_id[%d] package_name[%s]", identity->session_id, identity->package_name.name); in SetServiceResult()
89 static int32_t ConfirmReceiveRequest(const struct session_identity *identity, int32_t operationCode) in ConfirmReceiveRequest() argument
92 …LOG("identity session_id[%d] package_name[%s]", identity->session_id, identity->package_name.name); in ConfirmReceiveRequest()
/base/powermgr/powermgr_lite/services/src/
Dscreen_saver_feature.c33 void OnScreenSaverFeatureInitialize(Feature *feature, Service *parent, Identity identity) in OnScreenSaverFeatureInitialize() argument
36 (void)identity; in OnScreenSaverFeatureInitialize()
43 f->identity = identity; in OnScreenSaverFeatureInitialize()
48 void OnScreenSaverFeatureStop(Feature *feature, Identity identity) in OnScreenSaverFeatureStop() argument
51 (void)identity; in OnScreenSaverFeatureStop()
54 f->identity.queueId = NULL; in OnScreenSaverFeatureStop()
55 f->identity.featureId = -1; in OnScreenSaverFeatureStop()
56 f->identity.serviceId = -1; in OnScreenSaverFeatureStop()
Dpower_manage_feature.c33 void OnPowerManageFeatureInitialize(Feature *feature, Service *parent, Identity identity) in OnPowerManageFeatureInitialize() argument
41 f->identity = identity; in OnPowerManageFeatureInitialize()
45 void OnPowerManageFeatureStop(Feature *feature, Identity identity) in OnPowerManageFeatureStop() argument
48 (void)identity; in OnPowerManageFeatureStop()
51 f->identity.queueId = NULL; in OnPowerManageFeatureStop()
52 f->identity.featureId = -1; in OnPowerManageFeatureStop()
53 f->identity.serviceId = -1; in OnPowerManageFeatureStop()
Dpower_manage_service.c31 Identity identity; member
35 static BOOL Initialize(Service *service, Identity identity);
44 .identity = { -1, -1, NULL }
53 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument
60 pms->identity = identity; in Initialize()
/base/security/permission_lite/services/ipc_auth/src/
Dipc_auth_lite.c30 static void OnInitialize(Feature *feature, Service *parent, Identity identity);
31 static void OnStop(Feature *feature, Identity identity);
43 .identity = {-1, -1, NULL},
60 static void OnInitialize(Feature *feature, Service *parent, Identity identity) in OnInitialize() argument
67 authLite->identity = identity; in OnInitialize()
71 static void OnStop(Feature *feature, Identity identity) in OnStop() argument
74 (void)identity; in OnStop()
/base/security/permission_lite/services/pms/src/
Dpms_inner.c29 static void OnInitialize(Feature *feature, Service *parent, Identity identity);
30 static void OnStop(Feature *feature, Identity identity);
47 .identity = {-1, -1, NULL},
64 static void OnInitialize(Feature *feature, Service *parent, Identity identity) in OnInitialize() argument
71 permlite->identity = identity; in OnInitialize()
74 static void OnStop(Feature *feature, Identity identity) in OnStop() argument
77 (void)identity; in OnStop()
Dpms_server.c43 Identity identity; member
53 static void OnInitialize(Feature *feature, Service *parent, Identity identity);
54 static void OnStop(Feature *feature, Identity identity);
68 .identity = {-1, -1, NULL},
85 static void OnInitialize(Feature *feature, Service *parent, Identity identity) in OnInitialize() argument
92 permlite->identity = identity; in OnInitialize()
96 static void OnStop(Feature *feature, Identity identity) in OnStop() argument
99 (void)identity; in OnStop()
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/sa/sa_mgr/
Dhks_samgr_service_feature.c21 static void FEATURE_OnInitialize(Feature *feature, Service *parent, Identity identity);
22 static void FEATURE_OnStop(Feature *feature, Identity identity);
34 .identity = { -1, -1, NULL },
42 static void FEATURE_OnInitialize(Feature *feature, Service *parent, Identity identity) in FEATURE_OnInitialize() argument
48 hksMgrFeature->identity = identity; in FEATURE_OnInitialize()
52 static void FEATURE_OnStop(Feature *feature, Identity identity) in FEATURE_OnStop() argument
55 (void)identity; in FEATURE_OnStop()
56 g_hksMgrFeature.identity.queueId = NULL; in FEATURE_OnStop()
57 g_hksMgrFeature.identity.featureId = -1; in FEATURE_OnStop()
58 g_hksMgrFeature.identity.serviceId = -1; in FEATURE_OnStop()
Dhks_samgr_service.c27 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument
32 hksMgrService->identity = identity; in Initialize()
55 .identity = { -1, -1, NULL }
Dhks_samgr_server.h46 Identity identity; member
52 Identity identity; member
/base/startup/bootstrap_lite/services/source/
Dbootstrap_service.c22 Identity identity; member
26 static BOOL Initialize(Service *service, Identity identity);
48 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument
51 bootstrap->identity = identity; in Initialize()
65 (void)SAMGR_SendResponseByIdentity(&bootstrap->identity, request, NULL); in MessageHandle()
69 (void)SAMGR_SendResponseByIdentity(&bootstrap->identity, request, NULL); in MessageHandle()
73 (void)SAMGR_SendResponseByIdentity(&bootstrap->identity, request, NULL); in MessageHandle()
/base/security/permission_lite/services/pms_base/src/
Dpermission_service.c29 static BOOL Initialize(Service *service, Identity identity);
38 .identity = {-1, -1, NULL}
54 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument
60 pms->identity = identity; in Initialize()
/base/security/device_security_level/interfaces/inner_api/src/standard/
Ddevice_security_level_callback_helper.cpp54 bool DeviceSecurityLevelCallbackHelper::Publish(const DeviceIdentify &identity, const ResultCallbac… in Publish() argument
61 auto result = holder_.PushCallback(identity, callback, keep, cookie); in Publish()
109 …DeviceSecurityLevelCallbackHelper::CallbackInfoHolder::PushCallback(const DeviceIdentify &identity, in PushCallback() argument
119 CallbackInfo info = {.identity = identity, .callback = callback, .cookie = cookie}; in PushCallback()
132 DeviceIdentify identity; in PopCallback() local
140 identity = iter->second.identity; in PopCallback()
152 callback(&identity, info); in PopCallback()
/base/update/updater/services/package/pkg_package/
Dpkg_lz4file.cpp52 PKG_LOGE("start offset error for %s", fileInfo_.fileInfo.identity.c_str()); in Pack()
56 PKG_LOGE("outStream or inStream null for %s", fileInfo_.fileInfo.identity.c_str()); in Pack()
67 PKG_LOGE("Fail Compress for %s", fileInfo_.fileInfo.identity.c_str()); in Pack()
81 … PKG_LOGE("Lz4FileEntry::Unpack : can not algorithm for %s", fileInfo_.fileInfo.identity.c_str()); in Unpack()
87 …E("Lz4FileEntry::Unpack : outStream or inStream null for %s", fileInfo_.fileInfo.identity.c_str()); in Unpack()
97 PKG_LOGE("Failed decompress for %s", fileInfo_.fileInfo.identity.c_str()); in Unpack()
112 fileInfo_.fileInfo.identity = "lz4_"; in DecodeHeader()
113 fileInfo_.fileInfo.identity.append(std::to_string(nodeId_)); in DecodeHeader()
114 fileName_ = fileInfo_.fileInfo.identity; in DecodeHeader()
139 PKG_LOGI("Add file %s to package", file->identity.c_str()); in AddEntry()
[all …]
Dpkg_gzipfile.cpp68 "Check outstream fail %s", fileInfo_.fileInfo.identity.c_str()); in EncodeHeader()
88 … fileInfo_.fileInfo.identity, {buffer.buffer + offset, buffer.length - offset}, fileNameLen); in EncodeHeader()
98 … fileInfo_.fileInfo.identity, {buffer.buffer + offset, buffer.length - offset}, fileNameLen); in EncodeHeader()
107 …K(ret == PKG_SUCCESS, return ret, "Fail write header for %s", fileInfo_.fileInfo.identity.c_str()); in EncodeHeader()
117 PKG_LOGE("start offset error for %s", fileInfo_.fileInfo.identity.c_str()); in Pack()
121 PKG_LOGE("outStream or inStream null for %s", fileInfo_.fileInfo.identity.c_str()); in Pack()
132 PKG_LOGE("Fail Compress for %s", fileInfo_.fileInfo.identity.c_str()); in Pack()
148 PKG_LOGE("Fail write header for %s", fileInfo_.fileInfo.identity.c_str()); in Pack()
161 fileInfo_.fileInfo.identity.c_str()); in Unpack()
168 "outStream or inStream null for %s", fileInfo_.fileInfo.identity.c_str()); in Unpack()
[all …]
/base/powermgr/display_manager/service/native/src/
Dscreen_action.cpp33 std::string identity = IPCSkeleton::ResetCallingIdentity(); in GetDefaultDisplayId() local
35 IPCSkeleton::SetCallingIdentity(identity); in GetDefaultDisplayId()
41 std::string identity = IPCSkeleton::ResetCallingIdentity(); in GetAllDisplayId() local
43 IPCSkeleton::SetCallingIdentity(identity); in GetAllDisplayId()
101 std::string identity = IPCSkeleton::ResetCallingIdentity(); in SetDisplayState() local
119 IPCSkeleton::SetCallingIdentity(identity); in SetDisplayState()
157 std::string identity = IPCSkeleton::ResetCallingIdentity(); in GetBrightness() local
159 IPCSkeleton::SetCallingIdentity(identity); in GetBrightness()
170 std::string identity = IPCSkeleton::ResetCallingIdentity(); in SetBrightness() local
172 IPCSkeleton::SetCallingIdentity(identity); in SetBrightness()
/base/startup/appspawn_lite/services/src/
Dappspawn_service.c45 Identity identity; member
55 static BOOL Initialize(Service* service, Identity identity) in Initialize() argument
63 spawnService->identity = identity; in Initialize()
66 identity.serviceId, identity.featureId, identity.queueId); in Initialize()
/base/powermgr/power_manager/services/native/src/actions/default/display/
Ddevice_state_action.cpp107 std::string identity = IPCSkeleton::ResetCallingIdentity(); in SetDisplayState() local
109 IPCSkeleton::SetCallingIdentity(identity); in SetDisplayState()
120 std::string identity = IPCSkeleton::ResetCallingIdentity(); in SetDisplayState() local
122 IPCSkeleton::SetCallingIdentity(identity); in SetDisplayState()
161 std::string identity = IPCSkeleton::ResetCallingIdentity(); in OnDisplayStateChanged() local
163 IPCSkeleton::SetCallingIdentity(identity); in OnDisplayStateChanged()
170 std::string identity = IPCSkeleton::ResetCallingIdentity(); in OnDisplayStateChanged() local
172 IPCSkeleton::SetCallingIdentity(identity); in OnDisplayStateChanged()
/base/powermgr/powermgr_lite/services/include/
Dscreen_saver_feature.h27 Identity identity; member
31 void OnScreenSaverFeatureInitialize(Feature *feature, Service *parent, Identity identity);
32 void OnScreenSaverFeatureStop(Feature *feature, Identity identity);
Dpower_manage_feature.h27 Identity identity; member
31 void OnPowerManageFeatureInitialize(Feature *feature, Service *parent, Identity identity);
32 void OnPowerManageFeatureStop(Feature *feature, Identity identity);
/base/security/device_security_level/baselib/msglib/src/standard/
Dmessenger_device_session_manager.c68 DeviceIdentify identity; member
151 static bool GetDeviceIdentityFromSessionId(int sessionId, DeviceIdentify *identity, uint32_t *maskI… in GetDeviceIdentityFromSessionId() argument
153 if (identity == NULL || maskId == NULL) { in GetDeviceIdentityFromSessionId()
163 if (!MessengerGetDeviceIdentifyByNetworkId(networkId, identity)) { in GetDeviceIdentityFromSessionId()
168 *maskId = MaskDeviceIdentity((const char *)identity->identity, DEVICE_ID_MAX_LEN); in GetDeviceIdentityFromSessionId()
186 DeviceIdentify identity = {DEVICE_ID_MAX_LEN, {0}}; in MessengerOnSessionOpened() local
188 bool ret = GetDeviceIdentityFromSessionId(sessionId, &identity, &maskId); in MessengerOnSessionOpened()
201 … (void)memcpy_s(&sessionInfo->identity, sizeof(DeviceIdentify), &identity, sizeof(DeviceIdentify)); in MessengerOnSessionOpened()
212 if (!IsSameDevice(&msgData->destIdentity, &identity)) { in MessengerOnSessionOpened()
259 DeviceIdentify identity = {DEVICE_ID_MAX_LEN, {0}}; in MessengerOnBytesReceived() local
[all …]
/base/startup/appspawn/lite/
Dappspawn_service.c44 Identity identity; member
54 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument
62 spawnService->identity = identity; in Initialize()
65 identity.serviceId, identity.featureId, identity.queueId); in Initialize()
/base/powermgr/battery_lite/services/src/
Dbattery_manage_service.c41 static BOOL Initialize(Service *service, Identity identity) in Initialize() argument
44 batterService->identity = identity; in Initialize()
107 SAMGR_SendRequest(&(g_batteryService.identity), &request, NULL); in BatteryMonitorHandle()

12345