Home
last modified time | relevance | path

Searched defs:client (Results 1 – 25 of 62) sorted by relevance

123

/system/chre/java/utils/pigweed/src/com/google/android/chre/utils/pigweed/
DChreCallbackHandler.java65 public void onMessageFromNanoApp(ContextHubClient client, NanoAppMessage message) { in onMessageFromNanoApp()
78 public void onHubReset(ContextHubClient client) { in onHubReset()
89 public void onNanoAppAborted(ContextHubClient client, long nanoappId, int abortCode) { in onNanoAppAborted()
99 public void onNanoAppLoaded(ContextHubClient client, long nanoappId) { in onNanoAppLoaded()
109 public void onNanoAppUnloaded(ContextHubClient client, long nanoappId) { in onNanoAppUnloaded()
119 public void onNanoAppEnabled(ContextHubClient client, long nanoappId) { in onNanoAppEnabled()
129 public void onNanoAppDisabled(ContextHubClient client, long nanoappId) { in onNanoAppDisabled()
143 public void onClientAuthorizationChanged(ContextHubClient client, long nanoappId, in onClientAuthorizationChanged()
DChreChannelOutput.java46 public ChreChannelOutput(ContextHubClient client, long nanoappId) { in ChreChannelOutput()
/system/chre/host/hal_generic/common/
Dhal_client_manager.cc58 inline HostEndpointId mutateVendorEndpointId(const Client &client, in mutateVendorEndpointId()
69 Client *client = getClientByUuid(kSystemServerUuid); in getUuid() local
97 return getClientByField([&clientId](const Client &client) { in getClientByClientId()
104 [&uuid](const Client &client) { return client.uuid == uuid; }); in getClientByUuid()
109 [&pid](const Client &client) { return client.pid == pid; }); in getClientByProcessId()
114 for (const Client &client : mClients) { in updateNextClientId() local
150 const Client *client = getClientByProcessId(pid); in getClientId() local
161 const Client *client = getClientByClientId(clientId); in getCallback() local
173 Client *client = getClientByProcessId(pid); in registerCallback() local
216 Client *client = getClientByProcessId(pid); in handleClientDeath() local
[all …]
/system/core/libcutils/
Dsockets_test.cpp34 static void TestConnectedSockets(cutils_socket_t server, cutils_socket_t client, in TestConnectedSockets()
100 cutils_socket_t client = socket_network_client( in TEST() local
111 cutils_socket_t client = socket_network_client( in TEST() local
122 cutils_socket_t client = socket_network_client( in TEST() local
133 cutils_socket_t client = socket_network_client( in TEST() local
/system/chre/platform/slpi/see/
Dsns_qmi_client.c39 struct sns_client *client; member
66 sns_client *client = ind_cb_data; in client_ind_cb() local
97 static sns_request *create_request(sns_client *client, sns_client_resp resp_cb, in create_request()
147 sns_client *client = err_cb_data; in client_error_cb() local
168 sns_client *client; in sns_client_init() local
205 int sns_client_deinit(sns_client *client) { in sns_client_deinit()
213 int sns_client_send(sns_client *client, sns_client_request_msg *msg, in sns_client_send()
/system/chre/host/common/test/
Dchre_test_client.cc189 void requestHubInfo(SocketClient &client) { in requestHubInfo()
199 void requestNanoappList(SocketClient &client) { in requestNanoappList()
209 void sendMessageToNanoapp(SocketClient &client) { in sendMessageToNanoapp()
223 void sendNanoappLoad(SocketClient &client, uint64_t appId, uint32_t appVersion, in sendNanoappLoad()
271 void sendLoadNanoappRequest(SocketClient &client, const char *headerPath, in sendLoadNanoappRequest()
294 void sendLoadNanoappRequest(SocketClient &client, const char *filename, in sendLoadNanoappRequest()
309 void sendUnloadNanoappRequest(SocketClient &client, uint64_t appId) { in sendUnloadNanoappRequest()
322 void sendSelfTestRequest(SocketClient &client) { in sendSelfTestRequest()
353 SocketClient client; in main() local
/system/chre/java/test/permissions/src/com/google/android/chre/test/permissions/
DContextHubFrameworkPermissionsTestExecutor.java83 public void onMessageFromNanoApp(ContextHubClient client, NanoAppMessage message) { in onMessageFromNanoApp()
92 ContextHubClient client, long nanoAppId, int authorization) { in onClientAuthorizationChanged()
101 public void onHubReset(ContextHubClient client) { in onHubReset()
DContextHubChrePermissionsTestExecutor.java74 public void onMessageFromNanoApp(ContextHubClient client, NanoAppMessage message) { in onMessageFromNanoApp()
82 public void onHubReset(ContextHubClient client) { in onHubReset()
/system/core/fastboot/
Dsocket_test.cpp36 std::unique_ptr<Socket>* client, in MakeConnectedSockets()
78 std::unique_ptr<Socket> server, client; in TEST() local
92 std::unique_ptr<Socket> server, client; in TEST() local
113 std::unique_ptr<Socket> server, client; in TEST() local
138 std::unique_ptr<Socket> server, client; in TEST() local
158 std::unique_ptr<Socket> server, client; in TEST() local
/system/chre/host/common/audio_stress_test/
Daudio_stress_test.cc80 void sendLoadNanoappRequest(SocketClient &client, const char *filename, in sendLoadNanoappRequest()
119 SocketClient client; in main() local
/system/chre/host/common/include/chre_host/pigweed/
Dhal_rpc_client.h105 Callbacks(HalRpcClient *client, in Callbacks()
128 HalRpcClient(std::string_view appName, SocketClient &client, in HalRpcClient()
Dhal_channel_output.h35 HalChannelOutput(android::chre::SocketClient &client, uint32_t hostEndpointId, in HalChannelOutput()
/system/chre/host/common/test/power_test/
Dchre_power_test_client.cc353 bool requestNanoappList(SocketClient &client) { in requestNanoappList()
365 bool sendNanoappLoad(SocketClient &client, uint64_t appId, uint32_t appVersion, in sendNanoappLoad()
383 bool sendLoadNanoappRequest(SocketClient &client, in sendLoadNanoappRequest()
411 bool loadNanoapp(SocketClient &client, sp<SocketCallbacks> callbacks, in loadNanoapp()
420 bool sendUnloadNanoappRequest(SocketClient &client, uint64_t appId) { in sendUnloadNanoappRequest()
435 bool unloadNanoapp(SocketClient &client, sp<SocketCallbacks> callbacks, in unloadNanoapp()
448 bool listNanoapps(SocketClient &client) { in listNanoapps()
459 bool unloadAllNanoapps(SocketClient &client, sp<SocketCallbacks> callbacks) { in unloadAllNanoapps()
523 bool isLoaded(SocketClient &client, sp<SocketCallbacks> callbacks, in isLoaded()
776 bool sendMessageToNanoapp(SocketClient &client, sp<SocketCallbacks> callbacks, in sendMessageToNanoapp()
[all …]
/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/
DContextHubLoadAndUnloadNanoAppsTestExecutor.java79 public void onNanoAppLoaded(ContextHubClient client, long nanoAppId) { in onNanoAppLoaded()
89 public void onNanoAppUnloaded(ContextHubClient client, long nanoAppId) { in onNanoAppUnloaded()
188 ContextHubClient client = mTestHelper.createClient(callback); in queuedLoadUnloadTest() local
DContextHubReliableMessageTestExecutor.java109 ContextHubClient client; in messageToHostTest() local
209 ContextHubClient client = mTestHelper.createClient(callback); in messageToNanoappTest() local
DContextHubClientSendMessageTestExecutor.java173 ContextHubClient client = registerMessageClient(latch, messagesToNanoapp); in testBurstMessages() local
200 ContextHubClient client, List<NanoAppMessage> messages) { in createMessageRunnable()
/system/chre/java/test/settings/src/com/google/android/chre/test/setting/
DContextHubSettingsTestExecutor.java87 public void onMessageFromNanoApp(ContextHubClient client, NanoAppMessage message) { in onMessageFromNanoApp()
119 public void onHubReset(ContextHubClient client) { in onHubReset()
/system/netd/server/
DFwmarkServer.cpp51 bool FwmarkServer::onDataAvailable(SocketClient* client) { in onDataAvailable()
81 int FwmarkServer::processClient(SocketClient* client, int* socketFd) { in processClient()
/system/logging/logd/
DLogReader.cpp48 static bool CanReadSecurityLogs(SocketClient* client) { in CanReadSecurityLogs()
52 static std::string SocketClientToName(SocketClient* client) { in SocketClientToName()
76 SocketLogWriter(LogReader* reader, SocketClient* client, bool privileged) in SocketLogWriter()
/system/core/libstats/bootstrap/
DBootstrapClientInternal.cpp26 static sp<BootstrapClientInternal> client = new BootstrapClientInternal(); in getInstance() local
/system/core/init/
Dsnapuserd_transition.cpp97 auto client = SnapuserdClient::Connect(android::snapshot::kSnapuserdSocket, 10s); in LaunchFirstStageSnapuserd() local
268 auto client = std::make_unique<SnapuserdClient>(); in TestSnapuserdIsReady() local
403 if (auto client = SnapuserdClient::Connect(android::snapshot::kSnapuserdSocket, 3s)) { in CleanupSnapuserdSocket() local
/system/netd/tests/benchmarks/
Dconnect_benchmark.cpp134 sockaddr_in6 client; in ipv4_loopback() local
191 sockaddr_in6 client; in ipv6_loopback() local
/system/chre/java/test/audio_concurrency/src/com/google/android/chre/test/audioconcurrency/
DContextHubAudioConcurrencyTestExecutor.java93 public void onMessageFromNanoApp(ContextHubClient client, NanoAppMessage message) { in onMessageFromNanoApp()
125 public void onHubReset(ContextHubClient client) { in onHubReset()
/system/chre/chpp/clients/
Ddiscovery.c64 const struct ChppClientDescriptor *client, in chppIsClientCompatibleWithService()
149 const struct ChppClient *client = appState->registeredClients[clientIndex]; in chppProcessDiscoverAllResponse() local
/system/connectivity/wificond/aidl/android/net/wifi/nl80211/
DIApInterfaceEventCallback.aidl40 void onConnectedClientsChanged(in NativeWifiClient client, in boolean isConnected); in onConnectedClientsChanged()

123