Home
last modified time | relevance | path

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

12345

/system/chre/platform/shared/
Dchre_api_gnss.cc39 const void *cookie) { in chreGnssLocationSessionStartAsync() argument
46 Milliseconds(minTimeToNextFixMs), cookie); in chreGnssLocationSessionStartAsync()
52 DLL_EXPORT bool chreGnssLocationSessionStopAsync(const void *cookie) { in chreGnssLocationSessionStopAsync() argument
58 .removeRequest(nanoapp, cookie); in chreGnssLocationSessionStopAsync()
65 const void *cookie) { in chreGnssMeasurementSessionStartAsync() argument
72 Milliseconds(0) /* minTimeToNext */, cookie); in chreGnssMeasurementSessionStartAsync()
78 DLL_EXPORT bool chreGnssMeasurementSessionStopAsync(const void *cookie) { in chreGnssMeasurementSessionStopAsync() argument
84 .removeRequest(nanoapp, cookie); in chreGnssMeasurementSessionStopAsync()
Dchre_api_wifi.cc36 const void *cookie) { in chreWifiConfigureScanMonitorAsync() argument
41 .configureScanMonitor(nanoapp, enable, cookie); in chreWifiConfigureScanMonitorAsync()
48 const struct chreWifiScanParams *params, const void *cookie) { in chreWifiRequestScanAsync() argument
54 .requestScan(nanoapp, params, cookie); in chreWifiRequestScanAsync()
61 const struct chreWifiRangingParams *params, const void *cookie) { in chreWifiRequestRangingAsync() argument
67 .requestRanging(nanoapp, params, cookie); in chreWifiRequestRangingAsync()
Dchre_api_wwan.cc35 DLL_EXPORT bool chreWwanGetCellInfoAsync(const void *cookie) { in chreWwanGetCellInfoAsync() argument
40 .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.h73 bool configureScanMonitor(Nanoapp *nanoapp, bool enable, const void *cookie);
88 const void *cookie);
107 const void *cookie);
164 const void *cookie; //!< User data supplied by the nanoapp member
290 const void *cookie);
318 const void *cookie);
330 const void *cookie);
345 uint8_t errorCode, const void *cookie);
356 const void *cookie);
Dgnss_manager.h53 Milliseconds minTimeToNext, const void *cookie);
65 bool removeRequest(Nanoapp *nanoapp, const void *cookie);
148 const void *cookie; member
221 Milliseconds minTimeToNext, const void *cookie);
247 Milliseconds minInterval, const void *cookie);
296 const void *cookie);
307 const void *cookie);
Dtimer_pool.h61 const void *cookie, bool isOneShot) { in setNanoappTimer() argument
64 CHRE_EVENT_TIMER, cookie, isOneShot); in setNanoappTimer()
86 const void *cookie);
131 const void *cookie; member
195 const void *cookie, bool isOneShot);
/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/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/chre/core/
Dwifi_request_manager.cc50 const void *cookie) { in configureScanMonitor() argument
57 success = addScanMonitorRequestToQueue(nanoapp, enable, cookie); in configureScanMonitor()
62 enable, CHRE_ERROR_NONE, cookie); in configureScanMonitor()
65 success = addScanMonitorRequestToQueue(nanoapp, enable, cookie); in configureScanMonitor()
83 const void *cookie) { in requestRanging() argument
92 req.cookie = cookie; in requestRanging()
130 const void *cookie) { in requestScan() argument
161 mScanRequestingNanoappCookie = cookie; in requestScan()
345 const void *cookie) { in addScanMonitorRequestToQueue() argument
348 scanMonitorStateTransition.cookie = cookie; in addScanMonitorRequestToQueue()
[all …]
Dgnss_manager.cc120 Milliseconds minTimeToNext, const void *cookie) { in addRequest() argument
123 cookie); in addRequest()
126 bool GnssSession::removeRequest(Nanoapp *nanoapp, const void *cookie) { in removeRequest() argument
129 Milliseconds(UINT64_MAX), cookie); in removeRequest()
250 Milliseconds minTimeToNext, const void *cookie) { in configure() argument
256 success = addRequestToQueue(instanceId, enable, minInterval, cookie); in configure()
264 cookie); in configure()
265 } else if (addRequestToQueue(instanceId, enable, minInterval, cookie)) { in configure()
276 minInterval, CHRE_ERROR_NONE, cookie); in configure()
305 const void *cookie) { in addRequestToQueue() argument
[all …]
Dtimer_pool.cc35 const void *cookie) { in setSystemTimer() argument
38 cookie, true /* isOneShot */); in setSystemTimer()
49 uint16_t eventType, const void *cookie, in setTimer() argument
61 timerRequest.cookie = cookie; in setTimer()
228 const_cast<void *>(currentTimerRequest.cookie), in handleExpiredTimersAndScheduleNextLocked()
/system/core/libcutils/
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()
Dproperties.cpp128 void (*callback)(const char* name, const char* value, void* cookie);
129 void* cookie; member
134 data->callback(name, value, data->cookie); in trampoline()
141 int property_list(void (*fn)(const char* name, const char* value, void* cookie), void* cookie) { in property_list() argument
142 callback_data data = { fn, cookie }; in property_list()
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/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/core/libziparchive/include/ziparchive/
Dzip_archive.h197 int32_t Next(void* cookie, ZipEntry* data, std::string* name);
198 int32_t Next(void* cookie, ZipEntry* data, std::string_view* name);
204 void EndIteration(void* cookie);
238 typedef bool (*ProcessZipEntryFunction)(const uint8_t* buf, size_t buf_size, void* cookie);
245 ProcessZipEntryFunction func, void* cookie);
/system/chre/apps/test/chqts/src/general_test/
Dtest.cc69 if (result->cookie != request.cookie) { in validateChreAsyncResult()
70 chreLog(CHRE_LOG_ERROR, "Request cookie is %p, got %p", request.cookie, in validateChreAsyncResult()
71 result->cookie); in validateChreAsyncResult()
/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()
Dgnss.h392 const void *cookie);
417 bool chreGnssLocationSessionStopAsync(const void *cookie);
446 const void *cookie);
468 bool chreGnssMeasurementSessionStopAsync(const void *cookie);
/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/platform/slpi/
Dhost_link.cc129 typedef void(MessageBuilderFunction)(FlatBufferBuilder &builder, void *cookie);
189 MessageBuilderFunction *msgBuilder, void *cookie) { in buildAndEnqueueMessage() argument
197 msgBuilder(*builder, cookie); in buildAndEnqueueMessage()
216 void buildNanoappListResponse(FlatBufferBuilder &builder, void *cookie) { in buildNanoappListResponse() argument
225 auto *cbData = static_cast<NanoappListData *>(cookie); in buildNanoappListResponse()
257 auto msgBuilder = [](FlatBufferBuilder &builder, void *cookie) { in finishLoadingNanoappCallback() argument
258 auto *cbData = static_cast<LoadNanoappCallbackData *>(cookie); in finishLoadingNanoappCallback()
279 auto msgBuilder = [](FlatBufferBuilder &builder, void *cookie) { in handleUnloadNanoappCallback() argument
280 auto *cbData = static_cast<UnloadNanoappCallbackData *>(cookie); in handleUnloadNanoappCallback()
369 auto msgBuilder = [](FlatBufferBuilder &builder, void *cookie) { in sendDebugDumpData() argument
[all …]
/system/update_engine/payload_consumer/
Dcertificate_parser_android.cc32 void* cookie; in IterateZipEntriesAndSearchForKeys() local
33 int32_t iter_status = StartIteration(handle, &cookie, "", "x509.pem"); in IterateZipEntriesAndSearchForKeys()
39 std::unique_ptr<void, decltype(&EndIteration)> guard(cookie, EndIteration); in IterateZipEntriesAndSearchForKeys()
44 while ((iter_status = Next(cookie, &entry, &name)) == 0) { in IterateZipEntriesAndSearchForKeys()
/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