/system/chre/platform/linux/ |
D | init.cc | 35 using chre::EventLoopManagerSingleton; 36 using chre::Milliseconds; 75 chre::PlatformLogSingleton::init(); in main() 80 auto audioSource = chre::MakeUnique<chre::AudioSource>( in main() 83 chre::PlatformAudio::addAudioSource(audioSource); in main() 91 chre::init(); in main() 100 chre::loadStaticNanoapps(); in main() 104 chre::DynamicVector<chre::UniquePtr<chre::Nanoapp>> dynamicNanoapps; in main() 106 dynamicNanoapps.push_back(chre::MakeUnique<chre::Nanoapp>()); in main() 116 chre::deinit(); in main() [all …]
|
D | memory_manager.cc | 21 namespace chre { namespace 24 return chre::memoryAlloc(bytes); in doAlloc() 28 chre::memoryFree(ptr); in doFree()
|
/system/chre/platform/shared/ |
D | chre_api_gnss.cc | 23 using chre::EventLoopManager; 24 using chre::EventLoopManagerSingleton; 25 using chre::Milliseconds; 28 return chre::EventLoopManagerSingleton::get()->getGnssManager() in chreGnssGetCapabilities() 35 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGnssLocationSessionStartAsync() 36 return chre::EventLoopManagerSingleton::get()->getGnssManager() in chreGnssLocationSessionStartAsync() 43 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGnssLocationSessionStopAsync() 44 return chre::EventLoopManagerSingleton::get()->getGnssManager() in chreGnssLocationSessionStopAsync() 50 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGnssMeasurementSessionStartAsync() 51 return chre::EventLoopManagerSingleton::get()->getGnssManager() in chreGnssMeasurementSessionStartAsync() [all …]
|
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_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() 47 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreWifiRequestRangingAsync()
|
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() 121 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreConfigureHostSleepStateEvents()
|
D | chre_api_audio.cc | 26 using chre::EventLoopManager; 27 using chre::EventLoopManagerSingleton; 28 using chre::Nanoapp;
|
/system/chre/platform/android/ |
D | init.cc | 28 using android::chre::HostProtocolHost; 29 using chre::EventLoopManagerSingleton; 38 if (!chre::handleMessageFromHost(data, length)) { in onMessageReceivedFromClient() 48 chre::init(); in main() 49 chre::loadStaticNanoapps(); in main() 50 chre::loadPreloadedNanoapps(); in main() 53 chre::SocketServerSingleton::init(); in main() 57 chre::SocketServerSingleton::get()->run( in main() 64 chre::deinit(); in main()
|
/system/chre/platform/slpi/ |
D | init.cc | 46 using chre::EventLoop; 47 using chre::EventLoopManagerSingleton; 48 using chre::LockGuard; 49 using chre::Mutex; 50 using chre::UniquePtr; 68 constexpr unsigned char kTcbPartition = chre::isSlpiUimgSupported() ? 100 UniquePtr<char> dump = chre::EventLoopManagerSingleton::get()->debugDump(); in performDebugDumpCallback() 108 chre::EventLoopManagerSingleton::get()->deferCallback( in onDebugDumpRequested() 109 chre::SystemCallbackType::PerformDebugDump, &debugDumpHandle, in onDebugDumpRequested() 120 chre::loadStaticNanoapps(); in chreThreadEntry() [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/host/common/include/chre_host/ |
D | host_protocol_host.h | 31 namespace chre { 52 const ::chre::fbs::NanoappMessageT& /*message*/) {}; in handleNanoappMessage() 55 const ::chre::fbs::HubInfoResponseT& /*response*/) {}; in handleHubInfoResponse() 58 const ::chre::fbs::NanoappListResponseT& /*response*/) {}; in handleNanoappListResponse() 61 const ::chre::fbs::LoadNanoappResponseT& /*response*/) {}; in handleLoadNanoappResponse() 64 const ::chre::fbs::UnloadNanoappResponseT& /*response*/) {}; in handleUnloadNanoappResponse() 67 const ::chre::fbs::DebugDumpDataT& /*data*/) {}; in handleDebugDumpData() 70 const ::chre::fbs::DebugDumpResponseT& /*response*/) {}; in handleDebugDumpResponse() 77 class HostProtocolHost : public ::chre::HostProtocolCommon { 172 ::chre::fbs::ChreMessage *messageType);
|
/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; 28 using chre::kOneMillisecondInMicroseconds;
|
D | blocking_queue_test.cc | 22 using chre::FixedSizeBlockingQueue; 23 using chre::MakeUnique; 24 using chre::UniquePtr;
|
/system/chre/host/hal_generic/ |
D | generic_context_hub.h | 39 using ::android::chre::FragmentedLoadRequest; 40 using ::android::chre::FragmentedLoadTransaction; 70 ::android::chre::SocketClient mClient; 74 class SocketCallbacks : public ::android::chre::SocketClient::ICallbacks, 75 public ::android::chre::IChreMessageHandlers { 83 const ::chre::fbs::NanoappMessageT& message) override; 86 const ::chre::fbs::HubInfoResponseT& response) override; 89 const ::chre::fbs::NanoappListResponseT& response) override; 92 const ::chre::fbs::LoadNanoappResponseT& response) override; 95 const ::chre::fbs::UnloadNanoappResponseT& response) override; [all …]
|
/system/chre/apps/wifi_world/ |
D | wifi_world.cc | 25 using chre::kOneMillisecondInNanoseconds; 26 using chre::Nanoseconds; 27 using chre::Seconds; 34 namespace chre { namespace 85 char ssidBuffer[chre::kMaxSsidStrLen]; in logChreWifiResult() 88 } else if (chre::parseSsidToStr(ssidBuffer, sizeof(ssidBuffer), in logChreWifiResult() 96 char bssidBuffer[chre::kBssidStrLen]; in logChreWifiResult() 97 if (chre::parseBssidToStr(result.bssid, bssidBuffer, sizeof(bssidBuffer))) { in logChreWifiResult() 107 chre::parseChreWifiBand(result.band), result.band); in logChreWifiResult() 300 CHRE_STATIC_NANOAPP_INIT(WifiWorld, chre::kWifiWorldAppId, 0);
|
/system/chre/ash/platform/slpi/smgr/ |
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/android/include/chre/platform/android/ |
D | host_link.h | 25 namespace chre { 28 typedef chre::Singleton<::android::chre::SocketServer> SocketServerSingleton;
|
/system/chre/platform/slpi/smgr/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/ |
D | load_android_sim.sh | 19 adb push out/google_arm64_android_debug/libchre /system/bin/chre 20 adb push variant/android/chre-stub /vendor/bin/chre
|
/system/chre/host/common/test/ |
D | chre_test_client.cc | 39 using android::chre::getStringFromByteVector; 40 using android::chre::FragmentedLoadTransaction; 41 using android::chre::HostProtocolHost; 42 using android::chre::IChreMessageHandlers; 43 using android::chre::SocketClient; 48 namespace fbs = ::chre::fbs; 149 builder, chre::kMessageWorldAppId, 1234 /* messageType */, in sendMessageToNanoapp() 216 sendUnloadNanoappRequest(client, chre::kSpammerAppId); in main()
|
/system/chre/apps/audio_world/ |
D | audio_world.cc | 30 namespace chre { namespace 34 using chre::Milliseconds; 35 using chre::Nanoseconds; 128 chre::getChreAudioFormatString(audioSource.format)); in nanoappStart() 176 CHRE_STATIC_NANOAPP_INIT(AudioWorld, chre::kAudioWorldAppId, 0);
|