Home
last modified time | relevance | path

Searched refs:STATE_FAILED (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Nfc/src/com/android/nfc/beam/
DBeamTransferManager.java86 static final int STATE_FAILED = 4; field in BeamTransferManager
256 updateStateAndNotification(mSuccessCount > 0 ? STATE_SUCCESS : STATE_FAILED); in finishTransfer()
351 } else if (mState == STATE_FAILED) { in updateNotification()
382 if ((mState == STATE_SUCCESS || mState == STATE_FAILED || mState == STATE_CANCELLED) in updateStateAndNotification()
398 updateStateAndNotification(STATE_FAILED); in processFiles()
406 updateStateAndNotification(STATE_FAILED); in processFiles()
455 updateStateAndNotification(mSuccessCount > 0 ? STATE_SUCCESS : STATE_FAILED); in handleMessage()
461 updateStateAndNotification(STATE_FAILED); in handleMessage()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DPendingAttachmentData.java45 public static final int STATE_FAILED = 3; field in PendingAttachmentData
123 mCurrentState = STATE_FAILED; in loadAttachmentForDraft()
143 mCurrentState = STATE_FAILED; in loadAttachmentForDraft()
/packages/apps/Settings/src/com/android/settings/print/
DPrintJobPreferenceController.java68 case PrintJobInfo.STATE_FAILED: { in updateUi()
105 case PrintJobInfo.STATE_FAILED: in updateUi()
DPrintSettingsFragment.java335 case PrintJobInfo.STATE_FAILED: in onLoadFinished()
373 case PrintJobInfo.STATE_FAILED: in onLoadFinished()
DPrintSettingPreferenceController.java139 case PrintJobInfo.STATE_FAILED: { in shouldShowToUser()
/packages/apps/Settings/tests/robotests/src/com/android/settings/print/
DPrintJobPreferenceControllerTest.java157 when(mPrintJobInfo.getState()).thenReturn(PrintJobInfo.STATE_FAILED); in updateUi_jobState_STATE_FAILED()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DVpnTest.java941 assertEquals(LegacyVpnInfo.STATE_FAILED, vpn.getLegacyVpnInfo().state); in testStartPlatformVpnAuthenticationFailed()
956 assertEquals(LegacyVpnInfo.STATE_FAILED, vpn.getLegacyVpnInfo().state); in testStartPlatformVpnIllegalArgumentExceptionInSetup()