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

123456

/system/bt/service/common/bluetooth/
H A Dadapter_state.cc21 std::string AdapterStateToString(AdapterState state) { argument
22 switch (state) {
40 return "unknown state";
/system/core/logwrapper/
H A Dandroid_fork_execvp_ext_benchmark.cpp22 static void BM_android_fork_execvp_ext(benchmark::State& state) { argument
25 while (state.KeepRunning()) {
/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/core/init/
H A Dparser.cpp6 int next_token(struct parse_state *state) argument
8 char *x = state->ptr;
11 if (state->nexttoken) {
12 int t = state->nexttoken;
13 state->nexttoken = 0;
20 state->ptr = x;
24 state->ptr = x;
34 state->ptr = x+1;
37 state->ptr = x;
46 state
[all...]
H A Dinit_parser.cpp54 parse_state state; local
55 state.line = 0;
56 state.ptr = &data_copy[0];
57 state.nexttoken = 0;
63 switch (next_token(&state)) {
70 state.line++;
82 LOG(ERROR) << filename << ": " << state.line << ": " << ret_err;
94 if (!section_parser->ParseSection(std::move(args), filename, state.line, &ret_err)) {
95 LOG(ERROR) << filename << ": " << state.line << ": " << ret_err;
100 if (!section_parser->ParseLineSection(std::move(args), state
[all...]
/system/bt/btif/src/
H A Dbtif_sm.cc23 * Description: Generic BTIF state machine API
39 btif_sm_state_t state; member in struct:__anon673
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
100 * Description Fetches the current state of the state machin
159 btif_sm_change_state(btif_sm_handle_t handle, btif_sm_state_t state) argument
[all...]
H A Dbtif_debug_conn.cc31 btif_debug_conn_state_t state; member in struct:conn_event_t
51 static const char* format_state(const btif_debug_conn_state_t state) { argument
52 switch (state) {
67 const btif_debug_conn_state_t state,
73 evt->state = state;
90 format_state(evt->state), evt->bda.ToString().c_str());
91 if (evt->state == BTIF_DEBUG_DISCONNECTED)
66 btif_debug_conn_state(const RawAddress& bda, const btif_debug_conn_state_t state, const tGATT_DISCONN_REASON disconnect_reason) argument
/system/core/adb/
H A Dfdevent.h42 uint16_t state; member in struct:fdevent
/system/core/libziparchive/
H A Dzip_archive_benchmark.cpp50 static void FindEntry_no_match(benchmark::State& state) { argument
61 while (state.KeepRunning()) {
69 static void Iterate_all_files(benchmark::State& state) { argument
76 while (state.KeepRunning()) {
/system/extras/ext4_utils/
H A Dsha1.h31 uint32_t state[5]; member in struct:__anon1730
/system/core/libprocinfo/
H A Dprocess.cpp47 static ProcessState parse_state(const char* state) { argument
48 switch (*state) {
60 LOG(ERROR) << "unknown process state: " << *state;
120 process_info->state = parse_state(tab + 1);
/system/core/logcat/tests/
H A Dexec_benchmark.cpp25 static void logcat_popen_libc(benchmark::State& state, const char* cmd) { argument
26 while (state.KeepRunning()) {
34 static void BM_logcat_stat_popen_libc(benchmark::State& state) { argument
35 logcat_popen_libc(state, "logcat -b all -S");
39 static void logcat_popen_liblogcat(benchmark::State& state, const char* cmd) { argument
40 while (state.KeepRunning()) {
49 static void BM_logcat_stat_popen_liblogcat(benchmark::State& state) { argument
50 logcat_popen_liblogcat(state, "logcat -b all -S");
54 static void logcat_system_libc(benchmark::State& state, const char* cmd) { argument
55 while (state
60 BM_logcat_stat_system_libc(benchmark::State& state) argument
65 logcat_system_liblogcat(benchmark::State& state, const char* cmd) argument
71 BM_logcat_stat_system_liblogcat(benchmark::State& state) argument
78 BM_logcat_dump_popen_libc(benchmark::State& state) argument
83 BM_logcat_dump_popen_liblogcat(benchmark::State& state) argument
88 BM_logcat_dump_system_libc(benchmark::State& state) argument
93 BM_logcat_dump_system_liblogcat(benchmark::State& state) argument
[all...]
H A Dlogcat_benchmark.cpp25 static void BM_logcat_sorted_order(benchmark::State& state) { argument
28 if (!state.KeepRunning()) return;
129 state.KeepRunning();
/system/libhwbinder/vts/performance/
H A DBenchmark.cpp70 static void BM_sendVec(benchmark::State& state, sp<IBenchmark> service) { argument
73 data_vec.resize(state.range(0));
74 for (int i = 0; i < state.range(0); i++) {
78 while (state.KeepRunning()) {
84 static void BM_sendVec_passthrough(benchmark::State& state) { argument
88 state.SkipWithError("Failed to retrieve benchmark service.");
91 state.SkipWithError("Benchmark service is remote.");
93 BM_sendVec(state, service);
96 static void BM_sendVec_binderize(benchmark::State& state) { argument
100 state
[all...]
H A DBenchmark_binder.cpp72 static void BM_sendVec_binder(benchmark::State& state) { argument
77 data_vec.resize(state.range(0));
78 for (int i = 0; i < state.range(0); i++) {
84 state.SkipWithError("Failed to retrieve benchmark service.");
87 while (state.KeepRunning()) {
/system/bt/bta/ag/
H A Dbta_ag_at.h73 uint8_t state; /* parsing state */ member in struct:__anon6
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 */
56 tBTA_SYS_HW_STATE state; member in struct:__anon538
90 /* functions used for BTA SYS HW state machine */
/system/bt/service/
H A Dlogging_helpers.cc26 const char* BtAvConnectionStateText(const btav_connection_state_t state) { argument
27 switch (state) {
33 return "Invalid AV connection state";
37 const char* BtAvAudioStateText(const btav_audio_state_t state) { argument
38 switch (state) {
43 return "Invalid audio state";
57 const char* BtStateText(const bt_state_t state) { argument
58 switch (state) {
62 return "unknown state code";
66 const char* BtDiscoveryStateText(const bt_discovery_state_t state) { argument
[all...]
/system/bt/stack/hid/
H A Dhidd_int.h39 uint8_t state; member in struct:device_ctb
H A Dhidh_int.h40 uint8_t state; /* Device state if in HOST-KNOWN mode */ member in struct:per_device_ctb
/system/bt/test/suite/adapter/
H A Dbluetooth_test.cc109 // Returns the device bond state.
144 void BluetoothTest::DiscoveryStateChangedCallback(bt_discovery_state_t state) { argument
145 discovery_state_ = state;
/system/core/libprocinfo/include/procinfo/
H A Dprocess.h49 ProcessState state; member in struct:android::procinfo::ProcessInfo

Completed in 6989 milliseconds

123456