SYMBOL INDEX (805 symbols across 78 files) FILE: app/src/androidTest/java/com/luo/bluetooth/ExampleInstrumentedTest.java class ExampleInstrumentedTest (line 18) | @RunWith(AndroidJUnit4.class) method useAppContext (line 20) | @Test FILE: app/src/main/java/com/luo/bluetooth/MainActivity.java class MainActivity (line 34) | public class MainActivity extends AppCompatActivity implements OnBluetoo... method onCreate (line 45) | @Override method onStop (line 53) | @Override method onDestroy (line 58) | @Override method initView (line 71) | private void initView() { method initBluetooth (line 81) | private void initBluetooth() { method btnSearchBle (line 109) | public void btnSearchBle(View view) { method btnMacConnect (line 134) | public void btnMacConnect(View view) { method btnDisconnectBle (line 141) | public void btnDisconnectBle(View view) { method onActivityResult (line 157) | @Override method onBluetoothOpen (line 180) | @Override method onBluetoothClose (line 186) | @Override method onBluetoothConnect (line 198) | @Override method onBluetoothDisconnect (line 214) | @Override method btnProtocolParse (line 224) | public void btnProtocolParse(View view) { method btnProtocolPacket (line 238) | public void btnProtocolPacket(View view) { method btnSendConfirmData (line 252) | public void btnSendConfirmData(View view) { FILE: app/src/main/java/com/luo/bluetooth/MyApplication.java class MyApplication (line 7) | public class MyApplication extends Application { method onCreate (line 10) | @Override FILE: app/src/main/java/com/luo/bluetooth/base/BaseActivity.java class BaseActivity (line 12) | public class BaseActivity extends AppCompatActivity { method onCreate (line 21) | @Override method onResume (line 28) | @Override method onDestroy (line 34) | @Override method startToActivity (line 39) | public void startToActivity(Class activityClass) { FILE: app/src/main/java/com/luo/bluetooth/common/Constants.java class Constants (line 3) | public class Constants { FILE: app/src/main/java/com/luo/bluetooth/customview/searchble/BluetoothDeviceAdapter.java class BluetoothDeviceAdapter (line 21) | public class BluetoothDeviceAdapter extends BaseAdapter{ method BluetoothDeviceAdapter (line 25) | public BluetoothDeviceAdapter(Context mContext, List mclass) { method getAnimator (line 59) | public BaseEffects getAnimator() { FILE: app/src/main/java/com/luo/bluetooth/customview/searchble/NiftyDialogBuilder.java class NiftyDialogBuilder (line 39) | public class NiftyDialogBuilder extends Dialog implements DialogInterface { method NiftyDialogBuilder (line 87) | public NiftyDialogBuilder(Context context) { method NiftyDialogBuilder (line 92) | public NiftyDialogBuilder(Context context, int theme) { method onCreate (line 97) | @Override method getInstance (line 107) | public static NiftyDialogBuilder getInstance(Context context) { method init (line 121) | private void init(Context context) { method toDefault (line 161) | public void toDefault(){ method withDividerColor (line 168) | public NiftyDialogBuilder withDividerColor(String colorString) { method withDividerColor (line 172) | public NiftyDialogBuilder withDividerColor(int color) { method withTitle (line 178) | public NiftyDialogBuilder withTitle(CharSequence title) { method withTitleColor (line 184) | public NiftyDialogBuilder withTitleColor(String colorString) { method withTitleColor (line 189) | public NiftyDialogBuilder withTitleColor(int color) { method withMessage (line 194) | public NiftyDialogBuilder withMessage(int textResId) { method withMessage (line 200) | public NiftyDialogBuilder withMessage(CharSequence msg) { method withMessageColor (line 205) | public NiftyDialogBuilder withMessageColor(String colorString) { method withMessageColor (line 209) | public NiftyDialogBuilder withMessageColor(int color) { method withDialogColor (line 214) | public NiftyDialogBuilder withDialogColor(String colorString) { method withDialogColor (line 219) | public NiftyDialogBuilder withDialogColor(int color) { method withIcon (line 224) | public NiftyDialogBuilder withIcon(int drawableResId) { method withIcon (line 229) | public NiftyDialogBuilder withIcon(Drawable icon) { method withDuration (line 234) | public NiftyDialogBuilder withDuration(int duration) { method withEffect (line 239) | public NiftyDialogBuilder withEffect(Effectstype type) { method withButtonDrawable (line 244) | public NiftyDialogBuilder withButtonDrawable(int resid) { method withButton1Text (line 249) | public NiftyDialogBuilder withButton1Text(CharSequence text) { method withButton2Text (line 255) | public NiftyDialogBuilder withButton2Text(CharSequence text) { method setButton1Click (line 260) | public NiftyDialogBuilder setButton1Click(View.OnClickListener click) { method setButton2Click (line 265) | public NiftyDialogBuilder setButton2Click(View.OnClickListener click) { method setCustomView (line 271) | public NiftyDialogBuilder setCustomView(int resId, Context context) { method setCustomView (line 280) | public NiftyDialogBuilder setCustomView(View view, Context context) { method removeAllCustomView (line 289) | public NiftyDialogBuilder removeAllCustomView(){ method isCancelableOnTouchOutside (line 297) | public NiftyDialogBuilder isCancelableOnTouchOutside(boolean cancelabl... method isCancelable (line 303) | public NiftyDialogBuilder isCancelable(boolean cancelable) { method toggleView (line 309) | private void toggleView(View view, Object obj){ method show (line 316) | @Override method start (line 321) | private void start(Effectstype type){ method dismiss (line 329) | @Override FILE: app/src/main/java/com/luo/bluetooth/customview/searchble/SignalView.java class SignalView (line 19) | public class SignalView extends View { method SignalView (line 27) | public SignalView(Context context) { method SignalView (line 31) | public SignalView(Context context, AttributeSet attrs) { method SignalView (line 35) | public SignalView(Context context, AttributeSet attrs, int defStyleAtt... method init (line 44) | private void init(){ method setIntensity (line 54) | public void setIntensity(int intensity){ method onMeasure (line 63) | @Override method onDraw (line 77) | @Override FILE: app/src/main/java/com/luo/bluetooth/customview/searchble/effects/BaseEffects.java class BaseEffects (line 37) | public abstract class BaseEffects { method setupAnimation (line 51) | protected abstract void setupAnimation(View view); method start (line 53) | public void start(View view) { method reset (line 60) | public void reset(View view) { method getAnimatorSet (line 66) | public AnimatorSet getAnimatorSet() { method setDuration (line 70) | public void setDuration(long duration) { FILE: app/src/main/java/com/luo/bluetooth/customview/searchble/effects/FadeIn.java class FadeIn (line 22) | public class FadeIn extends BaseEffects{ method setupAnimation (line 24) | @Override FILE: app/src/main/java/com/luo/bluetooth/customview/searchble/effects/Fall.java class Fall (line 22) | public class Fall extends BaseEffects{ method setupAnimation (line 24) | @Override FILE: app/src/main/java/com/luo/bluetooth/customview/searchble/effects/FlipH.java class FlipH (line 23) | public class FlipH extends BaseEffects{ method setupAnimation (line 25) | @Override FILE: app/src/main/java/com/luo/bluetooth/customview/searchble/effects/FlipV.java class FlipV (line 23) | public class FlipV extends BaseEffects{ method setupAnimation (line 25) | @Override FILE: app/src/main/java/com/luo/bluetooth/customview/searchble/effects/NewsPaper.java class NewsPaper (line 22) | public class NewsPaper extends BaseEffects{ method setupAnimation (line 24) | @Override FILE: app/src/main/java/com/luo/bluetooth/customview/searchble/effects/RotateBottom.java class RotateBottom (line 23) | public class RotateBottom extends BaseEffects{ method setupAnimation (line 25) | @Override FILE: app/src/main/java/com/luo/bluetooth/customview/searchble/effects/RotateLeft.java class RotateLeft (line 22) | public class RotateLeft extends BaseEffects{ method setupAnimation (line 24) | @Override FILE: app/src/main/java/com/luo/bluetooth/customview/searchble/effects/Shake.java class Shake (line 24) | public class Shake extends BaseEffects{ method setupAnimation (line 26) | @Override FILE: app/src/main/java/com/luo/bluetooth/customview/searchble/effects/SideFall.java class SideFall (line 22) | public class SideFall extends BaseEffects{ method setupAnimation (line 24) | @Override FILE: app/src/main/java/com/luo/bluetooth/customview/searchble/effects/SlideBottom.java class SlideBottom (line 23) | public class SlideBottom extends BaseEffects{ method setupAnimation (line 25) | @Override FILE: app/src/main/java/com/luo/bluetooth/customview/searchble/effects/SlideLeft.java class SlideLeft (line 22) | public class SlideLeft extends BaseEffects{ method setupAnimation (line 24) | @Override FILE: app/src/main/java/com/luo/bluetooth/customview/searchble/effects/SlideRight.java class SlideRight (line 22) | public class SlideRight extends BaseEffects{ method setupAnimation (line 24) | @Override FILE: app/src/main/java/com/luo/bluetooth/customview/searchble/effects/SlideTop.java class SlideTop (line 22) | public class SlideTop extends BaseEffects{ method setupAnimation (line 24) | @Override FILE: app/src/main/java/com/luo/bluetooth/customview/searchble/effects/Slit.java class Slit (line 23) | public class Slit extends BaseEffects{ method setupAnimation (line 25) | @Override FILE: app/src/main/java/com/luo/bluetooth/encryption/Aes.java class Aes (line 13) | public class Aes { method expandKey (line 57) | private static byte[] expandKey(byte[] key) { method galois_mul2 (line 85) | private static byte galois_mul2(byte value) { method aes_encr (line 104) | private static byte[] aes_encr(byte[] input, byte[] expandedKey) { method aes_decr (line 251) | private static byte[] aes_decr(byte[] input, byte[] expandedKey) { method decode16 (line 422) | public static byte[] decode16(byte[] data, byte[] key) { method encode16 (line 427) | public static byte[] encode16(byte[] data, byte[] key) { method decode (line 432) | public static byte[] decode(byte[] data, byte[] key) { method encode (line 441) | public static byte[] encode(byte[] data, byte[] key) { FILE: app/src/main/java/com/luo/bluetooth/encryption/CRC.java class CRC (line 3) | public class CRC { method calcCrc (line 16) | public static byte calcCrc(byte[] data) { method calcCrc8 (line 31) | public static byte calcCrc8(byte[] data, int offset, int len) { method calcCrc8 (line 53) | public static byte calcCrc8(byte[] data, int offset, int len, byte pre... FILE: app/src/main/java/com/luo/bluetooth/protocol/CRC16Utils.java class CRC16Utils (line 20) | class CRC16Utils { method calcCrc16 (line 39) | public static int calcCrc16(byte[] data) { method calcCrc16 (line 51) | public static int calcCrc16(byte[] data, int offset, int len) { method calcCrc16 (line 64) | public static int calcCrc16(byte[] data, int offset, int len, int prev... method getCrc (line 82) | public static String getCrc(int res) { FILE: app/src/main/java/com/luo/bluetooth/protocol/CrcUtils.java class CrcUtils (line 19) | public class CrcUtils { method Crc16Ccitt (line 23) | public static int Crc16Ccitt(int crc, byte[] data) { FILE: app/src/main/java/com/luo/bluetooth/protocol/CustomEventListener.java type CustomEventListener (line 8) | public interface CustomEventListener extends OnEventListener { FILE: app/src/main/java/com/luo/bluetooth/protocol/CustomPacket.java class CustomPacket (line 5) | public class CustomPacket extends Packet { method CustomPacket (line 8) | public CustomPacket(int cmd, byte expandCode) { method CustomPacket (line 13) | public CustomPacket(int cmd, byte[] data, byte expandCode) { method getExpandCode (line 18) | public byte getExpandCode() { method match (line 27) | @Override FILE: app/src/main/java/com/luo/bluetooth/protocol/CustomProtocol.java class CustomProtocol (line 18) | public class CustomProtocol extends Protocol byteList) { method byteToList (line 216) | private List byteToList(byte[] bytes) { method addBytes (line 227) | private void addBytes(ArrayList byteList, byte[] encodeBytes) { method getType (line 238) | @Override method getServiceUUID (line 243) | @Override method getSendTunnelUUID (line 248) | @Override method getRecvTunnelUUID (line 253) | @Override FILE: app/src/main/java/com/luo/bluetooth/protocol/OnTimeoutResult.java type OnTimeoutResult (line 10) | public interface OnTimeoutResult { method onResult (line 12) | void onResult(boolean isTimeout, T result); FILE: app/src/main/java/com/luo/bluetooth/protocol/WeiCeCode.java class WeiCeCode (line 19) | public class WeiCeCode { FILE: app/src/main/java/com/luo/bluetooth/protocol/WeiCeDeviceOperate.java class WeiCeDeviceOperate (line 16) | public class WeiCeDeviceOperate { method getSn (line 21) | public static void getSn(final OnTimeoutResult obtainResult, b... FILE: app/src/main/java/com/luo/bluetooth/utils/ByteUtils.java class ByteUtils (line 12) | public class ByteUtils { method bytesToHex (line 15) | public static String bytesToHex(byte[] bytes) { method uuidToByte5BigEndian2 (line 32) | public static byte[] uuidToByte5BigEndian2(UUID u) { method byte5ToUuidBigEndian2 (line 49) | public static UUID byte5ToUuidBigEndian2(byte[] b) { method uuidToByte5BigEndian (line 65) | public static byte[] uuidToByte5BigEndian(UUID u) { method byte5ToUuidBigEndian (line 82) | public static UUID byte5ToUuidBigEndian(byte[] b) { method byte3ToLongBigEndian (line 97) | public static long byte3ToLongBigEndian(byte[] b) { method longToByte3BigEndian (line 110) | public static byte[] longToByte3BigEndian(long i) { method compareBytes (line 125) | public static boolean compareBytes(byte[] first, byte[] second) { method uuidToByte4BigEndian (line 141) | public static byte[] uuidToByte4BigEndian(UUID u) { method byte4ToUuidBigEndian (line 157) | public static UUID byte4ToUuidBigEndian(byte[] b) { method byte4ToUuidBigEndian2 (line 172) | public static UUID byte4ToUuidBigEndian2(byte[] b) { method longToByte4BigEndian (line 187) | public static byte[] longToByte4BigEndian(long l) { method byte4ToLongBigEndian (line 202) | public static long byte4ToLongBigEndian(byte[] b) { method byte16ToUuidBigEndian (line 216) | public static UUID byte16ToUuidBigEndian(byte[] b) { method uuidToByte16BigEndian (line 226) | public static byte[] uuidToByte16BigEndian(UUID uuid) { method byte8ToUuidBigEndian (line 238) | public static UUID byte8ToUuidBigEndian(byte[] b) { method uuidToByte8BigEndian (line 248) | public static byte[] uuidToByte8BigEndian(UUID uuid) { method byte8ToLongBigEndian (line 259) | public static long byte8ToLongBigEndian(byte[] b) { method longToByte8BigEndian (line 277) | public static byte[] longToByte8BigEndian(long l) { method byte6ToUuidBigEndian2 (line 296) | public static UUID byte6ToUuidBigEndian2(byte[] b) { method uuidToByte6BigEndian2 (line 312) | public static byte[] uuidToByte6BigEndian2(UUID uuid) { method byte6ToUuidBigEndian (line 330) | public static UUID byte6ToUuidBigEndian(byte[] b) { method uuidToByte6BigEndian (line 346) | public static byte[] uuidToByte6BigEndian(UUID uuid) { method byte4ToIntBigEndian (line 364) | public static int byte4ToIntBigEndian(byte[] b) { method intToByte4BigEndian (line 378) | public static byte[] intToByte4BigEndian(int i) { method byte3ToIntBigEndian (line 393) | public static int byte3ToIntBigEndian(byte[] b) { method intToByte3BigEndian (line 406) | public static byte[] intToByte3BigEndian(int i) { method toString (line 414) | public static String toString(byte[] data) { method toString (line 418) | public static String toString(byte[] data, String interval) { method subBytes (line 435) | public static byte[] subBytes(byte[] data, int start, int len) { method subBytes (line 443) | public static byte[] subBytes(byte[] data, int start) { method bytesToLong (line 454) | public static long bytesToLong(byte[] b) { method longToBytes (line 473) | public static byte[] longToBytes(long l) { method combineByteArray (line 492) | public static byte[] combineByteArray(byte[]... bytes) { method uuidToBytes (line 517) | public static byte[] uuidToBytes(UUID uuid) { method bytesToUuid (line 527) | public static UUID bytesToUuid(byte[] data) { method intToBytes2 (line 541) | public static byte[] intToBytes2(int i) { method intToBytes2SmallDian (line 548) | public static byte[] intToBytes2SmallDian(int i) { method bytes2ToInt (line 561) | public static int bytes2ToInt(byte[] b) { method bytesS2ToInt (line 573) | public static int bytesS2ToInt(byte[] b) { method bytes2ToInt2 (line 585) | public static int bytes2ToInt2(byte[] b) { method bytesToIntBigEndian (line 597) | public static int bytesToIntBigEndian(byte[] b) { method bytesToIntSmallEndian (line 611) | public static int bytesToIntSmallEndian(byte[] b) { method intToBytesBigEndian (line 625) | public static byte[] intToBytesBigEndian(int i) { method bytesToInt (line 640) | public static int bytesToInt(byte[] b) { method intToBytes (line 654) | public static byte[] intToBytes(int i) { method bytesToShort (line 669) | public static short bytesToShort(byte[] b) { method shortToBytes (line 681) | public static byte[] shortToBytes(short i) { method bytesToShortBigEndian (line 695) | public static short bytesToShortBigEndian(byte[] b) { method shortToBytesBigEndian (line 708) | public static byte[] shortToBytesBigEndian(short i) { method wrapData (line 722) | public static byte[] wrapData(byte[] data, int len) { method getByteBits (line 740) | public static byte[] getByteBits(byte data) { method getBytesWithBuffer (line 748) | public static byte[] getBytesWithBuffer(ByteBuffer buffer) { method equal (line 757) | public static boolean equal(byte[] data1, byte[] data2) { method compare (line 761) | public static int compare(byte[] bytes1, byte[] bytes2) { method getXor (line 782) | public static byte getXor(byte[] data) { method getXor (line 786) | public static byte getXor(byte[] data, int start, int len) { method bytesToAscii (line 796) | public static String bytesToAscii(byte[] bytes, int offset, int dateLe... method bytesToAscii (line 811) | public static String bytesToAscii(byte[] bytes, int dateLen) { method bytesToAscii (line 815) | public static String bytesToAscii(byte[] bytes) { method asciiToBytes (line 819) | public static byte[] asciiToBytes(String string) { method hexStringToBytes (line 829) | public static byte[] hexStringToBytes(@NonNull String hexString) { method addSpaceToString (line 838) | public static String addSpaceToString(String origin, int strLength) { FILE: app/src/main/java/com/luo/bluetooth/utils/DateUtils.java class DateUtils (line 13) | public final class DateUtils { method getCurrentDateString (line 36) | public static String getCurrentDateString() { method dateAddHours (line 47) | public static Date dateAddHours(Date date, int hour) { method dateToString (line 52) | public static String dateToString(long time, String pattern) method dateToString (line 57) | public static String dateToString(Date date, String pattern) method stringToDate (line 62) | public static Date stringToDate(String dateStr, String pattern) method formatDate (line 67) | public static String formatDate(long time, String type) { method formatDate (line 71) | public static String formatDate(Date date) { method formatDate (line 81) | public static String formatDate(Date date, String type) { method parseDate (line 98) | public static Date parseDate(String dateStr, String type) { method getYear (line 116) | public static int getYear(Date date) { method getMonth (line 129) | public static int getMonth(Date date) { method getDay (line 142) | public static int getDay(Date date) { method getHour (line 150) | public static int getHour(Date date){ method getMinute (line 156) | public static int getMinute(Date date){ method getSecond (line 162) | public static int getSecond(Date date){ method translateDate (line 175) | public static String translateDate(Long time) { method translateDate (line 211) | private String translateDate(long time, long curTime) { method leftTime (line 275) | public static String leftTime(long time, long curTime) { FILE: app/src/main/java/com/luo/bluetooth/utils/DialogUtils.java class DialogUtils (line 20) | public class DialogUtils { method showProgressbarDialog (line 26) | public static void showProgressbarDialog(Context context) { method showProgressbarDialog (line 30) | public static void showProgressbarDialog(Context context, int titleId) { method showProgressbarDialog (line 34) | public static void showProgressbarDialog(Context context, String title) { method showNormalDialog (line 45) | public static void showNormalDialog(Context context, int text) { method showNormalDialog (line 49) | public static void showNormalDialog(Context context, String text) { method showNormalDialog (line 58) | public static void showNormalDialog(Context context, String text, Swee... method showNormalDialog (line 68) | public static SweetAlertDialog showNormalDialog(Context context, Strin... method showNormalDialog (line 82) | public static void showNormalDialog(Context context, String title, Str... method showNormalDialog (line 92) | public static SweetAlertDialog showNormalDialog(Context context, Strin... method showNormalDialog (line 110) | public static SweetAlertDialog showNormalDialog(Context context, Strin... method showLongErrorDialog (line 127) | public static void showLongErrorDialog(final Context context, String t... method showLongErrorDialog (line 136) | public static void showLongErrorDialog(Context context, String title, ... method showShortErrorDialog (line 140) | public static void showShortErrorDialog(final Context context, int tit... method showShortErrorDialog (line 144) | public static void showShortErrorDialog(final Context context, String ... method showShortErrorDialog (line 153) | public static void showShortErrorDialog(Context context, String title,... method showErrorDialog (line 157) | public static void showErrorDialog(Context context, int title) { method showErrorDialog (line 161) | public static void showErrorDialog(Context context, String title) { method showErrorDialog (line 170) | public static void showErrorDialog(Context context, String title, shor... method showErrorDialog (line 180) | public static void showErrorDialog(Context context, String title, Swee... method showErrorDialog (line 190) | public static void showErrorDialog(Context context, String title,Strin... method showShortSuccessDialog (line 200) | public static void showShortSuccessDialog(Context context, int title) { method showShortSuccessDialog (line 204) | public static void showShortSuccessDialog(Context context, String titl... method showShortSuccessDialog (line 213) | public static void showShortSuccessDialog(Context context, String titl... method showSuccessDialog (line 217) | public static void showSuccessDialog(Context context, int title) { method showSuccessDialog (line 221) | public static void showSuccessDialog(Context context, String title) { method showSuccessDialog (line 230) | public static void showSuccessDialog(Context context, String title, sh... method showSuccessDialog (line 240) | public static void showSuccessDialog(Context context, int title, Sweet... method showSuccessDialog (line 244) | public static void showSuccessDialog(Context context, String title, Sw... method showSuccessDialog (line 255) | public static void showSuccessDialog(Context context, String title, St... method showShortWarningDialog (line 267) | public static void showShortWarningDialog(Context context, int title) { method showShortWarningDialog (line 271) | public static void showShortWarningDialog(Context context, String titl... method showShortWarningDialog (line 280) | public static void showShortWarningDialog(Context context, String titl... method showWarningDialog (line 284) | public static void showWarningDialog(Context context, int id) { method showWarningDialog (line 288) | public static void showWarningDialog(Context context, String title) { method showWarningDialog (line 297) | public static void showWarningDialog(Context context, String title, sh... method showWarningDialog (line 307) | public static void showWarningDialog(Context context, String title, Sw... method showWarningDialog (line 315) | public static void showWarningDialog(Context context, String title,Str... method showWarningDialog (line 323) | public static void showWarningDialog(Context context, String title,Str... method showCancelableDialog (line 337) | public static SweetAlertDialog showCancelableDialog(Context context, S... method checkReuseable (line 352) | private static boolean checkReuseable(Context context, int dialogType){ method isMatchingCurrentContext (line 363) | public static boolean isMatchingCurrentContext(Context context){ method getDialog (line 367) | public static Dialog getDialog(){ method dismissDialog (line 371) | public static void dismissDialog() { method dismissDialog (line 375) | public static void dismissDialog(boolean animate) { method dismissMatchCurrentDialog (line 385) | public static void dismissMatchCurrentDialog(Context context){ method showDialog (line 398) | public static void showDialog(Context context, int titleId, int conten... method showNiftyTipDialog (line 404) | public static void showNiftyTipDialog(Context context, String title, S... method showNiftyCustonDialog (line 431) | public static void showNiftyCustonDialog(Context context, int title, V... method showNiftyCustonDialog (line 435) | public static void showNiftyCustonDialog(Context context, String title... method showNiftyCustonDialog (line 439) | public static void showNiftyCustonDialog(Context context, String title... method dismissNiftyDialog (line 465) | public static void dismissNiftyDialog() { FILE: app/src/main/java/com/luo/bluetooth/utils/GpsUtils.java class GpsUtils (line 6) | public class GpsUtils { method isOPen (line 7) | public static boolean isOPen(final Context context) { FILE: app/src/main/java/com/luo/bluetooth/utils/GsonUtils.java class GsonUtils (line 16) | public class GsonUtils { method GsonUtils (line 24) | private GsonUtils() { method string2Objects (line 38) | public static List string2Objects(String jsonArray, Class cl... method Object2String (line 55) | public static String Object2String(Object obj) { method string2Object (line 62) | public static T string2Object(String jsonStr, Class c) { method objToJson (line 70) | public static String objToJson(Object obj) { FILE: app/src/main/java/com/luo/bluetooth/utils/LogUtils.java class LogUtils (line 8) | public class LogUtils { method LogUtils (line 12) | private LogUtils() { method v (line 15) | public static void v(String tag, String msg) { method d (line 22) | public static void d(String tag, String msg) { method i (line 39) | public static void i(String tag, String msg) { method w (line 46) | public static void w(String tag, String msg) { method e (line 53) | public static void e(String tag, String msg) { FILE: app/src/main/java/com/luo/bluetooth/utils/TextUtils.java class TextUtils (line 3) | public class TextUtils { method isEmpty (line 5) | public static boolean isEmpty(String dateStr) { FILE: app/src/main/java/com/luo/bluetooth/utils/ToastUtil.java class ToastUtil (line 15) | public class ToastUtil { method ToastUtil (line 20) | private ToastUtil() { method controlShow (line 28) | public static void controlShow(boolean isShowToast){ method cancelToast (line 35) | public void cancelToast() { method showShort (line 47) | public static void showShort(Context context, CharSequence message) { method showShort (line 65) | public static void showShort(Context context, int resId) { method showLong (line 82) | public static void showLong(Context context, CharSequence message) { method showLong (line 99) | public static void showLong(Context context, int resId) { method show (line 117) | public static void show(Context context, CharSequence message, int dur... method show (line 135) | public static void show(Context context, int resId, int duration) { method customToastView (line 153) | public static void customToastView(Context context, CharSequence messa... method customToastGravity (line 176) | public static void customToastGravity(Context context, CharSequence me... method showToastWithImageAndText (line 198) | public static void showToastWithImageAndText(Context context, CharSequ... method customToastAll (line 228) | public static void customToastAll(Context context, CharSequence messag... method customToastAll (line 262) | public static void customToastAll(Context context, int resId, int dura... FILE: app/src/test/java/com/luo/bluetooth/ExampleUnitTest.java class ExampleUnitTest (line 12) | public class ExampleUnitTest { method addition_isCorrect (line 13) | @Test FILE: bluetooth/src/androidTest/java/com/stag/bluetooth/ExampleInstrumentedTest.java class ExampleInstrumentedTest (line 17) | @RunWith(AndroidJUnit4.class) method useAppContext (line 19) | @Test FILE: bluetooth/src/main/java/com/stag/bluetooth/BluetoothController.java class BluetoothController (line 27) | public final class BluetoothController { method getController (line 51) | public static BluetoothController getController(Context context) { method BluetoothController (line 63) | private BluetoothController(Context context) { method getConnectStateChangeListener (line 90) | public OnBluetoothConnectStateChangeListener getConnectStateChangeList... method registerConnectStateChangeListener (line 94) | public void registerConnectStateChangeListener(final OnBluetoothConnec... method unregisterConnectStateChangeListener (line 98) | public void unregisterConnectStateChangeListener() { method getBluetoothStateChangeListener (line 102) | public OnBluetoothStateChangeListener getBluetoothStateChangeListener() { method registerBluetoothStateChangeListener (line 106) | public void registerBluetoothStateChangeListener(OnBluetoothStateChang... method unregisterBluetoothStateChangeListener (line 110) | public void unregisterBluetoothStateChangeListener(){ method getTransmitListener (line 114) | public OnBluetoothTransmitListener getTransmitListener() { method registerTransmitListener (line 120) | public void registerTransmitListener(OnBluetoothTransmitListener trans... method unregisterTransmitListener (line 126) | public void unregisterTransmitListener(){ method setBluetoothType (line 130) | public void setBluetoothType(short bluetoothType) { method setProtocol (line 146) | public void setProtocol(Protocol protocol) { method getProtocol (line 158) | public Protocol getProtocol() { method isConnected (line 165) | public boolean isConnected() { method isConnecting (line 171) | public boolean isConnecting(){ method isScanning (line 177) | public boolean isScanning(){ method getBluetoothType (line 184) | public short getBluetoothType() { method setBleHighConnectionPriority (line 188) | public boolean setBleHighConnectionPriority(boolean flag){ method setBleHighSpeedMode (line 195) | public boolean setBleHighSpeedMode(boolean flag){ method isBleHighSpeedMode (line 202) | public boolean isBleHighSpeedMode(){ method setSendMethod (line 212) | private void setSendMethod() { method sendData (line 221) | public void sendData(byte[] data) { method connect (line 230) | public void connect(String address) { method connect (line 234) | public void connect(String address, Protocol protocol){ method disconnect (line 242) | public void disconnect() { method startScan (line 251) | public void startScan(OnBluetoothScanListener listener) { method stopScan (line 268) | public void stopScan() { method registerBluetoothBroadcast (line 286) | private void registerBluetoothBroadcast() { method unregisterBluetoothBroadcast (line 297) | private void unregisterBluetoothBroadcast() { method onReceive (line 308) | @Override method handleScanFindResult (line 368) | private void handleScanFindResult(BluetoothDevice device, int rssi, bo... method setScanRemoveRepeat (line 390) | public void setScanRemoveRepeat(boolean b) { method isScanRemoveRepeat (line 394) | public boolean isScanRemoveRepeat() { FILE: bluetooth/src/main/java/com/stag/bluetooth/BluetoothDispatch.java class BluetoothDispatch (line 14) | public final class BluetoothDispatch { method getInstance (line 20) | public static BluetoothDispatch getInstance(){ method start (line 30) | public void start(){ method stop (line 37) | public void stop(){ method dispatch (line 45) | public void dispatch(final Callback callback, boolean runInMainThread){ type Callback (line 70) | public interface Callback{ method callback (line 71) | void callback(); FILE: bluetooth/src/main/java/com/stag/bluetooth/BluetoothTask.java class BluetoothTask (line 10) | public final class BluetoothTask { method BluetoothTask (line 24) | public BluetoothTask(E packet) { method BluetoothTask (line 28) | public BluetoothTask(E packet, OnResultListener onRes... method BluetoothTask (line 32) | public BluetoothTask(E packet, boolean resultCallbackInMa... method BluetoothTask (line 36) | public BluetoothTask(int tryCount, int timeout, E packet... method BluetoothTask (line 40) | public BluetoothTask(int tryCount, int timeout, E packet... method isTimeout (line 48) | public boolean isTimeout() { method send (line 57) | public void send() { method sendBySync2 (line 65) | public byte[] sendBySync2() { method sendBySync (line 93) | public T sendBySync() { method getTryCount (line 117) | public int getTryCount() { method setTryCount (line 121) | public BluetoothTask setTryCount(int tryCount) { method getTimeout (line 126) | public long getTimeout() { method setTimeout (line 130) | public BluetoothTask setTimeout(long timeout) { method getSentTime (line 135) | public long getSentTime() { method setSentTime (line 139) | BluetoothTask setSentTime(long sendTime) { method getPacket (line 144) | public Packet getPacket() { method setPacket (line 148) | public BluetoothTask setPacket(T packet) { method isResultCallbackInMainThread (line 153) | public boolean isResultCallbackInMainThread() { method setResultCallbackInMainThread (line 157) | public BluetoothTask setResultCallbackInMainThread(boolean resultCallb... method getOnResult (line 162) | public OnResultListener getOnResult() { method setOnResult (line 166) | public BluetoothTask setOnResult(OnResultListener onResult) { class OnDataResultListener (line 174) | public abstract static class OnDataResultListener implements OnResultL... method onResult (line 176) | @Override method onResult (line 181) | public abstract void onResult(boolean isTimeout, byte[] data); type OnResultListener (line 187) | public interface OnResultListener { method onResult (line 188) | void onResult(boolean isTimeout, T packet); FILE: bluetooth/src/main/java/com/stag/bluetooth/BluetoothTransfer.java class BluetoothTransfer (line 17) | public final class BluetoothTransfer { method getInstance (line 34) | public static BluetoothTransfer getInstance(){ method BluetoothTransfer (line 44) | private BluetoothTransfer(){ method start (line 57) | public void start(){ method stop (line 69) | public void stop(){ method startSendQueue (line 99) | private void startSendQueue(){ method startRecvHandlerQueue (line 137) | private void startRecvHandlerQueue(){ method startTimeoutCheck (line 190) | private void startTimeoutCheck(){ method stopSendQueue (line 232) | private void stopSendQueue(){ method stopRecvHandlerQueue (line 239) | private void stopRecvHandlerQueue(){ method stopTimeoutCheck (line 246) | private void stopTimeoutCheck(){ method addSendTask (line 253) | public boolean addSendTask(BluetoothTask task){ method addRecvData (line 267) | public void addRecvData(byte[] data){ method isStop (line 274) | public boolean isStop(){ method checkTimeoutTask (line 281) | private void checkTimeoutTask(){ method getProtocol (line 304) | public Protocol getProtocol() { method setProtocol (line 308) | public void setProtocol(Protocol mProtocol) { method getSend (line 312) | public SendMethod getSend() { method setSend (line 316) | public void setSend(SendMethod send) { type SendMethod (line 320) | public interface SendMethod{ method send (line 321) | void send(byte[] data); FILE: bluetooth/src/main/java/com/stag/bluetooth/OnBluetoothConnectStateChangeListener.java type OnBluetoothConnectStateChangeListener (line 10) | public interface OnBluetoothConnectStateChangeListener { method onBluetoothConnect (line 16) | void onBluetoothConnect(BluetoothDevice device, boolean isSuccess); method onBluetoothDisconnect (line 22) | void onBluetoothDisconnect(BluetoothDevice device); FILE: bluetooth/src/main/java/com/stag/bluetooth/OnBluetoothScanListener.java type OnBluetoothScanListener (line 10) | public interface OnBluetoothScanListener { method onBluetoothScanFindDevice (line 12) | void onBluetoothScanFindDevice(BluetoothDevice device, int rssi, boole... method onBluetoothScanFinish (line 14) | void onBluetoothScanFinish(); FILE: bluetooth/src/main/java/com/stag/bluetooth/OnBluetoothStateChangeListener.java type OnBluetoothStateChangeListener (line 8) | public interface OnBluetoothStateChangeListener { method onBluetoothOpen (line 10) | void onBluetoothOpen(); method onBluetoothClose (line 12) | void onBluetoothClose(); FILE: bluetooth/src/main/java/com/stag/bluetooth/OnBluetoothTransmitListener.java type OnBluetoothTransmitListener (line 8) | public interface OnBluetoothTransmitListener { method onBluetoothSendData (line 10) | void onBluetoothSendData(byte[] data); method onBluetoothRecvData (line 11) | void onBluetoothRecvData(byte[] data); FILE: bluetooth/src/main/java/com/stag/bluetooth/extend/AndroidBle.java class AndroidBle (line 73) | @SuppressLint("NewApi") method onLeScan (line 84) | @Override method onConnectionStateChange (line 93) | @Override method onServicesDiscovered (line 115) | @Override method onCharacteristicRead (line 127) | @Override method onCharacteristicChanged (line 143) | @Override method onCharacteristicWrite (line 153) | public void onCharacteristicWrite(BluetoothGatt gatt, method onDescriptorWrite (line 166) | public void onDescriptorWrite(BluetoothGatt gatt, method AndroidBle (line 196) | public AndroidBle(BleService service) { method startScan (line 215) | @Override method stopScan (line 220) | @Override method adapterEnabled (line 225) | @Override method connect (line 233) | @Override method disconnect (line 248) | @Override method getServices (line 259) | @Override method requestReadCharacteristic (line 276) | @Override method readCharacteristic (line 289) | public boolean readCharacteristic(String address, method discoverServices (line 299) | @Override method getService (line 313) | @Override method requestCharacteristicNotification (line 328) | @Override method characteristicNotification (line 342) | @Override method requestWriteCharacteristic (line 381) | @Override method writeCharacteristic (line 394) | @Override method requestConnect (line 407) | @Override method getBTAdapterMacAddr (line 418) | @Override method requestIndication (line 426) | @Override method requestStopNotification (line 440) | @Override FILE: bluetooth/src/main/java/com/stag/bluetooth/extend/BleGattCharacteristic.java class BleGattCharacteristic (line 55) | @SuppressLint("NewApi") method BleGattCharacteristic (line 115) | public BleGattCharacteristic(android.bluetooth.BluetoothGattCharacteri... method BleGattCharacteristic (line 121) | public BleGattCharacteristic( method BleGattCharacteristic (line 127) | public BleGattCharacteristic( method initInfo (line 133) | private void initInfo() { method getUuid (line 137) | public UUID getUuid() { method getGattCharacteristicA (line 149) | protected android.bluetooth.BluetoothGattCharacteristic getGattCharact... method getProperties (line 153) | public int getProperties() { method getGattCharacteristicB (line 165) | protected com.broadcom.bt.gatt.BluetoothGattCharacteristic getGattChar... method setGattCharacteristicB (line 169) | protected void setGattCharacteristicB( method getName (line 174) | public String getName() { method setName (line 178) | public void setName(String name) { method setValue (line 182) | public boolean setValue(byte[] val) { method getValue (line 194) | public byte[] getValue() { method setValue (line 206) | public boolean setValue(int value, int formatType, int offset) { method setValue (line 218) | public boolean setValue(int mantissa, int exponent, int formatType, method setValue (line 234) | public boolean setValue(String value) { method getStringValue (line 238) | public String getStringValue(int offset) { method getFloatValue (line 250) | public Float getFloatValue(int formatType, int offset) { method getIntValue (line 262) | public Integer getIntValue(int formatType, int offset) { method byte2uint24 (line 289) | private Integer byte2uint24(int offset, byte[] value) { method getGattCharacteristicS (line 297) | protected com.samsung.android.sdk.bt.gatt.BluetoothGattCharacteristic ... method setGattCharacteristicS (line 301) | protected void setGattCharacteristicS( method setGattCharacteristicA (line 306) | protected void setGattCharacteristicA( FILE: bluetooth/src/main/java/com/stag/bluetooth/extend/BleGattService.java class BleGattService (line 61) | @SuppressLint("NewApi") method BleGattService (line 70) | public BleGattService(com.samsung.android.sdk.bt.gatt.BluetoothGattSer... method BleGattService (line 76) | public BleGattService(com.broadcom.bt.gatt.BluetoothGattService s) { method BleGattService (line 82) | public BleGattService(android.bluetooth.BluetoothGattService s) { method initInfo (line 88) | private void initInfo() { method getUuid (line 92) | public UUID getUuid() { method getCharacteristics (line 104) | public List getCharacteristics() { method getCharacteristic (line 126) | public BleGattCharacteristic getCharacteristic(UUID uuid) { method setInfo (line 150) | public void setInfo(JSONObject info) { method getName (line 162) | public String getName() { method setName (line 166) | public void setName(String mName) { FILE: bluetooth/src/main/java/com/stag/bluetooth/extend/BleRequest.java class BleRequest (line 49) | public class BleRequest { type RequestType (line 50) | public enum RequestType { type FailReason (line 54) | public enum FailReason { method BleRequest (line 63) | public BleRequest(RequestType type, String address) { method BleRequest (line 68) | public BleRequest(RequestType type, String address, method BleRequest (line 75) | public BleRequest(RequestType type, String address, method equals (line 83) | @Override FILE: bluetooth/src/main/java/com/stag/bluetooth/extend/BleService.java class BleService (line 66) | public class BleService extends Service { type BLESDK (line 135) | public enum BLESDK { method run (line 153) | @Override method getIntentFilter (line 193) | public static IntentFilter getIntentFilter() { method onBind (line 210) | @Override class LocalBinder (line 215) | public class LocalBinder extends Binder { method getService (line 216) | public BleService getService() { method onCreate (line 221) | @Override method bleNotSupported (line 238) | protected void bleNotSupported() { method bleNoBtAdapter (line 243) | protected void bleNoBtAdapter() { method getBleSDK (line 248) | private BLESDK getBleSDK() { method getBle (line 273) | public IBle getBle() { method bleDeviceFound (line 286) | protected void bleDeviceFound(BluetoothDevice device, int rssi, method bleGattConnected (line 304) | protected void bleGattConnected(BluetoothDevice device) { method bleGattDisConnected (line 320) | protected void bleGattDisConnected(String address) { method bleServiceDiscovered (line 335) | protected void bleServiceDiscovered(String address) { method requestProcessed (line 342) | protected void requestProcessed(String address, RequestType requestType, method clearTimeoutThread (line 362) | private void clearTimeoutThread() { method bleCharacteristicRead (line 388) | protected void bleCharacteristicRead(String address, String uuid, method addBleRequest (line 399) | protected void addBleRequest(BleRequest request) { method processNextRequest (line 406) | private synchronized void processNextRequest() { method startTimeoutThread (line 462) | private void startTimeoutThread() { method getCurrentRequest (line 468) | protected BleRequest getCurrentRequest() { method setCurrentRequest (line 472) | protected void setCurrentRequest(BleRequest mCurrentRequest) { method bleCharacteristicNotification (line 488) | protected void bleCharacteristicNotification(String address, String uuid, method bleCharacteristicIndication (line 518) | protected void bleCharacteristicIndication(String address, String uuid, method bleCharacteristicWrite (line 541) | protected void bleCharacteristicWrite(String address, String uuid, method bleCharacteristicChanged (line 563) | protected void bleCharacteristicChanged(String address, String uuid, method bleStatusAbnormal (line 575) | protected void bleStatusAbnormal(String reason) { method bleRequestFailed (line 590) | protected void bleRequestFailed(String address, RequestType type, method getNotificationAddress (line 599) | protected String getNotificationAddress() { method setNotificationAddress (line 603) | protected void setNotificationAddress(String mNotificationAddress) { FILE: bluetooth/src/main/java/com/stag/bluetooth/extend/BroadcomBle.java class BroadcomBle (line 66) | public class BroadcomBle implements IBle, IBleRequestHandler { method onAppRegistered (line 74) | @Override method onScanResult (line 78) | @Override method onConnectionStateChange (line 85) | @Override method onServicesDiscovered (line 102) | @Override method onCharacteristicRead (line 107) | @Override method onCharacteristicChanged (line 117) | @Override method onDescriptorRead (line 125) | @Override method onDescriptorWrite (line 163) | @Override method onServiceConnected (line 194) | @Override method onServiceDisconnected (line 200) | @Override method BroadcomBle (line 209) | public BroadcomBle(BleService service) { method startScan (line 220) | @Override method stopScan (line 235) | @Override method adapterEnabled (line 245) | @Override method connect (line 253) | @Override method disconnect (line 259) | @Override method getServices (line 265) | @Override method requestReadCharacteristic (line 277) | @Override method discoverServices (line 285) | @Override method readCharacteristic (line 290) | @Override method getService (line 300) | @Override method requestCharacteristicNotification (line 311) | @Override method characteristicNotification (line 320) | @Override method requestWriteCharacteristic (line 343) | @Override method writeCharacteristic (line 351) | @Override method requestConnect (line 358) | @Override method getBTAdapterMacAddr (line 367) | @Override method requestIndication (line 375) | @Override method requestStopNotification (line 383) | @Override FILE: bluetooth/src/main/java/com/stag/bluetooth/extend/IBle.java type IBle (line 52) | public interface IBle { method getBTAdapterMacAddr (line 54) | public String getBTAdapterMacAddr(); method startScan (line 60) | public void startScan(); method stopScan (line 65) | public void stopScan(); method adapterEnabled (line 72) | public boolean adapterEnabled(); method disconnect (line 82) | public void disconnect(String address); method discoverServices (line 92) | public boolean discoverServices(String address); method getServices (line 101) | public ArrayList getServices(String address); method getService (line 111) | public BleGattService getService(String address, UUID uuid); method requestConnect (line 120) | public boolean requestConnect(String address); method requestReadCharacteristic (line 132) | public boolean requestReadCharacteristic(String address, method requestCharacteristicNotification (line 147) | public boolean requestCharacteristicNotification(String address, method requestStopNotification (line 150) | public boolean requestStopNotification(String address, method requestIndication (line 165) | public boolean requestIndication(String address, method requestWriteCharacteristic (line 180) | public boolean requestWriteCharacteristic(String address, FILE: bluetooth/src/main/java/com/stag/bluetooth/extend/IBleRequestHandler.java type IBleRequestHandler (line 49) | public interface IBleRequestHandler { method connect (line 51) | public boolean connect(String address); method readCharacteristic (line 58) | public boolean readCharacteristic(String address, method characteristicNotification (line 66) | public boolean characteristicNotification(String address, method writeCharacteristic (line 74) | public boolean writeCharacteristic(String address, FILE: bluetooth/src/main/java/com/stag/bluetooth/extend/SamsungBle.java class SamsungBle (line 67) | public class SamsungBle implements IBle, IBleRequestHandler { method onAppRegistered (line 77) | @Override method onScanResult (line 81) | @Override method onConnectionStateChange (line 88) | @Override method onServicesDiscovered (line 111) | @Override method onCharacteristicRead (line 124) | @Override method onCharacteristicChanged (line 138) | @Override method onCharacteristicWrite (line 147) | @Override method onDescriptorRead (line 161) | @Override method onDescriptorWrite (line 199) | @Override method onServiceConnected (line 231) | @Override method onServiceDisconnected (line 237) | @Override method SamsungBle (line 243) | public SamsungBle(BleService service) { method startScan (line 254) | @Override method stopScan (line 269) | @Override method adapterEnabled (line 279) | @Override method connect (line 287) | @Override method disconnect (line 293) | @Override method getServices (line 299) | @Override method requestReadCharacteristic (line 311) | @Override method discoverServices (line 319) | @Override method readCharacteristic (line 325) | @Override method getService (line 332) | @Override method requestCharacteristicNotification (line 343) | @Override method characteristicNotification (line 352) | @Override method requestWriteCharacteristic (line 370) | @Override method writeCharacteristic (line 378) | @Override method requestConnect (line 385) | @Override method getBTAdapterMacAddr (line 391) | @Override method requestIndication (line 399) | @Override method requestStopNotification (line 407) | @Override FILE: bluetooth/src/main/java/com/stag/bluetooth/helper/BleHelper.java class BleHelper (line 29) | @TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR2) method getInstance (line 54) | public static BleHelper getInstance(Context context) { method BleHelper (line 63) | private BleHelper(Context context) { method startScan (line 67) | @Override method stopScan (line 76) | @Override method connect (line 84) | @Override method disconnect (line 105) | @Override method bindBleService (line 110) | private void bindBleService() { method startScanCount (line 134) | private void startScanCount() { method stopScanCount (line 155) | private void stopScanCount() { method startTimeoutCount (line 167) | private void startTimeoutCount() { method stopTimeoutCount (line 189) | private void stopTimeoutCount() { method send (line 197) | @Override method onCharacteristicChanged (line 304) | @Override method onCharacteristicRead (line 309) | @Override method onConnectionStateChange (line 314) | @Override method onServicesDiscovered (line 327) | @Override method onMtuChanged (line 417) | @Override method onCharacteristicWrite (line 434) | @Override method onDescriptorWrite (line 450) | @Override method isHighSpeedMode (line 461) | public boolean isHighSpeedMode(){ method setHighConnectionPriority (line 465) | @TargetApi(Build.VERSION_CODES.LOLLIPOP) method setHighSpeedMode (line 472) | public boolean setHighSpeedMode(boolean flag){ method handleConnectEvent (line 506) | private synchronized void handleConnectEvent(boolean tryConnect, boole... FILE: bluetooth/src/main/java/com/stag/bluetooth/helper/BluetoothHelper.java class BluetoothHelper (line 18) | public abstract class BluetoothHelper { method BluetoothHelper (line 32) | protected BluetoothHelper(Context context){ method startScan (line 37) | public abstract void startScan(); method stopScan (line 39) | public abstract void stopScan(); method connect (line 44) | public abstract void connect(String address); method disconnect (line 46) | public abstract void disconnect(); method send (line 48) | public void send(byte[] data){ method recv (line 56) | protected void recv(byte[] data){ method configHandler (line 64) | protected void configHandler(){ method sendConnectResultMessage (line 92) | protected void sendConnectResultMessage(boolean isSuccess){ method sendDisconnectResultMessage (line 96) | protected void sendDisconnectResultMessage(){ method connectCallback (line 104) | private void connectCallback(boolean isSuccess){ method disconnectCallback (line 112) | private void disconnectCallback(){ method isConnected (line 117) | public boolean isConnected() { method setConnected (line 121) | public void setConnected(boolean connected) { method isConnecting (line 125) | public boolean isConnecting() { method setConnecting (line 129) | public void setConnecting(boolean connecting) { method getConnectStateChangeListener (line 133) | public OnBluetoothConnectStateChangeListener getConnectStateChangeList... method setConnectStateChangeListener (line 137) | public void setConnectStateChangeListener(OnBluetoothConnectStateChang... method getTransmitListener (line 141) | public OnBluetoothTransmitListener getTransmitListener() { method setTransmitListener (line 145) | public void setTransmitListener(OnBluetoothTransmitListener transmitLi... method setProtocol (line 149) | public void setProtocol(Protocol protocol){ FILE: bluetooth/src/main/java/com/stag/bluetooth/helper/MyBluetoothService.java class MyBluetoothService (line 15) | public class MyBluetoothService { type MessageConstants (line 21) | private interface MessageConstants { class ConnectedThread (line 29) | public static class ConnectedThread extends Thread { method ConnectedThread (line 35) | public ConnectedThread(BluetoothSocket socket) { method run (line 57) | public void run() { method write (line 84) | public void write(byte[] bytes) { method cancel (line 107) | public void cancel() { FILE: bluetooth/src/main/java/com/stag/bluetooth/helper/TraditionHelper.java class TraditionHelper (line 18) | public final class TraditionHelper extends BluetoothHelper { method getInstance (line 26) | public static TraditionHelper getInstance(Context context){ method TraditionHelper (line 35) | private TraditionHelper(Context context){ method startScan (line 39) | @Override method stopScan (line 44) | @Override method connect (line 49) | @Override method disconnect (line 96) | @Override method run (line 117) | @Override method send (line 138) | @Override FILE: bluetooth/src/main/java/com/stag/bluetooth/helper/TraditionServerHelper.java class TraditionServerHelper (line 17) | public class TraditionServerHelper extends BluetoothHelper { method getInstance (line 23) | public static TraditionServerHelper getInstance(Context context) { method TraditionServerHelper (line 32) | private TraditionServerHelper(Context context) { method startScan (line 37) | @Override method stopScan (line 47) | @Override method connect (line 56) | @Override method disconnect (line 61) | @Override class AcceptThread (line 72) | private class AcceptThread extends Thread { method AcceptThread (line 75) | public AcceptThread() { method run (line 88) | public void run() { method cancel (line 122) | public void cancel() { class ConnectedThread (line 133) | public class ConnectedThread extends Thread { method ConnectedThread (line 139) | public ConnectedThread(BluetoothSocket socket) { method run (line 161) | public void run() { method write (line 186) | public void write(byte[] bytes) { method cancel (line 197) | public void cancel() { method send (line 207) | @Override FILE: bluetooth/src/main/java/com/stag/bluetooth/packet/Packet.java class Packet (line 7) | public class Packet{ method Packet (line 13) | public Packet(int cmd) { method Packet (line 17) | public Packet(int cmd, byte[] data) { method match (line 26) | public boolean match(T recvPacket){ method getCmd (line 30) | public int getCmd() { method setCmd (line 34) | public void setCmd(int cmd) { method getData (line 38) | public byte[] getData() { method setData (line 42) | public void setData(byte[] data) { FILE: bluetooth/src/main/java/com/stag/bluetooth/protocol/OnEventListener.java type OnEventListener (line 7) | public interface OnEventListener { FILE: bluetooth/src/main/java/com/stag/bluetooth/protocol/ParseResult.java class ParseResult (line 11) | public final class ParseResult { method ParseResult (line 19) | public ParseResult(){ method ParseResult (line 23) | public ParseResult(ResultType type, Packet packet, BluetoothDispatch.C... method getType (line 29) | public ResultType getType() { method setType (line 33) | public void setType(ResultType type) { method getPacket (line 37) | public Packet getPacket() { method setPacket (line 41) | public void setPacket(Packet packet) { method getCallback (line 45) | public BluetoothDispatch.Callback getCallback() { method setCallback (line 49) | public void setCallback(BluetoothDispatch.Callback callback) { FILE: bluetooth/src/main/java/com/stag/bluetooth/protocol/Protocol.java class Protocol (line 13) | public abstract class Protocol byteToList(byte[] data) { FILE: bluetooth/src/main/java/com/stag/bluetooth/util/LogUtils.java class LogUtils (line 8) | public class LogUtils { method LogUtils (line 12) | private LogUtils() { method v (line 15) | public static void v(String tag, String msg) { method d (line 21) | public static void d(String tag, String msg) { method i (line 37) | public static void i(String tag, String msg) { method w (line 43) | public static void w(String tag, String msg) { method e (line 49) | public static void e(String tag, String msg) { FILE: bluetooth/src/main/java/com/stag/bluetooth/util/Logs.java class Logs (line 9) | public class Logs { method d (line 13) | public static void d(String tag, String msg){ method e (line 18) | public static void e(String tag, String msg){ FILE: bluetooth/src/test/java/com/stag/bluetooth/ExampleUnitTest.java class ExampleUnitTest (line 8) | public class ExampleUnitTest { method addition_isCorrect (line 9) | @Test