/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 …]
|
/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 | 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 | 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()
|
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 | 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 | ScreenOffPaymentEmulatorActivity.java | 16 private int mState = STATE_SCREEN_ON; field in ScreenOffPaymentEmulatorActivity 26 mState = STATE_SCREEN_ON; in onCreate() 84 if (component.equals(ScreenOffPaymentService.COMPONENT) && mState == STATE_SCREEN_OFF) { in onApduSequenceComplete() 94 mState = STATE_SCREEN_OFF; in onReceive() 96 mState = STATE_SCREEN_ON; in onReceive()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecTunneledPlayer.java | 53 private Integer mState; field in MediaCodecTunneledPlayer 78 mState = STATE_IDLE; in MediaCodecTunneledPlayer() 89 synchronized (mState) { in MediaCodecTunneledPlayer() 90 if (mState == STATE_PLAYING) { in MediaCodecTunneledPlayer() 233 synchronized (mState) { in prepare() 234 mState = STATE_PAUSED; in prepare() 305 synchronized (mState) { in start() 306 if (mState == STATE_PLAYING || mState == STATE_PREPARING) { in start() 308 } else if (mState == STATE_IDLE) { in start() 309 mState = STATE_PREPARING; in start() [all …]
|
D | MediaCodecClearKeyPlayer.java | 79 private int mState; field in MediaCodecClearKeyPlayer 154 mState = STATE_IDLE; in MediaCodecClearKeyPlayer() 391 mState = STATE_PAUSED; in prepare() 480 if (mState == STATE_PLAYING || mState == STATE_PREPARING) { in start() 482 } else if (mState == STATE_IDLE) { in start() 483 mState = STATE_PREPARING; in start() 485 } else if (mState != STATE_PAUSED) { in start() 498 mState = STATE_PLAYING; in start() 528 if (mState == STATE_PAUSED) { in pause() 530 } else if (mState != STATE_PLAYING) { in pause() [all …]
|
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/ |
D | GlitchAnalyzer.h | 38 return mState; in getState() 99 << mState << "\n"; in analyze() 103 bool gotLock = (mState == STATE_LOCKED) || (mGlitchCount > 0); in analyze() 122 ALOGD("st = %d, #gl = %3d,", mState, mGlitchCount); in printStatus() 167 mStateFrameCounters[mState]++; // count how many frames we are in each state in processInputFrame() 169 switch (mState) { in processInputFrame() 173 mState = STATE_IMMUNE; in processInputFrame() 183 mState = STATE_WAITING_FOR_SIGNAL; in processInputFrame() 189 mState = STATE_WAITING_FOR_LOCK; in processInputFrame() 207 mState = STATE_LOCKED; in processInputFrame() [all …]
|
D | LatencyAnalyzer.h | 393 return mState; in getState() 412 mState = STATE_MEASURE_BACKGROUND; in reset() 422 return mState == STATE_DONE; in isDone() 433 << std::setw(8) << mState << "\n"; in analyze() 435 << convertStateToText(mState) << "\n"; in analyze() 440 if (mState != STATE_GOT_DATA) { in analyze() 466 mState = STATE_DONE; in analyze() 491 return mState == STATE_GOT_DATA; in isRecordingComplete() 495 ALOGD("latency: st = %d = %s", mState, convertStateToText(mState)); in printStatus() 499 echo_state nextState = mState; in processInputFrame() [all …]
|
/cts/tests/framework/base/biometrics/src/android/server/biometrics/fingerprint/ |
D | FingerprintCallbackHelper.java | 84 private final State mState; field in FingerprintCallbackHelper 88 mState.mErrorsReceived.add(errorCode); in onAuthenticationError() 94 mState.mAcquiredReceived.add(helpCode); in onAuthenticationHelp() 100 mState.mNumAuthAccepted++; in onAuthenticationSucceeded() 106 mState.mNumAuthRejected++; in onAuthenticationFailed() 112 mState = new State(); in FingerprintCallbackHelper() 120 bundle -> bundle.putBundle(KEY, mState.toBundle())); in updateJournal()
|
/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/tests/framework/base/biometrics/src/android/server/biometrics/ |
D | BiometricCallbackHelper.java | 93 private final State mState; field in BiometricCallbackHelper 98 mState.mErrorsReceived.add(errorCode); in onAuthenticationError() 105 mState.mAcquiredReceived.add(helpCode); in onAuthenticationHelp() 112 mState.mNumAuthAccepted++; in onAuthenticationSucceeded() 119 mState.mNumAuthRejected++; in onAuthenticationFailed() 125 mState.mNegativeButtonPressed = true; in onNegativeButtonPressed() 131 mState = new BiometricCallbackHelper.State(); in BiometricCallbackHelper() 139 bundle -> bundle.putBundle(KEY, mState.toBundle())); in updateJournal()
|
D | BiometricServiceState.java | 51 @AuthSessionState public final int mState; field in BiometricServiceState 68 mState = state; in BiometricServiceState() 74 sb.append("AuthSessionState: ").append(mState).append(". "); in toString()
|
D | BiometricTestBase.java | 147 if (serviceState.mState != state) { in waitForState() 148 Log.d(TAG, "Not in state " + state + " yet, current: " + serviceState.mState); in waitForState() 161 if (serviceState.mState == state) { in waitForStateNotEqual() 162 Log.d(TAG, "Not out of state yet, current: " + serviceState.mState); in waitForStateNotEqual() 192 if (state.mState == STATE_AUTH_PENDING_CONFIRM) { in successfullyAuthenticate() 201 STATE_AUTH_IDLE, getCurrentState().mState); in successfullyAuthenticate() 208 assertEquals(state.toString(), STATE_SHOWING_DEVICE_CREDENTIAL, state.mState); in successfullyEnterCredential() 225 assertEquals(state.toString(), STATE_AUTH_IDLE, state.mState); in successfullyEnterCredential() 238 assertEquals("Not idle after requesting cancellation", state.mState, STATE_AUTH_IDLE); in cancelAuthentication() 295 assertEquals(state.toString(), STATE_SHOWING_DEVICE_CREDENTIAL, state.mState); in showCredentialOnlyBiometricPromptWithContents() [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/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/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/ |
D | CameraIntentsActivity.java | 114 private int mState = STATE_OFF; field in CameraIntentsActivity 174 if (mState == STATE_STARTED) { in onReceivedIntent() 184 mState = STATE_FAILED; in onReceivedIntent() 195 mState = STATE_FAILED; in onReceivedIntent() 198 if (mState != STATE_FAILED) { in onReceivedIntent() 209 mState = STATE_SUCCESSFUL; in updateSuccessState() 212 setPassButton(mState == STATE_SUCCESSFUL); in updateSuccessState() 389 mState = STATE_SUCCESSFUL; in onResume() 393 if (mState == STATE_SUCCESSFUL) { in onResume() 398 } else if (mState != STATE_OFF) { in onResume() [all …]
|
/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/hostsidetests/securitybulletin/securityPatch/CVE-2017-0814/ |
D | poc.cpp | 363 vorbis_dsp_state *mState = new vorbis_dsp_state; in main() local 364 vorbis_dsp_init(mState, mVi); in main() 376 vorbis_dsp_synthesis(mState, &pack, DECODE_PACKET); in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9527/ |
D | poc.cpp | 87 vorbis_dsp_state *mState = new vorbis_dsp_state; in main() local 88 vorbis_dsp_init(mState, mVi); in main() 100 vorbis_dsp_synthesis(mState, &pack, DECODE_PACKET); in main()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/ |
D | AdbUser.java | 62 @Nullable UserState mState; field in AdbUser.MutableUser 91 return mMutableUser.mState; in state() 144 stringBuilder.append(", state=" + mMutableUser.mState); in toString()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/ |
D | CameraOrientationActivity.java | 77 private int mState = STATE_OFF; field in CameraOrientationActivity 227 mState = STATE_OFF; in shutdownCamera() 232 if (mState != STATE_OFF) { in startPreview() 236 mState = STATE_OFF; in startPreview() 293 mState = STATE_PREVIEW; in startPreview() 301 if(mState == STATE_PREVIEW) { in onClick() 305 mState = STATE_CAPTURE; in onClick() 475 if(!mSizeAdjusted && mState == STATE_PREVIEW) {
|