/system/chre/platform/linux/ |
D | init.cc | 33 using chre::EventLoopManagerSingleton; 34 using chre::Milliseconds; 65 chre::PlatformLogSingleton::init(); in main() 66 chre::init(); in main() 75 chre::loadStaticNanoapps(); in main() 79 chre::DynamicVector<chre::UniquePtr<chre::Nanoapp>> dynamicNanoapps; in main() 81 dynamicNanoapps.push_back(chre::MakeUnique<chre::Nanoapp>()); in main() 91 chre::deinit(); in main() 92 chre::PlatformLogSingleton::deinit(); in main()
|
D | memory_manager.cc | 21 namespace chre { namespace 24 return chre::memoryAlloc(bytes); in doAlloc() 28 chre::memoryFree(ptr); in doFree()
|
D | fatal_error.cc | 21 namespace chre { namespace 25 chre::PlatformLogSingleton::deinit(); in preFatalError()
|
/system/chre/platform/shared/ |
D | chre_api_re.cc | 25 using chre::EventLoopManager; 26 using chre::EventLoopManagerSingleton; 29 return chre::SystemTime::getMonotonicTime().toRawNanoseconds(); in chreGetTime() 33 return chre::SystemTime::getEstimatedHostTimeOffset(); in chreGetEstimatedHostTimeOffset() 37 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGetAppId() 42 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGetInstanceId() 48 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreTimerSet() 50 .setTimer(nanoapp, chre::Nanoseconds(duration), cookie, oneShot); in chreTimerSet() 54 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreTimerCancel() 60 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreHeapAlloc() [all …]
|
D | chre_api_gnss.cc | 23 using chre::EventLoopManager; 24 using chre::EventLoopManagerSingleton; 25 using chre::Milliseconds; 28 return chre::EventLoopManagerSingleton::get()->getGnssRequestManager() in chreGnssGetCapabilities() 35 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGnssLocationSessionStartAsync() 36 return chre::EventLoopManagerSingleton::get()->getGnssRequestManager() in chreGnssLocationSessionStartAsync() 42 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGnssLocationSessionStopAsync() 43 return chre::EventLoopManagerSingleton::get()->getGnssRequestManager() in chreGnssLocationSessionStopAsync()
|
D | chre_api_sensor.cc | 23 using chre::EventLoopManager; 24 using chre::EventLoopManagerSingleton; 25 using chre::Nanoseconds; 26 using chre::SensorMode; 27 using chre::SensorRequest; 28 using chre::SensorType; 30 using chre::getSensorModeFromEnum; 31 using chre::getSensorTypeFromUnsignedInt; 44 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGetSensorInfo() 69 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreSensorConfigure()
|
D | chre_api_wwan.cc | 22 using chre::EventLoopManager; 23 using chre::EventLoopManagerSingleton; 26 return chre::EventLoopManagerSingleton::get()->getWwanRequestManager() in chreWwanGetCapabilities() 31 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreWwanGetCellInfoAsync() 32 return chre::EventLoopManagerSingleton::get()->getWwanRequestManager() in chreWwanGetCellInfoAsync()
|
D | chre_api_wifi.cc | 22 using chre::EventLoopManager; 23 using chre::EventLoopManagerSingleton; 26 return chre::EventLoopManagerSingleton::get()->getWifiRequestManager() in chreWifiGetCapabilities() 32 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreWifiConfigureScanMonitorAsync() 39 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreWifiRequestScanAsync()
|
D | chre_api_version.cc | 27 return chreGetApiVersion() | chre::kPatchVersion; in chreGetVersion() 31 return chre::createPlatformIdFromVendorPlatform(chre::kVendorId, in chreGetPlatformId() 32 chre::kPlatformId); in chreGetPlatformId()
|
D | chre_api_core.cc | 29 using chre::EventLoop; 30 using chre::EventLoopManager; 31 using chre::EventLoopManagerSingleton; 32 using chre::Nanoapp; 116 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreConfigureNanoappInfoEvents()
|
/system/chre/platform/slpi/ |
D | init.cc | 41 using chre::EventLoop; 42 using chre::EventLoopManagerSingleton; 43 using chre::LockGuard; 44 using chre::Mutex; 45 using chre::UniquePtr; 63 constexpr unsigned char kTcbPartition = chre::isSlpiUimgSupported() ? 96 chre::PlatformLogSingleton::init(); in onLoad() 102 chre::PlatformLogSingleton::deinit(); in onUnload() 107 UniquePtr<char> dump = chre::EventLoopManagerSingleton::get()->debugDump(); in performDebugDumpCallback() 115 if (!chre::EventLoopManagerSingleton::get()->deferCallback( in onDebugDumpRequested() [all …]
|
D | memory_manager.cc | 22 namespace chre { namespace 26 return chre::memoryAlloc(bytes); in doAlloc() 28 return chre::memoryAllocBigImage(bytes); in doAlloc() 34 chre::memoryFree(ptr); in doFree() 36 chre::memoryFreeBigImage(ptr); in doFree()
|
/system/chre/util/tests/ |
D | heap_test.cc | 7 using chre::DynamicVector; 8 using chre::FixedSizeVector; 13 EXPECT_DEATH(chre::push_heap(v, comp), ""); in TEST() 19 EXPECT_DEATH(chre::pop_heap(v, comp), ""); in TEST() 40 chre::push_heap(v, comp); in TEST() 46 chre::pop_heap(v, comp); in TEST() 58 chre::push_heap(v, comp); in TEST() 59 EXPECT_DEATH(chre::remove_heap(v, 1, comp), ""); in TEST() 79 chre::push_heap(v, comp); in TEST() 85 chre::remove_heap(v, std::rand() % s, comp); in TEST() [all …]
|
D | time_test.cc | 21 using chre::Seconds; 22 using chre::Milliseconds; 23 using chre::Microseconds; 24 using chre::Nanoseconds; 25 using chre::kOneSecondInNanoseconds; 26 using chre::kOneMillisecondInNanoseconds; 27 using chre::kOneMicrosecondInNanoseconds;
|
D | unique_ptr_test.cc | 7 using chre::UniquePtr; 8 using chre::MakeUnique; 9 using chre::MakeUniqueZeroFill; 104 chre::memoryFree(value2); in TEST()
|
/system/chre/host/common/include/chre_host/ |
D | host_protocol_host.h | 28 namespace chre { 50 const ::chre::fbs::NanoappListResponseT& response) = 0; 53 const ::chre::fbs::LoadNanoappResponseT& /*response*/) {}; in handleLoadNanoappResponse() 56 const ::chre::fbs::UnloadNanoappResponseT& /*response*/) {}; in handleUnloadNanoappResponse() 59 const ::chre::fbs::DebugDumpDataT& /*data*/) {}; in handleDebugDumpData() 62 const ::chre::fbs::DebugDumpResponseT& /*response*/) {}; in handleDebugDumpResponse() 69 class HostProtocolHost : public ::chre::HostProtocolCommon { 163 ::chre::fbs::ChreMessage *messageType);
|
/system/chre/ash/platform/slpi/ |
D | ash.cc | 33 using chre::getSmrHelper; 34 using chre::getSensorServiceSmrClientHandle; 35 using chre::MakeUnique; 36 using chre::MakeUniqueZeroFill; 37 using chre::memoryAlloc; 38 using chre::memoryFree; 39 using chre::UniquePtr;
|
/system/chre/platform/slpi/tests/ |
D | platform_sensor_util_test.cc | 21 using chre::intervalToSmgrSamplingRate; 22 using chre::intervalToSmgrQ16ReportRate; 23 using chre::Milliseconds; 24 using chre::Nanoseconds; 25 using chre::Seconds;
|
/system/chre/host/common/test/ |
D | chre_test_client.cc | 39 using android::chre::IChreMessageHandlers; 40 using android::chre::SocketClient; 41 using android::chre::HostProtocolHost; 46 namespace fbs = ::chre::fbs; 113 const ::chre::fbs::LoadNanoappResponseT& response) override { in handleLoadNanoappResponse() 119 const ::chre::fbs::UnloadNanoappResponseT& response) override { in handleUnloadNanoappResponse() 149 builder, chre::kMessageWorldAppId, kHostEndpoint, in sendMessageToNanoapp() 212 sendUnloadNanoappRequest(client, chre::kSpammerAppId); in main()
|
/system/chre/host/hal_generic/ |
D | generic_context_hub.h | 66 ::android::chre::SocketClient mClient; 70 class SocketCallbacks : public ::android::chre::SocketClient::ICallbacks, 71 public ::android::chre::IChreMessageHandlers { 90 const ::chre::fbs::NanoappListResponseT& response) override; 93 const ::chre::fbs::LoadNanoappResponseT& response) override; 96 const ::chre::fbs::UnloadNanoappResponseT& response) override; 99 const ::chre::fbs::DebugDumpDataT& data) override; 102 const ::chre::fbs::DebugDumpResponseT& response) override;
|
/system/chre/platform/linux/include/chre/target_platform/ |
D | fatal_error.h | 23 chre::preFatalError(); \ 27 namespace chre {
|
/system/chre/platform/slpi/include/chre/target_platform/ |
D | fatal_error.h | 25 ::chre::preFatalError(); \ 28 namespace chre {
|
/system/chre/core/tests/ |
D | wifi_scan_request_test.cc | 21 using chre::WifiScanRequest; 22 using chre::WifiScanType;
|
/system/chre/apps/hello_world/ |
D | hello_world.cc | 29 namespace chre { namespace 56 CHRE_STATIC_NANOAPP_INIT(HelloWorld, chre::kHelloWorldAppId, 0);
|
/system/chre/platform/shared/idl/ |
D | update.sh | 4 flatc --cpp -o ../include/chre/platform/shared/ --scoped-enums \ 5 --cpp-ptr-type chre::UniquePtr host_messages.fbs
|