/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
H A D | GSMPhoneTest.java.broken | 182 mGSMPhone.getForegroundCall().getState()); 275 assertEquals(Call.State.DISCONNECTED, cn.getState()); 299 assertEquals(Call.State.DISCONNECTED, cn.getState()); 352 mGSMPhone.getForegroundCall().getState()); 388 mGSMPhone.getForegroundCall().getState()); 639 } while (mGSMPhone.getForegroundCall().getState() 1156 mGSMPhone.getForegroundCall().getState()); 1518 } while (cn.getState() == Call.State.DIALING); 1556 } while (cn.getState() == Call.State.DIALING); 1572 mGSMPhone.getForegroundCall().getState()); [all …]
|
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | GsmCdmaCallTrackerTest.java | 102 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testMOCallDial() 114 assertEquals(PhoneConstants.State.OFFHOOK, mCTUT.getState()); in testMOCallDial() 145 assertEquals(PhoneConstants.State.OFFHOOK, mCTUT.getState()); in testMOCallHangup() 157 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testMOCallHangup() 167 assertEquals(PhoneConstants.State.OFFHOOK, mCTUT.getState()); in testMOCallDialPickUpHangup() 182 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testMOCallDialPickUpHangup() 205 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testMOCallPendingHangUp() 245 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in setupRingingCall() 253 assertEquals(PhoneConstants.State.RINGING, mCTUT.getState()); in setupRingingCall() 277 assertEquals(PhoneConstants.State.OFFHOOK, mCTUT.getState()); in testMTCallAccept() [all …]
|
H A D | GsmCdmaCallTest.java | 53 assertEquals(Call.State.IDLE, mCallUnderTest.getState()); in testAttachDetach() 61 assertEquals(Call.State.ACTIVE, mCallUnderTest.getState()); in testAttachDetach() 68 assertEquals(Call.State.IDLE, mCallUnderTest.getState()); in testAttachDetach() 75 assertEquals(Call.State.IDLE, mCallUnderTest.getState()); in testMultiparty() 114 assertEquals(Call.State.ACTIVE, mCallUnderTest.getState()); in testConnectionDisconnected() 117 doReturn(Call.State.DISCONNECTED).when(mConnection1).getState(); in testConnectionDisconnected() 119 assertEquals(Call.State.ACTIVE, mCallUnderTest.getState()); in testConnectionDisconnected() 121 doReturn(Call.State.DISCONNECTED).when(mConnection2).getState(); in testConnectionDisconnected() 123 assertEquals(Call.State.DISCONNECTED, mCallUnderTest.getState()); in testConnectionDisconnected() 125 assertEquals(Call.State.DISCONNECTED, mCallUnderTest.getState()); in testConnectionDisconnected()
|
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
H A D | ImsPhoneCallTest.java | 78 assertEquals(Call.State.IDLE, mImsCallUT.getState()); in testAttachDetach() 85 assertEquals(Call.State.ACTIVE, mImsCallUT.getState()); in testAttachDetach() 92 assertEquals(Call.State.IDLE, mImsCallUT.getState()); in testAttachDetach() 103 assertEquals(Call.State.ACTIVE, mImsCallUT.getState()); in testConnectionDisconnected() 107 assertEquals(Call.State.ACTIVE, mImsCallUT.getState()); in testConnectionDisconnected() 137 assertEquals(Call.State.ALERTING, mImsCallUT.getState()); in testUpdateRingBackTone() 140 assertEquals(Call.State.ACTIVE, mImsCallUT.getState()); in testUpdateRingBackTone() 155 assertEquals(Call.State.ALERTING, mImsCallUT.getState()); in testUpdateRingBackToneBetweenStateChange() 165 assertEquals(Call.State.ACTIVE, mImsCallUT.getState()); in testUpdateRingBackToneBetweenStateChange() 194 assertEquals(Call.State.ACTIVE, mImsCallUT.getState()); in testUpdateRingBackToneBetweenStateChangeTwo() [all …]
|
H A D | ImsPhoneCallTrackerTest.java | 360 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testImsMTCall() 476 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testImsMTCallReject() 491 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testImsMTCallAcceptHangUp() 572 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testImsMTActiveHoldServiceDisconnect() 662 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testImsMoCallCrash() 673 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in startOutgoingCall() 724 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testImsMOCallHangup() 780 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testDialImsServiceUnavailable() 1247 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testHangupHandoverCall() 1285 assertEquals(PhoneConstants.State.IDLE, mCTUT.getState()); in testTrackerStateOnHandover() [all …]
|
H A D | ImsPhoneTest.java | 140 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in setUp() 141 doReturn(Call.State.IDLE).when(mBackgroundCall).getState(); in setUp() 142 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in setUp() 184 doReturn(Call.State.INCOMING).when(mRingingCall).getState(); in testHandleInCallMmiCommandCallDeflection() 194 doReturn(Call.State.IDLE).when(mRingingCall).getState(); in testHandleInCallMmiCommandCallDeflection() 221 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallWaiting() 222 doReturn(Call.State.INCOMING).when(mRingingCall).getState(); in testHandleInCallMmiCommandCallWaiting() 250 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold() 260 doReturn(Call.State.IDLE).when(mForegroundCall).getState(); in testHandleInCallMmiCommandCallHold() 261 doReturn(Call.State.IDLE).when(mBackgroundCall).getState(); in testHandleInCallMmiCommandCallHold() [all …]
|
/aosp12/frameworks/base/core/java/com/android/internal/widget/ |
H A D | MessagingMessage.java | 60 getState().setMessage(message); in setMessage() 65 return getState().getMessage(); in getMessage() 104 getState().setGroup(group); in setMessagingGroup() 108 getState().setIsHistoric(isHistoric); in setIsHistoric() 112 return getState().getGroup(); in getGroup() 116 getState().setIsHidingAnimated(isHiding); in setIsHidingAnimated() 121 return getState().isHidingAnimated(); in isHidingAnimated() 135 getState().recycle(); in recycle() 144 MessagingMessageState getState(); in getState() method
|
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
H A D | VoiceCallSessionStatsTest.java | 217 doReturn(Call.State.DIALING).when(mImsCall0).getState(); in singleImsCall_moRejected() 224 doReturn(Call.State.ALERTING).when(mImsCall0).getState(); in singleImsCall_moRejected() 263 doReturn(Call.State.DIALING).when(mImsCall0).getState(); in singleImsCall_moFailed() 308 doReturn(Call.State.DIALING).when(mImsCall0).getState(); in singleImsCall_moAccepted() 319 doReturn(Call.State.ACTIVE).when(mImsCall0).getState(); in singleImsCall_moAccepted() 419 doReturn(Call.State.ACTIVE).when(mImsCall0).getState(); in singleImsCall_mtAccepted() 682 doReturn(Call.State.ACTIVE).when(mImsCall0).getState(); in singleImsCall_codecSwitch() 745 doReturn(Call.State.ACTIVE).when(mImsCall0).getState(); in singleImsCall_ratSwitch() 845 doReturn(Call.State.ACTIVE).when(mImsCall0).getState(); in singleImsCall_rttStartedMidCall() 1397 doReturn(Call.State.ACTIVE).when(mCsCall0).getState(); in singleCsCall_moAccepted() [all …]
|
/aosp12/frameworks/base/core/java/android/print/ |
H A D | PrintJob.java | 84 final int state = getInfo().getState(); in cancel() 115 return getInfo().getState() == PrintJobInfo.STATE_QUEUED; in isQueued() 128 return getInfo().getState() == PrintJobInfo.STATE_STARTED; in isStarted() 141 return getInfo().getState() == PrintJobInfo.STATE_BLOCKED; in isBlocked() 152 return getInfo().getState() == PrintJobInfo.STATE_COMPLETED; in isCompleted() 166 return getInfo().getState() == PrintJobInfo.STATE_FAILED; in isFailed() 177 return getInfo().getState() == PrintJobInfo.STATE_CANCELED; in isCancelled() 181 final int state = mCachedInfo.getState(); in isInImmutableState()
|
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/ |
H A D | FlattenerTest.cpp | 131 EXPECT_CALL(testLayer->outputLayer, getState) in SetUp() 178 EXPECT_EQ(nullptr, layer->getOutputLayer()->getState().overrideInfo.buffer); in expectAllLayersFlattened() 187 const auto buffer = layers[0]->getOutputLayer()->getState().overrideInfo.buffer; in expectAllLayersFlattened() 190 EXPECT_EQ(buffer, layer->getOutputLayer()->getState().overrideInfo.buffer); in expectAllLayersFlattened() 276 layerState1->getOutputLayer()->getState().overrideInfo.displaySpace; in TEST_F() 297 layerState1->getOutputLayer()->getState().overrideInfo.damageRegion; in TEST_F() 323 layerState1->getOutputLayer()->getState().overrideInfo.visibleRegion; in TEST_F() 656 layerState1->getOutputLayer()->getState().overrideInfo.peekThroughLayer; in TEST_F() 658 layerState2->getOutputLayer()->getState().overrideInfo.peekThroughLayer; in TEST_F() 696 EXPECT_EQ(nullptr, layer->getOutputLayer()->getState().overrideInfo.buffer); in TEST_F() [all …]
|
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
H A D | OutputLayer.cpp | 106 const auto& outputState = getOutput().getState(); in calculateOutputSourceCrop() 184 const auto& outputState = getOutput().getState(); in calculateOutputDisplayFrame() 330 const auto& state = getState(); in writeStateToHWC() 377 const auto& outputDependentState = getState(); in writeOutputDependentGeometryStateToHWC() 460 const auto& outputDependentState = getState(); in writeOutputDependentPerFrameStateToHWC() 498 ? getState().overrideInfo.damageRegion in writeOutputIndependentPerFrameStateToHWC() 643 const auto& state = getState(); in getHwcLayer() 648 const auto& state = getState(); in requiresClientComposition() 653 const auto& state = getState(); in isHardwareCursor() 685 return getState().forceClientComposition || in isClientCompositionForced() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
H A D | CastTileTest.java | 191 assertEquals(Tile.STATE_ACTIVE, mCastTile.getState().state); in testStateActive_wifiEnabledAndCasting() 229 assertEquals(Tile.STATE_ACTIVE, mCastTile.getState().state); in testStateActive_hotspotEnabledAndConnectedAndCasting() 284 assertEquals(Tile.STATE_ACTIVE, mCastTile.getState().state); in testUpdateState_projectionOnly() 308 assertEquals(Tile.STATE_ACTIVE, mCastTile.getState().state); in testUpdateState_castingAndProjection() 332 assertEquals(Tile.STATE_ACTIVE, mCastTile.getState().state); in testUpdateState_connectedAndConnecting() 341 assertFalse(mCastTile.getState().forceExpandIcon); in testExpandView_wifiNotConnected() 348 assertTrue(mCastTile.getState().forceExpandIcon); in testExpandView_wifiEnabledNotCasting() 361 assertFalse(mCastTile.getState().forceExpandIcon); in testExpandView_casting_projection() 376 assertFalse(mCastTile.getState().forceExpandIcon); in testExpandView_connecting_projection() 390 assertTrue(mCastTile.getState().forceExpandIcon); in testExpandView_casting_mediaRoute() [all …]
|
H A D | ScreenRecordTileTest.java | 120 assertEquals(Tile.STATE_INACTIVE, mTile.getState().state); in testNotActive() 121 assertTrue(mTile.getState().secondaryLabel.toString().equals( in testNotActive() 146 assertEquals(Tile.STATE_ACTIVE, mTile.getState().state); in testIsStarting() 147 assertTrue(mTile.getState().secondaryLabel.toString().endsWith("...")); in testIsStarting() 170 assertEquals(Tile.STATE_ACTIVE, mTile.getState().state); in testIsRecording() 171 assertTrue(mTile.getState().secondaryLabel.toString().equals( in testIsRecording() 191 assertTrue(mTile.getState().contentDescription.toString().contains(mTile.getState().label)); in testContentDescriptionHasTileName() 202 assertTrue(mTile.getState().forceExpandIcon); in testForceExpandIcon_notRecordingNotStarting() 213 assertFalse(mTile.getState().forceExpandIcon); in testForceExpandIcon_recordingNotStarting() 224 assertFalse(mTile.getState().forceExpandIcon); in testForceExpandIcon_startingNotRecording()
|
/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/ |
H A D | MethodStateTest.java | 95 assertTrue(mEapStateMachine.getState() instanceof MethodState); in testProcessTransitionsToEapSim() 96 MethodState methodState = (MethodState) mEapStateMachine.getState(); in testProcessTransitionsToEapSim() 109 assertTrue(mEapStateMachine.getState() instanceof MethodState); in testProcessTransitionToEapAka() 126 assertTrue(mEapStateMachine.getState() instanceof MethodState); in testProcessTransitionToEapAkaPrime() 140 assertTrue(mEapStateMachine.getState() instanceof MethodState); in testProcessTransitionToEapMsChapV2() 158 assertTrue(mEapStateMachine.getState() instanceof MethodState); in testProcessTransitionToEapTtls() 180 assertTrue(mEapStateMachine.getState() instanceof SuccessState); in testProcessTransitionToSuccessState() 200 assertTrue(mEapStateMachine.getState() instanceof FailureState); in testProcessTransitionToFailureState() 208 assertTrue(mEapStateMachine.getState() instanceof FailureState); in testProcessEapFailureWithNoEapMethodState() 216 assertTrue(mEapStateMachine.getState() instanceof MethodState); in testProcessEapSuccessWithNoEapMethodState() [all …]
|
/aosp12/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
H A D | ScheduleRow.java | 104 && mSchedule.getState() == ScheduledRecording.STATE_RECORDING_NOT_STARTED; in isRecordingNotStarted() 110 && mSchedule.getState() == ScheduledRecording.STATE_RECORDING_IN_PROGRESS; in isRecordingInProgress() 116 && mSchedule.getState() == ScheduledRecording.STATE_RECORDING_FAILED; in isRecordingFailed() 122 && mSchedule.getState() == ScheduledRecording.STATE_RECORDING_CANCELED; in isScheduleCanceled() 127 && (mSchedule.getState() == ScheduledRecording.STATE_RECORDING_FAILED in isRecordingFinished() 128 || mSchedule.getState() == ScheduledRecording.STATE_RECORDING_CLIPPED in isRecordingFinished() 129 || mSchedule.getState() == ScheduledRecording.STATE_RECORDING_FINISHED); in isRecordingFinished() 135 && mSchedule.getState() == ScheduledRecording.STATE_RECORDING_FINISHED; in hasRecordedProgram()
|
/aosp12/packages/services/Telephony/src/com/android/services/telephony/ |
H A D | TelephonyConferenceBase.java | 143 int oldState = getState(); in setConferenceOnHold() 148 notifyStateChanged(oldState, getState()); in setConferenceOnHold() 155 int oldState = getState(); in setConferenceOnDialing() 160 notifyStateChanged(oldState, getState()); in setConferenceOnDialing() 167 int oldState = getState(); in setConferenceOnRinging() 172 notifyStateChanged(oldState, getState()); in setConferenceOnRinging() 179 int oldState = getState(); in setConferenceOnActive() 184 notifyStateChanged(oldState, getState()); in setConferenceOnActive()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
H A D | DeviceSelectActionTest.java | 175 private int getState() { in getState() method in DeviceSelectActionTest.TestActionTimer 219 assertThat(actionTimer.getState()).isEqualTo(STATE_WAIT_FOR_REPORT_POWER_STATUS); in testDeviceSelect_DeviceInPowerOnStatus_Cec14b() 237 assertThat(actionTimer.getState()).isEqualTo(STATE_WAIT_FOR_REPORT_POWER_STATUS); in testDeviceSelect_DeviceInStandbyStatus_Cec14b() 244 assertThat(actionTimer.getState()).isEqualTo(STATE_WAIT_FOR_DEVICE_POWER_ON); in testDeviceSelect_DeviceInStandbyStatus_Cec14b() 264 assertThat(actionTimer.getState()).isEqualTo(STATE_WAIT_FOR_REPORT_POWER_STATUS); in testDeviceSelect_DeviceInStandbyStatusWithSomeTimeouts_Cec14b() 266 assertThat(actionTimer.getState()).isEqualTo(STATE_WAIT_FOR_DEVICE_POWER_ON); in testDeviceSelect_DeviceInStandbyStatusWithSomeTimeouts_Cec14b() 268 assertThat(actionTimer.getState()).isEqualTo(STATE_WAIT_FOR_REPORT_POWER_STATUS); in testDeviceSelect_DeviceInStandbyStatusWithSomeTimeouts_Cec14b() 270 assertThat(actionTimer.getState()).isEqualTo(STATE_WAIT_FOR_DEVICE_POWER_ON); in testDeviceSelect_DeviceInStandbyStatusWithSomeTimeouts_Cec14b() 293 assertThat(actionTimer.getState()).isEqualTo(STATE_WAIT_FOR_DEVICE_POWER_ON); in testDeviceSelect_DeviceInStandbyAfterTimeoutForReportPowerStatus_Cec14b() 297 assertThat(actionTimer.getState()).isEqualTo(STATE_WAIT_FOR_DEVICE_POWER_ON); in testDeviceSelect_DeviceInStandbyAfterTimeoutForReportPowerStatus_Cec14b() [all …]
|
/aosp12/frameworks/av/media/libaaudio/src/core/ |
H A D | AudioStream.cpp | 61 LOG_ALWAYS_FATAL_IF(!(getState() == AAUDIO_STREAM_STATE_CLOSED in ~AudioStream() 159 switch (getState()) { in systemStart() 174 AudioGlobal_convertStreamStateToText(getState())); in systemStart() 183 AudioGlobal_convertStreamStateToText(getState())); in systemStart() 207 switch (getState()) { in systemPause() 257 aaudio_result_t result = AAudio_isFlushAllowed(getState()); in safeFlush() 286 switch (getState()) { in safeStop_l() 312 AudioGlobal_convertStreamStateToText(getState())); in safeStop_l() 349 assert(getState() == AAUDIO_STREAM_STATE_CLOSING); in close_l() 406 aaudio_stream_state_t state = getState(); in waitForStateChange() [all …]
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipPhone.java | 110 if (mRingingCall.getState().isAlive()) { in takeIncomingCall() 117 if (mForegroundCall.getState().isAlive() in takeIncomingCall() 176 if (mRingingCall.getState().isRinging()) { in rejectCall() 260 + mBackgroundCall.getState()); in conference() 303 } else if (mForegroundCall.getState().isAlive()) { in sendDtmf() 378 return (mForegroundCall.getState().isAlive() in getMute() 422 int sessionState = sipAudioCall.getState(); in getCallStateFrom() 726 setState(conn.getState()); in onConnectionStateChanged() 942 public Call.State getState() { in getState() method in SipPhone.SipConnection 1001 if (call.getState() != Call.State.IDLE) { in separate() [all …]
|
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | BasicCallTests.java | 117 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSingleOutgoingCallLocalDisconnect() 119 mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in testSingleOutgoingCallLocalDisconnect() 125 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSingleOutgoingCallLocalDisconnect() 127 mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in testSingleOutgoingCallLocalDisconnect() 150 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSingleOutgoingCallRemoteDisconnect() 152 mInCallServiceFixtureY.getCall(ids.mCallId).getState()); in testSingleOutgoingCallRemoteDisconnect() 284 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); in testSingleIncomingCallLocalDisconnect() 362 mInCallServiceFixtureX.getCall(callId).getState()); in testOutgoingCallAndSelectPhoneAccount() 364 mInCallServiceFixtureY.getCall(callId).getState()); in testOutgoingCallAndSelectPhoneAccount() 1172 .getState()); in testUnmuteDuringEmergencyCall() [all …]
|
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
H A D | AdapterServiceTest.java | 231 Assert.assertFalse(mAdapterService.getState() == BluetoothAdapter.STATE_ON); in doEnable() 273 Assert.assertTrue(mAdapterService.getState() == BluetoothAdapter.STATE_ON); in doEnable() 277 Assert.assertTrue(mAdapterService.getState() == BluetoothAdapter.STATE_ON); in doDisable() 310 Assert.assertFalse(mAdapterService.getState() == BluetoothAdapter.STATE_ON); in doDisable() 364 Assert.assertFalse(mAdapterService.getState() == BluetoothAdapter.STATE_ON); in testGattStartTimeout() 386 Assert.assertFalse(mAdapterService.getState() == BluetoothAdapter.STATE_ON); in testGattStartTimeout() 396 Assert.assertTrue(mAdapterService.getState() == BluetoothAdapter.STATE_ON); in testGattStopTimeout() 476 Assert.assertTrue(mAdapterService.getState() == BluetoothAdapter.STATE_ON); in testProfileStopTimeout() 512 Assert.assertTrue(mAdapterService.getState() == BluetoothAdapter.STATE_ON); in testSnoopLoggingChange() 586 Assert.assertTrue(mAdapterService.getState() == BluetoothAdapter.STATE_ON); in testObfuscateBluetoothAddress_BluetoothEnabled() [all …]
|
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
H A D | DisplayTest.cpp | 270 EXPECT_TRUE(mDisplay->getState().layerStackInternal); in TEST_F() 289 EXPECT_FALSE(mDisplay->getState().layerStackInternal); in TEST_F() 574 auto& state = gpuDisplay->getState(); in TEST_F() 587 auto& state = mDisplay->getState(); in TEST_F() 611 auto& state = mDisplay->getState(); in TEST_F() 645 auto& state = mDisplay->getState(); in TEST_F() 748 auto& state = mDisplay->getState(); in TEST_F() 755 auto& state = mDisplay->getState(); in TEST_F() 762 auto& state = mDisplay->getState(); in TEST_F() 769 auto& state = mDisplay->getState(); in TEST_F() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
H A D | DozeMachineTest.java | 110 assertEquals(DOZE, mMachine.getState()); in testInitialize_goesToDoze() 142 assertEquals(DOZE, mMachine.getState()); in testInitialize_afterDockPaused_goesToDoze() 153 assertEquals(DOZE, mMachine.getState()); in testInitialize_dozeSuppressed_alwaysOnDisabled_goesToDoze() 164 assertEquals(DOZE, mMachine.getState()); in testInitialize_dozeSuppressed_alwaysOnEnabled_goesToDoze() 175 assertEquals(DOZE, mMachine.getState()); in testInitialize_dozeSuppressed_afterDocked_goesToDoze() 188 assertEquals(DOZE, mMachine.getState()); in testInitialize_dozeSuppressed_alwaysOnDisabled_afterDockPaused_goesToDoze() 201 assertEquals(DOZE, mMachine.getState()); in testInitialize_dozeSuppressed_alwaysOnEnabled_afterDockPaused_goesToDoze() 214 assertEquals(DOZE, mMachine.getState()); in testPulseDone_goesToDoze() 241 assertEquals(DOZE, mMachine.getState()); in testPulseDone_dozeSuppressed_goesToSuppressed() 279 assertEquals(DOZE, mMachine.getState()); in testPulseDone_dozeSuppressed_afterDocked_goesToDoze() [all …]
|
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/os/ |
H A D | VibratorPerfTest.java | 47 final BenchmarkState state = mBenchmarkRule.getState(); in testEffectClick() 55 final BenchmarkState state = mBenchmarkRule.getState(); in testOneShot() 64 final BenchmarkState state = mBenchmarkRule.getState(); in testWaveform() 73 final BenchmarkState state = mBenchmarkRule.getState(); in testCompose() 85 final BenchmarkState state = mBenchmarkRule.getState(); in testAreEffectsSupported() 94 final BenchmarkState state = mBenchmarkRule.getState(); in testArePrimitivesSupported()
|
/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | MediaAudioTrackTest.java | 103 localRes = (track.getState() == _expected_stateForMode); in constructorTestMultiSampleRate() 279 if (track.getState() != AudioTrack.STATE_INITIALIZED) { in testConstructorStreamType() 315 assumeTrue(TEST_NAME, track.getState() == AudioTrack.STATE_INITIALIZED); in testPlaybackHeadPositionAfterInit() 338 assumeTrue(TEST_NAME, track.getState() == AudioTrack.STATE_INITIALIZED); in testPlaybackHeadPositionIncrease() 366 assumeTrue(TEST_NAME, track.getState() == AudioTrack.STATE_INITIALIZED); in testPlaybackHeadPositionAfterFlush() 397 assumeTrue(TEST_NAME, track.getState() == AudioTrack.STATE_INITIALIZED); in testPlaybackHeadPositionAfterStop() 433 assumeTrue(TEST_NAME, track.getState() == AudioTrack.STATE_INITIALIZED); in testPlaybackHeadPositionAfterPause() 548 assumeTrue(TEST_NAME, track.getState() == AudioTrack.STATE_INITIALIZED); in testSetPlaybackRate() 571 assumeTrue(TEST_NAME, track.getState() == AudioTrack.STATE_INITIALIZED); in testSetPlaybackRateZero() 597 assumeTrue(TEST_NAME, track.getState() == AudioTrack.STATE_INITIALIZED); in testSetPlaybackRateTwiceOutputSR() [all …]
|