Home
last modified time | relevance | path

Searched refs:mState (Results 1 – 15 of 15) 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/core/libutils/
DThreads.cpp345 assert(sizeof(hMutex) == sizeof(mState));
348 mState = (void*) hMutex;
356 assert(sizeof(hMutex) == sizeof(mState));
359 mState = (void*) hMutex;
367 assert(sizeof(hMutex) == sizeof(mState));
370 mState = (void*) hMutex;
375 CloseHandle((HANDLE) mState);
381 dwWaitResult = WaitForSingleObject((HANDLE) mState, INFINITE);
387 if (!ReleaseMutex((HANDLE) mState))
395 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/security/keystore/
Duser_state.cpp40 mUserId(userId), mState(STATE_UNINITIALIZED), mRetry(MAX_RETRY) {} in UserState()
71 mState = state; in setState()
72 if (mState == STATE_NO_ERROR || mState == STATE_UNINITIALIZED) { in setState()
101 if (mState != STATE_UNINITIALIZED) { in copyMasterKey()
Duser_state.h56 State getState() const { return mState; } in getState()
96 State mState; variable
/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/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.h109 std::atomic<int32_t> mState; variable
/system/core/libutils/include/utils/
DCondition.h89 void* mState;
DMutex.h154 void* mState; variable