question: public void stop ( ) { mCancel = true ; if ( mRunning . compareAndSet ( true , false ) ) { if ( mSampleDispatcherTask != null ) { mSampleDispatcherTask . cancel ( true ) ; mFilledBuffers . clear ( ) ; } } }
target:  Stops the sample fetching thread