HomeSort by relevance Sort by last modified time
    Searched full:chre (Results 1 - 25 of 544) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /system/chre/variant/android/
chre-stub 2 /system/bin/chre
  /device/google/wahoo/sepolicy/vendor/
chre.te 1 # This daemon loads the Context Hub Runtime Environment (CHRE) dynamic modules
3 # the applications processor to interact CHRE
4 type chre, domain;
7 init_daemon_domain(chre)
9 allow chre ion_device:chr_file { open read };
10 allow chre qdsp_device:chr_file { ioctl open read };
12 allow chre system_file:dir read;
hal_contexthub.te 2 allow hal_contexthub_default chre:unix_stream_socket connectto;
hal_wifi_offload_default.te 2 allow hal_wifi_offload_default chre:unix_stream_socket connectto;
  /system/chre/chre_api/legacy/
README.md 1 This folder contains prior versions of the CHRE API, intended for reference
  /system/chre/platform/android/
init.cc 17 #include "chre/core/event_loop_manager.h"
18 #include "chre/core/init.h"
19 #include "chre/core/static_nanoapps.h"
20 #include "chre/platform/android/host_link.h"
21 #include "chre/platform/linux/preloaded_nanoapps.h"
22 #include "chre/platform/shared/platform_log.h"
28 using android::chre::HostProtocolHost;
29 using chre::EventLoopManagerSingleton;
38 if (!chre::handleMessageFromHost(data, length)) {
47 // Initilize CHRE
    [all...]
  /system/chre/platform/shared/
chre_api_gnss.cc 17 #include "chre_api/chre/gnss.h"
19 #include "chre/core/event_loop_manager.h"
20 #include "chre/util/macros.h"
21 #include "chre/util/time.h"
23 using chre::EventLoopManager;
24 using chre::EventLoopManagerSingleton;
25 using chre::Milliseconds;
28 return chre::EventLoopManagerSingleton::get()->getGnssManager()
35 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__);
36 return chre::EventLoopManagerSingleton::get()->getGnssManager(
    [all...]
chre_api_sensor.cc 17 #include "chre/core/event_loop_manager.h"
18 #include "chre/core/sensor_request.h"
19 #include "chre/util/time.h"
20 #include "chre/util/macros.h"
21 #include "chre_api/chre/sensor.h"
23 using chre::EventLoopManager;
24 using chre::EventLoopManagerSingleton;
25 using chre::Nanoseconds;
26 using chre::SensorMode;
27 using chre::SensorRequest
    [all...]
chre_api_re.cc 17 #include "chre_api/chre/re.h"
18 #include "chre/core/event_loop.h"
19 #include "chre/core/event_loop_manager.h"
20 #include "chre/platform/assert.h"
21 #include "chre/platform/memory.h"
22 #include "chre/platform/system_time.h"
23 #include "chre/util/macros.h"
25 using chre::EventLoopManager;
26 using chre::EventLoopManagerSingleton;
29 return chre::SystemTime::getMonotonicTime().toRawNanoseconds()
    [all...]
chre_api_version.cc 17 #include "chre_api/chre/version.h"
19 #include "chre/platform/platform_id.h"
20 #include "chre/util/macros.h"
27 return chreGetApiVersion() | chre::kPatchVersion;
31 return chre::createPlatformIdFromVendorPlatform(chre::kVendorId,
32 chre::kPlatformId);
chre_api_wifi.cc 17 #include "chre_api/chre/wifi.h"
19 #include "chre/core/event_loop_manager.h"
20 #include "chre/util/macros.h"
22 using chre::EventLoopManager;
23 using chre::EventLoopManagerSingleton;
26 return chre::EventLoopManagerSingleton::get()->getWifiRequestManager()
32 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__);
39 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__);
47 chre::Nanoapp *nanoapp = EventLoopManager::validateChreApiCall(__func__);
  /system/chre/platform/linux/
init.cc 17 #include "chre/core/event.h"
18 #include "chre/core/event_loop.h"
19 #include "chre/core/event_loop_manager.h"
20 #include "chre/core/init.h"
21 #include "chre/core/nanoapp.h"
22 #include "chre/core/static_nanoapps.h"
23 #include "chre/platform/platform_audio.h"
24 #include "chre/platform/context.h"
25 #include "chre/platform/fatal_error.h"
26 #include "chre/platform/log.h
    [all...]
memory_manager.cc 17 #include "chre/platform/memory_manager.h"
19 #include "chre/util/memory.h"
21 namespace chre { namespace
24 return chre::memoryAlloc(bytes);
28 chre::memoryFree(ptr);
31 } // namespace chre
  /system/chre/core/
