/system/chre/platform/shared/ |
D | chre_api_gnss.cc | 38 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()
|
D | chre_api_wifi.cc | 35 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()
|
D | chre_api_wwan.cc | 34 DLL_EXPORT bool chreWwanGetCellInfoAsync(const void *cookie) { in chreWwanGetCellInfoAsync() argument 38 .requestCellInfo(nanoapp, cookie); in chreWwanGetCellInfoAsync()
|
/system/libhwbinder/ |
D | Debug.cpp | 151 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/ |
D | wifi_request_manager.h | 72 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);
|
D | gnss_manager.h | 51 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);
|
D | timer_pool.h | 61 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/chre/core/ |
D | gnss_manager.cc | 71 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 …]
|
D | wifi_request_manager.cc | 49 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/chre/platform/slpi/include/chre/platform/slpi/ |
D | debug_dump.h | 49 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/core/libcutils/include_vndk/cutils/ |
D | trace.h | 209 #define ATRACE_ASYNC_BEGIN(name, cookie) \ argument 210 atrace_async_begin(ATRACE_TAG, name, cookie) 212 int32_t cookie) in atrace_async_begin() argument 216 atrace_async_begin_body(name, cookie); in atrace_async_begin() 224 #define ATRACE_ASYNC_END(name, cookie) atrace_async_end(ATRACE_TAG, name, cookie) argument 225 static inline void atrace_async_end(uint64_t tag, const char* name, int32_t cookie) in atrace_async_end() argument 229 atrace_async_end_body(name, cookie); in atrace_async_end()
|
/system/core/libcutils/include/cutils/ |
D | trace.h | 209 #define ATRACE_ASYNC_BEGIN(name, cookie) \ argument 210 atrace_async_begin(ATRACE_TAG, name, cookie) 212 int32_t cookie) in atrace_async_begin() argument 216 atrace_async_begin_body(name, cookie); in atrace_async_begin() 224 #define ATRACE_ASYNC_END(name, cookie) atrace_async_end(ATRACE_TAG, name, cookie) argument 225 static inline void atrace_async_end(uint64_t tag, const char* name, int32_t cookie) in atrace_async_end() argument 229 atrace_async_end_body(name, cookie); in atrace_async_end()
|
/system/chre/platform/slpi/ |
D | debug_dump.cc | 40 void *cookie) { in registerDebugDumpCallback() argument 42 return ashRegisterDebugDumpCallback(name, callback, cookie); in registerDebugDumpCallback() 62 bool triggerDebugDump(debugDumpReadyCbFunc *readyCb, void *cookie) { in triggerDebugDump() argument 64 return ashTriggerDebugDump(readyCb, cookie); in triggerDebugDump()
|
D | host_link.cc | 134 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/core/libcutils/ |
D | trace-dev.cpp | 61 void atrace_async_begin_body(const char* name, int32_t cookie) in atrace_async_begin_body() argument 63 WRITE_MSG("S|%d|", "|%" PRId32, name, cookie); in atrace_async_begin_body() 66 void atrace_async_end_body(const char* name, int32_t cookie) in atrace_async_end_body() argument 68 WRITE_MSG("F|%d|", "|%" PRId32, name, cookie); in atrace_async_end_body()
|
D | properties.cpp | 128 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()
|
D | trace-container.cpp | 187 void atrace_async_begin_body(const char* name, int32_t cookie) in atrace_async_begin_body() argument 190 WRITE_MSG_IN_CONTAINER("S", "|", "|%d", name, cookie); in atrace_async_begin_body() 196 WRITE_MSG("S|%d|", "|%" PRId32, name, cookie); in atrace_async_begin_body() 199 void atrace_async_end_body(const char* name, int32_t cookie) in atrace_async_end_body() argument 202 WRITE_MSG_IN_CONTAINER("F", "|", "|%d", name, cookie); in atrace_async_end_body() 208 WRITE_MSG("F|%d|", "|%" PRId32, name, cookie); in atrace_async_end_body()
|
/system/libhwbinder/include/hwbinder/ |
D | Debug.h | 32 typedef void (*debugPrintFunc)(void* cookie, const char* txt); 35 debugPrintFunc func = nullptr, void* cookie = nullptr); 40 debugPrintFunc func = nullptr, void* cookie = nullptr);
|
/system/chre/apps/chqts/src/general_test/ |
D | test.cc | 70 if (result->cookie != request.cookie) { in validateChreAsyncResult() 72 request.cookie, result->cookie); in validateChreAsyncResult()
|
D | basic_wifi_test.cc | 73 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/netd/tests/ |
D | bpf_base_test.cpp | 107 uint64_t cookie = getSocketCookie(sock); in TEST_F() local 108 ASSERT_NE(NONEXISTENT_COOKIE, cookie); in TEST_F() 110 StatusOr<UidTag> tagResult = cookieTagMap.readValue(cookie); in TEST_F() 115 tagResult = cookieTagMap.readValue(cookie); in TEST_F() 127 uint64_t cookie = getSocketCookie(sock); in TEST_F() local 128 ASSERT_NE(NONEXISTENT_COOKIE, cookie); in TEST_F() 130 StatusOr<UidTag> tagResult = cookieTagMap.readValue(cookie); in TEST_F() 138 tagResult = cookieTagMap.readValue(cookie); in TEST_F()
|
/system/netd/resolv/ |
D | ResolverEventReporter.cpp | 107 deathRecipient = AIBinder_DeathRecipient_new([](void* cookie) { in addListenerImplLocked() argument 108 ResolverEventReporter::getInstance().handleBinderDied(cookie); in addListenerImplLocked() 119 auto cookie = static_cast<void*>(listener.get()); // Used for dead binder identification. in addListenerImplLocked() local 120 binder_status_t status = AIBinder_linkToDeath(binder, deathRecipient, cookie); in addListenerImplLocked()
|
/system/chre/chre_api/legacy/v1_1/chre/ |
D | wifi.h | 476 bool chreWifiConfigureScanMonitorAsync(bool enable, const void *cookie); 511 const void *cookie); 524 inline bool chreWifiRequestScanAsyncDefault(const void *cookie) { in chreWifiRequestScanAsyncDefault() argument 530 return chreWifiRequestScanAsync(¶ms, cookie); in chreWifiRequestScanAsyncDefault()
|
/system/libhidl/transport/token/1.0/utils/include/hidl/ |
D | HybridInterface.h | 207 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; 454 void* cookie, uint32_t flags) { in linkToDeath() argument 460 mObituaries.push_back(new Obituary(recipient, cookie, flags, this)); in linkToDeath() 472 void* cookie, uint32_t flags, in unlinkToDeath() argument 478 ((recipient == nullptr) && (cookie == (*i)->cookie)))) { in unlinkToDeath()
|
/system/chre/chre_api/legacy/v1_2/chre/ |
D | gnss.h | 399 const void *cookie); 424 bool chreGnssLocationSessionStopAsync(const void *cookie); 453 const void *cookie); 475 bool chreGnssMeasurementSessionStopAsync(const void *cookie);
|