MCPcopy Create free account

hub / github.com/Justson/BluetoothChatting / functions

Functions98 in github.com/Justson/BluetoothChatting

↓ 14 callersMethodgetName
()
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:68
↓ 8 callersMethodclose
()
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:400
↓ 7 callersMethodsetCurrentState
(BluetoothState currentState)
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:77
↓ 4 callersMethodcloseAll
关闭所有执行的线程
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:214
↓ 4 callersMethodgetCurrentState
()
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:73
↓ 3 callersMethodgetId
()
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:52
↓ 2 callersMethodaddMessage
(com.ucmap.bluetoothsearch.entity.Message message)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:131
↓ 2 callersMethodconnect
(BluetoothDevice bluetoothDevice)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:327
↓ 2 callersMethodconnect_cut
()
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:283
↓ 2 callersMethodconnected
(BluetoothSocket bluetoothSocket)
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:200
↓ 2 callersMethodcreateBond
与设备配对 参考源码:platform/packages/apps/Settings.git /Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
src/main/java/com/ucmap/bluetoothsearch/utils/ClsUtils.java:16
↓ 2 callersMethodgetCurrentTime
(String m)
src/main/java/com/ucmap/bluetoothsearch/utils/Utils.java:17
↓ 2 callersMethodgetType
()
src/main/java/com/ucmap/bluetoothsearch/adapter/Adapter.java:65
↓ 2 callersMethodsetPairingConfirmation
(Class<?> btClass,BluetoothDevice device,boolean isConfirm)
src/main/java/com/ucmap/bluetoothsearch/utils/ClsUtils.java:91
↓ 2 callersMethodstart
()
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:101
↓ 1 callersMethodaddDevice
(BluetoothDevice bluetoothDevice)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:343
↓ 1 callersMethodbond
(BluetoothDevice bluetoothDevice)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:314
↓ 1 callersMethodclose
(Closeable... closeables)
src/main/java/com/ucmap/bluetoothsearch/utils/CloseUtils.java:12
↓ 1 callersMethodconnect
(BluetoothDevice bluetoothDevice)
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:119
↓ 1 callersMethodconnectCut
()
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:121
↓ 1 callersMethodconnectFail
(String msg)
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:385
↓ 1 callersMethodgetContent
()
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:44
↓ 1 callersMethodgetHolder
(View view, ViewGroup parent, int ViewType)
src/main/java/com/ucmap/bluetoothsearch/adapter/Adapter.java:51
↓ 1 callersMethodgetInstantce
(Bundle bundle)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:141
↓ 1 callersMethodgetItemType
(int position)
src/main/java/com/ucmap/bluetoothsearch/adapter/Adapter.java:38
↓ 1 callersMethodgetTime
()
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:29
↓ 1 callersMethodgetTypeViewResId
(int type)
src/main/java/com/ucmap/bluetoothsearch/adapter/Adapter.java:53
↓ 1 callersMethodinitData
()
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:174
↓ 1 callersMethodonPairFinish
()
src/main/java/com/ucmap/bluetoothsearch/broadcast/PairReceiver.java:66
↓ 1 callersMethodonSaveSubView
(View itemView)
src/main/java/com/ucmap/bluetoothsearch/adapter/Adapter.java:79
↓ 1 callersMethodsendMessage
()
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:258
↓ 1 callersMethodsetPin
(Class<? extends BluetoothDevice> btClass, BluetoothDevice btDevice, String s
src/main/java/com/ucmap/bluetoothsearch/utils/ClsUtils.java:36
↓ 1 callersMethodsetType
(int type)
src/main/java/com/ucmap/bluetoothsearch/adapter/Adapter.java:69
↓ 1 callersMethodshowDevices
()
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:269
↓ 1 callersMethodstartFragment
(FragmentManager fm, Fragment fragment,int resId)
src/main/java/com/ucmap/bluetoothsearch/utils/ActivityUtil.java:17
↓ 1 callersMethodtoFinish
()
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:235
↓ 1 callersMethodwrite
(String message)
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:293
MethodAdapter
(Context context, List<T> list)
src/main/java/com/ucmap/bluetoothsearch/adapter/Adapter.java:28
MethodBluetoothServer
(Handler handler)
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:87
MethodCommonAdapter
(Context context, List<BluetoothDevice> devices)
src/main/java/com/ucmap/bluetoothsearch/adapter/CommonAdapter.java:26
MethodConnect
(String address, BluetoothAdapter bluetoothAdapter, Handler handler, BluetoothServer bluetoothServer)
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:348
MethodConnectedRunnable
(BluetoothSocket bluetoothSocket, Handler handler, BluetoothServer bluetoothServer)
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:241
MethodHolder
(View itemView)
src/main/java/com/ucmap/bluetoothsearch/adapter/Adapter.java:74
MethodMessage
(String content, int id, String name, String mac, String time)
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:21
MethodMessageAdapter
(Context context, List<Message> list)
src/main/java/com/ucmap/bluetoothsearch/adapter/MessageAdapter.java:25
MethodMessageHolder
(View itemView)
src/main/java/com/ucmap/bluetoothsearch/adapter/MessageAdapter.java:89
MethodPairReceiver
(String target, PairCallBack pairCallBack)
src/main/java/com/ucmap/bluetoothsearch/broadcast/PairReceiver.java:26
MethodServerRunnable
(BluetoothServer bluetoothServer, BluetoothAdapter bluetoothAdapter)
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:137
Methodaddition_isCorrect
()
src/test/java/com/ucmap/bluetoothsearch/ExampleUnitTest.java:13
MethodattachBaseContext
(Context base)
src/main/java/com/ucmap/bluetoothsearch/app/App.java:32
MethodcancelBondProcess
(Class<?> btClass, BluetoothDevice device)
src/main/java/com/ucmap/bluetoothsearch/utils/ClsUtils.java:79
MethodcancelPairingUserInput
(Class<?> btClass, BluetoothDevice device)
src/main/java/com/ucmap/bluetoothsearch/utils/ClsUtils.java:69
Methodclose
()
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:183
Methodclose
()
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:315
Methodclose
()
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:377
Methodconnect_cut
()
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:179
MethodcreateFromParcel
(Parcel in)
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:85
MethoddescribeContents
()
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:96
MethodgetCount
()
src/main/java/com/ucmap/bluetoothsearch/adapter/CommonAdapter.java:31
MethodgetHolder
(View view, ViewGroup parent, int ViewType)
src/main/java/com/ucmap/bluetoothsearch/adapter/MessageAdapter.java:42
MethodgetItem
(int position)
src/main/java/com/ucmap/bluetoothsearch/adapter/CommonAdapter.java:36
MethodgetItemCount
()
src/main/java/com/ucmap/bluetoothsearch/adapter/Adapter.java:56
MethodgetItemId
(int position)
src/main/java/com/ucmap/bluetoothsearch/adapter/CommonAdapter.java:41
MethodgetItemType
(int position)
src/main/java/com/ucmap/bluetoothsearch/adapter/MessageAdapter.java:31
MethodgetItemViewType
(int position)
src/main/java/com/ucmap/bluetoothsearch/adapter/Adapter.java:33
MethodgetMac
()
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:60
MethodgetTypeViewResId
(int type)
src/main/java/com/ucmap/bluetoothsearch/adapter/MessageAdapter.java:47
MethodgetView
(int position, View convertView, ViewGroup parent)
src/main/java/com/ucmap/bluetoothsearch/adapter/CommonAdapter.java:46
MethodhandleMessage
(Message msg)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:82
MethodnewArray
(int size)
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:90
MethodonAttach
(Context context)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:151
MethodonBindViewHolder
(MessageHolder holder, int position)
src/main/java/com/ucmap/bluetoothsearch/adapter/MessageAdapter.java:58
MethodonClick
(View view)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:218
MethodonCreate
()
src/main/java/com/ucmap/bluetoothsearch/app/App.java:18
MethodonCreate
(Bundle savedInstanceState)
src/main/java/com/ucmap/bluetoothsearch/ui/MainActivity.java:15
MethodonCreateView
(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:157
MethodonCreateViewHolder
(ViewGroup parent, int viewType)
src/main/java/com/ucmap/bluetoothsearch/adapter/Adapter.java:46
MethodonDestroy
()
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:405
MethodonDestroyView
()
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:212
MethodonItemClick
(AdapterView<?> parent, View view, int position, long id)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:294
MethodonReceive
(Context context, Intent intent)
src/main/java/com/ucmap/bluetoothsearch/broadcast/PairReceiver.java:31
MethodonReceive
(Context context, Intent intent)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:353
MethodonSaveSubView
(View itemView)
src/main/java/com/ucmap/bluetoothsearch/adapter/MessageAdapter.java:93
MethodonViewCreated
(View view, @Nullable Bundle savedInstanceState)
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:165
MethodprintAllInform
@param clsShow
src/main/java/com/ucmap/bluetoothsearch/utils/ClsUtils.java:102
MethodremoveBond
与设备解除配对 参考源码:platform/packages/apps/Settings.git /Settings/src/com/android/settings/bluetooth/CachedBluetoothDevice.java
src/main/java/com/ucmap/bluetoothsearch/utils/ClsUtils.java:28
Methodrun
()
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:142
Methodrun
()
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:255
Methodrun
()
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:355
Methodsearch
()
src/main/java/com/ucmap/bluetoothsearch/ui/BluetoothFragment.java:339
MethodsendMessage
(String message)
src/main/java/com/ucmap/bluetoothsearch/main/BluetoothServer.java:393
MethodsetContent
(String content)
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:48
MethodsetId
(int id)
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:56
MethodsetMac
(String mac)
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:64
MethodsetName
(String name)
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:72
MethodsetTime
(String time)
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:33
MethoduseAppContext
()
src/androidTest/java/com/ucmap/bluetoothsearch/ExampleInstrumentedTest.java:19
MethodwriteToParcel
(Parcel dest, int flags)
src/main/java/com/ucmap/bluetoothsearch/entity/Message.java:101