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()
204 if (mState == State::kMounted) { in destroy()
226 if ((mState != State::kUnmounted) && (mState != State::kUnmountable)) { in mount()
244 if (mState != State::kMounted) { in unmount()
[all …]
DVolumeBase.h88 State getState() const { return mState; } in getState()
150 State mState; variable
/system/chre/apps/test/chqts/src/general_test/
Dbasic_sensor_test_base.cc85 mState(State::kPreStart), in BasicSensorTestBase()
100 mState = State::kPreStart; in sendStartTestMessage()
181 mState = State::kPreConfigure; in startTest()
283 mState = State::kExpectingLastDataEvent; in startTest()
289 mState = State::kExpectingInitialDataEvent; in startTest()
335 mState = State::kFinished; in finishTest()
359 if (mState == State::kExpectingInitialDataEvent) { in verifyEventHeader()
362 } else if (mState == State::kExpectingLastDataEvent) { in verifyEventHeader()
388 if ((mState == State::kFinished) && in verifyEventHeader()
457 if (mState != State::kFinished) { in handleSamplingChangeEvent()
[all …]
Dbasic_audio_test.cc298 : Test(CHRE_API_VERSION_1_2), mInMethod(false), mState(State::kPreStart) {} in BasicAudioTest()
312 mState = State::kExpectingAudioData; in setUp()
326 if (mState == State::kPreStart) { in handleEvent()
Dbasic_audio_test.h41 State mState; variable
Dbasic_sensor_test_base.h100 State mState; variable
/system/extras/simpleperf/app_api/java/com/android/simpleperf/
DProfileSession.java74 private State mState = State.NOT_YET_STARTED; field in ProfileSession
134 if (mState != State.NOT_YET_STARTED) { in startRecording()
135 throw new AssertionError("startRecording: session in wrong state " + mState); in startRecording()
146 mState = State.STARTED; in startRecording()
153 if (mState != State.STARTED) { in pauseRecording()
154 throw new AssertionError("pauseRecording: session in wrong state " + mState); in pauseRecording()
161 mState = State.PAUSED; in pauseRecording()
168 if (mState != State.PAUSED) { in resumeRecording()
169 throw new AssertionError("resumeRecording: session in wrong state " + mState); in resumeRecording()
172 mState = State.STARTED; in resumeRecording()
[all …]
/system/core/libutils/
DThreads.cpp359 assert(sizeof(hMutex) == sizeof(mState));
362 mState = (void*) hMutex;
370 assert(sizeof(hMutex) == sizeof(mState));
373 mState = (void*) hMutex;
381 assert(sizeof(hMutex) == sizeof(mState));
384 mState = (void*) hMutex;
389 CloseHandle((HANDLE) mState);
395 dwWaitResult = WaitForSingleObject((HANDLE) mState, INFINITE);
401 if (!ReleaseMutex((HANDLE) mState))
409 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.cpp239 : mRemote(o.get()), mRefs(nullptr), mState(0) in BpHwRefBase()
249 if (!(mState.load(std::memory_order_relaxed)&kRemoteAcquired)) { in ~BpHwRefBase()
257 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.h116 std::atomic<int32_t> mState; variable
/system/core/libutils/include/utils/
DCondition.h89 void* mState;
DMutex.h154 void* mState; variable