Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Justson/BluetoothChatting
/ functions
Functions
98 in github.com/Justson/BluetoothChatting
⨍
Functions
98
◇
Types & classes
24
↓ 14 callers
Method
getName
()
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:68
↓ 8 callers
Method
close
()
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:400
↓ 7 callers
Method
setCurrentState
(BluetoothState currentState)
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:77
↓ 4 callers
Method
closeAll
关闭所有执行的线程
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:214
↓ 4 callers
Method
getCurrentState
()
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:73
↓ 3 callers
Method
getId
()
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:52
↓ 2 callers
Method
addMessage
(com.ucmap.bluetoothsearch.entity.Message message)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:131
↓ 2 callers
Method
connect
(BluetoothDevice bluetoothDevice)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:327
↓ 2 callers
Method
connect_cut
()
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:283
↓ 2 callers
Method
connected
(BluetoothSocket bluetoothSocket)
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:200
↓ 2 callers
Method
createBond
与设备配对 参考源码:platform/packages/apps/Settings.git /Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
src/main/java/com/ucmap/bluetoothsearch/utils/ClsUtils.java:16
↓ 2 callers
Method
getCurrentTime
(String m)
src/main/java/com/ucmap/bluetoothsearch/utils/Utils.java:17
↓ 2 callers
Method
getType
()
src/main/java/com/ucmap/bluetoothsearch/adapter/Adapter.java:65
↓ 2 callers
Method
setPairingConfirmation
(Class<?> btClass,BluetoothDevice device,boolean isConfirm)
src/main/java/com/ucmap/bluetoothsearch/utils/ClsUtils.java:91
↓ 2 callers
Method
start
()
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:101
↓ 1 callers
Method
addDevice
(BluetoothDevice bluetoothDevice)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:343
↓ 1 callers
Method
bond
(BluetoothDevice bluetoothDevice)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:314
↓ 1 callers
Method
close
(Closeable... closeables)
src/main/java/com/ucmap/bluetoothsearch/utils/CloseUtils.java:12
↓ 1 callers
Method
connect
(BluetoothDevice bluetoothDevice)
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:119
↓ 1 callers
Method
connectCut
()
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:121
↓ 1 callers
Method
connectFail
(String msg)
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:385
↓ 1 callers
Method
getContent
()
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:44
↓ 1 callers
Method
getHolder
(View view, ViewGroup parent, int ViewType)
src/main/java/com/ucmap/bluetoothsearch/adapter/Adapter.java:51
↓ 1 callers
Method
getInstantce
(Bundle bundle)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:141
↓ 1 callers
Method
getItemType
(int position)
src/main/java/com/ucmap/bluetoothsearch/adapter/Adapter.java:38
↓ 1 callers
Method
getTime
()
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:29
↓ 1 callers
Method
getTypeViewResId
(int type)
src/main/java/com/ucmap/bluetoothsearch/adapter/Adapter.java:53
↓ 1 callers
Method
initData
()
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:174
↓ 1 callers
Method
onPairFinish
()
src/main/java/com/ucmap/bluetoothsearch/broadcast/PairReceiver.java:66
↓ 1 callers
Method
onSaveSubView
(View itemView)
src/main/java/com/ucmap/bluetoothsearch/adapter/Adapter.java:79
↓ 1 callers
Method
sendMessage
()
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:258
↓ 1 callers
Method
setPin
(Class<? extends BluetoothDevice> btClass, BluetoothDevice btDevice, String s
src/main/java/com/ucmap/bluetoothsearch/utils/ClsUtils.java:36
↓ 1 callers
Method
setType
(int type)
src/main/java/com/ucmap/bluetoothsearch/adapter/Adapter.java:69
↓ 1 callers
Method
showDevices
()
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:269
↓ 1 callers
Method
startFragment
(FragmentManager fm, Fragment fragment,int resId)
src/main/java/com/ucmap/bluetoothsearch/utils/ActivityUtil.java:17
↓ 1 callers
Method
toFinish
()
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:235
↓ 1 callers
Method
write
(String message)
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:293
Method
Adapter
(Context context, List<T> list)
src/main/java/com/ucmap/bluetoothsearch/adapter/Adapter.java:28
Method
BluetoothServer
(Handler handler)
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:87
Method
CommonAdapter
(Context context, List<BluetoothDevice> devices)
src/main/java/com/ucmap/bluetoothsearch/adapter/CommonAdapter.java:26
Method
Connect
(String address, BluetoothAdapter bluetoothAdapter, Handler handler, BluetoothServer bluetoothServer)
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:348
Method
ConnectedRunnable
(BluetoothSocket bluetoothSocket, Handler handler, BluetoothServer bluetoothServer)
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:241
Method
Holder
(View itemView)
src/main/java/com/ucmap/bluetoothsearch/adapter/Adapter.java:74
Method
Message
(String content, int id, String name, String mac, String time)
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:21
Method
MessageAdapter
(Context context, List<Message> list)
src/main/java/com/ucmap/bluetoothsearch/adapter/MessageAdapter.java:25
Method
MessageHolder
(View itemView)
src/main/java/com/ucmap/bluetoothsearch/adapter/MessageAdapter.java:89
Method
PairReceiver
(String target, PairCallBack pairCallBack)
src/main/java/com/ucmap/bluetoothsearch/broadcast/PairReceiver.java:26
Method
ServerRunnable
(BluetoothServer bluetoothServer, BluetoothAdapter bluetoothAdapter)
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:137
Method
addition_isCorrect
()
src/test/java/com/ucmap/bluetoothsearch/ExampleUnitTest.java:13
Method
attachBaseContext
(Context base)
src/main/java/com/ucmap/bluetoothsearch/app/App.java:32
Method
cancelBondProcess
(Class<?> btClass, BluetoothDevice device)
src/main/java/com/ucmap/bluetoothsearch/utils/ClsUtils.java:79
Method
cancelPairingUserInput
(Class<?> btClass, BluetoothDevice device)
src/main/java/com/ucmap/bluetoothsearch/utils/ClsUtils.java:69
Method
close
()
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:183
Method
close
()
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:315
Method
close
()
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:377
Method
connect_cut
()
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:179
Method
createFromParcel
(Parcel in)
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:85
Method
describeContents
()
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:96
Method
getCount
()
src/main/java/com/ucmap/bluetoothsearch/adapter/CommonAdapter.java:31
Method
getHolder
(View view, ViewGroup parent, int ViewType)
src/main/java/com/ucmap/bluetoothsearch/adapter/MessageAdapter.java:42
Method
getItem
(int position)
src/main/java/com/ucmap/bluetoothsearch/adapter/CommonAdapter.java:36
Method
getItemCount
()
src/main/java/com/ucmap/bluetoothsearch/adapter/Adapter.java:56
Method
getItemId
(int position)
src/main/java/com/ucmap/bluetoothsearch/adapter/CommonAdapter.java:41
Method
getItemType
(int position)
src/main/java/com/ucmap/bluetoothsearch/adapter/MessageAdapter.java:31
Method
getItemViewType
(int position)
src/main/java/com/ucmap/bluetoothsearch/adapter/Adapter.java:33
Method
getMac
()
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:60
Method
getTypeViewResId
(int type)
src/main/java/com/ucmap/bluetoothsearch/adapter/MessageAdapter.java:47
Method
getView
(int position, View convertView, ViewGroup parent)
src/main/java/com/ucmap/bluetoothsearch/adapter/CommonAdapter.java:46
Method
handleMessage
(Message msg)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:82
Method
newArray
(int size)
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:90
Method
onAttach
(Context context)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:151
Method
onBindViewHolder
(MessageHolder holder, int position)
src/main/java/com/ucmap/bluetoothsearch/adapter/MessageAdapter.java:58
Method
onClick
(View view)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:218
Method
onCreate
()
src/main/java/com/ucmap/bluetoothsearch/app/App.java:18
Method
onCreate
(Bundle savedInstanceState)
src/main/java/com/ucmap/bluetoothsearch/ui/MainActivity.java:15
Method
onCreateView
(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:157
Method
onCreateViewHolder
(ViewGroup parent, int viewType)
src/main/java/com/ucmap/bluetoothsearch/adapter/Adapter.java:46
Method
onDestroy
()
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:405
Method
onDestroyView
()
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:212
Method
onItemClick
(AdapterView<?> parent, View view, int position, long id)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:294
Method
onReceive
(Context context, Intent intent)
src/main/java/com/ucmap/bluetoothsearch/broadcast/PairReceiver.java:31
Method
onReceive
(Context context, Intent intent)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:353
Method
onSaveSubView
(View itemView)
src/main/java/com/ucmap/bluetoothsearch/adapter/MessageAdapter.java:93
Method
onViewCreated
(View view, @Nullable Bundle savedInstanceState)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:165
Method
printAllInform
@param clsShow
src/main/java/com/ucmap/bluetoothsearch/utils/ClsUtils.java:102
Method
removeBond
与设备解除配对 参考源码:platform/packages/apps/Settings.git /Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
src/main/java/com/ucmap/bluetoothsearch/utils/ClsUtils.java:28
Method
run
()
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:142
Method
run
()
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:255
Method
run
()
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:355
Method
search
()
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:339
Method
sendMessage
(String message)
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:393
Method
setContent
(String content)
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:48
Method
setId
(int id)
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:56
Method
setMac
(String mac)
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:64
Method
setName
(String name)
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:72
Method
setTime
(String time)
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:33
Method
useAppContext
()
src/androidTest/java/com/ucmap/bluetoothsearch/ExampleInstrumentedTest.java:19
Method
writeToParcel
(Parcel dest, int flags)
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:101