Home
last modified time | relevance | path

Searched refs:getErrorCode (Results 1 – 13 of 13) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/
DNetworkIpProvisioningMetricsTest.java78 assertEquals(DhcpErrorCode.ET_BOOTP_TOO_SHORT, mStats.getDhcpSession().getErrorCode(0)); in testIpProvisioningMetrics_addDhcpErrorCode()
79 assertEquals(DhcpErrorCode.ET_BUFFER_UNDERFLOW, mStats.getDhcpSession().getErrorCode(1)); in testIpProvisioningMetrics_addDhcpErrorCode()
82 assertEquals(DhcpErrorCode.ET_UNKNOWN, mStats.getDhcpSession().getErrorCode(2)); in testIpProvisioningMetrics_addDhcpErrorCode()
84 assertEquals(DhcpErrorCode.ET_PARSING_ERROR, mStats.getDhcpSession().getErrorCode(3)); in testIpProvisioningMetrics_addDhcpErrorCode()
85 assertEquals(DhcpErrorCode.ET_PARSING_ERROR, mStats.getDhcpSession().getErrorCode(4)); in testIpProvisioningMetrics_addDhcpErrorCode()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarBugreportManagerTest.java115 assertThat(callback2.getErrorCode()).isEqualTo( in test_requestBugreport_cannotRunMultipleBugreports()
137 assertThat(callback2.getErrorCode()).isEqualTo(NO_ERROR); in test_cancelBugreport_works()
202 int getErrorCode() { in getErrorCode() method in CarBugreportManagerTest.FakeCarBugreportCallback
215 return mEndedLatch.getCount() == 0 && getErrorCode() == NO_ERROR; in isFinishedSuccessfully()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DPlaybackErrorsHelper.java125 if (state.getErrorCode() != PlaybackStateCompat.ERROR_CODE_UNKNOWN_ERROR) { in getDisplayedMessage()
126 Integer messageId = ERROR_CODE_MESSAGES_MAP.get(state.getErrorCode()); in getDisplayedMessage()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDataModelException.java98 public int getErrorCode() { in getErrorCode() method in DataModelException
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyEvent.java117 public @CarPropertyManager.CarSetPropertyErrorCode int getErrorCode() { in getErrorCode() method in CarPropertyEvent
DCarPropertyManager.java990 .append(" errorCode: ").append(event.getErrorCode()) in onErrorEvent()
994 event.getErrorCode()); in onErrorEvent()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarPropertyEventTest.java61 assertThat(carPropertyEvent.getErrorCode()) in testCreateErrorEvent()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DPlaybackViewModel.java494 public int getErrorCode() { in getErrorCode() method in PlaybackViewModel.PlaybackStateWrapper
495 return mState.getErrorCode(); in getErrorCode()
/packages/modules/Wifi/OsuLogin/src/com/android/hotspot2/osulogin/
DOsuLoginActivity.java277 Log.e(TAG, "onReceived Error for MainFrame: " + error.getErrorCode()); in onReceivedError()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DImsEntitlementApi.java136 if (e.getErrorCode() == ServiceEntitlementException.ERROR_HTTP_STATUS_NOT_SUCCESS) { in checkEntitlementStatus()
/packages/services/Telephony/src/com/android/phone/callcomposer/
DCallComposerPictureManager.java268 Log.e(TAG, "Error logging uploaded image: " + e.getErrorCode()); in storeUploadedPictureToCallLog()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java362 if (((android.security.KeyStoreException) t).getErrorCode()
/packages/providers/MediaProvider/src/com/android/providers/media/
DTranscodeHelperImpl.java472 errorCode = transcodingSession.getErrorCode(); in transcode()