Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DSettingPrefControllerTest.java55 private SoundSettings mSetting; field in SettingPrefControllerTest
70 when(mSetting.getActivity()).thenReturn(mActivity); in setUp()
71 doReturn(mScreen).when(mSetting).getPreferenceScreen(); in setUp()
72 mController = new PreferenceControllerTestable(mContext, mSetting, null); in setUp()
80 verify(mPreference).init(mSetting); in displayPreference_shouldInitPreference()
DTouchSoundPreferenceControllerTest.java55 private SoundSettings mSetting; field in TouchSoundPreferenceControllerTest
66 when(mSetting.getActivity()).thenReturn(mActivity); in setUp()
69 mController = new TouchSoundPreferenceController(mContext, mSetting, null); in setUp()
71 doReturn(mScreen).when(mSetting).getPreferenceScreen(); in setUp()
DChargingSoundPreferenceControllerTest.java52 private SoundSettings mSetting; field in ChargingSoundPreferenceControllerTest
62 when(mSetting.getActivity()).thenReturn(mActivity); in setUp()
65 mController = new ChargingSoundPreferenceController(mContext, mSetting, null); in setUp()
67 doReturn(mScreen).when(mSetting).getPreferenceScreen(); in setUp()
DScreenLockSoundPreferenceControllerTest.java52 private SoundSettings mSetting; field in ScreenLockSoundPreferenceControllerTest
62 when(mSetting.getActivity()).thenReturn(mActivity); in setUp()
65 mController = new ScreenLockSoundPreferenceController(mContext, mSetting, null); in setUp()
67 doReturn(mScreen).when(mSetting).getPreferenceScreen(); in setUp()
DVibrateOnTouchPreferenceControllerTest.java51 private SoundSettings mSetting; field in VibrateOnTouchPreferenceControllerTest
66 when(mSetting.getActivity()).thenReturn(mActivity); in setUp()
69 mController = new VibrateOnTouchPreferenceController(mContext, mSetting, null); in setUp()
71 doReturn(mScreen).when(mSetting).getPreferenceScreen(); in setUp()
DDialPadTonePreferenceControllerTest.java53 private SoundSettings mSetting; field in DialPadTonePreferenceControllerTest
65 when(mSetting.getActivity()).thenReturn(mActivity); in setUp()
69 mController = new DialPadTonePreferenceController(mContext, mSetting, null); in setUp()
71 doReturn(mScreen).when(mSetting).getPreferenceScreen(); in setUp()
DDockingSoundPreferenceControllerTest.java51 private SoundSettings mSetting; field in DockingSoundPreferenceControllerTest
61 when(mSetting.getActivity()).thenReturn(mActivity); in setUp()
66 mController = new DockingSoundPreferenceController(mContext, mSetting, null); in setUp()
68 doReturn(mScreen).when(mSetting).getPreferenceScreen(); in setUp()
DDockAudioMediaPreferenceControllerTest.java52 private SoundSettings mSetting; field in DockAudioMediaPreferenceControllerTest
62 when(mSetting.getActivity()).thenReturn(mActivity); in setUp()
68 mController = new DockAudioMediaPreferenceController(mContext, mSetting, null); in setUp()
70 doReturn(mScreen).when(mSetting).getPreferenceScreen(); in setUp()
DEmergencyTonePreferenceControllerTest.java53 private SoundSettings mSetting; field in EmergencyTonePreferenceControllerTest
66 when(mSetting.getActivity()).thenReturn(mActivity); in setUp()
71 mController = new EmergencyTonePreferenceController(mContext, mSetting, null); in setUp()
73 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DPlayerApplicationSettings.java241 private static byte mapAvrcpPlayerSettingstoBTattribVal(int mSetting, int mSettingVal) { in mapAvrcpPlayerSettingstoBTattribVal() argument
242 if (mSetting == BluetoothAvrcpPlayerSettings.SETTING_EQUALIZER) { in mapAvrcpPlayerSettingstoBTattribVal()
249 } else if (mSetting == BluetoothAvrcpPlayerSettings.SETTING_REPEAT) { in mapAvrcpPlayerSettingstoBTattribVal()
260 } else if (mSetting == BluetoothAvrcpPlayerSettings.SETTING_SHUFFLE) { in mapAvrcpPlayerSettingstoBTattribVal()
269 } else if (mSetting == BluetoothAvrcpPlayerSettings.SETTING_SCAN) { in mapAvrcpPlayerSettingstoBTattribVal()
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/
DDialogAdapter.java55 Setting s = vh.mSetting; in onCreateViewHolder()
94 private Setting mSetting; field in DialogAdapter.ViewHolder
102 mSetting = setting; in setSetting()
/packages/apps/Settings/src/com/android/settings/utils/
DManagedServiceSettings.java261 private String mSetting; field in ManagedServiceSettings.Config.Builder
276 mSetting = setting; in setSetting()
316 return new Config(mTag, mSetting, mIntentAction, mConfigIntentAction, mPermission, in build()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/utils/
DManagedServiceSettings.java261 private String mSetting; field in ManagedServiceSettings.Config.Builder
276 mSetting = setting; in setSetting()
316 return new Config(mTag, mSetting, mIntentAction, mConfigIntentAction, mPermission, in build()