Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DFoldLockBehaviorSettingsTest.java43 private FoldLockBehaviorSettings mSetting; field in FoldLockBehaviorSettingsTest
48 mSetting = new FoldLockBehaviorSettings(); in setUp()
49 mSetting.onAttach(mContext); in setUp()
56 String key = mSetting.getDefaultKey(); in getDefaultKey_returnFoldSetting()
63 mSetting.setDefaultKey("stay_awake_on_fold_key"); in setDefaultKey_returnFoldSetting()
74 String key = mSetting.getDefaultKey(); in setInvalidDefaultKey_returnDefaultFoldSetting()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/specialaccess/
DServiceListing.java47 private final String mSetting; field in ServiceListing
65 mSetting = setting; in ServiceListing()
93 mContentResolver.registerContentObserver(Settings.Secure.getUriFor(mSetting), in setListening()
111 Settings.Secure.putString(mContentResolver, mSetting, in saveEnabledServices()
117 final String flat = Settings.Secure.getString(mContentResolver, mSetting); in loadEnabledServices()
198 private String mSetting; field in ServiceListing.Builder
215 mSetting = setting; in setSetting()
248 return new ServiceListing(mContext, mTag, mSetting, mIntentAction, mPermission, mNoun, in build()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DSettingPrefControllerTest.java59 private SoundSettings mSetting; field in SettingPrefControllerTest
74 when(mSetting.getActivity()).thenReturn(mActivity); in setUp()
75 doReturn(mScreen).when(mSetting).getPreferenceScreen(); in setUp()
76 mController = new PreferenceControllerTestable(mContext, mSetting, null); in setUp()
84 verify(mPreference).init(mSetting); in displayPreference_shouldInitPreference()
DChargingSoundPreferenceControllerTest.java55 private SoundSettings mSetting; field in ChargingSoundPreferenceControllerTest
65 when(mSetting.getActivity()).thenReturn(mActivity); in setUp()
68 mController = new ChargingSoundPreferenceController(mContext, mSetting, null); in setUp()
70 doReturn(mScreen).when(mSetting).getPreferenceScreen(); in setUp()
DScreenLockSoundPreferenceControllerTest.java55 private SoundSettings mSetting; field in ScreenLockSoundPreferenceControllerTest
65 when(mSetting.getActivity()).thenReturn(mActivity); in setUp()
68 mController = new ScreenLockSoundPreferenceController(mContext, mSetting, null); in setUp()
70 doReturn(mScreen).when(mSetting).getPreferenceScreen(); in setUp()
DTouchSoundPreferenceControllerTest.java58 private SoundSettings mSetting; field in TouchSoundPreferenceControllerTest
69 when(mSetting.getActivity()).thenReturn(mActivity); in setUp()
72 mController = new TouchSoundPreferenceController(mContext, mSetting, null); in setUp()
74 doReturn(mScreen).when(mSetting).getPreferenceScreen(); in setUp()
DDialPadTonePreferenceControllerTest.java57 private SoundSettings mSetting; field in DialPadTonePreferenceControllerTest
69 when(mSetting.getActivity()).thenReturn(mActivity); in setUp()
73 mController = new DialPadTonePreferenceController(mContext, mSetting, null); in setUp()
75 doReturn(mScreen).when(mSetting).getPreferenceScreen(); in setUp()
DDockingSoundPreferenceControllerTest.java57 private SoundSettings mSetting; field in DockingSoundPreferenceControllerTest
69 when(mSetting.getActivity()).thenReturn(mActivity); in setUp()
74 mController = new DockingSoundPreferenceController(mContext, mSetting, null); in setUp()
76 doReturn(mScreen).when(mSetting).getPreferenceScreen(); in setUp()
DEmergencyTonePreferenceControllerTest.java57 private SoundSettings mSetting; field in EmergencyTonePreferenceControllerTest
70 when(mSetting.getActivity()).thenReturn(mActivity); in setUp()
75 mController = new EmergencyTonePreferenceController(mContext, mSetting, null); in setUp()
77 doReturn(mScreen).when(mSetting).getPreferenceScreen(); in setUp()
DDockAudioMediaPreferenceControllerTest.java63 private SoundSettings mSetting; field in DockAudioMediaPreferenceControllerTest
75 when(mSetting.getActivity()).thenReturn(mActivity); in setUp()
81 mController = new DockAudioMediaPreferenceController(mContext, mSetting, null); in setUp()
83 doReturn(mScreen).when(mSetting).getPreferenceScreen(); in setUp()
/packages/apps/Settings/src/com/android/settings/notification/
DSettingPref.java42 protected final String mSetting; field in SettingPref
53 mSetting = setting; in SettingPref()
56 mUri = getUriFor(mType, mSetting); in SettingPref()
111 return putInt(mType, context.getContentResolver(), mSetting, value); in setSetting()
123 final int val = getInt(mType, context.getContentResolver(), mSetting, mDefault); in update()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DPlayerApplicationSettings.java147 static byte mapAvrcpPlayerSettingstoBTattribVal(int mSetting, int mSettingVal) { in mapAvrcpPlayerSettingstoBTattribVal() argument
148 if (mSetting == REPEAT_STATUS) { in mapAvrcpPlayerSettingstoBTattribVal()
159 } else if (mSetting == SHUFFLE_STATUS) { in mapAvrcpPlayerSettingstoBTattribVal()
/packages/apps/Settings/src/com/android/settings/utils/
DManagedServiceSettings.java266 private String mSetting; field in ManagedServiceSettings.Config.Builder
281 mSetting = setting; in setSetting()
321 return new Config(mTag, mSetting, mIntentAction, mConfigIntentAction, mPermission, in build()