Home
last modified time | relevance | path

Searched refs:NetworkInterfaceCode (Results 1 – 7 of 7) sorted by relevance

/base/location/services/location_network/network/source/
Dnetwork_ability_skeleton.cpp50 case static_cast<uint32_t>(NetworkInterfaceCode::SEND_LOCATION_REQUEST): // fall through in OnRemoteRequest()
51 case static_cast<uint32_t>(NetworkInterfaceCode::SET_MOCKED_LOCATIONS): // fall through in OnRemoteRequest()
52 case static_cast<uint32_t>(NetworkInterfaceCode::SELF_REQUEST): { in OnRemoteRequest()
60 case static_cast<uint32_t>(NetworkInterfaceCode::SET_ENABLE): { in OnRemoteRequest()
67 case static_cast<uint32_t>(NetworkInterfaceCode::ENABLE_LOCATION_MOCK): { in OnRemoteRequest()
74 case static_cast<uint32_t>(NetworkInterfaceCode::DISABLE_LOCATION_MOCK): { in OnRemoteRequest()
Dnetwork_ability.cpp377 case static_cast<uint32_t>(NetworkInterfaceCode::SEND_LOCATION_REQUEST): { in SendMessage()
387 case static_cast<uint32_t>(NetworkInterfaceCode::SET_MOCKED_LOCATIONS): { in SendMessage()
411 case static_cast<uint32_t>(NetworkInterfaceCode::SELF_REQUEST): { in SendMessage()
440 case static_cast<uint32_t>(NetworkInterfaceCode::SEND_LOCATION_REQUEST): { in ProcessEvent()
447 case static_cast<uint32_t>(NetworkInterfaceCode::SET_MOCKED_LOCATIONS): { in ProcessEvent()
459 case static_cast<uint32_t>(NetworkInterfaceCode::SELF_REQUEST): { in ProcessEvent()
/base/location/test/fuzztest/locator/networkability_fuzzer/
Dnetworkability_fuzzer.cpp74 ability1->OnRemoteRequest(static_cast<uint32_t>(NetworkInterfaceCode::SEND_LOCATION_REQUEST), in NetworkAbilityFuzzTest()
77 ability2->OnRemoteRequest(static_cast<uint32_t>(NetworkInterfaceCode::SET_MOCKED_LOCATIONS), in NetworkAbilityFuzzTest()
80 ability3->OnRemoteRequest(static_cast<uint32_t>(NetworkInterfaceCode::SELF_REQUEST), in NetworkAbilityFuzzTest()
83 ability4->OnRemoteRequest(static_cast<uint32_t>(NetworkInterfaceCode::SET_ENABLE), in NetworkAbilityFuzzTest()
86 ability5->OnRemoteRequest(static_cast<uint32_t>(NetworkInterfaceCode::ENABLE_LOCATION_MOCK), in NetworkAbilityFuzzTest()
89 ability6->OnRemoteRequest(static_cast<uint32_t>(NetworkInterfaceCode::DISABLE_LOCATION_MOCK), in NetworkAbilityFuzzTest()
/base/location/services/location_locator/locator/source/
Dnetwork_ability_proxy.cpp43 …int error = Remote()->SendRequest(static_cast<uint32_t>(NetworkInterfaceCode::SEND_LOCATION_REQUES… in SendLocationRequest()
62 …int error = Remote()->SendRequest(static_cast<uint32_t>(NetworkInterfaceCode::SET_ENABLE), data, r… in SetEnable()
78 …Remote()->SendRequest(static_cast<uint32_t>(NetworkInterfaceCode::SELF_REQUEST), data, reply, opti… in SelfRequest()
98 …remote->SendRequest(static_cast<uint32_t>(NetworkInterfaceCode::ENABLE_LOCATION_MOCK), data, reply… in EnableMock()
118 …remote->SendRequest(static_cast<uint32_t>(NetworkInterfaceCode::DISABLE_LOCATION_MOCK), data, repl… in DisableMock()
145 …remote->SendRequest(static_cast<uint32_t>(NetworkInterfaceCode::SET_MOCKED_LOCATIONS), data, reply… in SetMocked()
/base/location/test/location_mock_ipc/src/
Dlocation_mock_ipc.cpp81 ipcMap_[static_cast<uint32_t>(NetworkInterfaceCode::SEND_LOCATION_REQUEST)] = g_networkIpcCode; in SetUp()
82 ipcMap_[static_cast<uint32_t>(NetworkInterfaceCode::SET_MOCKED_LOCATIONS)] = g_networkIpcCode; in SetUp()
83 ipcMap_[static_cast<uint32_t>(NetworkInterfaceCode::SELF_REQUEST)] = g_networkIpcCode; in SetUp()
84 ipcMap_[static_cast<uint32_t>(NetworkInterfaceCode::SET_ENABLE)] = g_networkIpcCode; in SetUp()
85 ipcMap_[static_cast<uint32_t>(NetworkInterfaceCode::ENABLE_LOCATION_MOCK)] = g_networkIpcCode; in SetUp()
86 ipcMap_[static_cast<uint32_t>(NetworkInterfaceCode::DISABLE_LOCATION_MOCK)] = g_networkIpcCode; in SetUp()
/base/location/test/location_network/source/
Dnetwork_ability_stub_test.cpp59 …networkAbilityStub->OnRemoteRequest(static_cast<uint32_t>(NetworkInterfaceCode::SEND_LOCATION_REQU…
76 networkAbilityStub->OnRemoteRequest(static_cast<uint32_t>(NetworkInterfaceCode::SET_ENABLE),
93 … networkAbilityStub->OnRemoteRequest(static_cast<uint32_t>(NetworkInterfaceCode::SELF_REQUEST),
110 …networkAbilityStub->OnRemoteRequest(static_cast<uint32_t>(NetworkInterfaceCode::ENABLE_LOCATION_MO…
127 …networkAbilityStub->OnRemoteRequest(static_cast<uint32_t>(NetworkInterfaceCode::DISABLE_LOCATION_M…
144 …networkAbilityStub->OnRemoteRequest(static_cast<uint32_t>(NetworkInterfaceCode::SET_MOCKED_LOCATIO…
/base/location/interfaces/inner_api/include/
Dlocationhub_ipc_interface_code.h107 enum class NetworkInterfaceCode { enum