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

<<11121314151617181920>>

  /frameworks/base/services/core/java/com/android/server/storage/
DeviceStorageMonitorService.java 71 * cached data to keep the disk from entering this low state.
97 private volatile int mForceLevel = State.LEVEL_UNKNOWN;
99 /** Map from storage volume UUID to internal state */
100 private final ArrayMap<UUID, State> mStates = new ArrayMap<>();
103 * State for a specific storage volume, including the current "level" that
106 private static class State {
141 case State.LEVEL_UNKNOWN: return "UNKNOWN";
142 case State.LEVEL_NORMAL: return "NORMAL";
143 case State.LEVEL_LOW: return "LOW";
144 case State.LEVEL_FULL: return "FULL"
163 State state = mStates.get(uuid); local
203 final State state = findOrCreateState(uuid); local
433 final State state = mStates.valueAt(i); local
    [all...]
  /external/llvm/lib/CodeGen/
AggressiveAntiDepBreaker.cpp 119 State(nullptr) {
138 delete State;
142 assert(!State);
143 State = new AggressiveAntiDepState(TRI->getNumRegs(), BB);
146 std::vector<unsigned> &KillIndices = State->GetKillIndices();
147 std::vector<unsigned> &DefIndices = State->GetDefIndices();
155 State->UnionGroups(Reg, 0);
171 State->UnionGroups(AliasReg, 0);
179 delete State;
180 State = nullptr
    [all...]
  /external/perfetto/src/ipc/
unix_socket.h 42 // EventListener callbacks, in order to avoid ending in some undefined state.
45 // state of the socket (see below).
102 enum class State {
145 // stops listening. The socket goes back to kNotInitialized state, so it can
175 bool is_connected() const { return state_ == State::kConnected; }
176 bool is_listening() const { return state_ == State::kListening; }
181 // and the socket goes into the kDisconnected state, it retains the uid of
190 UnixSocket(EventListener*, base::TaskRunner*, base::ScopedFile, State);
203 State state_ = State::kDisconnected
    [all...]
  /frameworks/ex/common/java/com/android/common/
NetworkConnectivityListener.java 34 * state information, independent of network type (mobile, Wi-Fi, etc.).
46 private State mState;
78 mState = State.NOT_CONNECTED;
80 mState = State.CONNECTED;
108 public enum State {
111 /** This state is returned if there is connectivity to any network **/
114 * This state is returned if there is no connectivity to any network. This is set
129 mState = State.UNKNOWN;
134 * This method starts listening for network connectivity state changes.
165 * the network connectivity state changes
    [all...]
  /frameworks/native/libs/ui/include/ui/
FenceTime.h 46 enum class State {
71 State state{State::EMPTY};
111 // Returns a snapshot of the FenceTime in its current state.
126 enum class State {
132 const State mState{State::INVALID};
  /packages/apps/Camera2/src/com/android/camera/captureintent/state/
StateSavingPicture.java 17 package com.android.camera.captureintent.state;
24 import com.android.camera.captureintent.stateful.State;
39 * Represents a state that the module is saving the picture to disk.
55 State previousState,
65 public Optional<State> onEnter() {
90 return Optional.of((State) StateIntentCompleted.from(
101 return Optional.of((State) StateIntentCompleted.from(
105 return Optional.of((State) StateIntentCompleted.from(this, mResourceConstructed));
  /packages/apps/Dialer/java/com/android/incallui/contactgrid/
BottomRow.java 25 import com.android.incallui.call.DialerCall.State;
75 public static Info getInfo(Context context, PrimaryCallState state, PrimaryInfo primaryInfo) {
77 boolean isTimerVisible = state.state() == State.ACTIVE;
78 boolean isForwardIconVisible = state.isForwardedNumber();
79 boolean isWorkIconVisible = state.isWorkCall();
80 boolean isHdIconVisible = state.isHdAudioCall() && !isForwardIconVisible;
81 boolean isHdAttemptingIconVisible = state.isHdAttempting();
85 if (isIncoming(state) && primaryInfo.isSpam())
    [all...]
  /system/update_engine/update_manager/
android_things_policy.cc 49 State* state,
88 state,
104 State* state,
124 state,
140 State* state,
151 State* state,
    [all...]
mock_policy.h 66 EvalStatus(EvaluationContext*, State*, std::string*,
71 State*,
77 EvalStatus(EvaluationContext*, State*, std::string*,
81 EvalStatus(EvaluationContext*, State*, std::string*,
85 EvalStatus(EvaluationContext*, State*, std::string*,
89 EvalStatus(EvaluationContext*, State*, std::string*,
  /external/swiftshader/third_party/LLVM/lib/CodeGen/
AggressiveAntiDepBreaker.cpp 125 State(NULL) {
144 delete State;
148 assert(State == NULL);
149 State = new AggressiveAntiDepState(TRI->getNumRegs(), BB);
152 std::vector<unsigned> &KillIndices = State->GetKillIndices();
153 std::vector<unsigned> &DefIndices = State->GetDefIndices();
162 State->UnionGroups(Reg, 0);
178 State->UnionGroups(Reg, 0);
194 State->UnionGroups(AliasReg, 0);
202 delete State;
    [all...]
  /development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/
MusicProvider.java 72 enum State {
76 private volatile State mCurrentState = State.NON_INITIALIZED;
94 if (mCurrentState != State.INITIALIZED) {
105 if (mCurrentState != State.INITIALIZED || !mMusicListByGenre.containsKey(genre)) {
117 if (mCurrentState != State.INITIALIZED) {
170 return mCurrentState == State.INITIALIZED;
179 if (mCurrentState == State.INITIALIZED) {
186 new AsyncTask<Void, Void, State>() {
188 protected State doInBackground(Void... params)
    [all...]
  /external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
bwe_test_logging.cc 82 const State& state = it->second.stack.top(); local
83 if (state.enabled) {
84 printf("%s\t", state.tag.c_str());
101 const State& state = it->second.stack.top(); local
102 std::string label = state.tag + '@' + alg_name;
111 if (state.enabled) {
113 state.timestamp_ms * 0.001, value);
124 const State& state = it->second.stack.top() local
137 const State& state = it->second.stack.top(); local
153 const State& state = it->second.stack.top(); local
172 const State& state = it->second.stack.top(); local
187 const State& state = it->second.stack.top(); local
240 State* state = &stack->top(); local
    [all...]
  /frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
QSTile.java 26 import com.android.systemui.plugins.qs.QSTile.State;
36 @DependsOn(target = State.class)
69 State getState();
78 void onStateChanged(State state);
80 void onToggleStateChanged(boolean state);
81 void onScanStateChanged(boolean state);
104 @ProvidesInterface(version = State.VERSION)
105 public static class State {
109 public int state = Tile.STATE_ACTIVE field in class:QSTile.State
175 State state = new State(); local
203 BooleanState state = new BooleanState(); local
241 SignalState state = new SignalState(); local
262 AirplaneBooleanState state = new AirplaneBooleanState(); local
292 SlashState state = new SlashState(); local
    [all...]
  /frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/model/
MusicProvider.java 72 enum State {
76 private volatile State mCurrentState = State.NON_INITIALIZED;
95 if (mCurrentState != State.INITIALIZED) {
105 if (mCurrentState != State.INITIALIZED || !mMusicListByGenre.containsKey(genre)) {
117 if (mCurrentState != State.INITIALIZED) {
170 return mCurrentState == State.INITIALIZED;
179 if (mCurrentState == State.INITIALIZED) {
186 new AsyncTask<Void, Void, State>() {
188 protected State doInBackground(Void... params)
    [all...]
  /external/clang/lib/Format/
FormatToken.cpp 75 unsigned CommaSeparatedList::formatAfterToken(LineState &State,
78 if (State.NextToken == nullptr || !State.NextToken->Previous)
83 State.NextToken->Previous->getPreviousNonComment();
92 Style.ColumnLimit - State.Column + State.NextToken->Previous->ColumnWidth;
106 while (State.NextToken != LBrace->MatchingParen) {
111 if (Item < Commas.size() && State.NextToken->Previous == Commas[Item]) {
112 if (!State.NextToken->isTrailingComment()) {
119 if (Column == Format->Columns || State.NextToken->MustBreakBefore)
    [all...]
  /external/google-benchmark/test/
benchmark_test.cc 54 static void BM_Factorial(benchmark::State& state) {
56 for (auto _ : state) fac_42 = Factorial(8);
60 state.SetLabel(ss.str());
65 static void BM_CalculatePiRange(benchmark::State& state) {
67 for (auto _ : state) pi = CalculatePi(state.range(0));
70 state.SetLabel(ss.str());
74 static void BM_CalculatePi(benchmark::State& state)
    [all...]
  /external/libcxx/utils/google-benchmark/test/
benchmark_test.cc 54 static void BM_Factorial(benchmark::State& state) {
56 for (auto _ : state) fac_42 = Factorial(8);
60 state.SetLabel(ss.str());
65 static void BM_CalculatePiRange(benchmark::State& state) {
67 for (auto _ : state) pi = CalculatePi(state.range(0));
70 state.SetLabel(ss.str());
74 static void BM_CalculatePi(benchmark::State& state)
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
WifiConnectionActivity.java 42 import com.android.tv.settings.connectivity.util.State;
51 State.FragmentChangeListener {
79 private State mConnectAuthFailureState;
80 private State mConnectFailedState;
81 private State mConnectRejectedByApState;
82 private State mConnectState;
83 private State mConnectTimeOutState;
84 private State mEnterPasswordState;
85 private State mKnownNetworkState;
86 private State mSuccessState
    [all...]
  /build/kati/
fileutil_bench.cc 21 static void BM_RunCommand(benchmark::State& state) {
25 while (state.KeepRunning()) {
32 static void BM_RunCommand_ComplexShell(benchmark::State& state) {
36 while (state.KeepRunning()) {
  /device/google/cuttlefish_common/common/vsoc/lib/
lock_test.cpp 33 enum State {
62 volatile State state_{BEFORE_EXECUTION};
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/
EfiVariable.h 59 // Variable State flags
72 UINT8 State;
79 UINT8 State;
  /device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/
XhcPeim.c 21 // Two arrays used to translate the XHCI port state (change)
22 // to the UEFI protocol's port state (change).
527 UINT32 State;
775 State = *(UINT32 *) Data;
783 if ((State & XHC_PORTSC_PS) >> 10 == 0) {
790 if (XHC_BIT_IS_SET (State, BIT9)) {
792 } else if (XHC_BIT_IS_SET (State, BIT10)) {
798 // Convert the XHCI port/port change state to UEFI status
802 if (XHC_BIT_IS_SET (State, mUsbHubPortStateMap[Index].HwState)) {
809 if (XHC_BIT_IS_SET (State, mUsbHubPortChangeMap[Index].HwState)) {
    [all...]
  /device/linaro/bootloader/edk2/OvmfPkg/VirtioNetDxe/
Events.c 55 if (Dev->Snm.State != EfiSimpleNetworkInitialized) {
88 if (Dev->Snm.State == EfiSimpleNetworkInitialized) {
SnpShutdown.c 23 Resets a network adapter and leaves it in a state that is safe for another
55 switch (Dev->Snm.State) {
72 Dev->Snm.State = EfiSimpleNetworkStarted;
  /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/
Dimm.c 55 OUT PEI_PLATFORM_DIMM_STATE *State
64 IN PEI_PLATFORM_DIMM_STATE *State
99 This function returns the current state of a single DIMM. Present indicates
106 @param State Pointer to a return buffer to be updated with the current state
118 OUT PEI_PLATFORM_DIMM_STATE *State
140 State->Present = 0;
142 State->Present = 1;
148 State->Disabled = 0;
149 State->Reserved = 0;
    [all...]

Completed in 1184 milliseconds

<<11121314151617181920>>