/base/location/test/location_manager/source/ |
H A D | locator_skeleton_test.cpp | 188 AppIdentity identity; in HWTEST_F() local 189 it->second(data, reply, identity); in HWTEST_F() 202 AppIdentity identity; in HWTEST_F() local 203 identity.SetPid(1); in HWTEST_F() 204 identity.SetUid(2); in HWTEST_F() 206 identity.SetTokenId(tokenId); in HWTEST_F() 207 identity.SetFirstTokenId(0); in HWTEST_F() 208 identity.SetBundleName("bundleName"); in HWTEST_F() 209 auto result = locatorAbilityStub->PreGetSwitchState(data, reply, identity); in HWTEST_F() 222 AppIdentity identity; in HWTEST_F() local 251 AppIdentity identity; HWTEST_F() local 281 AppIdentity identity; HWTEST_F() local 302 AppIdentity identity; HWTEST_F() local 325 AppIdentity identity; HWTEST_F() local 357 AppIdentity identity; HWTEST_F() local 385 AppIdentity identity; HWTEST_F() local 408 AppIdentity identity; HWTEST_F() local 431 AppIdentity identity; HWTEST_F() local 453 AppIdentity identity; HWTEST_F() local 476 AppIdentity identity; HWTEST_F() local 498 AppIdentity identity; HWTEST_F() local 520 AppIdentity identity; HWTEST_F() local 542 AppIdentity identity; HWTEST_F() local 573 AppIdentity identity; HWTEST_F() local 596 AppIdentity identity; HWTEST_F() local 619 AppIdentity identity; HWTEST_F() local 650 AppIdentity identity; HWTEST_F() local 681 AppIdentity identity; HWTEST_F() local 703 AppIdentity identity; HWTEST_F() local 725 AppIdentity identity; HWTEST_F() local 756 AppIdentity identity; HWTEST_F() local 778 AppIdentity identity; HWTEST_F() local 799 AppIdentity identity; HWTEST_F() local 820 AppIdentity identity; HWTEST_F() local 842 AppIdentity identity; HWTEST_F() local 873 AppIdentity identity; HWTEST_F() local 904 AppIdentity identity; HWTEST_F() local 927 AppIdentity identity; HWTEST_F() local 950 AppIdentity identity; HWTEST_F() local 978 AppIdentity identity; HWTEST_F() local 1007 AppIdentity identity; HWTEST_F() local 1028 AppIdentity identity; HWTEST_F() local 1050 AppIdentity identity; HWTEST_F() local 1070 AppIdentity identity; HWTEST_F() local 1097 AppIdentity identity; HWTEST_F() local 1124 AppIdentity identity; HWTEST_F() local 1153 AppIdentity identity; HWTEST_F() local 1172 AppIdentity identity; HWTEST_F() local 1191 AppIdentity identity; HWTEST_F() local 1210 AppIdentity identity; HWTEST_F() local 1229 AppIdentity identity; HWTEST_F() local 1248 AppIdentity identity; HWTEST_F() local 1267 AppIdentity identity; HWTEST_F() local 1286 AppIdentity identity; HWTEST_F() local 1305 AppIdentity identity; HWTEST_F() local 1324 AppIdentity identity; HWTEST_F() local 1343 AppIdentity identity; HWTEST_F() local 1362 AppIdentity identity; HWTEST_F() local 1381 AppIdentity identity; HWTEST_F() local 1400 AppIdentity identity; HWTEST_F() local 1419 AppIdentity identity; HWTEST_F() local 1439 AppIdentity identity; HWTEST_F() local 1459 AppIdentity identity; HWTEST_F() local 1479 AppIdentity identity; HWTEST_F() local 1499 AppIdentity identity; HWTEST_F() local 1526 AppIdentity identity; HWTEST_F() local 1554 AppIdentity identity; HWTEST_F() local 1574 AppIdentity identity; HWTEST_F() local 1594 AppIdentity identity; HWTEST_F() local 1647 AppIdentity identity; HWTEST_F() local [all...] |
/base/location/services/location_gnss/gnss/source/ |
H A D | gnss_ability_skeleton.cpp | 36 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in InitGnssMsgHandleMap() 37 return SendLocationRequestInner(data, reply, identity); in InitGnssMsgHandleMap() 40 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in InitGnssMsgHandleMap() 41 return SetEnableInner(data, reply, identity); in InitGnssMsgHandleMap() 44 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in InitGnssMsgHandleMap() 45 return RefreshRequirementsInner(data, reply, identity); in InitGnssMsgHandleMap() 48 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in InitGnssMsgHandleMap() 49 return RegisterGnssStatusCallbackInner(data, reply, identity); in InitGnssMsgHandleMap() 52 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in InitGnssMsgHandleMap() 53 return UnregisterGnssStatusCallbackInner(data, reply, identity); in InitGnssMsgHandleMap() 131 SendLocationRequestInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) SendLocationRequestInner() argument 141 SetMockLocationsInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) SetMockLocationsInner() argument 151 SetEnableInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) SetEnableInner() argument 161 RefreshRequirementsInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) RefreshRequirementsInner() argument 170 RegisterGnssStatusCallbackInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) RegisterGnssStatusCallbackInner() argument 182 UnregisterGnssStatusCallbackInner( MessageParcel &data, MessageParcel &reply, AppIdentity &identity) UnregisterGnssStatusCallbackInner() argument 193 RegisterNmeaMessageCallbackInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) RegisterNmeaMessageCallbackInner() argument 205 UnregisterNmeaMessageCallbackInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) UnregisterNmeaMessageCallbackInner() argument 216 RegisterCachedCallbackInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) RegisterCachedCallbackInner() argument 229 UnregisterCachedCallbackInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) UnregisterCachedCallbackInner() argument 239 GetCachedGnssLocationsSizeInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) GetCachedGnssLocationsSizeInner() argument 250 FlushCachedGnssLocationsInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) FlushCachedGnssLocationsInner() argument 259 SendCommandInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) SendCommandInner() argument 269 EnableMockInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) EnableMockInner() argument 278 DisableMockInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) DisableMockInner() argument 287 AddFenceInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) AddFenceInner() argument 297 RemoveFenceInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) RemoveFenceInner() argument 307 AddGnssGeofenceInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) AddGnssGeofenceInner() argument 317 RemoveGnssGeofenceInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) RemoveGnssGeofenceInner() argument 327 QuerySupportCoordinateSystemTypeInner( MessageParcel &data, MessageParcel &reply, AppIdentity &identity) QuerySupportCoordinateSystemTypeInner() argument 348 SendNetworkLocationInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) SendNetworkLocationInner() argument 364 AppIdentity identity; OnRemoteRequest() local [all...] |
/base/location/services/location_locator/locator/include/ |
H A D | locator_skeleton.h | 56 int PreGetSwitchState(MessageParcel &data, MessageParcel &reply, AppIdentity &identity); 57 int PreRegisterSwitchCallback(MessageParcel &data, MessageParcel &reply, AppIdentity &identity); 58 int PreUnregisterSwitchCallback(MessageParcel &data, MessageParcel &reply, AppIdentity &identity); 59 int PreStartLocating(MessageParcel &data, MessageParcel &reply, AppIdentity &identity); 60 int PreStopLocating(MessageParcel &data, MessageParcel &reply, AppIdentity &identity); 61 int PreGetCacheLocation(MessageParcel &data, MessageParcel &reply, AppIdentity &identity); 62 int PreEnableAbility(MessageParcel &data, MessageParcel &reply, AppIdentity &identity); 63 int PreEnableAbilityForUser(MessageParcel &data, MessageParcel &reply, AppIdentity &identity); 64 int PreUpdateSaAbility(MessageParcel &data, MessageParcel &reply, AppIdentity &identity); 66 int PreIsGeoConvertAvailable(MessageParcel &data, MessageParcel &reply, AppIdentity &identity); [all...] |
/base/location/services/location_network/network/source/ |
H A D | network_ability_skeleton.cpp | 41 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in InitNetworkMsgHandleMap() 42 return SendLocationRequestInner(data, reply, identity); in InitNetworkMsgHandleMap() 45 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in InitNetworkMsgHandleMap() 46 return SetMockLocationsInner(data, reply, identity); in InitNetworkMsgHandleMap() 49 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in InitNetworkMsgHandleMap() 50 return SetEnableInner(data, reply, identity); in InitNetworkMsgHandleMap() 53 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in InitNetworkMsgHandleMap() 54 return EnableMockInner(data, reply, identity); in InitNetworkMsgHandleMap() 57 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in InitNetworkMsgHandleMap() 58 return DisableMockInner(data, reply, identity); in InitNetworkMsgHandleMap() 67 SendLocationRequestInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) SendLocationRequestInner() argument 77 SetMockLocationsInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) SetMockLocationsInner() argument 87 SetEnableInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) SetEnableInner() argument 96 EnableMockInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) EnableMockInner() argument 105 DisableMockInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) DisableMockInner() argument 119 AppIdentity identity; OnRemoteRequest() local [all...] |
/base/location/services/location_passive/passive/source/ |
H A D | passive_ability_skeleton.cpp | 39 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in InitPassiveMsgHandleMap() 40 return SendLocationRequestInner(data, reply, identity); in InitPassiveMsgHandleMap() 43 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in InitPassiveMsgHandleMap() 44 return SetEnableInner(data, reply, identity); in InitPassiveMsgHandleMap() 47 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in InitPassiveMsgHandleMap() 48 return EnableMockInner(data, reply, identity); in InitPassiveMsgHandleMap() 51 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in InitPassiveMsgHandleMap() 52 return DisableMockInner(data, reply, identity); in InitPassiveMsgHandleMap() 55 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in InitPassiveMsgHandleMap() 56 return SetMockedLocationsInner(data, reply, identity); in InitPassiveMsgHandleMap() 65 SendLocationRequestInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) SendLocationRequestInner() argument 75 SetEnableInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) SetEnableInner() argument 84 EnableMockInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) EnableMockInner() argument 93 DisableMockInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) DisableMockInner() argument 102 SetMockedLocationsInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) SetMockedLocationsInner() argument 117 AppIdentity identity; OnRemoteRequest() local [all...] |
/base/location/services/location_locator/locator/source/ |
H A D | locator_skeleton.cpp | 56 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in ConstructLocatorHandleMap() 57 return PreGetSwitchState(data, reply, identity); in ConstructLocatorHandleMap() 60 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in ConstructLocatorHandleMap() 61 return PreRegisterSwitchCallback(data, reply, identity); in ConstructLocatorHandleMap() 64 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in ConstructLocatorHandleMap() 65 return PreUnregisterSwitchCallback(data, reply, identity); in ConstructLocatorHandleMap() 68 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in ConstructLocatorHandleMap() 69 return PreStartLocating(data, reply, identity); in ConstructLocatorHandleMap() 72 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in ConstructLocatorHandleMap() 73 return PreStopLocating(data, reply, identity); in ConstructLocatorHandleMap() 264 PreGetSwitchState(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreGetSwitchState() argument 275 PreRegisterSwitchCallback(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreRegisterSwitchCallback() argument 284 PreStartLocating(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreStartLocating() argument 315 PreStopLocating(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreStopLocating() argument 332 PreGetCacheLocation(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreGetCacheLocation() argument 349 PreEnableAbility(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreEnableAbility() argument 382 PreEnableAbilityForUser(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreEnableAbilityForUser() argument 418 PreUpdateSaAbility(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreUpdateSaAbility() argument 433 PreIsGeoConvertAvailable(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreIsGeoConvertAvailable() argument 444 PreGetAddressByCoordinate(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreGetAddressByCoordinate() argument 453 PreGetAddressByLocationName(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreGetAddressByLocationName() argument 461 PreUnregisterSwitchCallback(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreUnregisterSwitchCallback() argument 470 PreRegisterGnssStatusCallback(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreRegisterGnssStatusCallback() argument 487 PreUnregisterGnssStatusCallback(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreUnregisterGnssStatusCallback() argument 501 PreRegisterNmeaMessageCallback(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreRegisterNmeaMessageCallback() argument 518 PreUnregisterNmeaMessageCallback(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreUnregisterNmeaMessageCallback() argument 532 PreRegisterNmeaMessageCallbackV9(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreRegisterNmeaMessageCallbackV9() argument 549 PreUnregisterNmeaMessageCallbackV9(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreUnregisterNmeaMessageCallbackV9() argument 562 PreIsLocationPrivacyConfirmed(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreIsLocationPrivacyConfirmed() argument 577 PreSetLocationPrivacyConfirmStatus(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreSetLocationPrivacyConfirmStatus() argument 597 PreStartCacheLocating(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreStartCacheLocating() argument 628 PreStopCacheLocating(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreStopCacheLocating() argument 647 PreGetCachedGnssLocationsSize(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreGetCachedGnssLocationsSize() argument 664 PreFlushCachedGnssLocations(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreFlushCachedGnssLocations() argument 679 PreSendCommand(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreSendCommand() argument 701 PreAddFence(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreAddFence() argument 708 PreRemoveFence(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreRemoveFence() argument 715 DoProcessFenceRequest( LocatorInterfaceCode code, MessageParcel &data, MessageParcel &reply, AppIdentity &identity) DoProcessFenceRequest() argument 736 PreAddGnssGeofence(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreAddGnssGeofence() argument 755 PreRemoveGnssGeofence(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreRemoveGnssGeofence() argument 773 PreEnableLocationMock(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreEnableLocationMock() argument 792 PreDisableLocationMock(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreDisableLocationMock() argument 811 PreSetMockedLocations(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreSetMockedLocations() argument 839 PreEnableReverseGeocodingMock(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreEnableReverseGeocodingMock() argument 860 PreDisableReverseGeocodingMock(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreDisableReverseGeocodingMock() argument 882 PreSetReverseGeocodingMockInfo(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreSetReverseGeocodingMockInfo() argument 911 PreProxyForFreeze(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreProxyForFreeze() argument 930 PreResetAllProxy(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreResetAllProxy() argument 940 PreReportLocation(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreReportLocation() argument 961 PreRegisterLocatingRequiredDataCallback(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreRegisterLocatingRequiredDataCallback() argument 988 PreUnregisterLocatingRequiredDataCallback(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreUnregisterLocatingRequiredDataCallback() argument 1015 PreQuerySupportCoordinateSystemType(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreQuerySupportCoordinateSystemType() argument 1035 CheckLocationPermission(MessageParcel &reply, AppIdentity &identity) CheckLocationPermission() argument 1049 CheckRssProcessName(MessageParcel &reply, AppIdentity &identity) CheckRssProcessName() argument 1060 CheckPreciseLocationPermissions(MessageParcel &reply, AppIdentity &identity) CheckPreciseLocationPermissions() argument 1074 CheckSettingsPermission(MessageParcel &reply, AppIdentity &identity) CheckSettingsPermission() argument 1103 PreRegisterLocationError(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreRegisterLocationError() argument 1123 PreUnregisterLocationError(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreUnregisterLocationError() argument 1140 PreReportLocationError(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) PreReportLocationError() argument 1171 CheckRequestAvailable(uint32_t code, AppIdentity &identity) CheckRequestAvailable() argument 1186 AppIdentity identity; OnRemoteRequest() local 1267 WriteLocationDenyReportEvent(uint32_t code, int errCode, MessageParcel &data, AppIdentity &identity) WriteLocationDenyReportEvent() argument [all...] |
/base/security/device_auth/frameworks/deviceauth_lite/test/fuzztest/getinstance_fuzzer/ |
H A D | getinstance_fuzzer.cpp | 25 static void TransmitCb(const struct session_identity *identity, const void *data, uint32_t length) in TransmitCb() argument 30 static int32_t ConfirmReceiveRequestFunc(const struct session_identity *identity, int32_t operationCode) in ConfirmReceiveRequestFunc() argument 35 static void GetProtocolParamsCb(const struct session_identity *identity, int32_t operationCode, in GetProtocolParamsCb() argument 41 static void SetSessionKeyFunc(const struct session_identity *identity, const struct hc_session_key *sessionKey) in SetSessionKeyFunc() argument 46 static void SetServiceResultFunc(const struct session_identity *identity, int32_t result, int32_t errorCode) in SetServiceResultFunc() argument 67 struct session_identity identity; in GetInstanceFuzz() local 68 if (memset_s(&identity, sizeof(identity), 0, sizeof(identity)) != EOK) { in GetInstanceFuzz() 71 identity in GetInstanceFuzz() [all...] |
/base/location/services/location_geocode/geocode/source/ |
H A D | geo_convert_skeleton.cpp | 32 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in InitGeoConvertHandleMap() 33 return IsGeoConvertAvailableInner(data, reply, identity); in InitGeoConvertHandleMap() 36 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in InitGeoConvertHandleMap() 37 return GetAddressByCoordinateInner(data, reply, identity); in InitGeoConvertHandleMap() 40 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in InitGeoConvertHandleMap() 41 return GetAddressByLocationNameInner(data, reply, identity); in InitGeoConvertHandleMap() 44 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in InitGeoConvertHandleMap() 45 return EnableReverseGeocodingMockInner(data, reply, identity); in InitGeoConvertHandleMap() 48 [this](MessageParcel &data, MessageParcel &reply, AppIdentity &identity) { in InitGeoConvertHandleMap() 49 return DisableReverseGeocodingMockInner(data, reply, identity); in InitGeoConvertHandleMap() 79 IsGeoConvertAvailableInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) IsGeoConvertAvailableInner() argument 88 GetAddressByCoordinateInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity) GetAddressByCoordinateInner() argument 97 GetAddressByLocationNameInner( MessageParcel &data, MessageParcel &reply, AppIdentity &identity) GetAddressByLocationNameInner() argument 107 EnableReverseGeocodingMockInner( MessageParcel &data, MessageParcel &reply, AppIdentity &identity) EnableReverseGeocodingMockInner() argument 118 DisableReverseGeocodingMockInner( MessageParcel &data, MessageParcel &reply, AppIdentity &identity) DisableReverseGeocodingMockInner() argument 129 SetGeocodingMockInfoInner( MessageParcel &data, MessageParcel &reply, AppIdentity &identity) SetGeocodingMockInfoInner() argument 145 AppIdentity identity; OnRemoteRequest() local [all...] |
/base/powermgr/powermgr_lite/services/src/ |
H A D | screen_saver_feature.c | 33 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()
|
H A D | power_manage_feature.c | 33 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()
|
H A D | power_manage_service.c | 31 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/location/services/location_gnss/gnss/include/ |
H A D | gnss_ability_skeleton.h | 37 virtual LocationErrCode RegisterGnssStatusCallback(const sptr<IRemoteObject>& callback, AppIdentity &identity) = 0; 39 virtual LocationErrCode RegisterNmeaMessageCallback(const sptr<IRemoteObject>& callback, AppIdentity &identity) = 0; 71 int SendLocationRequestInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity); 72 int SetMockLocationsInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity); 73 int SetEnableInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity); 74 int RefreshRequirementsInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity); 75 int RegisterGnssStatusCallbackInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity); 76 int UnregisterGnssStatusCallbackInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity); 77 int RegisterNmeaMessageCallbackInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity); 78 int UnregisterNmeaMessageCallbackInner(MessageParcel &data, MessageParcel &reply, AppIdentity &identity); [all...] |
/base/location/test/fuzztest/locator/checkmessage_fuzzer/ |
H A D | checkmessage_fuzzer.cpp | 78 AppIdentity identity; in CheckMessageFuzzTest() local 83 identity.SetPid(static_cast<pid_t>(GetU64Data(data))); in CheckMessageFuzzTest() 84 identity.SetUid(static_cast<pid_t>(GetU64Data(data + (offset += U64DATA_SIZE)))); in CheckMessageFuzzTest() 85 identity.SetTokenId(GetU32Data(data + (offset += U64DATA_SIZE))); in CheckMessageFuzzTest() 86 identity.SetTokenIdEx(GetU64Data(data + (offset += U32DATA_SIZE))); in CheckMessageFuzzTest() 87 identity.SetFirstTokenId(GetU32Data(data + (offset += U64DATA_SIZE))); in CheckMessageFuzzTest() 88 identity.SetBundleName(data + (offset += U32DATA_SIZE)); in CheckMessageFuzzTest() 91 locatorAbility->CheckLocationPermission(reply, identity); in CheckMessageFuzzTest() 92 locatorAbility->CheckSettingsPermission(reply, identity); in CheckMessageFuzzTest() 93 locatorAbility->CheckPreciseLocationPermissions(reply, identity); in CheckMessageFuzzTest() [all...] |
/base/security/device_security_level/services/sa/lite/mini/ |
H A D | dslm_service_feature.c | 25 static void FEATURE_OnInitialize(Feature *feature, Service *parent, Identity identity); 26 static void FEATURE_OnStop(Feature *feature, Identity identity); 37 .identity = {-1, -1, NULL}, 45 static void FEATURE_OnInitialize(Feature *feature, Service *parent, Identity identity) in FEATURE_OnInitialize() argument 48 dslmFeature->identity = identity; in FEATURE_OnInitialize() 52 static void FEATURE_OnStop(Feature *feature, Identity identity) in FEATURE_OnStop() argument 54 g_dslmFeature.identity.queueId = NULL; in FEATURE_OnStop() 55 g_dslmFeature.identity.featureId = -1; in FEATURE_OnStop() 56 g_dslmFeature.identity in FEATURE_OnStop() [all...] |
/base/security/device_security_level/services/sa/lite/small/ |
H A D | dslm_service_feature.c | 24 static void FEATURE_OnInitialize(Feature *feature, Service *parent, Identity identity); 25 static void FEATURE_OnStop(Feature *feature, Identity identity); 38 .identity = {-1, -1, NULL}, 46 static void FEATURE_OnInitialize(Feature *feature, Service *parent, Identity identity) in FEATURE_OnInitialize() argument 49 dslmFeature->identity = identity; in FEATURE_OnInitialize() 53 static void FEATURE_OnStop(Feature *feature, Identity identity) in FEATURE_OnStop() argument 55 g_dslmFeature.identity.queueId = NULL; in FEATURE_OnStop() 56 g_dslmFeature.identity.featureId = -1; in FEATURE_OnStop() 57 g_dslmFeature.identity in FEATURE_OnStop() [all...] |
/base/security/permission_lite/services/ipc_auth/src/ |
H A D | ipc_auth_lite.c | 30 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/ |
H A D | pms_inner.c | 29 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()
|
/base/security/device_auth/test/unittest/deviceauth/source/ |
H A D | identity_manager_test.cpp | 176 const AuthIdentity *identity = GetGroupAuthIdentity(); in HWTEST_F() local 177 EXPECT_NE(identity, nullptr); in HWTEST_F() 178 int32_t ret = identity->getCredInfoByPeerUrl(nullptr, nullptr, nullptr); in HWTEST_F() 182 ret = identity->getCredInfoByPeerUrl(in, nullptr, nullptr); in HWTEST_F() 185 ret = identity->getCredInfoByPeerUrl(in, &presharedUrl, nullptr); in HWTEST_F() 187 ret = identity->getSharedSecretByUrl(nullptr, nullptr, ALG_EC_SPEKE, nullptr); in HWTEST_F() 189 ret = identity->getSharedSecretByUrl(in, nullptr, ALG_EC_SPEKE, nullptr); in HWTEST_F() 191 ret = identity->getSharedSecretByUrl(in, &presharedUrl, ALG_EC_SPEKE, nullptr); in HWTEST_F() 193 ret = identity->getCredInfoByPeerCert(nullptr, nullptr, nullptr); in HWTEST_F() 195 ret = identity in HWTEST_F() 212 const AuthIdentity *identity = GetP2pAuthIdentity(); HWTEST_F() local 253 const AuthIdentity *identity = GetPinAuthIdentity(); HWTEST_F() local [all...] |
/base/location/test/location_locator/source/ |
H A D | country_code_manager_test.cpp | 93 AppIdentity identity; in HWTEST_F() local 95 identity.SetPid(pid); in HWTEST_F() 96 identity.SetUid(pid); in HWTEST_F() 97 countryCodeManager->RegisterCountryCodeCallback(callback1, identity); in HWTEST_F() 102 countryCodeManager->RegisterCountryCodeCallback(callback2, identity); in HWTEST_F() 116 AppIdentity identity; in HWTEST_F() local 118 identity.SetPid(pid); in HWTEST_F() 119 identity.SetUid(pid); in HWTEST_F() 120 countryCodeManager->RegisterCountryCodeCallback(callback, identity); in HWTEST_F() 133 AppIdentity identity; in HWTEST_F() local 151 AppIdentity identity; HWTEST_F() local 180 AppIdentity identity; HWTEST_F() local 208 AppIdentity identity; HWTEST_F() local [all...] |
/base/security/device_auth/frameworks/deviceauth_lite/test/fuzztest/dellocalauthinfo_fuzzer/ |
H A D | dellocalauthinfo_fuzzer.cpp | 23 static void TransmitCb(const struct session_identity *identity, const void *data, uint32_t length) in TransmitCb() argument 28 static int32_t ConfirmReceiveRequestFunc(const struct session_identity *identity, int32_t operationCode) in ConfirmReceiveRequestFunc() argument 33 static void GetProtocolParamsCb(const struct session_identity *identity, int32_t operationCode, in GetProtocolParamsCb() argument 39 static void SetSessionKeyFunc(const struct session_identity *identity, const struct hc_session_key *sessionKey) in SetSessionKeyFunc() argument 44 static void SetServiceResultFunc(const struct session_identity *identity, int32_t result, int32_t errorCode) in SetServiceResultFunc() argument 57 static struct session_identity identity = { member 69 hc_handle handle = get_instance(&identity, HC_CENTRE, &callback); in DelLocalaAuthInfoFuzz()
|
/base/security/device_auth/frameworks/deviceauth_lite/test/fuzztest/destroy_fuzzer/ |
H A D | destroy_fuzzer.cpp | 23 static void TransmitCb(const struct session_identity *identity, const void *data, uint32_t length) in TransmitCb() argument 28 static int32_t ConfirmReceiveRequestFunc(const struct session_identity *identity, int32_t operationCode) in ConfirmReceiveRequestFunc() argument 33 static void GetProtocolParamsCb(const struct session_identity *identity, int32_t operationCode, in GetProtocolParamsCb() argument 39 static void SetSessionKeyFunc(const struct session_identity *identity, const struct hc_session_key *sessionKey) in SetSessionKeyFunc() argument 44 static void SetServiceResultFunc(const struct session_identity *identity, int32_t result, int32_t errorCode) in SetServiceResultFunc() argument 57 static struct session_identity identity = { member 69 hc_handle handle = get_instance(&identity, HC_CENTRE, &callback); in DestroyFuzz()
|
/base/security/device_auth/frameworks/deviceauth_lite/test/fuzztest/istrustpeer_fuzzer/ |
H A D | istrustpeer_fuzzer.cpp | 23 static void TransmitCb(const struct session_identity *identity, const void *data, uint32_t length) in TransmitCb() argument 28 static int32_t ConfirmReceiveRequestFunc(const struct session_identity *identity, int32_t operationCode) in ConfirmReceiveRequestFunc() argument 33 static void GetProtocolParamsCb(const struct session_identity *identity, int32_t operationCode, in GetProtocolParamsCb() argument 39 static void SetSessionKeyFunc(const struct session_identity *identity, const struct hc_session_key *sessionKey) in SetSessionKeyFunc() argument 44 static void SetServiceResultFunc(const struct session_identity *identity, int32_t result, int32_t errorCode) in SetServiceResultFunc() argument 57 static struct session_identity identity = { member 69 hc_handle handle = get_instance(&identity, HC_CENTRE, &callback); in IsTrustPeerFuzz()
|
/base/startup/bootstrap_lite/services/source/ |
H A D | bootstrap_service.c | 22 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/device_auth/frameworks/deviceauth_lite/test/unittest/ |
H A D | hichain_pake_test.cpp | 63 static void Transmit(const struct session_identity *identity, const void *data, uint32_t length) in Transmit() argument 66 LOG("identity session_id[%d] package_name[%s]", identity->session_id, identity->package_name.name); in Transmit() 71 static void GetProtocolParams(const struct session_identity *identity, int32_t operationCode, in GetProtocolParams() argument 75 LOG("identity session_id[%d] package_name[%s]", identity->session_id, identity->package_name.name); in GetProtocolParams() 85 static void SetSessionKey(const struct session_identity *identity, const struct hc_session_key *sessionKey) in SetSessionKey() argument 88 LOG("identity session_i in SetSessionKey() 93 SetServiceResult(const struct session_identity *identity, int32_t result, int32_t errorCode) SetServiceResult() argument 102 ConfirmReceiveRequest(const struct session_identity *identity, int32_t operationCode) ConfirmReceiveRequest() argument [all...] |
/base/security/device_auth/frameworks/deviceauth_lite/test/fuzztest/authenticatepeer_fuzzer/ |
H A D | authenticatepeer_fuzzer.cpp | 25 static void TransmitCb(const struct session_identity *identity, const void *data, uint32_t length) in TransmitCb() argument 30 static int32_t ConfirmReceiveRequestFunc(const struct session_identity *identity, int32_t operationCode) in ConfirmReceiveRequestFunc() argument 35 static void GetProtocolParamsCb(const struct session_identity *identity, int32_t operationCode, in GetProtocolParamsCb() argument 41 static void SetSessionKeyFunc(const struct session_identity *identity, in SetSessionKeyFunc() argument 47 static void SetServiceResultFunc(const struct session_identity *identity, int32_t result, int32_t errorCode) in SetServiceResultFunc() argument 60 static struct session_identity identity = { member 73 hc_handle handle = get_instance(&identity, HC_CENTRE, &callback); in AuthenticatePeerFuzz()
|