init.cc 17 #include "chre/core/init.h"
19 #include "chre/core/event_loop_manager.h"
20 #include "chre/platform/platform_sensor.h"
21 #include "chre/platform/system_time.h"
22 #include "chre/util/singleton.h"
28 //! The CHRE version string. Placed in a variable in the global namespace for
32 namespace chre { namespace
35 LOGI("CHRE init, version: %s", kChreVersionString);
49 LOGD("CHRE deinit");
52 } // namespace chre
    [all...]
  /system/chre/util/include/chre/util/
container_support.h 22 * provided by the CHRE framework implementation. These portable implementations
23 * are implemented using the CHRE API rather than private system APIs.
28 #include <chre.h>
30 #include "chre/util/nanoapp/assert.h"
32 namespace chre { namespace
35 * Provides the memoryAlloc function that is normally provided by the CHRE
46 * Provides the memoryFree function that is normally provided by the CHRE
55 } // namespace chre
58 #include "chre/platform/assert.h"
59 #include "chre/platform/memory.h
    [all...]
  /system/chre/chre_api/
chre_api.mk 2 # CHRE API Makefile
6 # configuration based on the version of the CHRE API provided here. This is
16 COMMON_CFLAGS += -Ichre_api/include/chre_api # Allows including chre.h directly
chre_api_version.mk 2 # CHRE API Version Makefile
4 # Defines the default version of CHRE to target.
6 # Default CHRE API Version #####################################################
24 # Target CHRE API Version ######################################################
  /system/chre/
load_android_sim.sh 6 # Build and run the CHRE simulator.
19 adb push out/google_arm64_android_debug/libchre /system/bin/chre
20 adb push variant/android/chre-stub /vendor/bin/chre
  /system/chre/platform/shared/include/chre/target_platform/
platform_gnss_base.h 20 #include "chre/platform/shared/platform_pal.h"
21 #include "chre/pal/gnss.h"
23 namespace chre { namespace
26 * Provides an instance of the PlatformGnssBase class that uses the CHRE PAL to
31 //! The instance of the CHRE PAL API. This will be set to nullptr if the
35 //! The instance of callbacks that are provided to the CHRE PAL.
38 //! Event handlers for the CHRE GNSS PAL. Refer to chre/pal/gnss.h for futher
47 } // namespace chre
platform_wifi_base.h 20 #include "chre/platform/shared/platform_pal.h"
21 #include "chre/pal/wifi.h"
23 namespace chre { namespace
26 * Provides an instance of the PlatformWifiBase class that uses the CHRE PAL to
31 //! The instance of the CHRE PAL API. This will be set to nullptr if the
35 //! The instance of callbacks that are provided to the CHRE PAL.
38 // Event handlers for the CHRE WiFi PAL. Refer to chre/pal/wifi.h for futher
47 } // namespace chre
platform_wwan_base.h 20 #include "chre/platform/shared/platform_pal.h"
21 #include "chre/pal/wwan.h"
23 namespace chre { namespace
26 * Provides an instance of the PlatformWwanBase class that uses the CHRE PAL to
31 //! The instance of the CHRE PAL API. This will be set to nullptr if the
35 //! The instance of callbacks that are provided to the CHRE PAL.
38 //! Event handlers for the CHRE WWAN PAL. Refer to chre/pal/wwan.h for futher
43 } // namespace chre
  /system/chre/platform/slpi/
memory_manager.cc 17 #include "chre/platform/memory_manager.h"
19 #include "chre/platform/slpi/memory.h"
20 #include "chre/util/memory.h"
22 namespace chre { namespace
26 return chre::memoryAlloc(bytes);
28 return chre::memoryAllocBigImage(bytes);
34 chre::memoryFree(ptr);
36 chre::memoryFreeBigImage(ptr);
40 } // namespace chre
init.cc 29 #include "chre/core/event_loop.h"
30 #include "chre/core/event_loop_manager.h"
31 #include "chre/core/init.h"
32 #include "chre/core/static_nanoapps.h"
33 #include "chre/platform/fatal_error.h"
34 #include "chre/platform/log.h"
35 #include "chre/platform/memory.h"
36 #include "chre/platform/mutex.h"
37 #include "chre/platform/slpi/fastrpc.h"
38 #include "chre/platform/slpi/preloaded_nanoapps.h
141 namespace chre { namespace
    [all...]
  /system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
wifi_offload.h 21 #include <chre/wifi.h>
24 #include <chre/event.h>
25 #include <chre/re.h>
26 #include <chre/version.h>
30 #include "chre/util/dynamic_vector.h"
32 #include "chre/util/nanoapp/log.h"
34 #include "chre/util/unique_ptr.h"
38 using Vector = chre::DynamicVector<T>;
  /system/chre/host/
README.md 1 A collection of CHRE-related code that runs on the host processor. Note that
2 "host" in this case refers to CHRE's perspective of host, i.e. it's the

Completed in 313 milliseconds

1 2 3 4 5 6 7 8 91011>>