Home
last modified time | relevance | path

Searched refs:callbacks (Results 1 – 25 of 26) sorted by relevance

12

/chre-3.4.0/host/common/
Dsocket_client.cc45 const sp<ICallbacks> &callbacks) { in connect() argument
46 return doConnect(socketName, callbacks, false /* connectInBackground */); in connect()
50 const sp<ICallbacks> &callbacks) { in connectInBackground() argument
51 return doConnect(socketName, callbacks, true /* connectInBackground */); in connectInBackground()
106 const sp<ICallbacks> &callbacks, in doConnect() argument
122 } else if (callbacks == nullptr) { in doConnect()
126 mCallbacks = callbacks; in doConnect()
/chre-3.4.0/host/common/include/chre_host/
Dsocket_client.h84 const ::android::sp<ICallbacks> &callbacks);
100 const ::android::sp<ICallbacks> &callbacks);
142 const ::android::sp<ICallbacks> &callbacks,
/chre-3.4.0/platform/linux/
Dpal_wifi.cc101 const struct chrePalWifiCallbacks *callbacks) { in chrePalWifiApiOpen() argument
105 if (systemApi != nullptr && callbacks != nullptr) { in chrePalWifiApiOpen()
107 gCallbacks = callbacks; in chrePalWifiApiOpen()
Dpal_wwan.cc89 const struct chrePalWwanCallbacks *callbacks) { in chrePalWwanApiOpen() argument
93 if (systemApi != nullptr && callbacks != nullptr) { in chrePalWwanApiOpen()
95 gCallbacks = callbacks; in chrePalWwanApiOpen()
Dpal_gnss.cc153 const struct chrePalGnssCallbacks *callbacks) { in chrePalGnssApiOpen() argument
157 if (systemApi != nullptr && callbacks != nullptr) { in chrePalGnssApiOpen()
159 gCallbacks = callbacks; in chrePalGnssApiOpen()
/chre-3.4.0/chpp/platform/linux/services/
Dplatform_wwan.c28 const struct chrePalWwanCallbacks *callbacks) { in wwanPalOpen() argument
30 gCallbacks = callbacks; in wwanPalOpen()
Dplatform_gnss.c28 const struct chrePalGnssCallbacks *callbacks) { in gnssPalOpen() argument
30 gCallbacks = callbacks; in gnssPalOpen()
Dplatform_wifi.c29 const struct chrePalWifiCallbacks *callbacks) { in wifiPalOpen() argument
31 gCallbacks = callbacks; in wifiPalOpen()
/chre-3.4.0/host/common/test/power_test/
Dchre_power_test_client.cc389 bool loadNanoapp(SocketClient &client, sp<SocketCallbacks> callbacks, in loadNanoapp() argument
398 (status == std::cv_status::no_timeout && callbacks->actionSucceeded()); in loadNanoapp()
419 bool unloadNanoapp(SocketClient &client, sp<SocketCallbacks> callbacks, in unloadNanoapp() argument
426 (status == std::cv_status::no_timeout && callbacks->actionSucceeded()); in unloadNanoapp()
443 bool unloadAllNanoapps(SocketClient &client, sp<SocketCallbacks> callbacks) { in unloadAllNanoapps() argument
447 for (auto appId : callbacks->getAppIdVector()) { in unloadAllNanoapps()
448 if (!unloadNanoapp(client, callbacks, appId)) { in unloadAllNanoapps()
507 bool isLoaded(SocketClient &client, sp<SocketCallbacks> callbacks, in isLoaded() argument
513 for (auto appId : callbacks->getAppIdVector()) { in isLoaded()
728 bool sendMessageToNanoapp(SocketClient &client, sp<SocketCallbacks> callbacks, in sendMessageToNanoapp() argument
[all …]
/chre-3.4.0/host/common/audio_stress_test/
Daudio_stress_test.cc120 sp<SocketCallbacks> callbacks = new SocketCallbacks(); in main() local
122 if (!client.connect("chre", callbacks)) { in main()
/chre-3.4.0/pal/util/include/chre/pal/util/
Dwifi_scan_cache.h75 const struct chrePalWifiCallbacks *callbacks);
/chre-3.4.0/pal/include/chre/pal/
Dwwan.h93 const struct chrePalWwanCallbacks *callbacks);
Daudio.h93 const struct chrePalAudioCallbacks *callbacks);
Dwifi.h177 const struct chrePalWifiCallbacks *callbacks);
Dgnss.h176 const struct chrePalGnssCallbacks *callbacks);
Dsensor.h162 const struct chrePalSensorCallbacks *callbacks);
/chre-3.4.0/apps/power_test/common/
Dpower_test.mk41 COMMON_SRCS += $(CHRE_PREFIX)/util/nanoapp/callbacks.cc
/chre-3.4.0/chpp/clients/
Dwwan.c121 const struct chrePalWwanCallbacks *callbacks);
406 const struct chrePalWwanCallbacks *callbacks) { in chppWwanClientOpen() argument
408 CHPP_DEBUG_ASSERT(callbacks != NULL); in chppWwanClientOpen()
412 gCallbacks = callbacks; in chppWwanClientOpen()
Dgnss.c122 const struct chrePalGnssCallbacks *callbacks);
603 const struct chrePalGnssCallbacks *callbacks) { in chppGnssClientOpen() argument
605 CHPP_DEBUG_ASSERT(callbacks != NULL); in chppGnssClientOpen()
609 gCallbacks = callbacks; in chppGnssClientOpen()
Dwifi.c131 const struct chrePalWifiCallbacks *callbacks);
645 const struct chrePalWifiCallbacks *callbacks) { in chppWifiClientOpen() argument
647 CHPP_DEBUG_ASSERT(callbacks != NULL); in chppWifiClientOpen()
651 gCallbacks = callbacks; in chppWifiClientOpen()
/chre-3.4.0/pal/util/
Dwifi_scan_cache.c172 const struct chrePalWifiCallbacks *callbacks) { in chreWifiScanCacheInit() argument
173 if (systemApi == NULL || callbacks == NULL) { in chreWifiScanCacheInit()
178 gCallbacks = callbacks; in chreWifiScanCacheInit()
/chre-3.4.0/util/
Dutil.mk15 COMMON_SRCS += util/nanoapp/callbacks.cc
/chre-3.4.0/host/common/test/
Dchre_test_client.cc309 sp<SocketCallbacks> callbacks = new SocketCallbacks(); in main() local
312 if (!client.connect("chre", callbacks)) { in main()
383 std::future<bool> future = callbacks->getResultFuture(); in main()
/chre-3.4.0/doc/
Dvendor_extensions.md79 not need to worry about race conditions in its callbacks/handlers. However, it
Dframework_overview.md18 code as well as CHRE system callbacks. Per the CHRE API, nanoapps can’t execute

12