/base/location/test/fuzztest/locator/locatorabilitystub_fuzzer/ |
D | locatorabilitystub_fuzzer.cpp | 59 MessageParcel requestParcel; in LocatorAbilityStub001FuzzTest() local 60 requestParcel.WriteInterfaceToken(u"location.ILocator"); in LocatorAbilityStub001FuzzTest() 61 requestParcel.WriteBuffer(data, size); in LocatorAbilityStub001FuzzTest() 62 requestParcel.RewindRead(0); in LocatorAbilityStub001FuzzTest() 69 requestParcel, reply, option); in LocatorAbilityStub001FuzzTest() 76 MessageParcel requestParcel; in LocatorAbilityStub002FuzzTest() local 77 requestParcel.WriteInterfaceToken(u"location.ILocator"); in LocatorAbilityStub002FuzzTest() 78 requestParcel.WriteBuffer(data, size); in LocatorAbilityStub002FuzzTest() 79 requestParcel.RewindRead(0); in LocatorAbilityStub002FuzzTest() 86 requestParcel, reply, option); in LocatorAbilityStub002FuzzTest() [all …]
|
/base/security/access_token/frameworks/privacy/src/ |
D | permission_used_request_parcel.cpp | 41 auto* requestParcel = new (std::nothrow) PermissionUsedRequestParcel(); in Unmarshalling() local 42 if (requestParcel == nullptr) { in Unmarshalling() 46 RELEASE_IF_FALSE(in.ReadUint32(requestParcel->request.tokenId), requestParcel); in Unmarshalling() 47 RELEASE_IF_FALSE(in.ReadBool (requestParcel->request.isRemote), requestParcel); in Unmarshalling() 48 RELEASE_IF_FALSE(in.ReadString(requestParcel->request.deviceId), requestParcel); in Unmarshalling() 49 RELEASE_IF_FALSE(in.ReadString(requestParcel->request.bundleName), requestParcel); in Unmarshalling() 52 RELEASE_IF_FALSE(in.ReadUint32(permSize), requestParcel); in Unmarshalling() 53 RELEASE_IF_FALSE(permSize <= MAX_PERMLIST_SIZE, requestParcel); in Unmarshalling() 56 RELEASE_IF_FALSE(in.ReadString(perm), requestParcel); in Unmarshalling() 57 requestParcel->request.permissionList.emplace_back(perm); in Unmarshalling() [all …]
|
/base/location/test/fuzztest/locator/gnssability_fuzzer/ |
D | gnssability_fuzzer.cpp | 65 MessageParcel requestParcel; in GnssAbility001FuzzTest() local 66 requestParcel.WriteInterfaceToken(u"location.IGnssAbility"); in GnssAbility001FuzzTest() 67 requestParcel.WriteBuffer(data, size); in GnssAbility001FuzzTest() 68 requestParcel.RewindRead(0); in GnssAbility001FuzzTest() 74 requestParcel, reply, option); in GnssAbility001FuzzTest() 77 requestParcel, reply, option); in GnssAbility001FuzzTest() 80 requestParcel, reply, option); in GnssAbility001FuzzTest() 83 requestParcel, reply, option); in GnssAbility001FuzzTest() 86 requestParcel, reply, option); in GnssAbility001FuzzTest() 89 requestParcel, reply, option); in GnssAbility001FuzzTest() [all …]
|
/base/location/test/fuzztest/locator/geoconvertservice_fuzzer/ |
D | geoconvertservice_fuzzer.cpp | 65 MessageParcel requestParcel; in GeoConvertServiceFuzzTest() local 66 requestParcel.WriteInterfaceToken(u"location.IGeoConvert"); in GeoConvertServiceFuzzTest() 67 requestParcel.WriteBuffer(data, size); in GeoConvertServiceFuzzTest() 68 requestParcel.RewindRead(0); in GeoConvertServiceFuzzTest() 75 requestParcel, reply, option); in GeoConvertServiceFuzzTest() 78 requestParcel, reply, option); in GeoConvertServiceFuzzTest() 81 requestParcel, reply, option); in GeoConvertServiceFuzzTest() 84 requestParcel, reply, option); in GeoConvertServiceFuzzTest() 87 requestParcel, reply, option); in GeoConvertServiceFuzzTest() 90 requestParcel, reply, option); in GeoConvertServiceFuzzTest()
|
/base/location/test/fuzztest/locator/networkability_fuzzer/ |
D | networkability_fuzzer.cpp | 66 MessageParcel requestParcel; in NetworkAbilityFuzzTest() local 67 requestParcel.WriteInterfaceToken(u"location.INetworkAbility"); in NetworkAbilityFuzzTest() 68 requestParcel.WriteBuffer(data, size); in NetworkAbilityFuzzTest() 69 requestParcel.RewindRead(0); in NetworkAbilityFuzzTest() 75 requestParcel, reply, option); in NetworkAbilityFuzzTest() 78 requestParcel, reply, option); in NetworkAbilityFuzzTest() 81 requestParcel, reply, option); in NetworkAbilityFuzzTest() 84 requestParcel, reply, option); in NetworkAbilityFuzzTest() 87 requestParcel, reply, option); in NetworkAbilityFuzzTest() 90 requestParcel, reply, option); in NetworkAbilityFuzzTest()
|
/base/location/test/fuzztest/locator/passiveability_fuzzer/ |
D | passiveability_fuzzer.cpp | 65 MessageParcel requestParcel; in PassiveAbilityFuzzTest() local 66 requestParcel.WriteInterfaceToken(u"location.IPassiveAbility"); in PassiveAbilityFuzzTest() 67 requestParcel.WriteBuffer(data, size); in PassiveAbilityFuzzTest() 68 requestParcel.RewindRead(0); in PassiveAbilityFuzzTest() 75 requestParcel, reply, option); in PassiveAbilityFuzzTest() 78 requestParcel, reply, option); in PassiveAbilityFuzzTest() 81 requestParcel, reply, option); in PassiveAbilityFuzzTest() 84 requestParcel, reply, option); in PassiveAbilityFuzzTest() 87 requestParcel, reply, option); in PassiveAbilityFuzzTest()
|
/base/location/test/fuzztest/locator/locatorcallbackhost_fuzzer/ |
D | locatorcallbackhost_fuzzer.cpp | 60 MessageParcel requestParcel; in LocatorCallbackHostFuzzTest() local 61 requestParcel.WriteInterfaceToken(u"location.ILocatorCallback"); in LocatorCallbackHostFuzzTest() 62 requestParcel.WriteBuffer(data, size); in LocatorCallbackHostFuzzTest() 63 requestParcel.RewindRead(0); in LocatorCallbackHostFuzzTest() 69 …callback1->OnRemoteRequest(ILocatorCallback::RECEIVE_LOCATION_INFO_EVENT, requestParcel, reply, op… in LocatorCallbackHostFuzzTest() 71 …callback2->OnRemoteRequest(ILocatorCallback::RECEIVE_LOCATION_STATUS_EVENT, requestParcel, reply, … in LocatorCallbackHostFuzzTest() 73 …callback3->OnRemoteRequest(ILocatorCallback::RECEIVE_ERROR_INFO_EVENT, requestParcel, reply, optio… in LocatorCallbackHostFuzzTest()
|
/base/location/test/fuzztest/locator/gnssstatuscallbackhost_fuzzer/ |
D | gnssstatuscallbackhost_fuzzer.cpp | 64 MessageParcel requestParcel; in GnssStatusCallbackHostFuzzTest() local 65 requestParcel.WriteInterfaceToken(u"location.IGnssStatusCallback"); in GnssStatusCallbackHostFuzzTest() 66 requestParcel.WriteBuffer(data, size); in GnssStatusCallbackHostFuzzTest() 67 requestParcel.RewindRead(0); in GnssStatusCallbackHostFuzzTest() 72 …callback->OnRemoteRequest(GnssStatusCallbackHost::RECEIVE_STATUS_INFO_EVENT, requestParcel, reply,… in GnssStatusCallbackHostFuzzTest()
|
/base/location/test/fuzztest/locator/cachedlocationcallbackhost_fuzzer/ |
D | cachedlocationcallbackhost_fuzzer.cpp | 72 MessageParcel requestParcel; in CachedLocationsCallbackHostFuzzTest() local 73 requestParcel.WriteInterfaceToken(u"location.ICachedLocationsCallback"); in CachedLocationsCallbackHostFuzzTest() 74 requestParcel.WriteBuffer(data, size); in CachedLocationsCallbackHostFuzzTest() 75 requestParcel.RewindRead(0); in CachedLocationsCallbackHostFuzzTest() 81 requestParcel, reply, option); in CachedLocationsCallbackHostFuzzTest()
|
/base/location/test/fuzztest/locator/countrycodecallbackhost_fuzzer/ |
D | countrycodecallbackhost_fuzzer.cpp | 63 MessageParcel requestParcel; in CountryCodeCallbackHostFuzzTest() local 64 requestParcel.WriteInterfaceToken(u"location.ICountryCodeCallback"); in CountryCodeCallbackHostFuzzTest() 65 requestParcel.WriteBuffer(data, size); in CountryCodeCallbackHostFuzzTest() 66 requestParcel.RewindRead(0); in CountryCodeCallbackHostFuzzTest() 71 …callback->OnRemoteRequest(CountryCodeCallbackHost::COUNTRY_CODE_CHANGE_EVENT, requestParcel, reply… in CountryCodeCallbackHostFuzzTest()
|
/base/location/test/fuzztest/locator/locationswitchcallbackhost_fuzzer/ |
D | locationswitchcallbackhost_fuzzer.cpp | 60 MessageParcel requestParcel; in LocationSwitchCallbackHostFuzzTest() local 61 requestParcel.WriteInterfaceToken(u"location.ISwitchCallback"); in LocationSwitchCallbackHostFuzzTest() 62 requestParcel.WriteBuffer(data, size); in LocationSwitchCallbackHostFuzzTest() 63 requestParcel.RewindRead(0); in LocationSwitchCallbackHostFuzzTest() 68 …callback->OnRemoteRequest(ISwitchCallback::RECEIVE_SWITCH_STATE_EVENT, requestParcel, reply, optio… in LocationSwitchCallbackHostFuzzTest()
|
/base/location/test/fuzztest/locator/nmeamessagecallbackhost_fuzzer/ |
D | nmeamessagecallbackhost_fuzzer.cpp | 63 MessageParcel requestParcel; in NmeaMessageCallbackHostFuzzTest() local 64 requestParcel.WriteInterfaceToken(u"location.INmeaMessageCallback"); in NmeaMessageCallbackHostFuzzTest() 65 requestParcel.WriteBuffer(data, size); in NmeaMessageCallbackHostFuzzTest() 66 requestParcel.RewindRead(0); in NmeaMessageCallbackHostFuzzTest() 71 …callback->OnRemoteRequest(INmeaMessageCallback::RECEIVE_NMEA_MESSAGE_EVENT, requestParcel, reply, … in NmeaMessageCallbackHostFuzzTest()
|
/base/location/test/fuzztest/locator/locatorcallbackstub_fuzzer/ |
D | locatorcallbackstub_fuzzer.cpp | 69 MessageParcel requestParcel; in LocatorCallbackStubFuzzTest() local 70 requestParcel.WriteInterfaceToken(u"location.ILocatorCallback"); in LocatorCallbackStubFuzzTest() 71 requestParcel.WriteBuffer(data, size); in LocatorCallbackStubFuzzTest() 72 requestParcel.RewindRead(0); in LocatorCallbackStubFuzzTest() 77 callback->OnRemoteRequest(code, requestParcel, reply, option); in LocatorCallbackStubFuzzTest()
|
/base/location/test/fuzztest/locator/networkcallbackhost_fuzzer/ |
D | networkcallbackhost_fuzzer.cpp | 72 MessageParcel requestParcel; in NetworkCallbackHostFuzzTest() local 73 requestParcel.WriteInterfaceToken(u"location.ILocatorCallback"); in NetworkCallbackHostFuzzTest() 74 requestParcel.WriteBuffer(data, size); in NetworkCallbackHostFuzzTest() 75 requestParcel.RewindRead(0); in NetworkCallbackHostFuzzTest() 80 callback->OnRemoteRequest(code, requestParcel, reply, option); in NetworkCallbackHostFuzzTest()
|
/base/security/access_token/test/fuzztest/access_token_stub/getpermissionusedrecordsstub_fuzzer/ |
D | getpermissionusedrecordsstub_fuzzer.cpp | 54 PermissionUsedRequestParcel requestParcel; in GetPermissionUsedRecordsStubFuzzTest() local 55 requestParcel.request = request; in GetPermissionUsedRecordsStubFuzzTest() 59 if (!datas.WriteParcelable(&requestParcel)) { in GetPermissionUsedRecordsStubFuzzTest()
|
/base/security/access_token/test/fuzztest/access_token_stub/getpermissionusedrecordsasyncstub_fuzzer/ |
D | getpermissionusedrecordsasyncstub_fuzzer.cpp | 64 PermissionUsedRequestParcel requestParcel; in GetPermissionUsedRecordsAsyncStubFuzzTest() local 65 requestParcel.request = request; in GetPermissionUsedRecordsAsyncStubFuzzTest() 69 if (!datas.WriteParcelable(&requestParcel)) { in GetPermissionUsedRecordsAsyncStubFuzzTest()
|
/base/security/access_token/services/privacymanager/src/service/ |
D | privacy_manager_stub.cpp | 189 …sptr<PermissionUsedRequestParcel> requestParcel = data.ReadParcelable<PermissionUsedRequestParcel>… in GetPermissionUsedRecordsInner() local 190 if (requestParcel == nullptr) { in GetPermissionUsedRecordsInner() 195 int32_t result = this->GetPermissionUsedRecords(*requestParcel, responseParcel); in GetPermissionUsedRecordsInner() 206 …sptr<PermissionUsedRequestParcel> requestParcel = data.ReadParcelable<PermissionUsedRequestParcel>… in GetPermissionUsedRecordsAsyncInner() local 207 if (requestParcel == nullptr) { in GetPermissionUsedRecordsAsyncInner() 218 int32_t result = this->GetPermissionUsedRecords(*requestParcel, callback); in GetPermissionUsedRecordsAsyncInner() 313 sptr<SecCompEnhanceDataParcel> requestParcel = data.ReadParcelable<SecCompEnhanceDataParcel>(); in RegisterSecCompEnhanceInner() local 314 if (requestParcel == nullptr) { in RegisterSecCompEnhanceInner() 319 int32_t result = this->RegisterSecCompEnhance(*requestParcel); in RegisterSecCompEnhanceInner()
|
/base/location/test/location_geocode/source/ |
D | geo_convert_service_test.cpp | 266 MessageParcel requestParcel; variable 267 requestParcel.WriteInterfaceToken(u"location.IGeoConvert"); 268 requestParcel.WriteBuffer("data", 4); 269 requestParcel.RewindRead(0); 273 service_->OnRemoteRequest(0, requestParcel, reply, option);
|
/base/security/access_token/interfaces/innerkits/privacy/src/ |
D | privacy_manager_client.cpp | 152 PermissionUsedRequestParcel requestParcel; in GetPermissionUsedRecords() local 154 requestParcel.request = request; in GetPermissionUsedRecords() 155 int32_t ret = proxy->GetPermissionUsedRecords(requestParcel, resultParcel); in GetPermissionUsedRecords() 169 PermissionUsedRequestParcel requestParcel; in GetPermissionUsedRecords() local 170 requestParcel.request = request; in GetPermissionUsedRecords() 171 return proxy->GetPermissionUsedRecords(requestParcel, callback); in GetPermissionUsedRecords()
|
/base/location/test/location_network/source/ |
D | network_ability_test.cpp | 478 MessageParcel requestParcel; variable 479 requestParcel.WriteInterfaceToken(u"location.INetworkAbility"); 480 requestParcel.WriteBuffer("data", 4); 481 requestParcel.RewindRead(0); 485 ability_->SendMessage(0, requestParcel, reply); 488 ability_->SendMessage(0, requestParcel, reply);
|
/base/location/test/location_gnss/source/ |
D | gnss_ability_test.cpp | 1113 MessageParcel requestParcel; variable 1114 requestParcel.WriteInterfaceToken(u"location.INetworkAbility"); 1115 requestParcel.WriteBuffer("data", 4); 1116 requestParcel.RewindRead(0); 1120 gnssAbility->SendMessage(0, requestParcel, reply);
|