Home
last modified time | relevance | path

Searched refs:mState (Results 1 – 24 of 24) 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/tests/fragment/src/android/fragment/cts/
DStrictFragment.java36 int mState; field in StrictFragment
65 if (mState == expect) { in checkState()
74 + stateToString(mState) + "; expected " + expectString.toString()); in checkState()
78 if (mState < minState) { in checkStateAtLeast()
80 + stateToString(mState) + "; expected at least " + stateToString(minState)); in checkStateAtLeast()
89 mState = ATTACHED; in onAttach()
101 mState = CREATED; in onCreate()
110 mState = ACTIVITY_CREATED; in onActivityCreated()
119 mState = STARTED; in onStart()
128 mState = RESUMED; in onResume()
[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()
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()
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()
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()
/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 …]
DMediaCodecClearKeyPlayer.java66 private int mState; field in MediaCodecClearKeyPlayer
115 mState = STATE_IDLE; in MediaCodecClearKeyPlayer()
310 mState = STATE_PAUSED; in prepare()
379 if (mState == STATE_PLAYING || mState == STATE_PREPARING) { in start()
381 } else if (mState == STATE_IDLE) { in start()
382 mState = STATE_PREPARING; in start()
384 } else if (mState != STATE_PAUSED) { in start()
397 mState = STATE_PLAYING; in start()
427 if (mState == STATE_PAUSED) { in pause()
429 } else if (mState != STATE_PLAYING) { in pause()
[all …]
/cts/tests/app/src/android/app/cts/
DConditionTest.java32 private final int mState = Condition.STATE_FALSE; field in ConditionTest
41 Condition condition = new Condition(mConditionId, mSummary, mState); in testDescribeContents()
46 Condition condition = new Condition(mConditionId, mSummary, mState); in testConstructor()
51 assertEquals(mState, condition.state); in testConstructor()
57 Condition condition = new Condition(mConditionId, mSummary, mState); in testWriteToParcel()
66 assertEquals(mState, condition1.state); in testWriteToParcel()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DCAInstallNotificationVerifierActivity.java52 private int mState; field in CAInstallNotificationVerifierActivity
86 mState = savedInstanceState.getInt(STATE, 0); in onCreate()
103 outState.putInt(STATE, mState); in onSaveInstanceState()
161 while (mState < mStatus.length && mStatus[mState] != WAIT_FOR_USER) { in run()
162 if (mStatus[mState] == PASS) { in run()
163 setItemState(mState, true); in run()
164 mState++; in run()
165 } else if (mStatus[mState] == FAIL) { in run()
166 setItemState(mState, false); in run()
173 if (mState < mStatus.length && mStatus[mState] == WAIT_FOR_USER) { in run()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DConnectivityScreenOffTestActivity.java88 private final AppState mState; field in ConnectivityScreenOffTestActivity
107 mState = new AppState(); in ConnectivityScreenOffTestActivity()
170 mState.setPowerDisconnected(); in configureFromSystemServices()
329 mState.setScreenOn(); in onReceive()
335 mState.setScreenOff(); in onReceive()
341 mState.setPowerConnected(); in onReceive()
347 mState.setPowerDisconnected(); in onReceive()
359 mState.setNetwork(network); in createNetworkCallback()
367 if (network.equals(mState.mNetwork)) { in createNetworkCallback()
368 mState.setNetwork(null); in createNetworkCallback()
[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/usb/
DUsbAccessoryTestActivity.java80 private int mState = STATE_START; field in UsbAccessoryTestActivity
199 } else if (mState == STATE_WAITING_FOR_RECONNECT && in onReceive()
214 Log.d(TAG, "onNewIntent: state=" + mState + ", intent=" + intent); in onNewIntent()
224 if (mState == STATE_START) { in openAccessory()
226 } else if (mState == STATE_WAITING_FOR_RECONNECT) { in openAccessory()
359 if (mState == STATE_RECONNECTED) { in handleMessage()
364 } else if (mState == STATE_CONNECTED) { in handleMessage()
395 Log.d(TAG, "onResume: state=" + stateToString(mState)); in onResume()
396 if (mState == STATE_START) { in onResume()
417 Log.d(TAG, "onPause: state=" + stateToString(mState)); in onPause()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
DCameraIntentsActivity.java84 private int mState = STATE_OFF; field in CameraIntentsActivity
263 if (mActivityResult && mState == STATE_STARTED) { in onPause()
278 if (mState != STATE_FAILED in onActivityResult()
283 mState = STATE_SUCCESSFUL; in onActivityResult()
300 if (executed && mState == STATE_STARTED) { in doInBackground()
308 mState = STATE_FAILED; in doInBackground()
315 mState = STATE_FAILED; in doInBackground()
318 if (mState != STATE_FAILED) { in doInBackground()
319 mState = STATE_SUCCESSFUL; in doInBackground()
359 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.java43 private int mState = STATE_NEW; field in MockConnection
155 mState = state; in onStateChanged()
167 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.java853 private MachineState mState = MachineState.WAIT; field in DeqpTestRunner.Recovery
880 mState = MachineState.WAIT; in onExecutionProgressed()
888 switch (mState) { in recoverConnectionRefused()
893 mState = MachineState.REBOOT; // the next step is to reboot in recoverConnectionRefused()
906 mState = MachineState.FAIL; // the next step is to fail in recoverConnectionRefused()
928 switch (mState) { in recoverComLinkKilled()
932 mState = MachineState.RECOVER; // the next step is to recover the device in recoverComLinkKilled()
952 mState = MachineState.REBOOT; // the next step is to reboot in recoverComLinkKilled()
969 mState = MachineState.FAIL; // the next step is to fail in recoverComLinkKilled()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/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 …]