/aosp12/hardware/qcom/power/ |
H A D | power.c | 41 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()
|
/aosp12/system/iorap/src/perfetto/ |
H A D | rx_producer.cc | 225 State last_state{State::kIdle}; member in iorap::perfetto::StateChangedSubject 232 DCHECK(fail_unless) << "Invalid state transition to " << state << " from " << last_state; in DcheckBadStateTransition() 247 switch (last_state) { in DcheckValidStateTransition() 318 switch (last_state) { in IsTerminalState() 368 if (last_state == State::kConfigured && state == State::kConnectionError) { in OnStateChanged() 376 last_state = state; in OnStateChanged() 387 last_state = State::kSessionNotFound; in OnCreateFailed()
|
/aosp12/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
H A D | LocApiRpc.cpp | 213 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()
|
/aosp12/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
H A D | LocApiRpc.cpp | 213 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()
|
/aosp12/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
H A D | LocApiRpc.cpp | 213 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()
|
/aosp12/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
H A D | LocApiRpc.cpp | 213 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()
|
/aosp12/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
H A D | LocApiRpc.cpp | 213 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()
|
/aosp12/hardware/qcom/sdm845/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
H A D | LocApiRpc.cpp | 213 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()
|
/aosp12/hardware/qcom/sdm845/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
H A D | LocApiRpc.cpp | 213 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()
|
/aosp12/hardware/qcom/sdm845/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
H A D | LocApiRpc.cpp | 213 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()
|
/aosp12/hardware/qcom/sdm845/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
H A D | LocApiRpc.cpp | 213 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()
|
/aosp12/hardware/qcom/sdm845/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/ |
H A D | LocApiRpc.cpp | 213 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()
|