/packages/apps/Settings/src/com/android/settings/emergency/ |
D | EmergencyGestureNumberOverridePreference.java | 43 private EmergencyNumberUtils mEmergencyNumberUtils; field in EmergencyGestureNumberOverridePreference 68 mEmergencyNumberUtils = new EmergencyNumberUtils(context); in init() 80 final String defaultNumber = mEmergencyNumberUtils.getDefaultPoliceNumber(); in onBindDialogView() 82 final String number = mEmergencyNumberUtils.getPoliceNumber(); in onBindDialogView() 93 mEmergencyNumberUtils.setEmergencyNumberOverride(input); in onClick() 95 mEmergencyNumberUtils.setEmergencyNumberOverride( in onClick() 96 mEmergencyNumberUtils.getDefaultPoliceNumber()); in onClick()
|
D | EmergencyGestureSoundPreferenceController.java | 33 EmergencyNumberUtils mEmergencyNumberUtils; field in EmergencyGestureSoundPreferenceController 37 mEmergencyNumberUtils = new EmergencyNumberUtils(context); in EmergencyGestureSoundPreferenceController() 57 return mEmergencyNumberUtils.getEmergencyGestureSoundEnabled(); in isChecked() 62 mEmergencyNumberUtils.setEmergencySoundEnabled(isChecked); in setChecked()
|
D | EmergencyGesturePreferenceController.java | 39 EmergencyNumberUtils mEmergencyNumberUtils; field in EmergencyGesturePreferenceController 45 mEmergencyNumberUtils = new EmergencyNumberUtils(context); in EmergencyGesturePreferenceController() 71 return mEmergencyNumberUtils.getEmergencyGestureEnabled(); in isChecked() 76 mEmergencyNumberUtils.setEmergencyGestureEnabled(isChecked); in onSwitchChanged()
|
D | EmergencyGestureNumberOverridePreferenceController.java | 46 EmergencyNumberUtils mEmergencyNumberUtils; field in EmergencyGestureNumberOverridePreferenceController 54 mEmergencyNumberUtils = new EmergencyNumberUtils(context); in EmergencyGestureNumberOverridePreferenceController() 75 String number = mEmergencyNumberUtils.getPoliceNumber(); in getSummary()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/emergency/ |
D | EmergencyGestureSoundPreferenceControllerTest.java | 45 private EmergencyNumberUtils mEmergencyNumberUtils; field in EmergencyGestureSoundPreferenceControllerTest 54 mController.mEmergencyNumberUtils = mEmergencyNumberUtils; in setUp() 83 when(mEmergencyNumberUtils.getEmergencyGestureSoundEnabled()).thenReturn(true); in isChecked_configIsSet_shouldReturnTrue() 91 when(mEmergencyNumberUtils.getEmergencyGestureSoundEnabled()).thenReturn(false); in isChecked_configIsSetToFalse_shouldReturnFalse()
|
D | EmergencyGesturePreferenceControllerTest.java | 48 private EmergencyNumberUtils mEmergencyNumberUtils; field in EmergencyGesturePreferenceControllerTest 58 mController.mEmergencyNumberUtils = mEmergencyNumberUtils; in setUp() 87 when(mEmergencyNumberUtils.getEmergencyGestureEnabled()).thenReturn(true); in isChecked_configIsNotSet_shouldReturnTrue() 95 when(mEmergencyNumberUtils.getEmergencyGestureEnabled()).thenReturn(false); in isChecked_configIsSet_shouldReturnFalse()
|
D | EmergencyGestureNumberOverridePreferenceControllerTest.java | 51 private EmergencyNumberUtils mEmergencyNumberUtils; field in EmergencyGestureNumberOverridePreferenceControllerTest 88 mController.mEmergencyNumberUtils = mEmergencyNumberUtils; in updateState_shouldLoadNumberFromSettings() 89 when(mEmergencyNumberUtils.getPoliceNumber()).thenReturn("123"); in updateState_shouldLoadNumberFromSettings()
|
/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/action/service/ |
D | EmergencyActionForegroundService.java | 63 private EmergencyNumberUtils mEmergencyNumberUtils; field in EmergencyActionForegroundService 76 mEmergencyNumberUtils = new EmergencyNumberUtils(this); in onCreate() 84 if (mTelecomManager == null || mEmergencyNumberUtils == null) { in onStartCommand()
|
/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/action/ |
D | EmergencyActionFragment.java | 56 private EmergencyNumberUtils mEmergencyNumberUtils; field in EmergencyActionFragment 67 mEmergencyNumberUtils = new EmergencyNumberUtils(context); in onAttach() 92 mEmergencyNumberUtils.getPoliceNumber())); in onCreateView()
|