/cts/suite/audio_quality/lib/src/audio/ |
D | AudioLocal.cpp | 25 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/ |
D | StrictFragment.java | 36 int mState; field in StrictFragment 70 if (mState == expect) { in checkState() 79 + stateToString(mState) + "; expected " + expectString.toString()); in checkState() 83 if (mState < minState) { in checkStateAtLeast() 85 + stateToString(mState) + "; expected at least " + stateToString(minState)); in checkStateAtLeast() 100 mState = ATTACHED; in onAttach() 112 mState = CREATED; in onCreate() 121 int fromState = mState; in onActivityCreated() 122 mState = ACTIVITY_CREATED; in onActivityCreated() 131 mState = STARTED; in onStart() [all …]
|
D | ReentrantFragment.java | 41 if (fromState == mFromState && mState == mToState in onStateChanged()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
D | ChangeDefaultEmulatorActivity.java | 21 int mState = STATE_IDLE; field in ChangeDefaultEmulatorActivity 30 mState = STATE_SERVICE2_SETTING_UP; in onCreate() 41 if (mState == STATE_SERVICE2_SETTING_UP) { in onServicesSetup() 42 mState = STATE_SERVICE1_SETTING_UP; in onServicesSetup() 49 mState = STATE_MAKING_SERVICE1_DEFAULT; in onServicesSetup() 52 mState = STATE_MAKING_SERVICE2_DEFAULT; in onServicesSetup() 82 if (mState == STATE_MAKING_SERVICE2_DEFAULT) { in onPaymentDefaultResult() 84 mState = STATE_MAKING_SERVICE1_DEFAULT; in onPaymentDefaultResult() 87 } else if (mState == STATE_MAKING_SERVICE1_DEFAULT) { in onPaymentDefaultResult() 89 mState = STATE_DEFAULT_CHANGED; in onPaymentDefaultResult()
|
D | PrefixPaymentEmulatorActivity.java | 19 int mState = STATE_IDLE; field in PrefixPaymentEmulatorActivity 27 mState = STATE_SERVICE1_SETTING_UP; in onCreate() 38 if (mState == STATE_SERVICE1_SETTING_UP) { in onServicesSetup() 39 mState = STATE_SERVICE2_SETTING_UP; in onServicesSetup() 45 mState = STATE_MAKING_SERVICE1_DEFAULT; in onServicesSetup()
|
D | PrefixPaymentEmulator2Activity.java | 19 int mState = STATE_IDLE; field in PrefixPaymentEmulator2Activity 27 mState = STATE_SERVICE2_SETTING_UP; in onCreate() 38 if (mState == STATE_SERVICE2_SETTING_UP) { in onServicesSetup() 39 mState = STATE_SERVICE1_SETTING_UP; in onServicesSetup() 45 mState = STATE_MAKING_SERVICE2_DEFAULT; in onServicesSetup()
|
D | DualPaymentEmulatorActivity.java | 20 int mState = STATE_IDLE; field in DualPaymentEmulatorActivity 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()
|
D | HceService.java | 24 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()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecTunneledPlayer.java | 51 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 …]
|
D | MediaCodecClearKeyPlayer.java | 75 private int mState; field in MediaCodecClearKeyPlayer 147 mState = STATE_IDLE; in MediaCodecClearKeyPlayer() 390 mState = STATE_PAUSED; in prepare() 479 if (mState == STATE_PLAYING || mState == STATE_PREPARING) { in start() 481 } else if (mState == STATE_IDLE) { in start() 482 mState = STATE_PREPARING; in start() 484 } else if (mState != STATE_PAUSED) { in start() 497 mState = STATE_PLAYING; in start() 527 if (mState == STATE_PAUSED) { in pause() 529 } else if (mState != STATE_PLAYING) { in pause() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/ |
D | ConnectivityBackgroundTestActivity.java | 87 private final AppState mState; field in ConnectivityBackgroundTestActivity 106 mState = new AppState(); in ConnectivityBackgroundTestActivity() 169 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/app/src/android/app/cts/ |
D | ConditionTest.java | 32 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() 72 Condition condition = new Condition(mConditionId, mSummary, mState); in testCopy() 78 assertEquals(mState, condition1.state); in testCopy()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | DisplayRefreshRateCtsActivity.java | 76 private int mState = STATE_START; field in DisplayRefreshRateCtsActivity.Renderer 86 switch (mState) { in onDrawFrame() 89 mState = STATE_WARMUP; in onDrawFrame() 96 mState = STATE_TEST; in onDrawFrame() 105 mState = STATE_DONE; in onDrawFrame() 112 mState = STATE_START; in onDrawFrame()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/ |
D | CameraIntentsActivity.java | 108 private int mState = STATE_OFF; field in CameraIntentsActivity 167 if (mState == STATE_STARTED) { in onReceivedIntent() 177 mState = STATE_FAILED; in onReceivedIntent() 188 mState = STATE_FAILED; in onReceivedIntent() 191 if (mState != STATE_FAILED) { in onReceivedIntent() 201 mState = STATE_SUCCESSFUL; in updateSuccessState() 204 setPassButton(mState == STATE_SUCCESSFUL); in updateSuccessState() 372 mState = STATE_SUCCESSFUL; in onResume() 376 if (mState == STATE_SUCCESSFUL) { in onResume() 381 } else if (mState != STATE_OFF) { in onResume() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | BiometricPromptBoundKeysTest.java | 44 private int mState = STATE_TEST_REQUIRE_CONFIRMATION; field in BiometricPromptBoundKeysTest 66 if (mState == STATE_TEST_REQUIRE_CONFIRMATION) { in onAuthenticationSucceeded() 67 mState = STATE_TEST_NO_CONFIRMATION; in onAuthenticationSucceeded() 71 } else if (mState == STATE_TEST_NO_CONFIRMATION) { in onAuthenticationSucceeded() 102 final boolean requireConfirmation = mState == STATE_TEST_REQUIRE_CONFIRMATION in showAuthenticationScreen()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BluetoothChatService.java | 75 private int mState; field in BluetoothChatService 93 mState = STATE_NONE; in BluetoothChatService() 107 mState = STATE_NONE; in BluetoothChatService() 119 if (D) Log.d(TAG, "setState() " + mState + " -> " + state); in setState() 120 mState = state; in setState() 129 return mState; in getState() 201 if (mState == STATE_CONNECTING) { in connect() 291 if (mState != STATE_CONNECTED) return; in write() 373 while (mState != STATE_CONNECTED) { in run() 386 switch (mState) { in run()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/ |
D | CameraOrientationActivity.java | 73 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/tests/tests/telecom/src/android/telecom/cts/ |
D | MockConnection.java | 49 private int mState = STATE_NEW; field in MockConnection 162 mState = state; in onStateChanged() 244 return mState; in getCurrentState()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
D | CameraFormatsActivity.java | 100 private int mState = STATE_OFF; field in CameraFormatsActivity 492 mState = STATE_OFF; in shutdownCamera() 497 if (mState != STATE_OFF) { in startPreview() 501 mState = STATE_OFF; in startPreview() 511 mState = STATE_PREVIEW; in startPreview() 564 mState = STATE_NO_CALLBACKS; in startPreview() 692 if (mProcessInProgress || mState != STATE_PREVIEW) return; in onPreviewFrame() 725 mState = STATE_NO_CALLBACKS; in onPreviewFrame()
|
/cts/suite/audio_quality/lib/include/audio/ |
D | AudioLocal.h | 83 volatile AudioState mState; variable
|