OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:halEvent
(Results
1 - 7
of
7
) sorted by null
/device/google/contexthub/sensorhal/
activity.cpp
173
activity_event_t
halEvent
;
174
memset(&
halEvent
, 0, sizeof(
halEvent
));
181
halEvent
.activity = GetActivityHandleFromSensorIndex(event.sensorIndex);
182
halEvent
.timestamp = mNewestPublishedTimestamp;
188
halEvent
.event_type = ACTIVITY_EVENT_ENTER;
189
(*mCallback->activity_callback)(mCallback, &
halEvent
, 1);
191
halEvent
.event_type = ACTIVITY_EVENT_EXIT;
195
halEvent
.activity,
halEvent
.event_type, halEvent.timestamp)
[
all
...]
/hardware/interfaces/broadcastradio/1.0/default/
Tuner.cpp
33
void Tuner::onCallback(radio_hal_event_t *
halEvent
)
40
switch(
halEvent
->type) {
42
Utils::convertBandConfigFromHal(&config, &
halEvent
->config);
43
mCallback->configChange(Utils::convertHalResult(
halEvent
->status), config);
46
mCallback->antennaStateChange(
halEvent
->on);
49
Utils::convertProgramInfoFromHal(&info, &
halEvent
->info);
50
mCallback->tuneComplete(Utils::convertHalResult(
halEvent
->status), info);
55
if (radio_metadata_get_channel(
halEvent
->metadata, &channel, &sub_channel) == 0) {
56
Utils::convertMetaDataFromHal(metadata,
halEvent
->metadata);
61
mCallback->trafficAnnouncement(
halEvent
->on)
[
all
...]
Tuner.h
45
static void callback(radio_hal_event_t *
halEvent
, void *cookie);
46
void onCallback(radio_hal_event_t *
halEvent
);
/frameworks/av/services/soundtrigger/
SoundTriggerHalHidl.cpp
438
const ISoundTriggerHwCallback::RecognitionEvent&
halEvent
,
449
struct sound_trigger_recognition_event *event = convertRecognitionEventFromHal(&
halEvent
);
462
const ISoundTriggerHwCallback::PhraseRecognitionEvent&
halEvent
,
475
(const ISoundTriggerHwCallback::RecognitionEvent *)&
halEvent
);
489
const ISoundTriggerHwCallback::ModelEvent&
halEvent
,
501
struct sound_trigger_model_event *event = convertSoundModelEventFromHal(&
halEvent
);
516
const ISoundTriggerHwCallback::ModelEvent *
halEvent
)
520
halEvent
->data.size());
525
event->status = (int)
halEvent
->status;
528
event->data_size =
halEvent
->data.size()
[
all
...]
SoundTriggerHalHidl.h
137
const ISoundTriggerHwCallback::ModelEvent *
halEvent
);
142
const ISoundTriggerHwCallback::RecognitionEvent *
halEvent
);
/hardware/interfaces/soundtrigger/2.0/default/
SoundTriggerHalImpl.cpp
31
void SoundTriggerHalImpl::soundModelCallback(struct sound_trigger_model_event *
halEvent
,
34
if (
halEvent
== NULL) {
44
if (
halEvent
->model != client->mHalHandle) {
46
(int)
halEvent
->model, (int)client->mHalHandle);
51
convertSoundModelEventFromHal(&event,
halEvent
);
58
void SoundTriggerHalImpl::recognitionCallback(struct sound_trigger_recognition_event *
halEvent
,
61
if (
halEvent
== NULL) {
72
ISoundTriggerHwCallback::RecognitionEvent *event = convertRecognitionEventFromHal(
halEvent
);
74
if (
halEvent
->type == SOUND_MODEL_TYPE_KEYPHRASE) {
494
const struct sound_trigger_model_event *
halEvent
)
[
all
...]
SoundTriggerHalImpl.h
65
static void soundModelCallback(struct sound_trigger_model_event *
halEvent
,
67
static void recognitionCallback(struct sound_trigger_recognition_event *
halEvent
,
106
const struct sound_trigger_model_event *
halEvent
);
108
const struct sound_trigger_recognition_event *
halEvent
);
Completed in 109 milliseconds