Searched refs:CameraLaserSensorPreferenceController (Results 1 – 3 of 3) sorted by relevance
19 import static com.android.settings.development.CameraLaserSensorPreferenceController.ENG_BUILD;20 import static com.android.settings.development.CameraLaserSensorPreferenceController22 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 …]
31 public class CameraLaserSensorPreferenceController extends DeveloperOptionsPreferenceController class50 public CameraLaserSensorPreferenceController(Context context) { in CameraLaserSensorPreferenceController() method in CameraLaserSensorPreferenceController
695 controllers.add(new CameraLaserSensorPreferenceController(context)); in buildPreferenceControllers()