Home
last modified time | relevance | path

Searched refs:GnssInterfaceCode (Results 1 – 8 of 8) sorted by relevance

/base/location/test/fuzztest/locator/gnssability_fuzzer/
Dgnssability_fuzzer.cpp73 ability1->OnRemoteRequest(static_cast<uint32_t>(GnssInterfaceCode::SEND_LOCATION_REQUEST), in GnssAbility001FuzzTest()
76 ability2->OnRemoteRequest(static_cast<uint32_t>(GnssInterfaceCode::SET_MOCKED_LOCATIONS), in GnssAbility001FuzzTest()
79 ability3->OnRemoteRequest(static_cast<uint32_t>(GnssInterfaceCode::SET_ENABLE), in GnssAbility001FuzzTest()
82 ability4->OnRemoteRequest(static_cast<uint32_t>(GnssInterfaceCode::REFRESH_REQUESTS), in GnssAbility001FuzzTest()
85 ability5->OnRemoteRequest(static_cast<uint32_t>(GnssInterfaceCode::REG_GNSS_STATUS), in GnssAbility001FuzzTest()
88 ability6->OnRemoteRequest(static_cast<uint32_t>(GnssInterfaceCode::UNREG_GNSS_STATUS), in GnssAbility001FuzzTest()
91 ability7->OnRemoteRequest(static_cast<uint32_t>(GnssInterfaceCode::REG_NMEA), in GnssAbility001FuzzTest()
94 ability8->OnRemoteRequest(static_cast<uint32_t>(GnssInterfaceCode::UNREG_NMEA), in GnssAbility001FuzzTest()
97 ability9->OnRemoteRequest(static_cast<uint32_t>(GnssInterfaceCode::REG_CACHED), in GnssAbility001FuzzTest()
115 ability10->OnRemoteRequest(static_cast<uint32_t>(GnssInterfaceCode::UNREG_CACHED), in GnssAbility002FuzzTest()
[all …]
/base/location/test/location_mock_ipc/src/
Dlocation_mock_ipc.cpp62 ipcMap_[static_cast<uint32_t>(GnssInterfaceCode::SEND_LOCATION_REQUEST)] = g_gnssIpcCode; in SetUp()
63 ipcMap_[static_cast<uint32_t>(GnssInterfaceCode::SET_MOCKED_LOCATIONS)] = g_gnssIpcCode; in SetUp()
64 ipcMap_[static_cast<uint32_t>(GnssInterfaceCode::SET_ENABLE)] = g_gnssIpcCode; in SetUp()
65 ipcMap_[static_cast<uint32_t>(GnssInterfaceCode::REFRESH_REQUESTS)] = g_gnssIpcCode; in SetUp()
66 ipcMap_[static_cast<uint32_t>(GnssInterfaceCode::REG_GNSS_STATUS)] = g_gnssIpcCode; in SetUp()
67 ipcMap_[static_cast<uint32_t>(GnssInterfaceCode::UNREG_GNSS_STATUS)] = g_gnssIpcCode; in SetUp()
68 ipcMap_[static_cast<uint32_t>(GnssInterfaceCode::REG_NMEA)] = g_gnssIpcCode; in SetUp()
69 ipcMap_[static_cast<uint32_t>(GnssInterfaceCode::UNREG_NMEA)] = g_gnssIpcCode; in SetUp()
70 ipcMap_[static_cast<uint32_t>(GnssInterfaceCode::REG_CACHED)] = g_gnssIpcCode; in SetUp()
71 ipcMap_[static_cast<uint32_t>(GnssInterfaceCode::UNREG_CACHED)] = g_gnssIpcCode; in SetUp()
[all …]
/base/location/services/location_gnss/gnss/source/
Dgnss_ability_skeleton.cpp45 case static_cast<uint32_t>(GnssInterfaceCode::SEND_LOCATION_REQUEST): // fall through in OnRemoteRequest()
46 case static_cast<uint32_t>(GnssInterfaceCode::SET_MOCKED_LOCATIONS): { in OnRemoteRequest()
54 case static_cast<uint32_t>(GnssInterfaceCode::SET_ENABLE): { in OnRemoteRequest()
61 case static_cast<uint32_t>(GnssInterfaceCode::REFRESH_REQUESTS): { in OnRemoteRequest()
68 case static_cast<uint32_t>(GnssInterfaceCode::REG_GNSS_STATUS): { in OnRemoteRequest()
76 case static_cast<uint32_t>(GnssInterfaceCode::UNREG_GNSS_STATUS): { in OnRemoteRequest()
84 case static_cast<uint32_t>(GnssInterfaceCode::REG_NMEA): { in OnRemoteRequest()
92 case static_cast<uint32_t>(GnssInterfaceCode::UNREG_NMEA): { in OnRemoteRequest()
100 case static_cast<uint32_t>(GnssInterfaceCode::REG_CACHED): { in OnRemoteRequest()
111 case static_cast<uint32_t>(GnssInterfaceCode::UNREG_CACHED): { in OnRemoteRequest()
[all …]
Dgnss_ability.cpp689 case static_cast<uint32_t>(GnssInterfaceCode::SEND_LOCATION_REQUEST): { in SendMessage()
700 case static_cast<uint32_t>(GnssInterfaceCode::SET_MOCKED_LOCATIONS): { in SendMessage()
762 case static_cast<uint32_t>(GnssInterfaceCode::SEND_LOCATION_REQUEST): { in ProcessEvent()
769 case static_cast<uint32_t>(GnssInterfaceCode::SET_MOCKED_LOCATIONS): { in ProcessEvent()
/base/location/services/location_locator/locator/source/
Dgnss_ability_proxy.cpp42 … int error = Remote()->SendRequest(static_cast<uint32_t>(GnssInterfaceCode::SEND_LOCATION_REQUEST), in SendLocationRequest()
61 …int error = Remote()->SendRequest(static_cast<uint32_t>(GnssInterfaceCode::SET_ENABLE), data, repl… in SetEnable()
76 …Remote()->SendRequest(static_cast<uint32_t>(GnssInterfaceCode::REFRESH_REQUESTS), data, reply, opt… in RefrashRequirements()
92 …Remote()->SendRequest(static_cast<uint32_t>(GnssInterfaceCode::REG_GNSS_STATUS), data, reply, opti… in RegisterGnssStatusCallback()
108 …Remote()->SendRequest(static_cast<uint32_t>(GnssInterfaceCode::UNREG_GNSS_STATUS), data, reply, op… in UnregisterGnssStatusCallback()
123 …int error = Remote()->SendRequest(static_cast<uint32_t>(GnssInterfaceCode::REG_NMEA), data, reply,… in RegisterNmeaMessageCallback()
138 …int error = Remote()->SendRequest(static_cast<uint32_t>(GnssInterfaceCode::UNREG_NMEA), data, repl… in UnregisterNmeaMessageCallback()
156 …int error = Remote()->SendRequest(static_cast<uint32_t>(GnssInterfaceCode::REG_CACHED), data, repl… in RegisterCachedCallback()
172 …Remote()->SendRequest(static_cast<uint32_t>(GnssInterfaceCode::UNREG_CACHED), data, reply, option); in UnregisterCachedCallback()
194 …remote->SendRequest(static_cast<uint32_t>(GnssInterfaceCode::GET_CACHED_SIZE), data, reply, option… in GetCachedGnssLocationsSize()
[all …]
Dlocator_ability.cpp487 …return SendGnssRequest(static_cast<int>(GnssInterfaceCode::REG_GNSS_STATUS), dataToStub, replyToSt… in RegisterGnssStatusCallback()
500 …return SendGnssRequest(static_cast<int>(GnssInterfaceCode::UNREG_GNSS_STATUS), dataToStub, replyTo… in UnregisterGnssStatusCallback()
513 return SendGnssRequest(static_cast<int>(GnssInterfaceCode::REG_NMEA), dataToStub, replyToStub); in RegisterNmeaMessageCallback()
526 … return SendGnssRequest(static_cast<int>(GnssInterfaceCode::UNREG_NMEA), dataToStub, replyToStub); in UnregisterNmeaMessageCallback()
543 … return SendGnssRequest(static_cast<int>(GnssInterfaceCode::REG_CACHED), dataToStub, replyToStub); in RegisterCachedLocationCallback()
556 …return SendGnssRequest(static_cast<int>(GnssInterfaceCode::UNREG_CACHED), dataToStub, replyToStub); in UnregisterCachedLocationCallback()
569 … SendGnssRequest(static_cast<int>(GnssInterfaceCode::GET_CACHED_SIZE), dataToStub, replyToStub); in GetCachedGnssLocationsSize()
585 …return SendGnssRequest(static_cast<int>(GnssInterfaceCode::FLUSH_CACHED), dataToStub, replyToStub); in FlushCachedGnssLocations()
599 …return SendGnssRequest(static_cast<int>(GnssInterfaceCode::SEND_COMMANDS), dataToStub, replyToStub… in SendCommand()
616 …return SendGnssRequest(static_cast<int>(GnssInterfaceCode::ADD_FENCE_INFO), dataToStub, replyToStu… in AddFence()
[all …]
/base/location/test/location_gnss/source/
Dgnss_ability_stub_test.cpp56 … gnssAbilityStub->OnRemoteRequest(static_cast<uint32_t>(GnssInterfaceCode::SEND_LOCATION_REQUEST),
73 gnssAbilityStub->OnRemoteRequest(static_cast<uint32_t>(GnssInterfaceCode::SET_ENABLE),
90 gnssAbilityStub->OnRemoteRequest(static_cast<uint32_t>(GnssInterfaceCode::REFRESH_REQUESTS),
107 gnssAbilityStub->OnRemoteRequest(static_cast<uint32_t>(GnssInterfaceCode::REG_GNSS_STATUS),
124 … gnssAbilityStub->OnRemoteRequest(static_cast<uint32_t>(GnssInterfaceCode::UNREG_GNSS_STATUS),
141 gnssAbilityStub->OnRemoteRequest(static_cast<uint32_t>(GnssInterfaceCode::REG_NMEA),
158 gnssAbilityStub->OnRemoteRequest(static_cast<uint32_t>(GnssInterfaceCode::REG_CACHED),
175 gnssAbilityStub->OnRemoteRequest(static_cast<uint32_t>(GnssInterfaceCode::UNREG_CACHED),
192 gnssAbilityStub->OnRemoteRequest(static_cast<uint32_t>(GnssInterfaceCode::SEND_COMMANDS),
209 … gnssAbilityStub->OnRemoteRequest(static_cast<uint32_t>(GnssInterfaceCode::ENABLE_LOCATION_MOCK),
[all …]
/base/location/interfaces/inner_api/include/
Dlocationhub_ipc_interface_code.h78 enum class GnssInterfaceCode { enum