/system/chre/platform/shared/ |
H A D | chre_api_wwan.cc | 30 DLL_EXPORT bool chreWwanGetCellInfoAsync(const void *cookie) { argument 33 .requestCellInfo(nanoapp, cookie);
|
H A D | chre_api_gnss.cc | 34 const void *cookie) { 39 Milliseconds(minTimeToNextFixMs), cookie); 42 DLL_EXPORT bool chreGnssLocationSessionStopAsync(const void *cookie) { argument 45 .getLocationSession().removeRequest(nanoapp, cookie); 49 const void *cookie) { 54 Milliseconds(0) /* minTimeToNext */, cookie); 57 DLL_EXPORT bool chreGnssMeasurementSessionStopAsync(const void *cookie) { argument 60 .getMeasurementSession().removeRequest(nanoapp, cookie); 32 chreGnssLocationSessionStartAsync(uint32_t minIntervalMs, uint32_t minTimeToNextFixMs, const void *cookie) argument 48 chreGnssMeasurementSessionStartAsync(uint32_t minIntervalMs, const void *cookie) argument
|
H A D | chre_api_wifi.cc | 31 const void *cookie) { 34 .configureScanMonitor(nanoapp, enable, cookie); 38 const struct chreWifiScanParams *params, const void *cookie) { 42 .requestScan(nanoapp, params, cookie); 46 const struct chreWifiRangingParams *params, const void *cookie) { 50 .requestRanging(nanoapp, params, cookie); 30 chreWifiConfigureScanMonitorAsync(bool enable, const void *cookie) argument 37 chreWifiRequestScanAsync( const struct chreWifiScanParams *params, const void *cookie) argument 45 chreWifiRequestRangingAsync( const struct chreWifiRangingParams *params, const void *cookie) argument
|
H A D | chre_api_re.cc | 46 DLL_EXPORT uint32_t chreTimerSet(uint64_t duration, const void *cookie, argument 50 .setTimer(nanoapp, chre::Nanoseconds(duration), cookie, oneShot);
|
/system/chre/core/include/chre/core/ |
H A D | timer_pool.h | 47 * Requests a timer for a nanoapp given a cookie to pass to the nanoapp when 52 * @param cookie A cookie to pass to the app when the timer elapses. 58 const void *cookie, bool oneShot); 95 //! The cookie pointer to be passed as an event to the requesting nanoapp. 96 const void *cookie; member in struct:chre::TimerPool::TimerRequest
|
H A D | gnss_manager.h | 45 * @param cookie A cookie that is round-tripped to provide context to the 51 Milliseconds minTimeToNext, const void *cookie); 58 * @param cookie A cookie that is round-tripped to provide context to the 63 bool removeRequest(Nanoapp *nanoapp, const void *cookie); 114 //! The cookie provided to the CHRE API when the nanoapp requested a 116 const void *cookie; member in struct:chre::GnssSession::StateTransition 171 * @param cookie The cookie provide [all...] |
H A D | wifi_request_manager.h | 64 * @param cookie A cookie that is round-tripped back to the nanoapp to 70 bool configureScanMonitor(Nanoapp *nanoapp, bool enable, const void *cookie); 78 * @param cookie Opaque pointer supplied by the nanoapp and passed back in the 85 const void *cookie); 97 * @param cookie A cookie that is round-tripped back to the nanoapp to provide 104 const void *cookie); 165 const void *cookie; //!< User data supplied by the nanoapp member in struct:chre::WifiRequestManager::PendingRequestBase 204 //! The cookie passe [all...] |
/system/core/libcutils/ |
H A D | trace-dev.cpp | 61 void atrace_async_begin_body(const char* name, int32_t cookie) argument 63 WRITE_MSG("S|%d|", "|%" PRId32, name, cookie); 66 void atrace_async_end_body(const char* name, int32_t cookie) argument 68 WRITE_MSG("F|%d|", "|%" PRId32, name, cookie);
|
H A D | open_memstream.c | 121 static int write_memstream(void* cookie, const char* buf, int size) argument 123 MemStream* stream = (MemStream*) cookie; 162 static fpos_t seek_memstream(void* cookie, fpos_t offset, int whence) argument 164 MemStream* stream = (MemStream*) cookie; 214 static int close_memstream(void* cookie) argument 216 free(cookie);
|
H A D | trace-container.cpp | 187 void atrace_async_begin_body(const char* name, int32_t cookie) argument 190 WRITE_MSG_IN_CONTAINER("S", "|", "|%d", name, cookie); 196 WRITE_MSG("S|%d|", "|%" PRId32, name, cookie); 199 void atrace_async_end_body(const char* name, int32_t cookie) argument 202 WRITE_MSG_IN_CONTAINER("F", "|", "|%d", name, cookie); 208 WRITE_MSG("F|%d|", "|%" PRId32, name, cookie);
|
/system/libhwbinder/ |
H A D | TextOutput.cpp | 41 static void textOutputPrinter(void* cookie, const char* txt) argument 43 ((TextOutput*)cookie)->print(txt, strlen(txt));
|
/system/netd/tests/ |
H A D | bpf_base_test.cpp | 92 uint64_t cookie = getSocketCookie(sock); local 93 ASSERT_NE(NONEXISTENT_COOKIE, cookie); 95 StatusOr<UidTag> tagResult = cookieTagMap.readValue(cookie); 100 tagResult = cookieTagMap.readValue(cookie); 112 uint64_t cookie = getSocketCookie(sock); local 113 ASSERT_NE(NONEXISTENT_COOKIE, cookie); 115 StatusOr<UidTag> tagResult = cookieTagMap.readValue(cookie); 122 tagResult = cookieTagMap.readValue(cookie);
|
/system/chre/core/ |
H A D | wwan_request_manager.cc | 35 const void *cookie) { 44 mCellInfoRequestingNanoappCookie = cookie; 67 result->cookie = mCellInfoRequestingNanoappCookie; 34 requestCellInfo(Nanoapp *nanoapp, const void *cookie) argument
|
H A D | timer_pool.cc | 32 const void *cookie, bool isOneShot) { 41 timerRequest.cookie = cookie; 160 CHRE_EVENT_TIMER, const_cast<void *>(currentTimerRequest.cookie), 31 setTimer(const Nanoapp *nanoapp, Nanoseconds duration, const void *cookie, bool isOneShot) argument
|
/system/chre/platform/shared/nanoapp/ |
H A D | nanoapp_support_lib_dso.cc | 128 const void *cookie) { 130 return (fptr != nullptr) ? fptr(params, cookie) : false; 127 chreWifiRequestRangingAsync(const struct chreWifiRangingParams *params, const void *cookie) argument
|
/system/core/adb/ |
H A D | set_verity_enable_state_service.cpp | 134 void set_verity_enabled_state_service(int fd, void* cookie) { argument 138 bool enable = (cookie != NULL);
|
H A D | remount_service.cpp | 117 void remount_service(int fd, void* cookie) { argument
|
/system/chre/chre_api/include/chre_api/chre/ |
H A D | common.h | 127 * specific API. Typically, a "cookie" parameter is supplied to allow the client 163 //! Set to the cookie parameter given to the request function tied to this 165 const void *cookie; member in struct:chreAsyncResult
|
/system/chre/chre_api/legacy/v1_1/chre/ |
H A D | common.h | 127 * specific API. Typically, a "cookie" parameter is supplied to allow the client 163 //! Set to the cookie parameter given to the request function tied to this 165 const void *cookie; member in struct:chreAsyncResult
|
/system/chre/platform/linux/ |
H A D | system_timer.cc | 39 void SystemTimerBase::systemTimerNotifyCallback(union sigval cookie) { argument 40 SystemTimer *sysTimer = static_cast<SystemTimer*>(cookie.sival_ptr);
|
/system/extras/libfec/ |
H A D | fec_process.cpp | 31 static void * __process(void *cookie) argument 33 process_info *p = static_cast<process_info *>(cookie);
|
/system/libhwbinder/include/hwbinder/ |
H A D | BpHwBinder.h | 42 void* cookie = NULL, 45 void* cookie = NULL, 101 void* cookie; member in struct:android::hardware::BpHwBinder::Obituary
|
/system/chre/apps/chqts/src/general_test/ |
H A D | timer_set_test.cc | 56 const void *cookie, bool oneShot) 58 mCookie(cookie), mOneShot(oneShot) {} 115 // Stage 0: Test NULL cookie 117 // Stage 1: Test (void*)-1 cookie 193 TimerSetTest::Stage *TimerSetTest::getStageFromCookie(const void *cookie) { argument 196 if (mStages[i].getCookie() == cookie) { 199 "cookie"); 203 // catch if we screw up this test setup by duplicating a cookie. 55 Stage(uint32_t stage, uint64_t duration, const void *cookie, bool oneShot) argument
|
/system/chre/platform/android/ |
H A D | host_link.cc | 115 void constructNanoappListCallback(uint16_t /*eventType*/, void *cookie) { argument 117 clientIdCbData.ptr = cookie;
|
H A D | platform_audio.cc | 42 void PlatformAudioBase::audioReadCallback(void *cookie) { argument 43 auto *platformAudio = static_cast<PlatformAudio *>(cookie);
|