/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/hostsidetests/time/device/fake_tzps_app/src/com/android/time/cts/fake_tzps_app/tzps/ |
D | FakeTimeZoneProviderService.java | 42 private int mState = PROVIDER_STATE_DISABLED; field in FakeTimeZoneProviderService 51 mState = PROVIDER_STATE_INITIALIZING; in onStartUpdates() 56 mState = PROVIDER_STATE_DISABLED; in onStopUpdates() 61 return mState; in getState() 66 mState = FakeTimeZoneProviderAppShellHelper.PROVIDER_STATE_UNCERTAIN; in fakeReportUncertain() 71 mState = FakeTimeZoneProviderAppShellHelper.PROVIDER_STATE_UNCERTAIN; in fakeReportUncertainLegacy() 76 mState = PROVIDER_STATE_PERM_FAILED; in fakeReportPermanentFailure() 86 mState = PROVIDER_STATE_CERTAIN; in fakeReportSuggestion() 95 mState = PROVIDER_STATE_CERTAIN; in fakeReportSuggestionLegacy()
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | MediaCodecTunneledPlayer.java | 63 private int mState; field in MediaCodecTunneledPlayer 88 mState = STATE_IDLE; in MediaCodecTunneledPlayer() 100 if (mState == STATE_PLAYING) { in MediaCodecTunneledPlayer() 208 if (mState != STATE_IDLE) { in prepare() 209 throw new IllegalStateException("Expected STATE_IDLE, got " + mState); in prepare() 254 mState = STATE_PREPARED; in prepare() 328 if (mState != STATE_PREPARED) { in startCodec() 329 throw new IllegalStateException("Expected STATE_PREAPRED, got " + mState); in startCodec() 341 mState = STATE_STARTED; in startCodec() 346 if (mState != STATE_STARTED) { in play() [all …]
|
D | MediaCodecClearKeyPlayer.java | 78 private int mState; field in MediaCodecClearKeyPlayer 153 mState = STATE_IDLE; in MediaCodecClearKeyPlayer() 399 mState = STATE_PAUSED; in prepare() 489 if (mState == STATE_PLAYING || mState == STATE_PREPARING) { in start() 491 } else if (mState == STATE_IDLE) { in start() 492 mState = STATE_PREPARING; in start() 494 } else if (mState != STATE_PAUSED) { in start() 509 mState = STATE_PLAYING; in start() 542 if (mState == STATE_PAUSED) { in pause() 544 } 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 | 444 return mState; in getState() 454 mState = STATE_MEASURE_BACKGROUND; in reset() 474 return mState == STATE_DONE; in isDone() 485 << std::setw(8) << mState << "\n"; in analyze() 487 << convertStateToText(mState) << "\n"; in analyze() 492 if (mState != STATE_GOT_DATA) { in analyze() 520 mState = STATE_DONE; in analyze() 545 return mState == STATE_GOT_DATA; in isRecordingComplete() 549 ALOGD("latency: st = %d = %s", mState, convertStateToText(mState)); in printStatus() 553 echo_state nextState = mState; in processInputFrame() [all …]
|
/cts/tests/framework/base/biometrics/src/android/server/biometrics/fingerprint/util/ |
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/notification/src/android/app/notification/current/cts/ |
D | ConditionTest.java | 46 private final int mState = Condition.STATE_FALSE; field in ConditionTest 57 Condition condition = new Condition(mConditionId, mSummary, mState); in testDescribeContents() 63 Condition condition = new Condition(mConditionId, mSummary, mState); in testConstructor() 65 condition = new Condition(mConditionId, mSummary, mState, mSource); in testConstructor() 71 assertEquals(mState, condition.state); in testConstructor() 81 Condition original = new Condition(mConditionId, mSummary, mState); in testWriteToParcel() 83 original = new Condition(mConditionId, mSummary, mState, mSource); in testWriteToParcel() 93 assertEquals(mState, copy.state); in testWriteToParcel() 103 Condition original = new Condition(mConditionId, mSummary, mState); in testCopy() 105 original = new Condition(mConditionId, mSummary, mState, mSource); in testCopy() [all …]
|
/cts/tests/framework/base/biometrics/src/android/server/biometrics/util/ |
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()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | DisplayRefreshRateCtsActivity.java | 78 private int mState = STATE_START; field in DisplayRefreshRateCtsActivity.Renderer 88 switch (mState) { in onDrawFrame() 91 mState = STATE_WARMUP; in onDrawFrame() 98 mState = STATE_TEST; in onDrawFrame() 107 mState = STATE_DONE; in onDrawFrame() 114 mState = STATE_START; in onDrawFrame()
|
/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() 172 mState.setPowerDisconnected(); in configureFromSystemServices() 332 mState.setScreenOn(); in onReceive() 338 mState.setScreenOff(); in onReceive() 344 mState.setPowerConnected(); in onReceive() 350 mState.setPowerDisconnected(); in onReceive() 362 mState.setNetwork(network); in createNetworkCallback() 370 if (network.equals(mState.mNetwork)) { in createNetworkCallback() 371 mState.setNetwork(null); in createNetworkCallback() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/ |
D | CameraIntentsActivity.java | 112 private int mState = STATE_OFF; field in CameraIntentsActivity 172 if (mState == STATE_STARTED) { in onReceivedIntent() 182 mState = STATE_FAILED; in onReceivedIntent() 193 mState = STATE_FAILED; in onReceivedIntent() 196 if (mState != STATE_FAILED) { in onReceivedIntent() 207 mState = STATE_SUCCESSFUL; in updateSuccessState() 210 setPassButton(mState == STATE_SUCCESSFUL); in updateSuccessState() 387 mState = STATE_SUCCESSFUL; in onResume() 391 if (mState == STATE_SUCCESSFUL) { in onResume() 396 } else if (mState != STATE_OFF) { in onResume() [all …]
|
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/ |
D | MockSrvccCall.java | 47 private final int mState; field in MockSrvccCall 58 mState = convertCallState(call.callState); in MockSrvccCall() 89 return mState; in getState()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BluetoothChatService.java | 78 private int mState; field in BluetoothChatService 96 mState = STATE_NONE; in BluetoothChatService() 110 mState = STATE_NONE; in BluetoothChatService() 122 if (D) Log.d(TAG, "setState() " + mState + " -> " + state); in setState() 123 mState = state; in setState() 132 return mState; in getState() 204 if (mState == STATE_CONNECTING) { in connect() 302 if (mState != STATE_CONNECTED) return; in write() 384 while (mState != STATE_CONNECTED) { in run() 397 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/tests/tests/tv/src/android/media/tv/interactive/cts/ |
D | TvInteractiveAppViewTest.java | 70 private int mState = -1; field in TvInteractiveAppViewTest.MockCallback 77 mState = state; in onStateChanged() 182 && mCallback.mState in testStartInteractiveApp()
|
/cts/tests/framework/base/biometrics/src/android/server/biometrics/ |
D | BiometricTestBase.java | 200 if (serviceState.mState != state) { in waitForState() 201 Log.d(TAG, "Not in state " + state + " yet, current: " + serviceState.mState); in waitForState() 214 if (serviceState.mState == state) { in waitForStateNotEqual() 215 Log.d(TAG, "Not out of state yet, current: " + serviceState.mState); in waitForStateNotEqual() 264 if (state.mState == STATE_AUTH_PENDING_CONFIRM) { in successfullyAuthenticate() 273 STATE_AUTH_IDLE, getCurrentState().mState); in successfullyAuthenticate() 302 assertEquals(state.toString(), STATE_SHOWING_DEVICE_CREDENTIAL, state.mState); in successfullyEnterCredential() 325 assertEquals(state.toString(), STATE_AUTH_IDLE, state.mState); in successfullyEnterCredential() 338 assertEquals("Not idle after requesting cancellation", state.mState, STATE_AUTH_IDLE); in cancelAuthentication() 655 assertEquals(state.toString(), STATE_SHOWING_DEVICE_CREDENTIAL, state.mState); in waitForCredentialIdle()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/ |
D | CameraOrientationActivity.java | 81 private int mState = STATE_OFF; field in CameraOrientationActivity 232 mState = STATE_OFF; in shutdownCamera() 237 if (mState != STATE_OFF) { in startPreview() 241 mState = STATE_OFF; in startPreview() 322 mState = STATE_PREVIEW; in startPreview() 330 if(mState == STATE_PREVIEW) { in onClick() 334 mState = STATE_CAPTURE; in onClick() 507 if (!mSizeAdjusted && mState == STATE_PREVIEW) {
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | TestImsCallSessionImpl.java | 47 private int mState = ImsCallSessionImplBase.State.IDLE; field in TestImsCallSessionImpl 97 return mState; in getState() 102 return (mState == ImsCallSessionImplBase.State.ESTABLISHED) ? true : false; in isInCall() 786 if (mState != state) { in setState() 787 Log.d(LOG_TAG, "ImsCallSession :: " + mState + " >> " + state); in setState() 788 mState = state; in setState() 793 return (mState == ImsCallSessionImplBase.State.TERMINATED) ? true : false; in isInTerminated() 797 return (mState == State.RENEGOTIATING) ? true : false; in isRenegotiating()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioMultichannelMixdownActivity.java | 175 public int mState = STATUS_NOTRUN; field in AudioMultichannelMixdownActivity.TestPhase 189 mState = STATUS_NOTRUN; in clearState() 200 mState = STATUS_COMPLETE; in analyze() 232 public int mState = TESTSTATUS_NOT_RUN; field in AudioMultichannelMixdownActivity.TestManager 384 if (mTestManager.mState == TESTSTATUS_BADSTART) { in displayTestResults() 420 if (testPhase.mState != TestPhase.STATUS_COMPLETE) { in displayTestResults() 725 mTestManager.mState = TestManager.TESTSTATUS_RUNNING; in startTest() 756 if (mTestManager.mState != TestManager.TESTSTATUS_BADSTART) { in advanceTestPhase() 757 mTestManager.mState = TestManager.TESTSTATUS_CANCELED; in advanceTestPhase() 762 mTestManager.mState = TestManager.TESTSTATUS_COMPLETE; in advanceTestPhase() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/ |
D | CameraFormatsActivity.java | 100 private int mState = STATE_OFF; field in CameraFormatsActivity 488 mState = STATE_OFF; in shutdownCamera() 523 if (mState != STATE_OFF) { in startPreview() 527 mState = STATE_OFF; in startPreview() 537 mState = STATE_PREVIEW; in startPreview() 578 mState = STATE_NO_CALLBACKS; in startPreview() 731 if (mProcessInProgress || mState != STATE_PREVIEW) return; in onPreviewFrame() 764 mState = STATE_NO_CALLBACKS; in onPreviewFrame()
|