void function ( File arg0 , OutputStream arg1 ) { writeHeader ( arg0 , arg1 ) ; FileInputStream loc0 = null ; try { loc0 = new FileInputStream ( arg0 ) ; int loc1 ; while ( ( loc1 = loc0 . read ( buffer ) ) != - 1 ) { arg1 . write ( buffer , 0 , loc1 ) ; } } finally { closeQuietly ( loc0 ) ; } }
copies from a file to an output stream . concode_field_sep byte[] buffer concode_elem_sep boolean running concode_elem_sep File[] PATHS concode_elem_sep File BASE concode_elem_sep int INTERVAL concode_elem_sep File PROC concode_elem_sep int SAMPLE_COUNT concode_elem_sep DeviceMonitor instance concode_elem_sep int MAX_FILES concode_elem_sep String LOG_TAG concode_field_sep void writeHeader concode_elem_sep void startMonitoring concode_elem_sep void stop concode_elem_sep void start concode_elem_sep void monitor concode_elem_sep void purge concode_elem_sep void closeQuietly concode_elem_sep void waitForStart concode_elem_sep void pause concode_elem_sep boolean isProcessDirectory