/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/ |
D | RecordVoicemailGreetingActivity.java | 63 setState(RECORD_GREETING_INIT); in onCreate() 72 setState(RECORD_GREETING_RECORDING); in onClick() 75 setState(RECORD_GREETING_PLAYING_BACK); in onClick() 79 setState(RECORD_GREETING_RECORDED); in onClick() 87 private void setState(@ButtonState int state) { in setState() method in RecordVoicemailGreetingActivity 92 recordButton.setState(state); in setState() 98 recordButton.setState(state); in setState() 103 recordButton.setState(state); in setState()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningViewModel.java | 97 setState(STATE_PROVISIONING_FINALIZED); in onReturnFromProvisioning() 105 setState(STATE_GETTING_PROVISIONING_MODE); in onAdminIntegratedFlowInitiated() 113 setState(STATE_SHOWING_USER_CONSENT); in onShowUserConsent() 121 setState(STATE_PROVISIONING_STARTED); in onProvisioningStartedAfterUserConsent() 129 setState(STATE_PREPROVISIONING_INITIALIZED); in onPlatformProvisioningInitiated() 137 setState(STATE_UPDATING_ROLE_HOLDER); in onRoleHolderUpdateInitiated() 145 setState(STATE_ROLE_HOLDER_PROVISIONING); in onRoleHolderProvisioningInitiated() 235 private void setState(@PreProvisioningState int state) { in setState() method in PreProvisioningViewModel
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/connserv/ |
D | HfpClientConnectionTest.java | 240 mHfpClientConnection.getCall().setState(HfpClientCall.CALL_STATE_ACTIVE); in handleCallChanged_active() 252 mHfpClientConnection.getCall().setState(HfpClientCall.CALL_STATE_ACTIVE); in handleCallChanged_activeConference() 261 mHfpClientConnection.getCall().setState(HfpClientCall.CALL_STATE_HELD_BY_RESPONSE_AND_HOLD); in handleCallChanged_heldByResponseAndHold() 273 mHfpClientConnection.getCall().setState(HfpClientCall.CALL_STATE_HELD_BY_RESPONSE_AND_HOLD); in handleCallChanged_heldByResponseAndHoldConference() 282 mHfpClientConnection.getCall().setState(HfpClientCall.CALL_STATE_HELD); in handleCallChanged_held() 294 mHfpClientConnection.getCall().setState(HfpClientCall.CALL_STATE_HELD); in handleCallChanged_heldConference() 303 mHfpClientConnection.getCall().setState(HfpClientCall.CALL_STATE_DIALING); in handleCallChanged_dialing() 312 mHfpClientConnection.getCall().setState(HfpClientCall.CALL_STATE_ALERTING); in handleCallChanged_alerting() 321 mHfpClientConnection.getCall().setState(HfpClientCall.CALL_STATE_INCOMING); in handleCallChanged_incoming() 330 mHfpClientConnection.getCall().setState(HfpClientCall.CALL_STATE_WAITING); in handleCallChanged_waiting() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | BluetoothPreferenceControllerTest.java | 176 getShadowBluetoothAdapter().setState(BluetoothAdapter.STATE_OFF); in getAvailabilityStatus_adapterDisabled_conditionallyUnavailable() 187 getShadowBluetoothAdapter().setState(BluetoothAdapter.STATE_OFF); in getAvailabilityStatus_adapterDisabled_conditionallyUnavailable_zoneWrite() 198 getShadowBluetoothAdapter().setState(BluetoothAdapter.STATE_OFF); in getAvailabilityStatus_adapterDisabled_conditionallyUnavailable_zoneRead() 209 getShadowBluetoothAdapter().setState(BluetoothAdapter.STATE_OFF); in getAvailabilityStatus_adapterDisabled_conditionallyUnavailable_zoneHidden() 219 getShadowBluetoothAdapter().setState(BluetoothAdapter.STATE_ON); in getAvailabilityStatus_available() 231 getShadowBluetoothAdapter().setState(BluetoothAdapter.STATE_ON); in getAvailabilityStatus_available_zoneWrite() 243 getShadowBluetoothAdapter().setState(BluetoothAdapter.STATE_ON); in getAvailabilityStatus_available_zoneRead() 255 getShadowBluetoothAdapter().setState(BluetoothAdapter.STATE_ON); in getAvailabilityStatus_available_zoneHidden() 266 getShadowBluetoothAdapter().setState(BluetoothAdapter.STATE_ON); in onStart_registersEventListener() 277 getShadowBluetoothAdapter().setState(BluetoothAdapter.STATE_ON); in onStop_unregistersEventListener()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/userpicker/ |
D | UserPickerPassengerHeaderTest.java | 70 mHeaderstate.setState(HEADER_STATE_CHANGE_USER); in pressBackButton_changeUserState_finishActivity() 83 mHeaderstate.setState(HEADER_STATE_LOGOUT); in checkButtonsVisibility_logoutState_invisibleButtons() 95 mHeaderstate.setState(HEADER_STATE_CHANGE_USER); in checkTextView_changeUserState_invisibleTextView() 106 mHeaderstate.setState(HEADER_STATE_LOGOUT); in checkTextView_logoutState_visibleTextView() 117 mHeaderstate.setState(HEADER_STATE_CHANGE_USER); in logoutUser_pressLogoutButton_stopUser() 131 mHeaderstate.setState(HEADER_STATE_CHANGE_USER); in pressPowerButton_screenOff() 146 mHeaderstate.setState(HEADER_STATE_CHANGE_USER); in onConfigurationChanged_changeConfiguration_callSetAdapter()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | Action.java | 165 ActionMonitor.setState(this, ActionMonitor.STATE_CREATED, in markStart() 173 ActionMonitor.setState(this, ActionMonitor.STATE_QUEUED, in markBeginExecute() 195 ActionMonitor.setState(this, in markBackgroundWorkStarting() 205 ActionMonitor.setState(this, in markBackgroundCompletionQueued() 214 ActionMonitor.setState(this, in markBackgroundWorkQueued() 224 ActionMonitor.setState(this, in processBackgroundWorkResponse()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/ |
D | VideoStreamGraphRtpTx.cpp | 91 setState(kStreamStateCreated); in create() 115 setState(kStreamStateCreated); in update() 173 setState(kStreamStateWaitSurface); in update() 219 setState(kStreamStateWaitSurface); in start() 227 setState(kStreamStateCreated); in start() 232 setState(kStreamStateRunning); in start() 271 setState(kStreamStateCreated); in setSurface() 302 setState(kStreamStateCreated); in createPreviewMode()
|
D | VideoStreamGraphRtpRx.cpp | 79 setState(StreamState::kStreamStateCreated); in create() 102 setState(StreamState::kStreamStateCreated); in update() 193 setState(StreamState::kStreamStateWaitSurface); in start() 201 setState(StreamState::kStreamStateCreated); in start() 206 setState(StreamState::kStreamStateRunning); in start() 258 setState(StreamState::kStreamStateCreated); in setSurface()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | MultiToggleImageButton.java | 87 setState(0); in MultiToggleImageButton() 94 setState(0); in MultiToggleImageButton() 132 public void setState(int state) { in setState() method in MultiToggleImageButton 133 setState(state, true); in setState() 142 public void setState(final int state, final boolean callListener) { in setState() method in MultiToggleImageButton 248 setState(state); in nextState() 386 newDrawable.setState(enabledState); in combine() 390 oldDrawable.setState(enabledState); in combine()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | GestureState.java | 245 public void setState(int stateFlag) { in setState() method in GestureState 246 mStateCallback.setState(stateFlag); in setState() 413 mStateCallback.setState(STATE_END_TARGET_SET); in setEndTarget() 434 mStateCallback.setState(STATE_END_TARGET_ANIMATION_FINISHED); in setEndTarget() 474 mStateCallback.setState(STATE_RECENTS_ANIMATION_STARTED); in onRecentsAnimationStart() 480 mStateCallback.setState(STATE_RECENTS_ANIMATION_CANCELED); in onRecentsAnimationCanceled() 481 mStateCallback.setState(STATE_RECENTS_ANIMATION_ENDED); in onRecentsAnimationCanceled() 493 mStateCallback.setState(STATE_RECENTS_ANIMATION_FINISHED); in onRecentsAnimationFinished() 494 mStateCallback.setState(STATE_RECENTS_ANIMATION_ENDED); in onRecentsAnimationFinished()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/ |
D | MediaOutputUtilsTest.java | 99 .setState(PlaybackState.STATE_PLAYING, 0, 1) in getActiveLocalMediaController_remoteMediaPlaying_returnNull() 118 .setState(PlaybackState.STATE_STOPPED, 0, 1) in getActiveLocalMediaController_localMediaStopped_returnNull() 137 .setState(PlaybackState.STATE_NONE, 0, 1) in getActiveLocalMediaController_localMediaNone_returnNull() 156 .setState(PlaybackState.STATE_ERROR, 0, 1) in getActiveLocalMediaController_localMediaError_returnNull() 176 .setState(PlaybackState.STATE_PLAYING, 0, 1) in getActiveLocalMediaController_bothHaveRemoteMediaAndLocalMedia_returnNull() 202 .setState(PlaybackState.STATE_PLAYING, 0, 1) in getActiveLocalMediaController_bothHaveLocalMediaAndRemoteMedia_returnNull() 226 .setState(playbackState, 0, 1) in initPlayback()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/ |
D | BaseStreamGraph.cpp | 36 setState(kStreamStateIdle); in ~BaseStreamGraph() 59 setState(kStreamStateRunning); in start() 73 setState(kStreamStateCreated); in stop() 77 void BaseStreamGraph::setState(StreamState state) in setState() function in BaseStreamGraph 209 setState(kStreamStateIdle); in deleteNodes()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | P2pPermissionManager.java | 72 setState(State.DENIED); in reset() 79 public void setState(State state) { in setState() method in P2pPermissionManager 97 setState(State.ALLOWED); in applyPermissionChange() 100 setState(State.DISABLED); in applyPermissionChange() 103 setState(State.TEMPORARILY_DISABLED); in applyPermissionChange() 282 setState(state); in getState() 285 setState(state); in getState()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | RequestPermissionActivityTest.kt | 51 bluetoothAdapter.setState(BluetoothAdapter.STATE_OFF) in requestEnable_whenBluetoothIsOff_showConfirmDialog() 63 bluetoothAdapter.setState(BluetoothAdapter.STATE_ON) in requestEnable_whenBluetoothIsOn_doNothing() 73 bluetoothAdapter.setState(BluetoothAdapter.STATE_OFF) in requestDisable_whenBluetoothIsOff_doNothing() 83 bluetoothAdapter.setState(BluetoothAdapter.STATE_ON) in requestDisable_whenBluetoothIsOn_showConfirmDialog()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | DownUpDetector.java | 34 private void setState(boolean down, MotionEvent e) { in setState() method in DownUpDetector 47 setState(true, ev); in onTouchEvent() 53 setState(false, ev); in onTouchEvent()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
D | DragListener.java | 34 private void setState(DragEvent event) { in setState() method in DragListener 57 setState(event); in onDrag() 88 setState(event); in onDrag() 100 setState(event); in onDrag()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | BaseSwipeDetector.java | 126 setState(ScrollState.IDLE); in finishedScrolling() 152 setState(ScrollState.DRAGGING); in onTouchEvent() 181 setState(ScrollState.DRAGGING); in onTouchEvent() 192 setState(ScrollState.SETTLING); in onTouchEvent() 210 private void setState(ScrollState newState) { in setState() method in BaseSwipeDetector 212 mSetStateQueue.add(() -> setState(newState)); in setState()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/plugins/ |
D | PluginEnablerImpl.java | 36 setState(component, true); in setEnabled() 41 setState(component, reason == ENABLED); in setDisabled() 44 private void setState(ComponentName component, boolean enabled) { in setState() method in PluginEnablerImpl
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | EnableMultiSimSidecar.java | 94 setState(State.SUCCESS, Substate.UNUSED); in onPostExecute() 96 setState(State.ERROR, Substate.UNUSED); in onPostExecute() 106 setState(State.ERROR, Substate.UNUSED); in run() 111 setState(State.ERROR, Substate.UNUSED); in run()
|
D | SwitchToRemovableSlotSidecar.java | 126 setState(State.ERROR, Substate.UNUSED); in onSwitchToSubscriptionSidecarStateChange() 136 setState(State.SUCCESS, Substate.UNUSED); in onSwitchSlotSidecarStateChange() 141 setState(State.ERROR, Substate.UNUSED); in onSwitchSlotSidecarStateChange()
|
/packages/apps/Settings/src/com/android/settings/applications/managedomainurls/ |
D | DomainAppPreference.java | 46 setState(); in DomainAppPreference() 50 setState(); in reuse() 58 private void setState() { in setState() method in DomainAppPreference
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | MultiStateButton.kt | 88 fun setState(state: Int): Boolean { in setState() method 128 d.setState(getDrawableState()) in setButtonDrawable() 131 mButtonDrawable?.setState(getDrawableState()) in setButtonDrawable()
|
/packages/apps/TvSystemUI/src/com/android/systemui/tv/privacy/ |
D | PrivacyItemsChip.java | 182 setState(STATE_EXPANDED); in expandForTypes() 186 setState(STATE_NOT_SHOWN); in expandForTypes() 199 setState(STATE_COLLAPSED); in collapse() 219 private void setState(@State int state) { in setState() method in PrivacyItemsChip
|
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/ |
D | NormalCallDomainSelectorTest.java | 372 serviceState.setState(ServiceState.STATE_IN_SERVICE); in testDomainSelection() 394 serviceState.setState(ServiceState.STATE_IN_SERVICE); in testDomainSelection() 503 serviceState.setState(ServiceState.STATE_IN_SERVICE); in testWPSCallDomainSelection() 517 serviceState.setState(ServiceState.STATE_IN_SERVICE); in testWPSCallDomainSelection() 530 serviceState.setState(ServiceState.STATE_IN_SERVICE); in testWPSCallDomainSelection() 563 serviceState.setState(ServiceState.STATE_IN_SERVICE); in testTtyCallDomainSelection() 603 serviceState.setState(ServiceState.STATE_IN_SERVICE); in testEmcCsFailureAndPsRedial() 630 serviceState.setState(ServiceState.STATE_IN_SERVICE); in testEmcCsFailureAndPsRedial() 677 serviceState.setState(ServiceState.STATE_IN_SERVICE); in testImsRegistrationStateTimeoutMessage() 716 serviceState.setState(ServiceState.STATE_IN_SERVICE); in testImsRegistrationStateTimeoutHandler()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallTest.java | 149 call.setState(CallState.ACTIVE, ""); in testSetHasGoneActive() 151 call.setState(CallState.AUDIO_PROCESSING, ""); in testSetHasGoneActive() 443 call.setState(CallState.AUDIO_PROCESSING, ""); in testDisconnectCauseWhenAudioProcessing() 453 call.setState(CallState.AUDIO_PROCESSING, ""); in testDisconnectCauseWhenAudioProcessingAfterActive() 454 call.setState(CallState.ACTIVE, ""); in testDisconnectCauseWhenAudioProcessingAfterActive() 455 call.setState(CallState.AUDIO_PROCESSING, ""); in testDisconnectCauseWhenAudioProcessingAfterActive() 465 call.setState(CallState.SIMULATED_RINGING, ""); in testDisconnectCauseWhenSimulatedRingingAndDisconnect() 475 call.setState(CallState.SIMULATED_RINGING, ""); in testDisconnectCauseWhenSimulatedRingingAndReject() 495 call.setState(CallState.ACTIVE, ""); in testCanPullCallRemovedDuringEmergencyCall() 521 call.setState(CallState.ACTIVE, ""); in testCanNotPullCallDuringEmergencyCall() [all …]
|