Home
last modified time | relevance | path

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

/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCellBroadcastServiceMetricsTest.java52 doReturn(mSharedPreference).when(mMockedContext) in setUp()
54 doReturn(false).when(mSharedPreference).getBoolean(anyString(), anyBoolean()); in setUp()
83 doReturn(true).when(mSharedPreference) in testGetFeatureMetrics()
85 doReturn(false).when(mSharedPreference) in testGetFeatureMetrics()
87 doReturn(true).when(mSharedPreference) in testGetFeatureMetrics()
DCellBroadcastServiceTestBase.java83 protected SharedPreferences mSharedPreference; field in CellBroadcastServiceTestBase
174 doReturn(mSharedPreference).when(mMockedContext) in setUp()
176 doReturn(mEditor).when(mSharedPreference).edit(); in setUp()
177 doReturn(false).when(mSharedPreference).getBoolean(anyString(), anyBoolean()); in setUp()
/packages/apps/TV/src/com/android/tv/guide/
DProgramGuide.java145 private final SharedPreferences mSharedPreference; field in ProgramGuide
489 mSharedPreference = PreferenceManager.getDefaultSharedPreferences(mActivity); in ProgramGuide()
494 || mSharedPreference.getBoolean(KEY_SHOW_GUIDE_PARTIAL, true); in ProgramGuide()
805 mSharedPreference.edit().putBoolean(KEY_SHOW_GUIDE_PARTIAL, mShowGuidePartial).apply(); in startFull()
814 mSharedPreference.edit().putBoolean(KEY_SHOW_GUIDE_PARTIAL, mShowGuidePartial).apply(); in startPartial()