/system/vold/model/ |
D | VolumeBase.cpp | 40 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 …]
|
D | VolumeBase.h | 87 State getState() const { return mState; } in getState() 143 State mState; variable
|
/system/chre/apps/chqts/src/general_test/ |
D | basic_sensor_test_base.cc | 75 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 …]
|
D | basic_audio_test.h | 41 State mState; variable
|
D | basic_audio_test.cc | 184 mState(State::kPreStart) {} in BasicAudioTest() 206 if (mState == State::kPreStart) { in handleEvent()
|
D | basic_sensor_test_base.h | 103 State mState; variable
|
/system/extras/simpleperf/app_api/java/com/android/simpleperf/ |
D | ProfileSession.java | 73 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/ |
D | Threads.cpp | 360 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/ |
D | test_lazy.cpp | 54 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/ |
D | Binder.cpp | 220 : 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/ |
D | user_state.h | 56 State getState() const { return mState; } in getState() 93 State mState; variable
|
D | user_state.cpp | 40 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/ |
D | CameraAvgFragment.java | 267 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/ |
D | Binder.h | 112 std::atomic<int32_t> mState; variable
|
/system/core/libutils/include/utils/ |
D | Condition.h | 89 void* mState;
|
D | Mutex.h | 154 void* mState; variable
|