Home
last modified time | relevance | path

Searched refs:last_state (Results 1 – 7 of 7) sorted by relevance

/hardware/qcom/power/
Dpower.c41 static int last_state = -1; variable
168 if (last_state == -1) { in power_set_interactive()
169 last_state = on; in power_set_interactive()
171 if (last_state == on) in power_set_interactive()
174 last_state = on; in power_set_interactive()
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp213 static rpc_loc_engine_state_e_type last_state = RPC_LOC_ENGINE_STATE_MAX; in locRpcGlobalCB() local
217 if (RPC_LOC_ENGINE_STATE_OFF != last_state) { in locRpcGlobalCB()
218 last_state = RPC_LOC_ENGINE_STATE_OFF; in locRpcGlobalCB()
223 if (RPC_LOC_ENGINE_STATE_ON != last_state) { in locRpcGlobalCB()
224 last_state = RPC_LOC_ENGINE_STATE_ON; in locRpcGlobalCB()
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp213 static rpc_loc_engine_state_e_type last_state = RPC_LOC_ENGINE_STATE_MAX; in locRpcGlobalCB() local
217 if (RPC_LOC_ENGINE_STATE_OFF != last_state) { in locRpcGlobalCB()
218 last_state = RPC_LOC_ENGINE_STATE_OFF; in locRpcGlobalCB()
223 if (RPC_LOC_ENGINE_STATE_ON != last_state) { in locRpcGlobalCB()
224 last_state = RPC_LOC_ENGINE_STATE_ON; in locRpcGlobalCB()
/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp213 static rpc_loc_engine_state_e_type last_state = RPC_LOC_ENGINE_STATE_MAX; in locRpcGlobalCB() local
217 if (RPC_LOC_ENGINE_STATE_OFF != last_state) { in locRpcGlobalCB()
218 last_state = RPC_LOC_ENGINE_STATE_OFF; in locRpcGlobalCB()
223 if (RPC_LOC_ENGINE_STATE_ON != last_state) { in locRpcGlobalCB()
224 last_state = RPC_LOC_ENGINE_STATE_ON; in locRpcGlobalCB()
/hardware/qcom/gps/msm8998/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp223 static rpc_loc_engine_state_e_type last_state = RPC_LOC_ENGINE_STATE_MAX; in locRpcGlobalCB() local
227 if (RPC_LOC_ENGINE_STATE_OFF != last_state) { in locRpcGlobalCB()
228 last_state = RPC_LOC_ENGINE_STATE_OFF; in locRpcGlobalCB()
233 if (RPC_LOC_ENGINE_STATE_ON != last_state) { in locRpcGlobalCB()
234 last_state = RPC_LOC_ENGINE_STATE_ON; in locRpcGlobalCB()
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp213 static rpc_loc_engine_state_e_type last_state = RPC_LOC_ENGINE_STATE_MAX; in locRpcGlobalCB() local
217 if (RPC_LOC_ENGINE_STATE_OFF != last_state) { in locRpcGlobalCB()
218 last_state = RPC_LOC_ENGINE_STATE_OFF; in locRpcGlobalCB()
223 if (RPC_LOC_ENGINE_STATE_ON != last_state) { in locRpcGlobalCB()
224 last_state = RPC_LOC_ENGINE_STATE_ON; in locRpcGlobalCB()
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp213 static rpc_loc_engine_state_e_type last_state = RPC_LOC_ENGINE_STATE_MAX; in locRpcGlobalCB() local
217 if (RPC_LOC_ENGINE_STATE_OFF != last_state) { in locRpcGlobalCB()
218 last_state = RPC_LOC_ENGINE_STATE_OFF; in locRpcGlobalCB()
223 if (RPC_LOC_ENGINE_STATE_ON != last_state) { in locRpcGlobalCB()
224 last_state = RPC_LOC_ENGINE_STATE_ON; in locRpcGlobalCB()