OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ContextHub
(Results
1 - 14
of
14
) 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
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
...]
/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
...]
/system/chre/host/hal_generic/
generic_context_hub.h
24
#include <android/hardware/
contexthub
/1.0/IContexthub.h>
33
namespace
contexthub
{
namespace in namespace:android::hardware
37
using ::android::hardware::
contexthub
::V1_0::
ContextHub
;
38
using ::android::hardware::
contexthub
::V1_0::ContextHubMsg;
39
using ::android::hardware::
contexthub
::V1_0::IContexthub;
40
using ::android::hardware::
contexthub
::V1_0::IContexthubCallback;
41
using ::android::hardware::
contexthub
::V1_0::NanoAppBinary;
42
using ::android::hardware::
contexthub
::V1_0::Result;
55
// Methods from ::android::hardware::
contexthub
::V1_0::IContexthub follow
[
all
...]
generic_context_hub.cc
31
namespace
contexthub
{
namespace in namespace:android::hardware
36
using ::android::hardware::
contexthub
::V1_0::AsyncEventType;
37
using ::android::hardware::
contexthub
::V1_0::Result;
38
using ::android::hardware::
contexthub
::V1_0::TransactionResult;
73
sp<GenericContextHub>
contexthub
) : mGenericContextHub(
contexthub
){}
130
std::vector<
ContextHub
> hubs;
500
} // namespace
contexthub
/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
571
Contexthub *
contexthub
= new Contexthub;
local
[
all
...]
Completed in 746 milliseconds