Package org.robolectric.shadows
Class ShadowEuiccManager
- java.lang.Object
-
- org.robolectric.shadows.ShadowEuiccManager
-
@Implements(value=android.telephony.euicc.EuiccManager.class, minSdk=28) public class ShadowEuiccManager extends Object
-
-
Constructor Summary
Constructors Constructor Description ShadowEuiccManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EuiccManager
createForCardId(int cardId)
protected String
getEid()
protected boolean
isEnabled()
Returnsfalse
, or the value specified by callingsetIsEnabled(boolean)
.void
setEid(String eid)
Set the value to be returned byEuiccManager.getEid()
.void
setEuiccManagerForCardId(int cardId, EuiccManager euiccManager)
Sets the value returned byEuiccManager.createForCardId(int)
.void
setIsEnabled(boolean isEnabled)
Set the value to be returned byEuiccManager.isEnabled()
.
-
-
-
Method Detail
-
createForCardId
@Implementation(minSdk=29) protected EuiccManager createForCardId(int cardId)
-
setEuiccManagerForCardId
public void setEuiccManagerForCardId(int cardId, EuiccManager euiccManager)
Sets the value returned byEuiccManager.createForCardId(int)
.
-
isEnabled
@Implementation protected boolean isEnabled()
Returnsfalse
, or the value specified by callingsetIsEnabled(boolean)
.
-
setIsEnabled
public void setIsEnabled(boolean isEnabled)
Set the value to be returned byEuiccManager.isEnabled()
.
-
getEid
@Implementation protected String getEid()
-
setEid
public void setEid(String eid)
Set the value to be returned byEuiccManager.getEid()
.
-
-