/system/chre/util/tests/ |
D | memory_pool_test.cc | 26 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 …]
|
D | segmented_queue_test.cc | 28 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()
|
D | transaction_manager_test.cc | 349 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/ |
D | nested_data_ptr.h | 32 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/ |
D | settings.cc | 86 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()
|
D | wifi_request_manager.cc | 394 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 …]
|
D | host_endpoint_manager.cc | 39 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()
|
D | ble_request_manager.cc | 287 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()
|
D | telemetry_manager.cc | 139 toAtomPalType(NestedDataPtr<PalType>(data)); in onPalOpenFailure() 150 SystemCallbackType::DeferredMetricPostEvent, NestedDataPtr<PalType>(type), in onPalOpenFailure()
|
D | sensor_request_manager.cc | 465 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()
|
D | host_comms_manager.cc | 338 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()
|
D | audio_request_manager.cc | 103 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()
|
D | timer_pool.cc | 269 NestedDataPtr<TimerHandle>(currentTimerRequest.timerHandle), in handleExpiredTimersAndScheduleNextLocked() 336 NestedDataPtr<TimerHandle> timerHandle(data); in handleTimerExpiredCallback()
|
D | gnss_manager.cc | 283 CallbackState cbState = NestedDataPtr<CallbackState>(extraData); in handleStatusChange() 292 NestedDataPtr<CallbackState>(cbState)); in handleStatusChange()
|
/system/chre/apps/test/common/chre_reliable_message_test/src/ |
D | chre_reliable_message_test_manager.cc | 133 NestedDataPtr cookie(i); in sendMessages() 171 if (result->cookie != NestedDataPtr(mNextExpectedCookie)) { in handleAsyncMessageStatus()
|
/system/chre/platform/android/ |
D | host_link.cc | 117 uint16_t cbHostClientId = NestedDataPtr<uint16_t>(data); in handleNanoappListRequest() 141 NestedDataPtr<uint16_t>(hostClientId), callback); in handleNanoappListRequest()
|
/system/chre/apps/power_test/common/ |
D | request_manager.cc | 160 NestedDataPtr<TimerType> timerType(type); in requestTimer() 309 NestedDataPtr<TimerType> timerType(const_cast<void *>(cookie)); in handleTimerEvent()
|
/system/chre/platform/slpi/see/ |
D | platform_sensor_manager.cc | 559 uint32_t sensorHandle = NestedDataPtr<uint32_t>(extraData); in findAndAddSensorsForType() 576 NestedDataPtr<uint32_t>(sensorHandle)); in findAndAddSensorsForType()
|
/system/chre/platform/tinysys/ |
D | host_link.cc | 714 uint16_t cbHostClientId = NestedDataPtr<uint16_t>(data); in handleNanoappListRequest() 738 NestedDataPtr<uint16_t>(hostClientId), callback); in handleNanoappListRequest()
|
/system/chre/platform/slpi/ |
D | host_link.cc | 800 uint16_t cbHostClientId = NestedDataPtr<uint16_t>(data); in handleNanoappListRequest() 824 NestedDataPtr<uint16_t>(hostClientId), callback); in handleNanoappListRequest()
|