OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AppToHostEvent
(Results
1 - 6
of
6
) sorted by null
/device/google/contexthub/util/nanotool/
apptohostevent.cpp
17
#include "
apptohostevent
.h"
24
/*
AppToHostEvent
*************************************************************/
26
std::unique_ptr<
AppToHostEvent
>
AppToHostEvent
::FromBytes(
28
auto event = std::unique_ptr<
AppToHostEvent
>(new
AppToHostEvent
());
37
uint64_t
AppToHostEvent
::GetAppId() const {
41
uint8_t
AppToHostEvent
::GetDataLen() const {
45
const uint8_t *
AppToHostEvent
::GetDataPtr() const {
50
bool
AppToHostEvent
::CheckAppId(SensorType sensor_type) const
[
all
...]
contexthub.h
29
class
AppToHostEvent
;
220
const
AppToHostEvent
&event);
226
const
AppToHostEvent
&event);
229
* Same as ReadSensorEvents, but filters on
AppToHostEvent
instead of
232
TransportResult ReadAppEvents(std::function<bool(const
AppToHostEvent
&)> callback,
apptohostevent.h
77
class
AppToHostEvent
: public ReadEventResponse {
80
* Constructs and populates an
AppToHostEvent
instance. Returns nullptr if
85
static std::unique_ptr<
AppToHostEvent
> FromBytes(
contexthub.cpp
23
#include "
apptohostevent
.h"
289
auto event_handler = [&success](const
AppToHostEvent
&event) -> bool {
377
auto cal_event_handler = [this, &sensor, &success](const
AppToHostEvent
&event) -> bool {
411
auto test_event_handler = [this, &sensor, &success](const
AppToHostEvent
&event) -> bool {
440
const
AppToHostEvent
&event) {
498
const
AppToHostEvent
&event) {
515
std::function<bool(const
AppToHostEvent
&)> callback, int timeout_ms) {
537
AppToHostEvent
*app_event = reinterpret_cast<
AppToHostEvent
*>(
nanomessage.h
37
AppToHostEvent
= 0x00000401,
nanomessage.cpp
22
#include "
apptohostevent
.h"
120
return
AppToHostEvent
::FromBytes(buffer);
167
return (event_type == static_cast<uint32_t>(EventType::
AppToHostEvent
));
Completed in 58 milliseconds