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

  /device/google/contexthub/util/nanotool/
contexthub.cpp 17 #include "contexthub.h"
99 SensorType ContextHub::SensorAbbrevNameToType(const char *sensor_name_abbrev) {
109 SensorType ContextHub::SensorAbbrevNameToType(const std::string& abbrev_name) {
110 return ContextHub::SensorAbbrevNameToType(abbrev_name.c_str());
113 std::string ContextHub::SensorTypeToAbbrevName(SensorType sensor_type) {
132 std::string ContextHub::ListAllSensorAbbrevNames() {
144 bool ContextHub::Flash(const std::string& filename) {
168 bool ContextHub::CalibrateSensors(const std::vector<SensorSpec>& sensors) {
179 bool ContextHub::TestSensors(const std::vector<SensorSpec>& sensors) {
187 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 215 ContextHub::TransportResult AndroidContextHub::WriteEvent(
217 ContextHub::TransportResult result;
237 ContextHub::TransportResult AndroidContextHub::ReadEvent(
239 ContextHub::TransportResult result = TransportResult::GeneralFailure;
307 ContextHub::SensorTypeToAbbrevName(sensor_type).c_str(), data);
319 ContextHub::SensorTypeToAbbrevName(sensor_type).c_str(), data);
361 ContextHub::TransportResult AndroidContextHub::ReadEventFromFd(
363 ContextHub::TransportResult result = TransportResult::GeneralFailure;
nanotool.cpp 28 #include "contexthub.h"
148 ContextHub::ListAllSensorAbbrevNames().c_str());
188 ContextHub::SensorTypeToAbbrevName(
203 ContextHub::SensorTypeToAbbrevName(
267 spec.sensor_type = ContextHub::SensorAbbrevNameToType(param);
381 static std::unique_ptr<ContextHub> GetContextHub(std::unique_ptr<ParsedArgs>& args) {
432 std::unique_ptr<ContextHub> hub = GetContextHub(args);
434 LOGE("Error initializing ContextHub");
contexthub.h 101 * An interface for communicating with a ContextHub.
103 class ContextHub : public NonCopyable {
105 virtual ~ContextHub() {};
120 * Configures the ContextHub to allow logs to be printed to stdout.
125 * Loads a new firmware image to the ContextHub. The firmware image is
sensorevent.cpp 22 #include "contexthub.h"
177 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
  /frameworks/base/services/core/java/com/android/server/location/
ContextHubServiceUtil.java 21 import android.hardware.contexthub.V1_0.ContextHub;
22 import android.hardware.contexthub.V1_0.ContextHubMsg;
23 import android.hardware.contexthub.V1_0.HostEndPoint;
24 import android.hardware.contexthub.V1_0.HubAppInfo;
25 import android.hardware.contexthub.V1_0.Result;
46 + HARDWARE_PERMISSION + "' not granted to access ContextHub Hardware";
50 * ArrayList of HIDL ContextHub objects.
52 * @param hubList the ContextHub ArrayList
56 static HashMap<Integer, ContextHubInfo> createContextHubInfoMap(List<ContextHub> hubList)
    [all...]
ContextHubService.java 20 import android.hardware.contexthub.V1_0.AsyncEventType;
21 import android.hardware.contexthub.V1_0.ContextHub;
22 import android.hardware.contexthub.V1_0.ContextHubMsg;
23 import android.hardware.contexthub.V1_0.HubAppInfo;
24 import android.hardware.contexthub.V1_0.IContexthub;
25 import android.hardware.contexthub.V1_0.IContexthubCallback;
26 import android.hardware.contexthub.V1_0.Result;
27 import android.hardware.contexthub.V1_0.TransactionResult;
155 List<ContextHub> hubList
    [all...]
  /hardware/interfaces/contexthub/1.0/vts/functional/
VtsHalContexthubV1_0TargetTest.cpp 22 #include <android/hardware/contexthub/1.0/IContexthub.h>
23 #include <android/hardware/contexthub/1.0/IContexthubCallback.h>
24 #include <android/hardware/contexthub/1.0/types.h>
36 using ::android::hardware::contexthub::V1_0::AsyncEventType;
37 using ::android::hardware::contexthub::V1_0::ContextHub;
38 using ::android::hardware::contexthub::V1_0::ContextHubMsg;
39 using ::android::hardware::contexthub::V1_0::HubAppInfo;
40 using ::android::hardware::contexthub::V1_0::IContexthub;
41 using ::android::hardware::contexthub::V1_0::IContexthubCallback
    [all...]
  /frameworks/base/core/java/android/hardware/location/
ContextHubInfo.java 19 import android.hardware.contexthub.V1_0.ContextHub;
59 public ContextHubInfo(ContextHub contextHub) {
60 mId = contextHub.hubId;
61 mName = contextHub.name;
62 mVendor = contextHub.vendor;
63 mToolchain = contextHub.toolchain;
64 mPlatformVersion = contextHub.platformVersion;
65 mToolchainVersion = contextHub.toolchainVersion
    [all...]
  /system/chre/host/hal_generic/
generic_context_hub.h 25 #include <android/hardware/contexthub/1.0/IContexthub.h>
35 namespace contexthub { namespace in namespace:android::hardware
41 using ::android::hardware::contexthub::V1_0::ContextHub;
42 using ::android::hardware::contexthub::V1_0::ContextHubMsg;
43 using ::android::hardware::contexthub::V1_0::IContexthub;
44 using ::android::hardware::contexthub::V1_0::IContexthubCallback;
45 using ::android::hardware::contexthub::V1_0::NanoAppBinary;
46 using ::android::hardware::contexthub::V1_0::Result;
59 // Methods from ::android::hardware::contexthub::V1_0::IContexthub follow
    [all...]
generic_context_hub.cc 31 namespace contexthub { namespace in namespace:android::hardware
37 using ::android::hardware::contexthub::V1_0::AsyncEventType;
38 using ::android::hardware::contexthub::V1_0::Result;
39 using ::android::hardware::contexthub::V1_0::TransactionResult;
74 sp<GenericContextHub> contexthub) : mGenericContextHub(contexthub){}
131 std::vector<ContextHub> hubs;
562 } // namespace contexthub
  /device/google/contexthub/contexthubhal/
NanohubHidlAdapter.cpp 19 * hardware/interfaces/contexthub/1.0/default/Contexthub.cpp
33 #include <android/hardware/contexthub/1.0/IContexthub.h>
44 namespace contexthub { namespace in namespace:android::hardware
50 Contexthub::Contexthub()
55 bool Contexthub::setOsAppAsDestination(hub_message_t *msg, int hubId) {
67 Return<void> Contexthub::getHubs(getHubs_cb _hidl_cb) {
68 std::vector<ContextHub> hubs;
74 ContextHub c
    [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
578 Contexthub *contexthub = new Contexthub; local
    [all...]

Completed in 247 milliseconds