Home
last modified time | relevance | path

Searched refs:fromInt (Results 1 – 21 of 21) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcFailCauseTest.java149 assertEquals("cause = " + data.mCause, data.mPermanentFailure, DcFailCause.fromInt( in testPermanentFailDefault()
152 assertFalse(DcFailCause.fromInt(123456).isPermanentFailure(mContext, mPhone.getSubId())); in testPermanentFailDefault()
168 if (DcFailCause.fromInt(data.mCause).equals( in testPermanentFailConfigured()
170 DcFailCause.fromInt(data.mCause).equals(DcFailCause.TETHERED_CALL_ACTIVE)) { in testPermanentFailConfigured()
171 assertTrue("cause = " + data.mCause, DcFailCause.fromInt(data.mCause). in testPermanentFailConfigured()
174 assertFalse("cause = " + data.mCause, DcFailCause.fromInt(data.mCause). in testPermanentFailConfigured()
186 DcFailCause.fromInt(data.mCause).isEventLoggable()); in testEventLoggable()
188 assertFalse(DcFailCause.fromInt(123456).isEventLoggable()); in testEventLoggable()
195 assertEquals(data.mCause, DcFailCause.fromInt(data.mCause).getErrorCode()); in testGetErrorCode()
198 DcFailCause.fromInt(123456).getErrorCode()); in testGetErrorCode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcFailBringUp.java54 mFailCause = DcFailCause.fromInt( in saveParameters()
65 mFailCause = DcFailCause.fromInt(failCause); in saveParameters()
DDcFailCause.java242 public static DcFailCause fromInt(int errorCode) { in fromInt() method in DcFailCause
DDcAsyncChannel.java102 public static LinkPropertyChangeAction fromInt(int value) { in fromInt() method in DcAsyncChannel.LinkPropertyChangeAction
DDcController.java331 DcFailCause failCause = DcFailCause.fromInt(newState.getStatus()); in onDataStateChanged()
DDataConnection.java353 mFailCause = DcFailCause.fromInt(0); in SetupResult()
765 result.mFailCause = DcFailCause.fromInt(response.getStatus()); in onSetupConnectionCompleted()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DValueParser.java236 TextAlignment align = TextAlignment.fromInt(alignValue); in retrieveTextAttribute()
239 FontSize size = FontSize.fromInt(sizeValue); in retrieveTextAttribute()
250 TextColor color = TextColor.fromInt(colorValue); in retrieveTextAttribute()
DFontSize.java42 public static FontSize fromInt(int value) { in fromInt() method in FontSize
DTextAlignment.java44 public static TextAlignment fromInt(int value) { in fromInt() method in TextAlignment
DTextColor.java55 public static TextColor fromInt(int value) { in fromInt() method in TextColor
DComprehensionTlvTag.java66 public static ComprehensionTlvTag fromInt(int value) { in fromInt() method in ComprehensionTlvTag
DResultCode.java178 public static ResultCode fromInt(int value) { in fromInt() method in ResultCode
DAppInterface.java112 public static CommandType fromInt(int value) { in fromInt() method in AppInterface.CommandType
DTone.java160 public static Tone fromInt(int value) { in fromInt() method in Tone
DCommandParamsFactory.java153 .fromInt(cmdDet.typeOfCommand); in make()
634 .fromInt(cmdDet.typeOfCommand); in processSelectItem()
914 tone = Tone.fromInt(toneVal); in processPlayTone()
1102 AppInterface.CommandType.fromInt(cmdDet.typeOfCommand); in processBIPClient()
DCommandParams.java35 return AppInterface.CommandType.fromInt(mCmdDet.typeOfCommand); in getCommandType()
DRilMessageDecoder.java145 mCurrentRilMessage.mResCode = ResultCode.fromInt(msg.arg1); in processMessage()
DCatCmdMessage.java209 return AppInterface.CommandType.fromInt(mCmdDet.typeOfCommand); in getCmdType()
DCatService.java628 CommandType cmdType = AppInterface.CommandType.fromInt(cmdDet.typeOfCommand); in encodeOptionalTags()
983 AppInterface.CommandType type = AppInterface.CommandType.fromInt(cmdDet.typeOfCommand); in handleCmdResponse()
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/graphics/drawable/
DColorDrawableTest.kt25 @Test fun fromInt() { in fromInt() method in androidx.core.graphics.drawable.ColorDrawableTest
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...