Home
last modified time | relevance | path

Searched refs:NestedDataPtr (Results 1 – 20 of 20) sorted by relevance

/system/chre/util/tests/
Dmemory_pool_test.cc26 using ::chre::NestedDataPtr;
157 NestedDataPtr<int> value(data); in TEST()
160 NestedDataPtr<int>(0xface)); in TEST()
167 NestedDataPtr<int> value(data); in TEST()
170 NestedDataPtr<int>(0xaaaa)); in TEST()
194 NestedDataPtr<int> value(data); in TEST()
197 NestedDataPtr<int>(0xface)); in TEST()
222 NestedDataPtr<int> value(data); in TEST()
225 NestedDataPtr<int>(0xface)); in TEST()
233 NestedDataPtr<int> value(data); in TEST()
[all …]
Dsegmented_queue_test.cc28 using ::chre::NestedDataPtr;
314 NestedDataPtr<int> targetValue(data); in TEST()
315 NestedDataPtr<int> targetValue2(extraData); in TEST()
318 /* data= */ NestedDataPtr<int>(2), in TEST()
319 /* extraData= */ NestedDataPtr<int>(2), 3)); in TEST()
Dtransaction_manager_test.cc349 const NestedDataPtr<uint32_t> kData(456); in TEST_F()
433 NestedDataPtr<uint32_t> magicNum(callbackData); in TEST_F()
436 NestedDataPtr<uint32_t>(456)), in TEST_F()
/system/chre/util/include/chre/util/
Dnested_data_ptr.h32 union NestedDataPtr { union
43 NestedDataPtr() = default;
45 explicit NestedDataPtr(DataType nestedData) : data(nestedData) {} in NestedDataPtr() function
46 explicit NestedDataPtr(void *ptr) { in NestedDataPtr() function
/system/chre/core/
Dsettings.cc86 SystemCallbackType::SettingChangeEvent, NestedDataPtr<Setting>(setting), in postSettingChange()
87 settingChangedCallback, NestedDataPtr<bool>(enabled)); in postSettingChange()
124 Setting setting = NestedDataPtr<Setting>(data); in settingChangedCallback()
125 bool settingEnabled = NestedDataPtr<bool>(extraData); in settingChangedCallback()
Dwifi_request_manager.cc394 CallbackState cbState = NestedDataPtr<CallbackState>(data); in handleScanMonitorStateChange()
405 NestedDataPtr<CallbackState>(cbState), callback); in handleScanMonitorStateChange()
415 CallbackState cbState = NestedDataPtr<CallbackState>(data); in handleScanResponse()
426 NestedDataPtr<CallbackState>(cbState), callback); in handleScanResponse()
434 uint8_t cbErrorCode = NestedDataPtr<uint8_t>(extraData); in handleRangingEvent()
443 NestedDataPtr<uint8_t>(errorCode)); in handleRangingEvent()
505 uint8_t errorCode = NestedDataPtr<uint8_t>(data); in handleNanServiceIdentifierEvent()
506 uint32_t subscriptionId = NestedDataPtr<uint32_t>(extraData); in handleNanServiceIdentifierEvent()
514 NestedDataPtr<uint8_t>(errorCode), callback, in handleNanServiceIdentifierEvent()
515 NestedDataPtr<uint32_t>(subscriptionId)); in handleNanServiceIdentifierEvent()
[all …]
Dhost_endpoint_manager.cc39 uint16_t hostEndpointId = NestedDataPtr<uint16_t>(data); in hostNotificationCallback()
111 NestedDataPtr<uint16_t>(info.hostEndpointId), callback, in postHostEndpointConnected()
121 NestedDataPtr<uint16_t>(hostEndpointId), callback, nullptr); in postHostEndpointDisconnected()
Dble_request_manager.cc287 bool enableCb = NestedDataPtr<bool>(data); in handlePlatformChange()
288 uint8_t errorCodeCb = NestedDataPtr<uint8_t>(extraData); in handlePlatformChange()
295 SystemCallbackType::BleScanResponse, NestedDataPtr<bool>(enable), in handlePlatformChange()
296 callback, NestedDataPtr<uint8_t>(errorCode)); in handlePlatformChange()
418 readRssiResponse response = NestedDataPtr<readRssiResponse>(eventData); in handleReadRssi()
425 NestedDataPtr<readRssiResponse>( in handleReadRssi()
544 uint8_t cbErrorCode = NestedDataPtr<uint8_t>(data); in handleFlushCompleteInternal()
552 NestedDataPtr<uint8_t>(errorCode), callback)) { in handleFlushCompleteInternal()
Dtelemetry_manager.cc139 toAtomPalType(NestedDataPtr<PalType>(data)); in onPalOpenFailure()
150 SystemCallbackType::DeferredMetricPostEvent, NestedDataPtr<PalType>(type), in onPalOpenFailure()
Dsensor_request_manager.cc465 uint8_t cbErrorCode = NestedDataPtr<uint8_t>(data); in handleFlushCompleteEvent()
466 uint32_t cbSensorHandle = NestedDataPtr<uint32_t>(extraData); in handleFlushCompleteEvent()
474 NestedDataPtr<uint8_t>(errorCode), callback, in handleFlushCompleteEvent()
475 NestedDataPtr<uint32_t>(sensorHandle)); in handleFlushCompleteEvent()
520 uint32_t cbSensorHandle = NestedDataPtr<uint32_t>(data); in handleSamplingStatusUpdate()
533 NestedDataPtr<uint32_t>(sensorHandle), callback, status); in handleSamplingStatusUpdate()
841 NestedDataPtr<uint32_t> sensorHandle(data); in makeFlushRequest()
860 NestedDataPtr<uint32_t>(request.sensorHandle), callback, delay)); in makeFlushRequest()
Dhost_comms_manager.cc338 NestedDataPtr<uint32_t> targetMessageSequenceNumber(data); in findMessageByMessageSequenceNumber()
343 NestedDataPtr<uint32_t>(messageSequenceNumber)); in findMessageByMessageSequenceNumber()
350 NestedDataPtr<uint16_t> innerNanoappInstanceId(callbackData); in flushNanoappTransactions()
365 NestedDataPtr<uint16_t>(nanoappInstanceId)); in flushNanoappTransactions()
Daudio_request_manager.cc103 uint32_t cbHandle = NestedDataPtr<uint32_t>(data); in handleAudioAvailability()
104 bool cbAvailable = NestedDataPtr<bool>(extraData); in handleAudioAvailability()
112 NestedDataPtr<uint32_t>(handle), callback, in handleAudioAvailability()
113 NestedDataPtr<bool>(available)); in handleAudioAvailability()
Dtimer_pool.cc269 NestedDataPtr<TimerHandle>(currentTimerRequest.timerHandle), in handleExpiredTimersAndScheduleNextLocked()
336 NestedDataPtr<TimerHandle> timerHandle(data); in handleTimerExpiredCallback()
Dgnss_manager.cc283 CallbackState cbState = NestedDataPtr<CallbackState>(extraData); in handleStatusChange()
292 NestedDataPtr<CallbackState>(cbState)); in handleStatusChange()
/system/chre/apps/test/common/chre_reliable_message_test/src/
Dchre_reliable_message_test_manager.cc133 NestedDataPtr cookie(i); in sendMessages()
171 if (result->cookie != NestedDataPtr(mNextExpectedCookie)) { in handleAsyncMessageStatus()
/system/chre/platform/android/
Dhost_link.cc117 uint16_t cbHostClientId = NestedDataPtr<uint16_t>(data); in handleNanoappListRequest()
141 NestedDataPtr<uint16_t>(hostClientId), callback); in handleNanoappListRequest()
/system/chre/apps/power_test/common/
Drequest_manager.cc160 NestedDataPtr<TimerType> timerType(type); in requestTimer()
309 NestedDataPtr<TimerType> timerType(const_cast<void *>(cookie)); in handleTimerEvent()
/system/chre/platform/slpi/see/
Dplatform_sensor_manager.cc559 uint32_t sensorHandle = NestedDataPtr<uint32_t>(extraData); in findAndAddSensorsForType()
576 NestedDataPtr<uint32_t>(sensorHandle)); in findAndAddSensorsForType()
/system/chre/platform/tinysys/
Dhost_link.cc714 uint16_t cbHostClientId = NestedDataPtr<uint16_t>(data); in handleNanoappListRequest()
738 NestedDataPtr<uint16_t>(hostClientId), callback); in handleNanoappListRequest()
/system/chre/platform/slpi/
Dhost_link.cc800 uint16_t cbHostClientId = NestedDataPtr<uint16_t>(data); in handleNanoappListRequest()
824 NestedDataPtr<uint16_t>(hostClientId), callback); in handleNanoappListRequest()