Home
last modified time | relevance | path

Searched refs:chre (Results 1 – 25 of 238) sorted by relevance

12345678910

/system/chre/platform/linux/
Dinit.cc33 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()
Dmemory_manager.cc21 namespace chre { namespace
24 return chre::memoryAlloc(bytes); in doAlloc()
28 chre::memoryFree(ptr); in doFree()
Dfatal_error.cc21 namespace chre { namespace
25 chre::PlatformLogSingleton::deinit(); in preFatalError()
/system/chre/platform/shared/
Dchre_api_re.cc25 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 …]
Dchre_api_gnss.cc23 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()
Dchre_api_sensor.cc23 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()
Dchre_api_wwan.cc22 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()
Dchre_api_wifi.cc22 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()
Dchre_api_version.cc27 return chreGetApiVersion() | chre::kPatchVersion; in chreGetVersion()
31 return chre::createPlatformIdFromVendorPlatform(chre::kVendorId, in chreGetPlatformId()
32 chre::kPlatformId); in chreGetPlatformId()
Dchre_api_core.cc29 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/
Dinit.cc41 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 …]
Dmemory_manager.cc22 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/
Dheap_test.cc7 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 …]
Dtime_test.cc21 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;
Dunique_ptr_test.cc7 using chre::UniquePtr;
8 using chre::MakeUnique;
9 using chre::MakeUniqueZeroFill;
104 chre::memoryFree(value2); in TEST()
/system/chre/host/common/include/chre_host/
Dhost_protocol_host.h28 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/
Dash.cc33 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/
Dplatform_sensor_util_test.cc21 using chre::intervalToSmgrSamplingRate;
22 using chre::intervalToSmgrQ16ReportRate;
23 using chre::Milliseconds;
24 using chre::Nanoseconds;
25 using chre::Seconds;
/system/chre/host/common/test/
Dchre_test_client.cc39 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/
Dgeneric_context_hub.h66 ::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/
Dfatal_error.h23 chre::preFatalError(); \
27 namespace chre {
/system/chre/platform/slpi/include/chre/target_platform/
Dfatal_error.h25 ::chre::preFatalError(); \
28 namespace chre {
/system/chre/core/tests/
Dwifi_scan_request_test.cc21 using chre::WifiScanRequest;
22 using chre::WifiScanType;
/system/chre/apps/hello_world/
Dhello_world.cc29 namespace chre { namespace
56 CHRE_STATIC_NANOAPP_INIT(HelloWorld, chre::kHelloWorldAppId, 0);
/system/chre/platform/shared/idl/
Dupdate.sh4 flatc --cpp -o ../include/chre/platform/shared/ --scoped-enums \
5 --cpp-ptr-type chre::UniquePtr host_messages.fbs

12345678910