HomeSort by relevance Sort by last modified time
    Searched refs:ContextHub (Results 1 - 14 of 14) sorted by null

  /device/google/contexthub/util/nanotool/
contexthub.cpp 17 #include "contexthub.h"
98 SensorType ContextHub::SensorAbbrevNameToType(const char *sensor_name_abbrev) {
108 SensorType ContextHub::SensorAbbrevNameToType(const std::string& abbrev_name) {
109 return ContextHub::SensorAbbrevNameToType(abbrev_name.c_str());
112 std::string ContextHub::SensorTypeToAbbrevName(SensorType sensor_type) {
131 std::string ContextHub::ListAllSensorAbbrevNames() {
143 bool ContextHub::Flash(const std::string& filename) {
167 bool ContextHub::CalibrateSensors(const std::vector<SensorSpec>& sensors) {
178 bool ContextHub::TestSensors(const std::vector<SensorSpec>& sensors) {
186 bool ContextHub::EnableSensor(const SensorSpec& spec)
    [all...]
androidcontexthub.h 20 #include "contexthub.h"
30 class AndroidContextHub : public ContextHub {
43 ContextHub::TransportResult WriteEvent(
45 ContextHub::TransportResult ReadEvent(std::vector<uint8_t>& response,
61 ContextHub::TransportResult ReadEventFromFd(int fd,
androidcontexthub.cpp 195 ContextHub::TransportResult AndroidContextHub::WriteEvent(
197 ContextHub::TransportResult result;
217 ContextHub::TransportResult AndroidContextHub::ReadEvent(
219 ContextHub::TransportResult result = TransportResult::GeneralFailure;
287 ContextHub::SensorTypeToAbbrevName(sensor_type).c_str(), data);
299 ContextHub::SensorTypeToAbbrevName(sensor_type).c_str(), data);
341 ContextHub::TransportResult AndroidContextHub::ReadEventFromFd(
343 ContextHub::TransportResult result = TransportResult::GeneralFailure;
nanotool.cpp 27 #include "contexthub.h"
147 ContextHub::ListAllSensorAbbrevNames().c_str());
187 ContextHub::SensorTypeToAbbrevName(
202 ContextHub::SensorTypeToAbbrevName(
266 spec.sensor_type = ContextHub::SensorAbbrevNameToType(param);
380 static std::unique_ptr<ContextHub> GetContextHub(std::unique_ptr<ParsedArgs>& args) {
431 std::unique_ptr<ContextHub> hub = GetContextHub(args);
433 LOGE("Error initializing ContextHub");
contexthub.h 100 * An interface for communicating with a ContextHub.
102 class ContextHub : public NonCopyable {
104 virtual ~ContextHub() {};
119 * Configures the ContextHub to allow logs to be printed to stdout.
124 * Loads a new firmware image to the ContextHub. The firmware image is
sensorevent.cpp 22 #include "contexthub.h"
176 ContextHub::SensorTypeToAbbrevName(GetSensorType()).c_str(),
  /hardware/interfaces/contexthub/1.0/
IContexthub.hal 17 package android.hardware.contexthub@1.0;
34 getHubs() generates (vec<ContextHub> hubs);
79 * @param hubId identifer of the contextHub
103 * @param hubId identifer of the contextHub
124 * @param hubId identifer of the contextHub
145 * @param hubId identifer of the contextHub
162 * @param hubId identifer of the contextHub
types.hal 17 package android.hardware.contexthub@1.0;
105 struct ContextHub {
145 // message from the context hub to the ContextHub
Android.mk 8 LOCAL_MODULE := android.hardware.contexthub-V1.0-java
22 GEN := $(intermediates)/android/hardware/contexthub/V1_0/AsyncEventType.java
32 android.hardware.contexthub@1.0::types.AsyncEventType
39 # Build types.hal (ContextHub)
41 GEN := $(intermediates)/android/hardware/contexthub/V1_0/ContextHub.java
51 android.hardware.contexthub@1.0::types.ContextHub
60 GEN := $(intermediates)/android/hardware/contexthub/V1_0/ContextHubMsg.java
70 android.hardware.contexthub@1.0::types.ContextHubMs
    [all...]
  /system/chre/host/hal_generic/
generic_context_hub.h 22 #include <android/hardware/contexthub/1.0/IContexthub.h>
31 namespace contexthub { namespace in namespace:android::hardware
35 using ::android::hardware::contexthub::V1_0::ContextHub;
36 using ::android::hardware::contexthub::V1_0::ContextHubMsg;
37 using ::android::hardware::contexthub::V1_0::IContexthub;
38 using ::android::hardware::contexthub::V1_0::IContexthubCallback;
39 using ::android::hardware::contexthub::V1_0::NanoAppBinary;
40 using ::android::hardware::contexthub::V1_0::Result;
50 // Methods from ::android::hardware::contexthub::V1_0::IContexthub follow
    [all...]
generic_context_hub.cc 30 namespace contexthub { namespace in namespace:android::hardware
35 using ::android::hardware::contexthub::V1_0::AsyncEventType;
36 using ::android::hardware::contexthub::V1_0::Result;
37 using ::android::hardware::contexthub::V1_0::TransactionResult;
77 std::vector<ContextHub> hubs;
360 } // namespace contexthub
  /hardware/interfaces/contexthub/1.0/vts/functional/
VtsHalContexthubV1_0TargetTest.cpp 21 #include <android/hardware/contexthub/1.0/IContexthub.h>
22 #include <android/hardware/contexthub/1.0/IContexthubCallback.h>
23 #include <android/hardware/contexthub/1.0/types.h>
35 using ::android::hardware::contexthub::V1_0::AsyncEventType;
36 using ::android::hardware::contexthub::V1_0::ContextHub;
37 using ::android::hardware::contexthub::V1_0::ContextHubMsg;
38 using ::android::hardware::contexthub::V1_0::HubAppInfo;
39 using ::android::hardware::contexthub::V1_0::IContexthub;
40 using ::android::hardware::contexthub::V1_0::IContexthubCallback
    [all...]
  /frameworks/base/services/core/jni/
com_android_server_location_ContextHubService.cpp 37 #include <android/hardware/contexthub/1.0/IContexthub.h>
43 using android::hardware::contexthub::V1_0::AsyncEventType;
44 using android::hardware::contexthub::V1_0::ContextHub;
45 using android::hardware::contexthub::V1_0::ContextHubMsg;
46 using android::hardware::contexthub::V1_0::HubAppInfo;
47 using android::hardware::contexthub::V1_0::IContexthub;
48 using android::hardware::contexthub::V1_0::IContexthubCallback;
49 using android::hardware::contexthub::V1_0::NanoAppBinary;
50 using android::hardware::contexthub::V1_0::Result
    [all...]
  /hardware/interfaces/contexthub/1.0/default/
Contexthub.cpp 17 #include "Contexthub.h"
23 #include <android/hardware/contexthub/1.0/IContexthub.h>
32 namespace contexthub { namespace in namespace:android::hardware
38 Contexthub::Contexthub()
59 bool Contexthub::setOsAppAsDestination(hub_message_t *msg, int hubId) {
71 Return<void> Contexthub::getHubs(getHubs_cb _hidl_cb) {
72 std::vector<ContextHub> hubs;
86 ContextHub c;
114 Contexthub::DeathRecipient::DeathRecipient(sp<Contexthub> contexthub
574 Contexthub *contexthub = new Contexthub; local
    [all...]

Completed in 221 milliseconds