/system/chre/build/sys_support/qcom/ |
D | chre.scons | 68 SRCPATH = "${BUILD_ROOT}/chre/chre/src" 71 LIB_ROOT = "${BUILD_ROOT}/chre/chre" 99 env['SKEL_DEP'] += ' ${BUILD_ROOT}/chre/chre_drv_loc/build/${BUILDPATH}/chre_drv_loc.so ' 100 env.Depends(target_so,'${BUILD_ROOT}/chre/chre_drv_loc/build/${BUILDPATH}/chre_drv_loc.so') 103 env['SKEL_DEP'] += ' ${BUILD_ROOT}/chre/chre_drv_wifi/build/${BUILDPATH}/chre_drv_wifi.so ' \ 104 ' ${BUILD_ROOT}/chre/lowi_client/build/${BUILDPATH}/lowi_client.so ' 105 env.Depends(target_so,'${BUILD_ROOT}/chre/chre_drv_wifi/build/${BUILDPATH}/chre_drv_wifi.so') 106 env.Depends(target_so,'${BUILD_ROOT}/chre/lowi_client/build/${BUILDPATH}/lowi_client.so') 109 env['SKEL_DEP'] += ' ${BUILD_ROOT}/chre/chre_drv_modem/build/${BUILDPATH}/chre_drv_modem.so ' 110 env.Depends(target_so,'${BUILD_ROOT}/chre/chre_drv_modem/build/${BUILDPATH}/chre_drv_modem.so') [all …]
|
/system/chre/platform/linux/ |
D | init.cc | 37 using chre::EventLoopManagerSingleton; 38 using chre::Milliseconds; 77 chre::PlatformLogSingleton::init(); in main() 82 auto audioSource = chre::MakeUnique<chre::AudioSource>( in main() 85 chre::PlatformAudio::addAudioSource(audioSource); in main() 93 chre::init(); in main() 104 chre::loadStaticNanoapps(); in main() 108 chre::DynamicVector<chre::UniquePtr<chre::Nanoapp>> dynamicNanoapps; in main() 110 dynamicNanoapps.push_back(chre::MakeUnique<chre::Nanoapp>()); in main() 120 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_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 .setNanoappTimer(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; 29 return chre::EventLoopManagerSingleton::get()->getGnssManager() in chreGnssGetCapabilities() 40 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGnssLocationSessionStartAsync() 41 return chre::EventLoopManagerSingleton::get()->getGnssManager() in chreGnssLocationSessionStartAsync() 52 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGnssLocationSessionStopAsync() 53 return chre::EventLoopManagerSingleton::get()->getGnssManager() in chreGnssLocationSessionStopAsync() 63 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGnssMeasurementSessionStartAsync() 64 return chre::EventLoopManagerSingleton::get()->getGnssManager() in chreGnssMeasurementSessionStartAsync() [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; 96 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreSensorFindDefault() 118 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreGetSensorInfo() [all …]
|
D | chre_api_wwan.cc | 22 using chre::EventLoopManager; 23 using chre::EventLoopManagerSingleton; 27 return chre::EventLoopManagerSingleton::get()->getWwanRequestManager() in chreWwanGetCapabilities() 36 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreWwanGetCellInfoAsync() 37 return chre::EventLoopManagerSingleton::get()->getWwanRequestManager() in chreWwanGetCellInfoAsync()
|
D | chre_api_wifi.cc | 22 using chre::EventLoopManager; 23 using chre::EventLoopManagerSingleton; 27 return chre::EventLoopManagerSingleton::get()->getWifiRequestManager() in chreWifiGetCapabilities() 37 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreWifiConfigureScanMonitorAsync() 48 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreWifiRequestScanAsync() 60 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreWifiRequestRangingAsync()
|
D | chre_api_core.cc | 29 using chre::EventLoop; 30 using chre::EventLoopManager; 31 using chre::EventLoopManagerSingleton; 32 using chre::Nanoapp; 113 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreConfigureNanoappInfoEvents() 118 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__); in chreConfigureHostSleepStateEvents()
|
/system/chre/platform/slpi/ |
D | init.cc | 44 using chre::EventLoop; 45 using chre::EventLoopManagerSingleton; 46 using chre::LockGuard; 47 using chre::Mutex; 48 using chre::UniquePtr; 66 constexpr unsigned char kTcbPartition = chre::isSlpiUimgSupported() ? 98 UniquePtr<char> dump = chre::EventLoopManagerSingleton::get()->debugDump(); in performDebugDumpCallback() 99 chre::commitDebugDump(*handle, dump.get(), true /*done*/); in performDebugDumpCallback() 106 chre::EventLoopManagerSingleton::get()->deferCallback( in onDebugDumpRequested() 107 chre::SystemCallbackType::PerformDebugDump, &debugDumpHandle, 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/platform/android/ |
D | init.cc | 27 using android::chre::HostProtocolHost; 28 using chre::EventLoopManagerSingleton; 37 if (!chre::handleMessageFromHost(data, length)) { in onMessageReceivedFromClient() 47 chre::init(); in main() 48 chre::loadStaticNanoapps(); in main() 51 chre::SocketServerSingleton::init(); in main() 55 chre::SocketServerSingleton::get()->run( in main() 62 chre::deinit(); in main()
|
/system/chre/pal/tests/src/ |
D | wifi_pal_impl_test.cc | 42 using ::chre::Nanoseconds; 43 using ::chre::Seconds; 44 using ::chre::SystemTime; 82 char ssidBuffer[chre::kMaxSsidStrLen]; in logChreWifiResult() 85 } else if (chre::parseSsidToStr(ssidBuffer, sizeof(ssidBuffer), result.ssid, in logChreWifiResult() 92 char bssidBuffer[chre::kBssidStrLen]; in logChreWifiResult() 93 if (chre::parseBssidToStr(result.bssid, bssidBuffer, sizeof(bssidBuffer))) { in logChreWifiResult() 102 LOGI(" band: %s (%" PRIu8 ")", chre::parseChreWifiBand(result.band), in logChreWifiResult() 125 ASSERT_TRUE(api_->open(&chre::gChrePalSystemApi, &kCallbacks)); in SetUp() 150 chre::LockGuard<chre::Mutex> lock(mutex_); in scanMonitorStatusChangeCallback() [all …]
|
D | gnss_pal_impl_test.cc | 44 using ::chre::Nanoseconds; 45 using ::chre::Seconds; 46 using ::chre::SystemTime; 160 ASSERT_TRUE(api_->open(&chre::gChrePalSystemApi, &kCallbacks)); in SetUp() 187 chre::LockGuard<chre::Mutex> lock(mutex_); in locationStatusChangeCallback() 195 chre::LockGuard<chre::Mutex> lock(mutex_); in locationEventCallback() 212 chre::LockGuard<chre::Mutex> lock(mutex_); in measurementStatusChangeCallback() 220 chre::LockGuard<chre::Mutex> lock(mutex_); in measurementEventCallback() 230 chre::Nanoseconds timeoutNs) { in waitForAsyncResponseAssertSuccess() 251 chre::LockGuard<chre::Mutex> lock(mutex_); in TEST_F() [all …]
|
/system/chre/host/common/include/chre_host/ |
D | host_protocol_host.h | 31 namespace chre { 55 const ::chre::fbs::NanoappMessageT& /*message*/) {}; in handleNanoappMessage() 58 const ::chre::fbs::HubInfoResponseT& /*response*/) {}; in handleHubInfoResponse() 61 const ::chre::fbs::NanoappListResponseT& /*response*/) {}; in handleNanoappListResponse() 64 const ::chre::fbs::LoadNanoappResponseT& /*response*/) {}; in handleLoadNanoappResponse() 67 const ::chre::fbs::UnloadNanoappResponseT& /*response*/) {}; in handleUnloadNanoappResponse() 70 const ::chre::fbs::DebugDumpDataT& /*data*/) {}; in handleDebugDumpData() 73 const ::chre::fbs::DebugDumpResponseT& /*response*/) {}; in handleDebugDumpResponse() 80 class HostProtocolHost : public ::chre::HostProtocolCommon { 175 ::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 …]
|
/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/pal/tests/include/ |
D | gnss_pal_impl_test.h | 57 void waitForAsyncResponseAssertSuccess(chre::Nanoseconds timeoutNs); 73 chre::FixedSizeVector<chreGnssLocationEvent *, kEventArraySize> 75 chre::FixedSizeVector<chreGnssDataEvent *, kEventArraySize> 79 chre::Mutex mutex_; 80 chre::ConditionVariable condVar_;
|
D | wifi_pal_impl_test.h | 65 void waitForAsyncResponseAssertSuccess(chre::Nanoseconds timeoutNs); 80 chre::DynamicVector<chreWifiScanEvent *> scanEventList_; 83 chre::Optional<chreWifiScanParams> scanParams_; 92 chre::Mutex mutex_; 93 chre::ConditionVariable condVar_;
|
/system/chre/ |
D | Android.mk | 31 LOCAL_MODULE := chre 59 system/chre/external/flatbuffers/include \ 60 system/chre/host/common/include \ 61 system/chre/host/msm/daemon \ 62 system/chre/platform/shared/include \ 63 system/chre/platform/slpi/include \ 64 system/chre/util/include \
|
/system/chre/host/common/audio_stress_test/ |
D | audio_stress_test.cc | 38 using android::chre::getStringFromByteVector; 39 using android::chre::FragmentedLoadTransaction; 40 using android::chre::HostProtocolHost; 41 using android::chre::IChreMessageHandlers; 42 using android::chre::SocketClient; 47 namespace fbs = ::chre::fbs; 121 chre::kAudioStressTestAppId, in main()
|
/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() 280 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;
|