Home
last modified time | relevance | path

Searched refs:MakeUnique (Results 1 – 14 of 14) sorted by relevance

/system/chre/util/tests/
Dunique_ptr_test.cc8 using chre::MakeUnique;
32 UniquePtr<Value> myInt = MakeUnique<Value>(0xcafe); in TEST()
56 UniquePtr<Value> myInt = MakeUnique<Value>(0xcafe); in TEST()
69 UniquePtr<Value> myInt = MakeUnique<Value>(0xcafe); in TEST()
73 UniquePtr<Value> myMovedInt = MakeUnique<Value>(0); in TEST()
90 UniquePtr<Value> myInt = MakeUnique<Value>(0xcafe); in TEST()
111 UniquePtr<Value> myInt = MakeUnique<Value>(0xcafe); in TEST()
118 myInt = MakeUnique<Value>(0xcafe); in TEST()
119 UniquePtr<Value> myInt2 = MakeUnique<Value>(0xface); in TEST()
137 UniquePtr<Value> myInt = MakeUnique<Value>(0xcafe); in TEST()
Dblocking_queue_test.cc23 using chre::MakeUnique;
43 UniquePtr<int> ptr = MakeUnique<int>(); in TEST()
/system/chre/platform/linux/
Dinit.cc82 auto audioSource = chre::MakeUnique<chre::AudioSource>( in main()
110 dynamicNanoapps.push_back(chre::MakeUnique<chre::Nanoapp>()); in main()
/system/chre/ash/platform/slpi/smgr/
Dash.cc35 using chre::MakeUnique;
141 auto calResponse = MakeUnique<sns_smgr_sensor_cal_resp_msg_v01>(); in ashSetCalibration()
/system/chre/platform/slpi/include/chre/target_platform/
Dstatic_nanoapp_init.h38 UniquePtr<Nanoapp> nanoapp = MakeUnique<Nanoapp>(); \
/system/chre/platform/linux/include/chre/target_platform/
Dstatic_nanoapp_init.h36 UniquePtr<Nanoapp> nanoapp = MakeUnique<Nanoapp>(); \
/system/chre/util/include/chre/util/
Dunique_ptr.h178 UniquePtr<ObjectType> MakeUnique(Args&&... args);
Dunique_ptr_impl.h126 inline UniquePtr<ObjectType> MakeUnique(Args&&... args) { in MakeUnique() function
/system/chre/platform/slpi/
Dnanoapp_load_manager.cc31 mNanoapp = MakeUnique<Nanoapp>(); in prepareForLoad()
Dhost_link.cc199 auto builder = MakeUnique<FlatBufferBuilder>(initialBufferSize); in buildAndEnqueueMessage()
515 auto nanoapp = MakeUnique<Nanoapp>(); in handleLoadNanoappFile()
807 auto cbData = MakeUnique<LoadNanoappCallbackData>(); in handleLoadNanoappRequest()
/system/chre/platform/slpi/include/chre/platform/slpi/smgr/
Dsmr_helper.h93 auto reqData = MakeUnique<AsyncCallbackData<ReqStruct, RespStruct>>(); in sendReqAsync()
/system/chre/platform/slpi/smgr/
Dsmr_helper.cc123 UniquePtr<SmrTransaction> txn = MakeUnique<SmrTransaction>(); in sendReqSyncUntyped()
Dplatform_sensor.cc806 auto infoResponse = MakeUnique<sns_smgr_client_request_info_resp_msg_v01>(); in onStatusChange()
993 MakeUnique<sns_smgr_sensor_status_monitor_resp_msg_v02>(); in setSensorMonitorRequest()
1051 MakeUnique<sns_smgr_single_sensor_info_resp_msg_v01>(); in getSensorsForSensorId()
1261 auto sensorResponse = MakeUnique<sns_smgr_buffering_resp_msg_v01>(); in makeBufferingReq()
1468 auto sensorListResponse = MakeUnique<sns_smgr_all_sensor_info_resp_msg_v01>(); in getSensors()
/system/chre/platform/slpi/see/
Dsee_helper.cc1530 auto data = MakeUnique<DecodeData>(); in handleSnsClientEventMsg()