Home
last modified time | relevance | path

Searched refs:cookie (Results 1 – 25 of 111) sorted by relevance

12345

/system/chre/platform/slpi/
Ddebug_dump.cc41 void *cookie; member
51 void *cookie; member
66 void *cookie) { in registerDebugDumpCallback() argument
68 return ashRegisterDebugDumpCallback(name, callback, cookie); in registerDebugDumpCallback()
72 gDumpCallback.cookie = cookie; in registerDebugDumpCallback()
83 gDumpCallback.cookie = nullptr; in unregisterDebugDumpCallback()
97 gDebugDumpState.callback(gDebugDumpState.cookie, debugStr, strlen(debugStr), in commitDebugDump()
106 bool triggerDebugDump(debugDumpReadyCbFunc *readyCb, void *cookie) { in triggerDebugDump() argument
108 return ashTriggerDebugDump(readyCb, cookie); in triggerDebugDump()
112 gDebugDumpState.cookie = cookie; in triggerDebugDump()
[all …]
Dhost_link.cc134 typedef void (MessageBuilderFunction)(FlatBufferBuilder& builder, void *cookie);
196 void *cookie) { in buildAndEnqueueMessage() argument
204 msgBuilder(*builder, cookie); in buildAndEnqueueMessage()
223 void buildNanoappListResponse(FlatBufferBuilder& builder, void *cookie) { in buildNanoappListResponse() argument
233 auto *cbData = static_cast<NanoappListData *>(cookie); in buildNanoappListResponse()
265 auto msgBuilder = [](FlatBufferBuilder& builder, void *cookie) { in finishLoadingNanoappCallback() argument
266 auto *cbData = static_cast<LoadNanoappCallbackData *>(cookie); in finishLoadingNanoappCallback()
287 auto msgBuilder = [](FlatBufferBuilder& builder, void *cookie) { in handleUnloadNanoappCallback() argument
288 auto *cbData = static_cast<UnloadNanoappCallbackData *>(cookie); in handleUnloadNanoappCallback()
379 auto msgBuilder = [](FlatBufferBuilder& builder, void *cookie) { in sendDebugDumpData() argument
[all …]
/system/chre/platform/shared/
Dchre_api_gnss.cc38 const void *cookie) { in chreGnssLocationSessionStartAsync() argument
44 Milliseconds(minTimeToNextFixMs), cookie); in chreGnssLocationSessionStartAsync()
50 DLL_EXPORT bool chreGnssLocationSessionStopAsync(const void *cookie) { in chreGnssLocationSessionStopAsync() argument
54 .getLocationSession().removeRequest(nanoapp, cookie); in chreGnssLocationSessionStopAsync()
61 const void *cookie) { in chreGnssMeasurementSessionStartAsync() argument
67 Milliseconds(0) /* minTimeToNext */, cookie); in chreGnssMeasurementSessionStartAsync()
73 DLL_EXPORT bool chreGnssMeasurementSessionStopAsync(const void *cookie) { in chreGnssMeasurementSessionStopAsync() argument
77 .getMeasurementSession().removeRequest(nanoapp, cookie); in chreGnssMeasurementSessionStopAsync()
Dchre_api_wifi.cc35 const void *cookie) { in chreWifiConfigureScanMonitorAsync() argument
39 .configureScanMonitor(nanoapp, enable, cookie); in chreWifiConfigureScanMonitorAsync()
46 const struct chreWifiScanParams *params, const void *cookie) { in chreWifiRequestScanAsync() argument
51 .requestScan(nanoapp, params, cookie); in chreWifiRequestScanAsync()
58 const struct chreWifiRangingParams *params, const void *cookie) { in chreWifiRequestRangingAsync() argument
63 .requestRanging(nanoapp, params, cookie); in chreWifiRequestRangingAsync()
Dchre_api_wwan.cc34 DLL_EXPORT bool chreWwanGetCellInfoAsync(const void *cookie) { in chreWwanGetCellInfoAsync() argument
38 .requestCellInfo(nanoapp, cookie); in chreWwanGetCellInfoAsync()
/system/libhwbinder/
DDebug.cpp151 void printTypeCode(uint32_t typeCode, debugPrintFunc func, void* cookie) in printTypeCode() argument
156 func ? (*func)(cookie, buffer) : defaultPrintFunc(cookie, buffer); in printTypeCode()
162 debugPrintFunc func, void* cookie) in printHexData() argument
176 if (singleLineBytesCutoff < 0) func(cookie, "\n"); in printHexData()
177 func(cookie, "(NULL)"); in printHexData()
182 if (singleLineBytesCutoff < 0) func(cookie, "\n"); in printHexData()
183 func(cookie, "(empty)"); in printHexData()
188 if (singleLineBytesCutoff < 0) func(cookie, "\n"); in printHexData()
191 func(cookie, buf); in printHexData()
204 func(cookie, "{\n"); in printHexData()
[all …]
/system/chre/core/include/chre/core/
Dwifi_request_manager.h72 bool configureScanMonitor(Nanoapp *nanoapp, bool enable, const void *cookie);
87 const void *cookie);
106 const void *cookie);
165 const void *cookie; //!< User data supplied by the nanoapp member
272 const void *cookie);
300 const void *cookie);
311 const void *cookie);
327 const void *cookie);
338 const void *cookie);
Dgnss_manager.h51 Milliseconds minTimeToNext, const void *cookie);
63 bool removeRequest(Nanoapp *nanoapp, const void *cookie);
116 const void *cookie; member
176 Milliseconds minTimeToNext, const void *cookie);
202 Milliseconds minInterval, const void *cookie);
251 Milliseconds minInterval, uint8_t errorCode, const void *cookie);
262 Milliseconds minInterval, uint8_t errorCode, const void *cookie);
Dtimer_pool.h61 const Nanoapp *nanoapp, Nanoseconds duration, const void *cookie, in setNanoappTimer() argument
65 CHRE_EVENT_TIMER, cookie, isOneShot); in setNanoappTimer()
86 SystemCallbackType callbackType, const void *cookie);
131 const void *cookie; member
196 const void *cookie, bool isOneShot);
/system/core/libcutils/include/cutils/
Dtrace.h194 #define ATRACE_ASYNC_BEGIN(name, cookie) \ argument
195 atrace_async_begin(ATRACE_TAG, name, cookie)
197 int32_t cookie) in atrace_async_begin() argument
201 atrace_async_begin_body(name, cookie); in atrace_async_begin()
209 #define ATRACE_ASYNC_END(name, cookie) atrace_async_end(ATRACE_TAG, name, cookie) argument
210 static inline void atrace_async_end(uint64_t tag, const char* name, int32_t cookie) in atrace_async_end() argument
214 atrace_async_end_body(name, cookie); in atrace_async_end()
/system/core/libcutils/include_vndk/cutils/
Dtrace.h194 #define ATRACE_ASYNC_BEGIN(name, cookie) \ argument
195 atrace_async_begin(ATRACE_TAG, name, cookie)
197 int32_t cookie) in atrace_async_begin() argument
201 atrace_async_begin_body(name, cookie); in atrace_async_begin()
209 #define ATRACE_ASYNC_END(name, cookie) atrace_async_end(ATRACE_TAG, name, cookie) argument
210 static inline void atrace_async_end(uint64_t tag, const char* name, int32_t cookie) in atrace_async_end() argument
214 atrace_async_end_body(name, cookie); in atrace_async_end()
/system/chre/platform/slpi/include/chre/platform/slpi/
Ddebug_dump.h49 typedef void (debugDumpCbFunc)(void *cookie, uint32_t handle);
70 void *cookie);
126 typedef void (debugDumpReadyCbFunc)(void *cookie, const char *debugStr,
151 bool triggerDebugDump(debugDumpReadyCbFunc *readyCb, void *cookie);
/system/chre/core/
Dgnss_manager.cc71 Milliseconds minTimeToNext, const void *cookie) { in addRequest() argument
74 cookie); in addRequest()
77 bool GnssSession::removeRequest(Nanoapp *nanoapp, const void *cookie) { in removeRequest() argument
80 Milliseconds(UINT64_MAX), cookie); in removeRequest()
140 Milliseconds minTimeToNext, const void *cookie) { in configure() argument
146 success = addRequestToQueue(instanceId, enable, minInterval, cookie); in configure()
149 success = addRequestToQueue(instanceId, enable, minInterval, cookie); in configure()
161 cookie); in configure()
186 const void *cookie) { in addRequestToQueue() argument
191 stateTransition.cookie = cookie; in addRequestToQueue()
[all …]
Dwifi_request_manager.cc49 const void *cookie) { in configureScanMonitor() argument
56 success = addScanMonitorRequestToQueue(nanoapp, enable, cookie); in configureScanMonitor()
61 enable, CHRE_ERROR_NONE, cookie); in configureScanMonitor()
64 success = addScanMonitorRequestToQueue(nanoapp, enable, cookie); in configureScanMonitor()
82 const void *cookie) { in requestRanging() argument
91 req.cookie = cookie; in requestRanging()
123 const void *cookie) { in requestScan() argument
154 mScanRequestingNanoappCookie = cookie; in requestScan()
318 const void *cookie) { in addScanMonitorRequestToQueue() argument
321 scanMonitorStateTransition.cookie = cookie; in addScanMonitorRequestToQueue()
[all …]
/system/core/libcutils/
Dproperties.cpp100 void (*callback)(const char* name, const char* value, void* cookie);
101 void* cookie; member
106 data->callback(name, value, data->cookie); in trampoline()
113 int property_list(void (*fn)(const char* name, const char* value, void* cookie), void* cookie) { in property_list() argument
114 callback_data data = {fn, cookie}; in property_list()
Dtrace-dev.cpp82 void atrace_async_begin_body(const char* name, int32_t cookie) in atrace_async_begin_body() argument
84 WRITE_MSG("S|%d|", "|%" PRId32, name, cookie); in atrace_async_begin_body()
87 void atrace_async_end_body(const char* name, int32_t cookie) in atrace_async_end_body() argument
89 WRITE_MSG("F|%d|", "|%" PRId32, name, cookie); in atrace_async_end_body()
Dtrace-container.cpp196 void atrace_async_begin_body(const char* name, int32_t cookie) in atrace_async_begin_body() argument
199 WRITE_MSG_IN_CONTAINER("S", "|", "|%d", name, cookie); in atrace_async_begin_body()
205 WRITE_MSG("S|%d|", "|%" PRId32, name, cookie); in atrace_async_begin_body()
208 void atrace_async_end_body(const char* name, int32_t cookie) in atrace_async_end_body() argument
211 WRITE_MSG_IN_CONTAINER("F", "|", "|%d", name, cookie); in atrace_async_end_body()
217 WRITE_MSG("F|%d|", "|%" PRId32, name, cookie); in atrace_async_end_body()
/system/libziparchive/include/ziparchive/
Dzip_archive.h248 int32_t Next(void* cookie, ZipEntry64* data, std::string_view* name);
249 int32_t Next(void* cookie, ZipEntry64* data, std::string* name);
255 void EndIteration(void* cookie);
293 int32_t Next(void* cookie, ZipEntry* data, std::string* name);
294 int32_t Next(void* cookie, ZipEntry* data, std::string_view* name);
300 typedef bool (*ProcessZipEntryFunction)(const uint8_t* buf, size_t buf_size, void* cookie);
307 ProcessZipEntryFunction func, void* cookie);
309 ProcessZipEntryFunction func, void* cookie);
/system/libhwbinder/include/hwbinder/
DDebug.h32 typedef void (*debugPrintFunc)(void* cookie, const char* txt);
35 debugPrintFunc func = nullptr, void* cookie = nullptr);
40 debugPrintFunc func = nullptr, void* cookie = nullptr);
/system/netd/tests/
Dbpf_base_test.cpp106 uint64_t cookie = getSocketCookie(sock); in TEST_F() local
107 ASSERT_NE(NONEXISTENT_COOKIE, cookie); in TEST_F()
109 Result<UidTagValue> tagResult = cookieTagMap.readValue(cookie); in TEST_F()
114 tagResult = cookieTagMap.readValue(cookie); in TEST_F()
126 uint64_t cookie = getSocketCookie(sock); in TEST_F() local
127 ASSERT_NE(NONEXISTENT_COOKIE, cookie); in TEST_F()
129 Result<UidTagValue> tagResult = cookieTagMap.readValue(cookie); in TEST_F()
137 tagResult = cookieTagMap.readValue(cookie); in TEST_F()
/system/chre/apps/chqts/src/general_test/
Dtest.cc70 if (result->cookie != request.cookie) { in validateChreAsyncResult()
72 request.cookie, result->cookie); in validateChreAsyncResult()
Dbasic_wifi_test.cc73 void testConfigureScanMonitorAsync(bool enable, const void * cookie) { in testConfigureScanMonitorAsync() argument
74 if (!chreWifiConfigureScanMonitorAsync(enable, cookie)) { in testConfigureScanMonitorAsync()
225 if (mCurrentWifiRequest->cookie == &kDisableScanMonitoringCookie) { in handleChreWifiAsyncEvent()
274 void BasicWifiTest::resetCurrentWifiRequest(const void *cookie, in resetCurrentWifiRequest() argument
278 .cookie = cookie, in resetCurrentWifiRequest()
/system/chre/chre_api/legacy/v1_1/chre/
Dwifi.h476 bool chreWifiConfigureScanMonitorAsync(bool enable, const void *cookie);
511 const void *cookie);
524 inline bool chreWifiRequestScanAsyncDefault(const void *cookie) { in chreWifiRequestScanAsyncDefault() argument
530 return chreWifiRequestScanAsync(&params, cookie); in chreWifiRequestScanAsyncDefault()
/system/libhidl/transport/token/1.0/utils/include/hidl/
DHybridInterface.h207 void* cookie = nullptr,
211 void* cookie = nullptr,
223 void* cookie; member
230 recipient(r), cookie(c), flags(f), who(w) { in Obituary()
234 cookie(o.cookie), in Obituary()
240 cookie = o.cookie;
457 void* cookie, uint32_t flags) { in linkToDeath() argument
463 mObituaries.push_back(new Obituary(recipient, cookie, flags, this)); in linkToDeath()
475 void* cookie, uint32_t flags, in unlinkToDeath() argument
481 ((recipient == nullptr) && (cookie == (*i)->cookie)))) { in unlinkToDeath()
/system/chre/chre_api/legacy/v1_2/chre/
Dgnss.h399 const void *cookie);
424 bool chreGnssLocationSessionStopAsync(const void *cookie);
453 const void *cookie);
475 bool chreGnssMeasurementSessionStopAsync(const void *cookie);

12345