Searched defs:state (Results 1 - 25 of 157) sorted by relevance

1234567

/system/bt/service/common/bluetooth/
H A Dadapter_state.cpp21 std::string AdapterStateToString(AdapterState state) { argument
22 switch (state) {
40 return "unknown state";
/system/connectivity/shill/test-scripts/
H A Dtest-compat13 state = manager.state() variable
15 print "System is %s" % (states[state])
/system/update_engine/update_manager/
H A Dfake_update_manager.h39 FakeState* state() { function in class:chromeos_update_manager::FakeUpdateManager
40 return reinterpret_cast<FakeState*>(UpdateManager::state());
H A Dupdate_manager.cc20 #include "update_engine/update_manager/state.h"
26 base::TimeDelta expiration_timeout, State* state)
27 : default_policy_(clock), state_(state), clock_(clock),
24 UpdateManager(chromeos_update_engine::ClockInterface* clock, base::TimeDelta evaluation_timeout, base::TimeDelta expiration_timeout, State* state) argument
H A Ddefault_policy.cc35 EvaluationContext* ec, State* state, std::string* error,
58 State* state,
78 State* state,
87 State* state,
96 State* state,
34 UpdateCheckAllowed( EvaluationContext* ec, State* state, std::string* error, UpdateCheckParams* result) const argument
56 UpdateCanStart( EvaluationContext* ec, State* state, std::string* error, UpdateDownloadParams* result, const UpdateState update_state) const argument
76 UpdateDownloadAllowed( EvaluationContext* ec, State* state, std::string* error, bool* result) const argument
85 P2PEnabled( EvaluationContext* ec, State* state, std::string* error, bool* result) const argument
94 P2PEnabledChanged( EvaluationContext* ec, State* state, std::string* error, bool* result, bool prev_result) const argument
H A Dupdate_manager.h32 #include "update_engine/update_manager/state.h"
49 // |state|.
52 base::TimeDelta expiration_timeout, State* state);
101 State* state() { return state_.get(); } function in class:chromeos_update_manager::UpdateManager
126 // EvalStatus::kAskMeAgainLater state, the |callback| will NOT be called and
141 // policy implementations are not allowed to persist state on this class.
/system/bt/hci/src/
H A Dhci_audio.c27 void set_audio_state(uint16_t handle, sco_codec_t codec, sco_state_t state) argument
29 LOG_INFO(LOG_TAG, "%s handle:%d codec:0x%x state:%d", __func__, handle, codec, state);
35 audio_state.state = state;
/system/core/init/
H A Dparser.cpp9 void parse_error(struct parse_state *state, const char *fmt, ...) argument
15 snprintf(buf, 128, "%s: %d: ", state->filename, state->line);
26 int next_token(struct parse_state *state) argument
28 char *x = state->ptr;
31 if (state->nexttoken) {
32 int t = state->nexttoken;
33 state->nexttoken = 0;
40 state->ptr = x;
44 state
[all...]
/system/bt/btif/co/
H A Dbta_ag_co.c54 ** state - Audio state
64 void bta_ag_co_audio_state(UINT16 handle, UINT8 app_id, UINT8 state, tBTA_AG_PEER_CODEC codec) argument
66 void bta_ag_co_audio_state(UINT16 handle, UINT8 app_id, UINT8 state)
69 BTIF_TRACE_DEBUG("bta_ag_co_audio_state: handle %d, state %d", handle, state);
70 switch (state)
76 set_audio_state(handle, codec, state);
87 set_audio_state(handle, codec, state);
89 set_audio_state(handle, BTA_AG_CODEC_CVSD, state);
[all...]
/system/bt/btif/src/
H A Dbtif_sm.c23 * Description: Generic BTIF state machine API
39 btif_sm_state_t state; member in struct:__anon686
51 ** Description Initializes the state machine with the state handlers
56 ** Returns Returns a pointer to the initialized state machine handle.
68 p_cb->state = initial_state;
71 /* Send BTIF_SM_ENTER_EVT to the initial state */
81 ** Description Tears down the state machine
102 ** Description Fetches the current state of the state machin
163 btif_sm_change_state(btif_sm_handle_t handle, btif_sm_state_t state) argument
[all...]
H A Dbtif_debug_conn.c32 btif_debug_conn_state_t state; member in struct:conn_event_t
52 static char *format_state(const btif_debug_conn_state_t state) { argument
53 switch (state) {
68 void btif_debug_conn_state(const bt_bdaddr_t bda, const btif_debug_conn_state_t state, argument
74 evt->state = state;
93 format_state(evt->state),
96 if (evt->state == BTIF_DEBUG_DISCONNECTED)
/system/bt/vendor_libs/test_vendor_lib/src/
H A Dbt_vendor.cc57 int* state = static_cast<int*>(param); local
58 if (*state == BT_VND_PWR_OFF)
60 else if (*state == BT_VND_PWR_ON)
/system/connectivity/shill/cellular/
H A Dout_of_credits_detector.cc84 void OutOfCreditsDetector::ReportOutOfCredits(bool state) { argument
85 SLOG(service_, 2) << __func__ << ": " << state; local
86 if (state == out_of_credits_) {
89 out_of_credits_ = state;
90 service_->SignalOutOfCreditsChanged(state);
/system/core/adb/
H A Dfdevent.h40 uint16_t state; member in struct:fdevent
H A Dtransport_usb.cpp83 void init_usb_transport(atransport *t, usb_handle *h, ConnectionState state) argument
91 t->connection_state = state;
/system/extras/ext4_utils/
H A Dsha1.h31 uint32_t state[5]; member in struct:__anon1732
/system/connectivity/apmanager/dbus/
H A Dservice_dbus_adaptor.cc76 void ServiceDBusAdaptor::SetState(const string& state) { argument
77 adaptor_.SetState(state);
/system/connectivity/shill/vpn/
H A Dopenvpn_management_server.h65 // OpenVPN client state.
66 const std::string& state() const { return state_; } function in class:shill::OpenVPNManagementServer
107 void SendState(const std::string& state);
/system/core/include/mincrypt/
H A Dhash-internal.h50 uint32_t state[8]; // upto SHA2 member in struct:HASH_CTX
/system/nativepower/daemon/
H A Dpower_manager_unittest.cc60 std::string state; local
61 PCHECK(base::ReadFileToString(power_state_path_, &state))
63 return state;
78 // File under |temp_dir_| used in place of /sys/power/state.
/system/tpm/trunks/
H A Dtrunks_client.cc95 scoped_ptr<trunks::TpmState> state = factory->GetTpmState(); local
96 trunks::TPM_RC result = state->Initialize();
98 LOG(ERROR) << "Failed to read TPM state: "
103 state->IsOwnerPasswordSet() ? "true" : "false");
105 state->IsEndorsementPasswordSet() ? "true" : "false");
107 state->IsLockoutPasswordSet() ? "true" : "false");
109 state->IsOwned() ? "true" : "false");
111 state->IsInLockout() ? "true" : "false");
113 state->IsPlatformHierarchyEnabled() ? "true" : "false");
115 state
[all...]
/system/weaved/buffet/
H A Dbinder_command_proxy_unittest.cc87 weave::Command::State state; local
90 EXPECT_TRUE(StringToEnum(ToString(state_string), &state));
91 return state;
H A Dbinder_weave_service.cc72 const android::String16& state) {
75 ToString(state),
70 updateState( const android::String16& component, const android::String16& state) argument
/system/bt/bta/ag/
H A Dbta_ag_at.h73 UINT8 state; /* parsing state */ member in struct:__anon5
97 ** function resets the AT command parser state and frees
/system/bt/bta/sys/
H A Dbta_sys_int.h32 ** state table
35 /* SYS HW state */
59 tBTA_SYS_HW_STATE state; member in struct:__anon557
93 /* functions used for BTA SYS HW state machine */

Completed in 2526 milliseconds

1234567