/**@class android.os.FactoryTest @extends java.lang.Object Provides support for in-place factory test functions. This class provides a few properties that alter the normal operation of the system during factory testing. {@hide} */ var FactoryTest = { /***/ FACTORY_TEST_OFF : "0", /***/ FACTORY_TEST_LOW_LEVEL : "1", /***/ FACTORY_TEST_HIGH_LEVEL : "2", /**Gets the current factory test mode. @return {Number} One of: {@link #FACTORY_TEST_OFF}, {@link #FACTORY_TEST_LOW_LEVEL}, or {@link #FACTORY_TEST_HIGH_LEVEL}. */ getMode : function( ) {}, /**When true, long-press on power should immediately cause the device to shut down, without prompting the user. */ isLongPressOnPowerOffEnabled : function( ) {}, };