Android Hardware Abstraction Layer
Data Fields
power_module Struct Reference

#include <power.h>

Data Fields

struct hw_module_t common
 
void(* init )(struct power_module *module)
 
void(* setInteractive )(struct power_module *module, int on)
 
void(* powerHint )(struct power_module *module, power_hint_t hint, void *data)
 

Detailed Description

Every hardware module must have a data structure named HAL_MODULE_INFO_SYM and the fields of this data structure must begin with hw_module_t followed by module specific information.

Definition at line 55 of file power.h.

Field Documentation

struct hw_module_t common

Definition at line 56 of file power.h.

void(* init)(struct power_module *module)

Definition at line 64 of file power.h.

void(* powerHint)(struct power_module *module, power_hint_t hint, void *data)

Definition at line 120 of file power.h.

void(* setInteractive)(struct power_module *module, int on)

Definition at line 92 of file power.h.


The documentation for this struct was generated from the following file: