HomeSort by relevance Sort by last modified time
    Searched refs:State (Results 376 - 400 of 3236) sorted by null

<<11121314151617181920>>

  /frameworks/base/cmds/statsd/src/
atoms.proto 201 * Logs when the screen state changes.
207 // New screen state, from frameworks/base/core/proto/android/view/enums.proto.
208 optional android.view.DisplayStateEnum state = 1 [(stateFieldOption).option = EXCLUSIVE];
212 * Logs that the state of a process state, as per the activity manager, has changed.
220 // The state, from frameworks/base/core/proto/android/app/enums.proto.
221 optional android.app.ProcessStateEnum state = 2 [(stateFieldOption).option = EXCLUSIVE];
236 // What lifecycle state the process changed to.
238 enum State {
243 optional State state = 3
    [all...]
  /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
ConnectivityManagerMobileTest.java 21 import android.net.NetworkInfo.State;
58 State.CONNECTED, LONG_TIMEOUT)) {
89 ConnectivityManager.TYPE_MOBILE, State.CONNECTED, LONG_TIMEOUT));
98 // assert that WiFi state settles at disconnected since no AP should be configured
99 assertTrue("WiFi state is not DISCONNECTED after enabling", waitForWifiState(
119 // assert that WifiManager reports correct state
122 // assert that ConnectivityManager reports correct state for Wifi
124 ConnectivityManager.TYPE_WIFI, State.CONNECTED, WIFI_CONNECTION_TIMEOUT));
127 // // assert that ConnectivityManager reports correct state for mobile
129 // ConnectivityManager.TYPE_MOBILE, State.DISCONNECTED, LONG_TIMEOUT))
    [all...]
  /packages/apps/Camera2/src/com/android/camera/captureintent/state/
StateReviewingPicture.java 17 package com.android.camera.captureintent.state;
35 import com.android.camera.captureintent.stateful.State;
42 * A state that shows the taken picture for review. The Cancel, Done or
43 * Take buttons are presented. The state handles 3 events:
72 State previousState,
90 public Optional<State> processEvent(EventPause event) {
91 return Optional.of((State) StateBackgroundWithSurfaceTexture.from(
103 public Optional<State> processEvent(EventOnTextureViewLayoutChanged event) {
115 public Optional<State> processEvent(EventTapOnCancelIntentButton event) {
116 return Optional.of((State) StateIntentCompleted.from
    [all...]
StateStartingPreview.java 17 package com.android.camera.captureintent.state;
30 import com.android.camera.captureintent.stateful.State;
45 * Represents a state that the module is waiting for the preview video stream
56 State previousState,
78 State previousState,
101 public Optional<State> processEvent(EventPause event) {
102 return Optional.of((State) StateBackgroundWithSurfaceTexture.from(
114 public Optional<State> processEvent(EventOnTextureViewLayoutChanged event) {
125 public Optional<State> processEvent(EventOnStartPreviewSucceeded event) {
132 return Optional.of((State) StateReadyForCapture.from
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
BasicObjCFoundationChecks.cpp 140 ProgramStateRef State = C.getState();
141 if (State->isNull(C.getSVal(E)).isConstrainedTrue()) {
155 ProgramStateRef State = C.getState();
156 if (!State->isNull(msg.getArgSVal(Arg)).isConstrainedTrue())
430 ProgramStateRef state = C.getState(); local
444 SVal TheTypeVal = state->getSVal(CE->getArg(1), LCtx);
447 // bifurcate the state appropriately.
464 SVal TheValueExpr = state->getSVal(CE->getArg(2), LCtx);
547 ProgramStateRef state = C.getState();
573 SVal ArgVal = state->getSVal(Arg, C.getLocationContext())
    [all...]
  /bootable/recovery/edify/
expr.cpp 45 bool Evaluate(State* state, const std::unique_ptr<Expr>& expr, std::string* result) {
50 std::unique_ptr<Value> v(expr->fn(expr->name.c_str(), state, expr->argv));
55 ErrorAbort(state, kArgsParsingFailure, "expecting string, got value type %d", v->type);
63 Value* EvaluateValue(State* state, const std::unique_ptr<Expr>& expr) {
64 return expr->fn(expr->name.c_str(), state, expr->argv);
78 Value* ConcatFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) {
85 if (!Evaluate(state, argv[i], &str))
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
Filter.java 34 private static class State {
43 public synchronized boolean check(int state) {
44 return current == state;
56 private State mState = new State();
274 return mState.check(State.STATE_OPEN);
386 * Check if the Filter is in a state so that it can be scheduled.
389 * scheduling a filter that is not in a schedulable state. This will result in undefined
392 * @return true, if the filter is in a schedulable state.
395 return (mIsActive && !mState.check(State.STATE_CLOSED))
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
SupplicantStateTracker.java 34 import com.android.internal.util.State;
41 * Tracks the state changes in supplicant and provides functionality
42 * that is based on these state changes:
77 private final State mUninitializedState = new UninitializedState();
78 private final State mDefaultState = new DefaultState();
79 private final State mInactiveState = new InactiveState();
80 private final State mDisconnectState = new DisconnectedState();
81 private final State mScanState = new ScanState();
82 private final State mConnectionActiveState = new ConnectionActiveState();
83 private final State mHandshakeState = new HandshakeState()
248 SupplicantState state = stateChangeResult.state; local
340 SupplicantState state = stateChangeResult.state; local
382 SupplicantState state = stateChangeResult.state; local
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
WifiSetupActivity.java 35 import com.android.tv.settings.connectivity.util.State;
43 public class WifiSetupActivity extends FragmentActivity implements State.FragmentChangeListener {
63 private State mChooseSecurityState;
64 private State mConnectAuthFailureState;
65 private State mConnectFailedState;
66 private State mConnectRejectedByApState;
67 private State mConnectState;
68 private State mConnectTimeOutState;
69 private State mEnterPasswordState;
70 private State mEnterSsidState
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
SipPhone.java 130 if (sipAudioCall.getState() != SipSession.State.INCOMING_CALL) {
153 if ((mRingingCall.getState() == Call.State.INCOMING) ||
154 (mRingingCall.getState() == Call.State.WAITING)) {
198 throw new CallStateException("dialInternal: cannot dial in current state");
200 if (mForegroundCall.getState() == SipCall.State.ACTIVE) {
203 if (mForegroundCall.getState() != SipCall.State.IDLE) {
205 throw new CallStateException("cannot dial in current state");
221 // to prevent spamming the SipAudioCall state machine and putting it into an invalid state.
244 if ((mForegroundCall.getState() != SipCall.State.ACTIVE
    [all...]
  /external/autotest/frontend/client/src/autotest/tko/
HeaderSelect.java 15 public static class State {
24 private final State savedState;
28 public HeaderSelect(HeaderFieldCollection headerFields, State state) {
30 savedState = state;
53 protected void saveToState(State state) {
54 state.selectedFields = getSelectedItemsFromView();
57 public State getStateFromView() {
58 State state = new State() local
    [all...]
  /external/pdfium/core/fpdfapi/parser/
cpdf_cross_ref_avail.cpp 46 case State::kCrossRefCheck:
49 case State::kCrossRefV4ItemCheck:
52 case State::kCrossRefV4TrailerCheck:
55 case State::kDone:
82 current_state_ = State::kDone;
111 current_state_ = State::kCrossRefV4ItemCheck;
128 current_state_ = State::kCrossRefV4TrailerCheck;
167 current_state_ = State::kCrossRefCheck;
197 current_state_ = State::kCrossRefCheck;
  /external/v8/src/ic/
ic-state.h 21 // Clear the inline cache to initial state.
152 // The type/state lattice is defined by the following inequations:
159 enum State {
172 static AstType* StateToType(Zone* zone, State state,
175 static State NewInputState(State old_state, Handle<Object> value);
177 static const char* GetStateName(CompareICState::State state);
179 static State TargetState(Isolate* isolate, State old_state, State old_left
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
bandwidth_estimator.c 801 RateModel* State,
816 if (State->InitCounter > 0)
818 if (State->InitCounter-- <= INIT_BURST_LEN)
837 if (State->BurstCounter)
839 if (State->StillBuffered < (1.0 - 1.0/BURST_LEN) * DelayBuildUp)
850 State->StillBuffered) / (double)FrameSamples) * BottleNeck;
856 State->BurstCounter--;
872 if (State->PrevExceed) {
874 State->ExceedAgo -= /*BURST_INTERVAL*/ burstInterval / (BURST_LEN - 1);
875 if (State->ExceedAgo < 0
    [all...]
intialize.c 151 void WebRtcIsac_InitPitchAnalysis(PitchAnalysisStruct *State)
156 State->dec_buffer[k] = 0.0;
158 State->decimator_state[k] = 0.0;
160 State->hp_state[k] = 0.0;
162 State->whitened_buf[k] = 0.0;
164 State->inbuf[k] = 0.0;
166 WebRtcIsac_InitPitchFilter(&(State->PFstr_wght));
168 WebRtcIsac_InitPitchFilter(&(State->PFstr));
170 WebRtcIsac_InitWeightingFilter(&(State->Wghtstr));
  /external/zxing/qr_scanner/src/com/google/zxing/client/android/
CaptureActivityHandler.java 32 * This class handles all the messaging which comprises the state machine for capture.
42 private State state; field in class:CaptureActivityHandler
45 private enum State {
58 state = State.SUCCESS;
72 if (state == State.PREVIEW) {
80 state = State.SUCCESS
    [all...]
  /packages/apps/DocumentsUI/src/com/android/documentsui/base/
State.java 36 public class State implements android.os.Parcelable {
38 private static final String TAG = "State";
78 /** Current sort state */
140 return "State{"
155 public static final ClassLoaderCreator<State> CREATOR = new ClassLoaderCreator<State>() {
157 public State createFromParcel(Parcel in) {
162 public State createFromParcel(Parcel in, ClassLoader loader) {
163 final State state = new State()
    [all...]
  /external/autotest/client/site_tests/cellular_GobiDormancyDance/
cellular_GobiDormancyDance.py 18 class State:
43 self.state = State.ENABLING
49 self.state = State.DISABLING
55 self.state = State.CONNECTING
61 self.state = State.DISCONNECTING
93 if self.state == State.REGISTERING and self.service
    [all...]
  /external/google-benchmark/test/
reporter_output_test.cc 57 void BM_basic(benchmark::State& state) {
58 for (auto _ : state) {
76 void BM_bytes_per_second(benchmark::State& state) {
77 for (auto _ : state) {
79 state.SetBytesProcessed(1);
98 void BM_items_per_second(benchmark::State& state) {
99 for (auto _ : state) {
    [all...]
  /external/libcxx/utils/google-benchmark/test/
reporter_output_test.cc 57 void BM_basic(benchmark::State& state) {
58 for (auto _ : state) {
76 void BM_bytes_per_second(benchmark::State& state) {
77 for (auto _ : state) {
79 state.SetBytesProcessed(1);
98 void BM_items_per_second(benchmark::State& state) {
99 for (auto _ : state) {
    [all...]
  /external/v8/src/heap/
memory-reducer.cc 101 // If we are transitioning to the WAIT state, start the timer.
118 // If we are transitioning to the WAIT state, start the timer.
124 bool MemoryReducer::WatchdogGC(const State& state, const Event& event) {
125 return state.last_gc_time_ms != 0 &&
126 event.time_ms > state.last_gc_time_ms + kWatchdogDelayMs;
131 MemoryReducer::State MemoryReducer::Step(const State& state,
134 return State(kDone, 0, 0, state.last_gc_time_ms, 0)
    [all...]
  /frameworks/base/services/core/java/com/android/server/connectivity/
Nat464Xlat.java 57 private static final NetworkInfo.State[] NETWORK_STATES = {
58 NetworkInfo.State.CONNECTED,
59 NetworkInfo.State.SUSPENDED,
67 private enum State {
77 private State mState = State.IDLE;
104 return mState != State.IDLE;
111 return mState == State.STARTING;
118 return mState == State.RUNNING;
125 return mState == State.STOPPING
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
AddWifiNetworkActivity.java 38 import com.android.tv.settings.connectivity.util.State;
46 implements State.FragmentChangeListener {
48 private State mChooseSecurityState;
49 private State mConnectAuthFailureState;
50 private State mConnectFailedState;
51 private State mConnectRejectedByApState;
52 private State mConnectState;
53 private State mConnectTimeOutState;
54 private State mEnterPasswordState;
55 private State mEnterSsidState
    [all...]
  /device/generic/goldfish/wifi/ipv6proxy/
socket.cpp 32 Socket::Socket() : mState(State::New), mSocket(-1) {
37 other.mState = State::Moved;
45 mState = State::Destructed;
55 other.mState = State::Moved;
61 if (mState != State::New) {
62 return Result::error("open called on socket in invalid state");
68 mState = State::Open;
73 if (mState != State::Open) {
74 return Result::error("attempting to set option in invalid state");
83 if (mState != State::Open)
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciPei/
EhcPeim.c 21 // Two arrays used to translate the EHCI port state (change)
22 // to the UEFI protocol's port state (change).
442 @retval EFI_SUCCESS The EHCI has come out of halt state.
710 UINT32 State;
725 State = EhcReadOpReg (Ehc, Offset);
726 State &= ~PORTSC_CHANGE_MASK;
733 State &= ~PORTSC_ENABLED;
734 EhcWriteOpReg (Ehc, Offset, State);
745 State &= ~PORSTSC_RESUME;
746 EhcWriteOpReg (Ehc, Offset, State);
    [all...]

Completed in 6145 milliseconds

<<11121314151617181920>>