Home
last modified time | relevance | path

Searched refs:mState (Results 1 – 14 of 14) 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/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/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DChangeDefaultEmulatorActivity.java26 int mState = STATE_IDLE; field in ChangeDefaultEmulatorActivity
35 mState = STATE_SERVICE2_SETTING_UP; in onCreate()
46 if (mState == STATE_SERVICE2_SETTING_UP) { in onServicesSetup()
47 mState = STATE_SERVICE1_SETTING_UP; in onServicesSetup()
54 mState = STATE_MAKING_SERVICE2_DEFAULT; in onServicesSetup()
61 mState = STATE_MAKING_SERVICE1_DEFAULT; in onServicesSetup()
98 if (mState == STATE_MAKING_SERVICE1_DEFAULT) { in onClick()
103 } else if (mState == STATE_MAKING_SERVICE2_DEFAULT) { in onClick()
114 if (mState == STATE_MAKING_SERVICE1_DEFAULT) { in onActivityResult()
126 mState = STATE_DEFAULT_CHANGED; in onActivityResult()
[all …]
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()
DDualPaymentEmulatorActivity.java24 int mState = STATE_IDLE; field in DualPaymentEmulatorActivity
32 mState = STATE_SERVICE2_SETTING_UP; in onCreate()
43 if (mState == STATE_SERVICE2_SETTING_UP) { in onServicesSetup()
44 mState = STATE_SERVICE1_SETTING_UP; in onServicesSetup()
51 mState = STATE_MAKING_SERVICE2_DEFAULT; in onServicesSetup()
/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.java100 private int mState = STATE_START; field in DisplayRefreshRateTest.Renderer
110 switch (mState) { in onDrawFrame()
113 mState = STATE_WARMUP; in onDrawFrame()
120 mState = STATE_TEST; in onDrawFrame()
129 mState = STATE_DONE; in onDrawFrame()
136 mState = STATE_START; in onDrawFrame()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
DCameraIntentsActivity.java95 private int mState = STATE_OFF; field in CameraIntentsActivity
109 if (mState == STATE_STARTED) { in onReceivedIntent()
119 mState = STATE_FAILED; in onReceivedIntent()
130 mState = STATE_FAILED; in onReceivedIntent()
133 if (mState != STATE_FAILED) { in onReceivedIntent()
134 mState = STATE_SUCCESSFUL; in onReceivedIntent()
304 if (mActivityResult && mState == STATE_STARTED) { in onPause()
319 if (mState != STATE_FAILED in onActivityResult()
325 mState = STATE_SUCCESSFUL; in onActivityResult()
345 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/apps/CtsVerifier/src/com/android/cts/verifier/nls/
DNotificationListenerVerifierActivity.java75 private int mState; field in NotificationListenerVerifierActivity
118 mState = savedInstanceState.getInt(STATE, 0); in onCreate()
140 outState.putInt(STATE, mState); in onSaveInstanceState()
201 while (mState < mStatus.length && mStatus[mState] != WAIT_FOR_USER) { in run()
202 if (mStatus[mState] == PASS) { in run()
203 setItemState(mState, true); in run()
204 mState++; in run()
205 } else if (mStatus[mState] == FAIL) { in run()
206 setItemState(mState, false); in run()
213 if (mState < mStatus.length && mStatus[mState] == WAIT_FOR_USER) { in run()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
DCameraOrientationActivity.java72 private int mState = STATE_OFF; field in CameraOrientationActivity
215 mState = STATE_OFF; in shutdownCamera()
220 if (mState != STATE_OFF) { in startPreview()
224 mState = STATE_OFF; in startPreview()
280 mState = STATE_PREVIEW; in startPreview()
288 if(mState == STATE_PREVIEW) { in onClick()
292 mState = STATE_CAPTURE; in onClick()
454 if(!mSizeAdjusted && mState == STATE_PREVIEW) {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java96 private int mState = STATE_OFF; field in CameraFormatsActivity
380 mState = STATE_OFF; in shutdownCamera()
385 if (mState != STATE_OFF) { in startPreview()
389 mState = STATE_OFF; in startPreview()
399 mState = STATE_PREVIEW; in startPreview()
446 mState = STATE_NO_CALLBACKS; in startPreview()
531 if (mProcessInProgress || mState != STATE_PREVIEW) return; in onPreviewFrame()
564 mState = STATE_NO_CALLBACKS; in onPreviewFrame()
/cts/suite/audio_quality/lib/include/audio/
DAudioLocal.h83 volatile AudioState mState; variable
/cts/tools/dex-tools/dex/
Dclasses.out.dex17369 private int mState
35490 private android.graphics.drawable.ColorDrawable$ColorState mState
36574 private android.graphics.drawable.RotateDrawable$RotateState mState
36952 private android.graphics.drawable.TransitionDrawable$TransitionState mState
39849 private int mState
43897 private android.net.NetworkConnectivityListener$State mState
44078 private android.net.NetworkInfo$State mState
74208 private int mState
104168 private int[] mState
123937 protected com.android.internal.telephony.gsm.CommandsInterface$RadioState mState
[all …]