Searched defs:cookie (Results 1 - 25 of 61) sorted by relevance

123

/system/chre/platform/shared/
H A Dchre_api_wwan.cc30 DLL_EXPORT bool chreWwanGetCellInfoAsync(const void *cookie) { argument
33 .requestCellInfo(nanoapp, cookie);
H A Dchre_api_gnss.cc34 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 Dchre_api_wifi.cc31 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 Dchre_api_re.cc46 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 Dtimer_pool.h47 * 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 Dgnss_manager.h45 * @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 Dwifi_request_manager.h64 * @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 Dtrace-dev.cpp61 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 Dopen_memstream.c121 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 Dtrace-container.cpp187 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 DTextOutput.cpp41 static void textOutputPrinter(void* cookie, const char* txt) argument
43 ((TextOutput*)cookie)->print(txt, strlen(txt));
/system/netd/tests/
H A Dbpf_base_test.cpp92 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 Dwwan_request_manager.cc35 const void *cookie) {
44 mCellInfoRequestingNanoappCookie = cookie;
67 result->cookie = mCellInfoRequestingNanoappCookie;
34 requestCellInfo(Nanoapp *nanoapp, const void *cookie) argument
H A Dtimer_pool.cc32 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 Dnanoapp_support_lib_dso.cc128 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 Dset_verity_enable_state_service.cpp134 void set_verity_enabled_state_service(int fd, void* cookie) { argument
138 bool enable = (cookie != NULL);
H A Dremount_service.cpp117 void remount_service(int fd, void* cookie) { argument
/system/chre/chre_api/include/chre_api/chre/
H A Dcommon.h127 * 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 Dcommon.h127 * 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 Dsystem_timer.cc39 void SystemTimerBase::systemTimerNotifyCallback(union sigval cookie) { argument
40 SystemTimer *sysTimer = static_cast<SystemTimer*>(cookie.sival_ptr);
/system/extras/libfec/
H A Dfec_process.cpp31 static void * __process(void *cookie) argument
33 process_info *p = static_cast<process_info *>(cookie);
/system/libhwbinder/include/hwbinder/
H A DBpHwBinder.h42 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 Dtimer_set_test.cc56 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 Dhost_link.cc115 void constructNanoappListCallback(uint16_t /*eventType*/, void *cookie) { argument
117 clientIdCbData.ptr = cookie;
H A Dplatform_audio.cc42 void PlatformAudioBase::audioReadCallback(void *cookie) { argument
43 auto *platformAudio = static_cast<PlatformAudio *>(cookie);

Completed in 1829 milliseconds

123