Home
last modified time | relevance | path

Searched refs:mState (Results 1 – 16 of 16) sorted by relevance

/system/vold/model/
DVolumeBase.cpp40 mState(State::kUnmounted), in VolumeBase()
48 mState = state; in setState()
52 listener->onVolumeStateChanged(getId(), static_cast<int32_t>(mState)); in setState()
77 if ((mState != State::kUnmounted) && (mState != State::kUnmountable)) { in setMountFlags()
87 if ((mState != State::kUnmounted) && (mState != State::kUnmountable)) { in setMountUserId()
117 if (mState != State::kChecking) { in setPath()
131 if (mState != State::kChecking) { in setInternalPath()
193 if (mState == State::kMounted) { in destroy()
215 if ((mState != State::kUnmounted) && (mState != State::kUnmountable)) { in mount()
228 if (mState != State::kMounted) { in unmount()
[all …]
DVolumeBase.h87 State getState() const { return mState; } in getState()
143 State mState; variable
/system/chre/apps/chqts/src/general_test/
Dbasic_sensor_test_base.cc75 mState(State::kPreStart), in BasicSensorTestBase()
145 mState = State::kPreConfigure; in startTest()
228 mState = State::kExpectingLastDataEvent; in startTest()
234 mState = State::kExpectingInitialDataEvent; in startTest()
265 mState = State::kFinished; in finishTest()
284 if (mState == State::kExpectingInitialDataEvent) { in sanityCheckHeader()
287 } else if (mState == State::kExpectingLastDataEvent) { in sanityCheckHeader()
312 if ((mState == State::kFinished) && in sanityCheckHeader()
367 if (mState == State::kFinished) { in handleSamplingChangeEvent()
388 if ((mState == State::kPreStart) || (mState == State::kPreConfigure)) { in handleSensorDataEvent()
[all …]
Dbasic_audio_test.h41 State mState; variable
Dbasic_audio_test.cc184 mState(State::kPreStart) {} in BasicAudioTest()
206 if (mState == State::kPreStart) { in handleEvent()
Dbasic_sensor_test_base.h103 State mState; variable
/system/extras/simpleperf/app_api/java/com/android/simpleperf/
DProfileSession.java73 private State mState = State.NOT_YET_STARTED; field in ProfileSession
126 if (mState != State.NOT_YET_STARTED) { in startRecording()
127 throw new AssertionError("startRecording: session in wrong state " + mState); in startRecording()
138 mState = State.STARTED; in startRecording()
145 if (mState != State.STARTED) { in pauseRecording()
146 throw new AssertionError("pauseRecording: session in wrong state " + mState); in pauseRecording()
153 mState = State.PAUSED; in pauseRecording()
160 if (mState != State.PAUSED) { in resumeRecording()
161 throw new AssertionError("resumeRecording: session in wrong state " + mState); in resumeRecording()
164 mState = State.STARTED; in resumeRecording()
[all …]
/system/core/libutils/
DThreads.cpp360 assert(sizeof(hMutex) == sizeof(mState));
363 mState = (void*) hMutex;
371 assert(sizeof(hMutex) == sizeof(mState));
374 mState = (void*) hMutex;
382 assert(sizeof(hMutex) == sizeof(mState));
385 mState = (void*) hMutex;
390 CloseHandle((HANDLE) mState);
396 dwWaitResult = WaitForSingleObject((HANDLE) mState, INFINITE);
402 if (!ReleaseMutex((HANDLE) mState))
410 dwWaitResult = WaitForSingleObject((HANDLE) mState, 0);
[all …]
/system/hwservicemanager/
Dtest_lazy.cpp54 mState.mInjectedReportCount = count; in setReportedClientCount()
59 return mState.mInjectedTimes; in getNumTimesReported()
65 mState.mInjectedTimes++; in makeService()
66 return mState.mInjectedReportCount; in makeService()
73 mState = TestState(); in SetUp()
79 } mState; member in HidlServiceLazyTest
/system/libhwbinder/
DBinder.cpp220 : mRemote(o.get()), mRefs(nullptr), mState(0) in BpHwRefBase()
230 if (!(mState.load(std::memory_order_relaxed)&kRemoteAcquired)) { in ~BpHwRefBase()
238 mState.fetch_or(kRemoteAcquired, std::memory_order_relaxed); in onFirstRef()
/system/security/keystore/
Duser_state.h56 State getState() const { return mState; } in getState()
93 State mState; variable
Duser_state.cpp40 mUserId(userId), mState(STATE_UNINITIALIZED) {} in UserState()
71 mState = state; in setState()
98 if (mState != STATE_UNINITIALIZED) { in copyMasterKey()
/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/
DCameraAvgFragment.java267 private int mState = STATE_PREVIEW; field in CameraAvgFragment
291 switch (mState) {
306 mState = STATE_PICTURE_TAKEN;
320 mState = STATE_WAITING_NON_PRECAPTURE;
328 mState = STATE_PICTURE_TAKEN;
793 mState = STATE_WAITING_LOCK; in lockFocus()
811 mState = STATE_WAITING_PRECAPTURE; in runPrecaptureSequence()
889 mState = STATE_PREVIEW; in unlockFocus()
/system/libhwbinder/include/hwbinder/
DBinder.h112 std::atomic<int32_t> mState; variable
/system/core/libutils/include/utils/
DCondition.h89 void* mState;
DMutex.h154 void* mState; variable