Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DCameraLaserSensorPreferenceControllerTest.java19 import static com.android.settings.development.CameraLaserSensorPreferenceController.ENG_BUILD;
20 import static com.android.settings.development.CameraLaserSensorPreferenceController
22 import static com.android.settings.development.CameraLaserSensorPreferenceController.USER_BUILD;
51 private CameraLaserSensorPreferenceController mController;
56 mController = new CameraLaserSensorPreferenceController(RuntimeEnvironment.application); in setUp()
70 SystemProperties.set(CameraLaserSensorPreferenceController.BUILD_TYPE, USERDEBUG_BUILD); in isAvailable_withUserdebugBuild_shouldReturnTrue()
77 SystemProperties.set(CameraLaserSensorPreferenceController.BUILD_TYPE, ENG_BUILD); in isAvailable_withEngBuild_shouldReturnTrue()
84 SystemProperties.set(CameraLaserSensorPreferenceController.BUILD_TYPE, USER_BUILD); in isAvailable_withUserBuild_shouldReturnTrue()
91 SystemProperties.set(CameraLaserSensorPreferenceController.PROPERTY_CAMERA_LASER_SENSOR, in updateState_cameraLaserSensorEnabled_shouldCheckedPreference()
92 Integer.toString(CameraLaserSensorPreferenceController.ENABLED)); in updateState_cameraLaserSensorEnabled_shouldCheckedPreference()
[all …]
/packages/apps/Settings/src/com/android/settings/development/
DCameraLaserSensorPreferenceController.java31 public class CameraLaserSensorPreferenceController extends DeveloperOptionsPreferenceController class
50 public CameraLaserSensorPreferenceController(Context context) { in CameraLaserSensorPreferenceController() method in CameraLaserSensorPreferenceController
DDevelopmentSettingsDashboardFragment.java695 controllers.add(new CameraLaserSensorPreferenceController(context)); in buildPreferenceControllers()