Home
last modified time | relevance | path

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

/cts/suite/audio_quality/lib/src/audio/
DAudioLocal.cpp25 if (mState == EStNone) { in prepare()
31 mState = EStCreated; in prepare()
32 } else if (mState == EStRunning) { in prepare()
44 if (mState != EStInitialized) { in startPlaybackOrRecord()
70 if (mState == EStRunning) { in stopPlaybackOrRecord()
74 if (mState != EStNone) { // thread alive in stopPlaybackOrRecord()
79 mState = EStNone; in stopPlaybackOrRecord()
100 : mState(EStNone), in AudioLocal()
114 if (mState == EStRunning) { in threadLoop()
122 mState = EStInitialized; in threadLoop()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DChangeDefaultEmulatorActivity.java22 int mState = STATE_IDLE; field in ChangeDefaultEmulatorActivity
31 mState = STATE_SERVICE2_SETTING_UP; in onCreate()
42 if (mState == STATE_SERVICE2_SETTING_UP) { in onServicesSetup()
43 mState = STATE_SERVICE1_SETTING_UP; in onServicesSetup()
50 mState = STATE_MAKING_SERVICE1_DEFAULT; in onServicesSetup()
53 mState = STATE_MAKING_SERVICE2_DEFAULT; in onServicesSetup()
86 if (mState == STATE_MAKING_SERVICE2_DEFAULT) { in onPaymentDefaultResult()
88 mState = STATE_MAKING_SERVICE1_DEFAULT; in onPaymentDefaultResult()
91 } else if (mState == STATE_MAKING_SERVICE1_DEFAULT) { in onPaymentDefaultResult()
93 mState = STATE_DEFAULT_CHANGED; in onPaymentDefaultResult()
DPrefixPaymentEmulatorActivity.java20 int mState = STATE_IDLE; field in PrefixPaymentEmulatorActivity
28 mState = STATE_SERVICE1_SETTING_UP; in onCreate()
39 if (mState == STATE_SERVICE1_SETTING_UP) { in onServicesSetup()
40 mState = STATE_SERVICE2_SETTING_UP; in onServicesSetup()
46 mState = STATE_MAKING_SERVICE1_DEFAULT; in onServicesSetup()
DHceService.java24 int mState = STATE_IDLE; field in HceService
35 mState = STATE_IDLE; in onDeactivated()
55 if (mState == STATE_FAILED) { in processCommandApdu()
60 if (mState == STATE_IDLE) { in processCommandApdu()
61 mState = STATE_IN_PROGRESS; in processCommandApdu()
DPrefixPaymentEmulator2Activity.java20 int mState = STATE_IDLE; field in PrefixPaymentEmulator2Activity
28 mState = STATE_SERVICE2_SETTING_UP; in onCreate()
39 if (mState == STATE_SERVICE2_SETTING_UP) { in onServicesSetup()
40 mState = STATE_SERVICE1_SETTING_UP; in onServicesSetup()
46 mState = STATE_MAKING_SERVICE2_DEFAULT; in onServicesSetup()
DDualPaymentEmulatorActivity.java21 int mState = STATE_IDLE; field in DualPaymentEmulatorActivity
29 mState = STATE_SERVICE2_SETTING_UP; in onCreate()
40 if (mState == STATE_SERVICE2_SETTING_UP) { in onServicesSetup()
41 mState = STATE_SERVICE1_SETTING_UP; in onServicesSetup()
47 mState = STATE_MAKING_SERVICE2_DEFAULT; in onServicesSetup()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/
DLocationModeTestActivity.java52 protected int mState; field in LocationModeTestActivity
64 mState = savedInstanceState.getInt(STATE, 0); in onCreate()
86 outState.putInt(STATE, mState); in onSaveInstanceState()
162 while (mState < mStatus.length && mStatus[mState] != WAIT_FOR_USER) { in run()
163 if (mStatus[mState] == PASS) { in run()
164 setItemState(mState, true); in run()
165 mState++; in run()
166 } else if (mStatus[mState] == FAIL) { in run()
167 setItemState(mState, false); in run()
174 if (mState < mStatus.length && mStatus[mState] == WAIT_FOR_USER) { in run()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecTunneledPlayer.java51 private Integer mState; field in MediaCodecTunneledPlayer
74 mState = STATE_IDLE; in MediaCodecTunneledPlayer()
85 synchronized (mState) { in MediaCodecTunneledPlayer()
86 if (mState == STATE_PLAYING) { in MediaCodecTunneledPlayer()
229 synchronized (mState) { in prepare()
230 mState = STATE_PAUSED; in prepare()
301 synchronized (mState) { in start()
302 if (mState == STATE_PLAYING || mState == STATE_PREPARING) { in start()
304 } else if (mState == STATE_IDLE) { in start()
305 mState = STATE_PREPARING; in start()
[all …]
DMediaCodecCencPlayer.java62 private int mState; field in MediaCodecCencPlayer
108 mState = STATE_IDLE; in MediaCodecCencPlayer()
280 mState = STATE_PAUSED; in prepare()
349 if (mState == STATE_PLAYING || mState == STATE_PREPARING) { in start()
351 } else if (mState == STATE_IDLE) { in start()
352 mState = STATE_PREPARING; in start()
354 } else if (mState != STATE_PAUSED) { in start()
367 mState = STATE_PLAYING; in start()
397 if (mState == STATE_PAUSED) { in pause()
399 } else if (mState != STATE_PLAYING) { in pause()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DCAInstallNotificationVerifierActivity.java51 private int mState; field in CAInstallNotificationVerifierActivity
84 mState = savedInstanceState.getInt(STATE, 0); in onCreate()
101 outState.putInt(STATE, mState); in onSaveInstanceState()
158 while (mState < mStatus.length && mStatus[mState] != WAIT_FOR_USER) { in run()
159 if (mStatus[mState] == PASS) { in run()
160 setItemState(mState, true); in run()
161 mState++; in run()
162 } else if (mStatus[mState] == FAIL) { in run()
163 setItemState(mState, false); in run()
170 if (mState < mStatus.length && mStatus[mState] == WAIT_FOR_USER) { in run()
[all …]
/cts/tests/tests/view/src/android/view/cts/
DDisplayRefreshRateTest.java99 private int mState = STATE_START; field in DisplayRefreshRateTest.Renderer
109 switch (mState) { in onDrawFrame()
112 mState = STATE_WARMUP; in onDrawFrame()
119 mState = STATE_TEST; in onDrawFrame()
128 mState = STATE_DONE; in onDrawFrame()
135 mState = STATE_START; in onDrawFrame()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
DCameraIntentsActivity.java84 private int mState = STATE_OFF; field in CameraIntentsActivity
98 if (mState == STATE_STARTED) { in onReceivedIntent()
108 mState = STATE_FAILED; in onReceivedIntent()
119 mState = STATE_FAILED; in onReceivedIntent()
122 if (mState != STATE_FAILED) { in onReceivedIntent()
123 mState = STATE_SUCCESSFUL; in onReceivedIntent()
293 if (mActivityResult && mState == STATE_STARTED) { in onPause()
308 if (mState != STATE_FAILED in onActivityResult()
314 mState = STATE_SUCCESSFUL; in onActivityResult()
334 mState = STATE_STARTED; in onClick()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBluetoothChatService.java75 private int mState; field in BluetoothChatService
90 mState = STATE_NONE; in BluetoothChatService()
100 if (D) Log.d(TAG, "setState() " + mState + " -> " + state); in setState()
101 mState = state; in setState()
110 return mState; in getState()
147 if (mState == STATE_CONNECTING) { in connect()
237 if (mState != STATE_CONNECTED) return; in write()
303 while (mState != STATE_CONNECTED) { in run()
316 switch (mState) { in run()
/cts/tests/tests/telecom/src/android/telecom/cts/
DMockConnection.java38 private int mState = STATE_NEW; field in MockConnection
140 mState = state; in onStateChanged()
152 return mState; in getCurrentState()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java73 private int mState = STATE_OFF; field in CameraOrientationActivity
216 mState = STATE_OFF; in shutdownCamera()
221 if (mState != STATE_OFF) { in startPreview()
225 mState = STATE_OFF; in startPreview()
281 mState = STATE_PREVIEW; in startPreview()
289 if(mState == STATE_PREVIEW) { in onClick()
293 mState = STATE_CAPTURE; in onClick()
463 if(!mSizeAdjusted && mState == STATE_PREVIEW) {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java98 private int mState = STATE_OFF; field in CameraFormatsActivity
431 mState = STATE_OFF; in shutdownCamera()
436 if (mState != STATE_OFF) { in startPreview()
440 mState = STATE_OFF; in startPreview()
450 mState = STATE_PREVIEW; in startPreview()
503 mState = STATE_NO_CALLBACKS; in startPreview()
624 if (mProcessInProgress || mState != STATE_PREVIEW) return; in onPreviewFrame()
657 mState = STATE_NO_CALLBACKS; in onPreviewFrame()
/cts/suite/audio_quality/lib/include/audio/
DAudioLocal.h83 volatile AudioState mState; variable
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DDeqpTestRunner.java793 private MachineState mState = MachineState.WAIT; field in DeqpTestRunner.Recovery
820 mState = MachineState.WAIT; in onExecutionProgressed()
828 switch (mState) { in recoverConnectionRefused()
833 mState = MachineState.REBOOT; // the next step is to reboot in recoverConnectionRefused()
846 mState = MachineState.FAIL; // the next step is to fail in recoverConnectionRefused()
868 switch (mState) { in recoverComLinkKilled()
872 mState = MachineState.RECOVER; // the next step is to recover the device in recoverComLinkKilled()
892 mState = MachineState.REBOOT; // the next step is to reboot in recoverComLinkKilled()
909 mState = MachineState.FAIL; // the next step is to fail in recoverComLinkKilled()
/cts/apps/CtsVerifier/libs/
Dopencv-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...