Home
last modified time | relevance | path

Searched refs:mSp (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/telephony/java/android/telephony/gba/
DUaSecurityProtocolIdentifier.java325 private final UaSecurityProtocolIdentifier mSp; field in UaSecurityProtocolIdentifier.Builder
331 mSp = new UaSecurityProtocolIdentifier(); in Builder()
339 mSp = new UaSecurityProtocolIdentifier(sp); in Builder()
364 mSp.mOrg = orgCode; in setOrg()
365 mSp.mProtocol = 0; in setOrg()
366 mSp.mTlsCipherSuite = 0; in setOrg()
399 || mSp.mOrg != ORG_3GPP) { in setProtocol()
402 mSp.mProtocol = protocol; in setProtocol()
403 mSp.mTlsCipherSuite = 0; in setProtocol()
416 if (!mSp.isTlsSupported()) { in setTlsCipherSuite()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccCardControllerTest.java59 private SharedPreferences mSp; field in EuiccCardControllerTest
80 mSp = PreferenceManager.getDefaultSharedPreferences(mContext); in setUp()
82 mLastBootCount = mSp.getInt(KEY_LAST_BOOT_COUNT, -1); in setUp()
124 mSp = null; in tearDown()
130 mSp.edit().remove(KEY_LAST_BOOT_COUNT); in testIsBootUp()
134 mSp.edit().putInt(KEY_LAST_BOOT_COUNT, 1).apply(); in testIsBootUp()
138 mSp.edit().putInt(KEY_LAST_BOOT_COUNT, 1).apply(); in testIsBootUp()
142 mSp.edit().putInt(KEY_LAST_BOOT_COUNT, 2).apply(); in testIsBootUp()
144 assertEquals(mSp.getInt(KEY_LAST_BOOT_COUNT, -1), 1); in testIsBootUp()
204 mSp.edit().remove(KEY_LAST_BOOT_COUNT); in testStartOtaUpdatingIfNecessary_onEmbeddedSlot_Present()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
DPeopleBackupFollowUpJobTest.java85 private final SharedPreferences mSp = PreferenceManager.getDefaultSharedPreferences(mContext); field in PeopleBackupFollowUpJobTest
86 private final SharedPreferences.Editor mEditor = mSp.edit();
189 remainingWidgets, mFollowUpEditor, mSp); in testCancelJobAndClearRemainingWidgets()
197 assertThat(mSp.getStringSet(PEOPLE_TILE_KEY.toString(), new HashSet<>())).isEmpty(); in testCancelJobAndClearRemainingWidgets()
198 assertThat(mSp.getStringSet(URI.toString(), new HashSet<>())).isEmpty(); in testCancelJobAndClearRemainingWidgets()
199 assertThat(mSp.getString(WIDGET_ID_STRING, null)).isNull(); in testCancelJobAndClearRemainingWidgets()
200 assertThat(mSp.getString(SECOND_WIDGET_ID_STRING, null)).isNull(); in testCancelJobAndClearRemainingWidgets()