MCPcopy Create free account

hub / github.com/AstralSightStudios/AstroBox-Public / functions

Functions791 in github.com/AstralSightStudios/AstroBox-Public

↓ 291 callersFunctiont
(key: string | undefined | null)
src/i18n/index.tsx:63
↓ 99 callersMethodget
(&mut self, name: &str)
src-tauri/src/pluginsystem/manager.rs:164
↓ 70 callersMethodpush
(&self, cmd: Command)
src-tauri/src/miwear/command_pool/mod.rs:68
↓ 62 callersFunctionuseI18n
()
src/i18n/index.tsx:89
↓ 34 callersMethodsend
( &self, data: Vec<u8>, characteristic: Option<Uuid>, )
src-tauri/src/bt/device.rs:253
↓ 30 callersMethodbuild
(original_file_data: Vec<u8>, data_type: MassDataType)
src-tauri/src/miwear/device/mass/packet.rs:22
↓ 25 callersFunctionplugin_permission_check
(ctx: &mut Context, permission: String)
src-tauri/src/pluginsystem/utils.rs:24
↓ 24 callersMethodadd
(&mut self, path: &PathBuf)
src-tauri/src/pluginsystem/manager.rs:23
↓ 23 callersFunctionwith_connected_device_async
(f: F)
src-tauri/src/miwear.rs:48
↓ 23 callersMethodwrite
(&mut self, buf: &[u8])
src-tauri/src/logger.rs:62
↓ 22 callersMethodupdate
(id: string, partial: Partial<TaskItem>)
src/taskqueue/tasklist.ts:43
↓ 21 callersFunctionread
(f: impl FnOnce(&AppConfig) -> R)
src-tauri/src/config.rs:94
↓ 19 callersMethoderror
(...args: any[])
src/log/logger.ts:6
↓ 17 callersFunctionget_provider
(name: &str)
src-tauri/src/community.rs:41
↓ 17 callersFunctioninit
(app: &AppHandle)
src-tauri/src/config.rs:57
↓ 16 callersMethodremove
(&mut self, name: &String)
src-tauri/src/pluginsystem/manager.rs:111
↓ 16 callersFunctionuseAnimatedRouter
()
src/hooks/useAnimatedRouter.ts:5
↓ 15 callersMethodlog
(&self, msg: String, _: &ConsoleState, _: &mut Context)
src-tauri/src/pluginsystem/console.rs:21
↓ 14 callersMethodsend
───────────── 发送 ───────────── */
src-tauri/src/miwear/device.rs:278
↓ 14 callersFunctionwrite
(f: impl FnOnce(&mut AppConfig) -> R)
src-tauri/src/config.rs:99
↓ 13 callersMethodinfo
(...args: any[])
src/log/logger.ts:4
↓ 12 callersMethodencode
-- 序列化 --------------------------------------------- */
src-tauri/src/miwear/packet.rs:172
↓ 12 callersFunctionget_spp_handle
()
src-tauri/src/bt.rs:13
↓ 12 callersFunctionwith_plugin_manager_async
---------- 跨线程:异步 API,闭包必须 Send ----------
src-tauri/src/pluginsystem.rs:121
↓ 10 callersFunctionget_plugin_name
(ctx: &mut Context)
src-tauri/src/pluginsystem/utils.rs:5
↓ 10 callersFunctionwith_plugin_manager_sync
---------- 同线程:同步 API,无 Send 约束 ----------
src-tauri/src/pluginsystem.rs:98
↓ 9 callersMethodbuild_file_url
(&self, repo: &str, folder: &str, file: &str)
src-tauri/src/pluginstore/provider/official.rs:90
↓ 9 callersMethodconvert_url
(self, url: &str)
src-tauri/src/community/provider/official.rs:34
↓ 9 callersMethodfrom
(b: u8)
src-tauri/src/miwear/packet.rs:26
↓ 8 callersMethodclear
()
src/taskqueue/tasklist.ts:67
↓ 8 callersMethodget
(name: string)
src/community/manager.ts:111
↓ 8 callersMethodget
(name: string)
src/account/manager.ts:36
↓ 8 callersMethodgetItem
(plugin: string)
src/pluginstore/provider.ts:34
↓ 8 callersMethodgetItem
(resname: string)
src/community/provider.ts:42
↓ 8 callersFunctionget_ble_handler
()
src-tauri/src/bt.rs:9
↓ 8 callersFunctionmakeError
(dispatchToast: (content: ReactNode, options?: any) => void,message: string)
src/layout/toast.tsx:31
↓ 8 callersMethodnotify
()
src/taskqueue/tasklist.ts:40
↓ 8 callersMethodrequest_proto
( &self, channel: Channel, op: OpCode, payload: &[u8], expect_type: u3
src-tauri/src/miwear/device.rs:407
↓ 8 callersMethodsetState
(updater: (prevState: typeof this.snapshot) => typeof this.snapshot)
src/pluginstore/manager.ts:25
↓ 8 callersMethodsetState
(updater: (prevState: typeof this.snapshot) => typeof this.snapshot)
src/community/manager.ts:26
↓ 8 callersFunctionuseIsMobile
(breakPoint = 768)
src/hooks/useIsMobile.ts:3
↓ 8 callersFunctionuseToast
()
src/layout/toast.tsx:16
↓ 7 callersMethodgetFileForDocId
Get the file given a document id (the reverse of {@link #getDocIdForFile(File)}).
src-tauri/gen/android/app/src/main/java/moe/astralsight/astrobox/AstroBoxDocumentsProvider.java:211
↓ 7 callersFunctioninstallResourceFromLocal
(type: ResourceType)
src/device/install.ts:34
↓ 7 callersMethodparse
-- 解析 ------------------------------------------------ */
src-tauri/src/miwear/packet.rs:101
↓ 7 callersMethodsend_miwear_pkt
( self: &Arc<Self>, channel: packet::Channel, op: packet::OpCode, payload: &[u
src-tauri/src/miwear/device.rs:303
↓ 7 callersFunctionsleep
(ms: number)
src/tools/common.ts:1
↓ 7 callersMethodwarn
(...args: any[])
src/log/logger.ts:5
↓ 6 callersMethodadd
(item: TaskItem)
src/taskqueue/tasklist.ts:54
↓ 6 callersFunctionconnect
(address: string,name:string,authKey:string)
src/device/connect.ts:5
↓ 6 callersFunctionread_file_cross_platform
(path: impl AsRef<str>)
src-tauri/src/fs.rs:21
↓ 6 callersMethodsend_fragments
(&self, frame: Vec<u8>)
src-tauri/src/miwear/device.rs:286
↓ 6 callersFunctionsetValue
(value: boolean, key: string)
src/pages/settings/index.tsx:279
↓ 6 callersFunctionto_hex_string
(data: &[u8])
src-tauri/src/tools.rs:8
↓ 5 callersMethodbuild_frame
( &self, channel: Channel, op: OpCode, payload: &[u8], )
src-tauri/src/miwear/device.rs:492
↓ 5 callersMethodcall_js
(&self, fn_name: &str, args: Vec<String>)
src-tauri/src/community/provider/jsplugin.rs:21
↓ 5 callersMethodconvert_url
(self, url: &str)
src-tauri/src/pluginstore/provider/official.rs:24
↓ 5 callersFunctiondefault_client
()
src-tauri/src/net.rs:11
↓ 5 callersMethoddisconnect
(&self)
src-tauri/src/bt/device.rs:170
↓ 5 callersFunctionhex_stream_to_bytes
(hex: &str)
src-tauri/src/tools.rs:12
↓ 5 callersFunctionisNav
(nav: string)
src/router/nav.ts:9
↓ 5 callersFunctionrun_on_main_thread
---------- 把闭包封送到主线程并返回结果 ---------- */
src-tauri/plugins/btclassic-spp/src/macos/implementation.rs:34
↓ 5 callersMethodset_plugin_data
(&mut self, name: &str, f: F)
src-tauri/src/pluginsystem/manager.rs:152
↓ 5 callersFunctionsubscribe_disconnect
()
src-tauri/src/miwear.rs:29
↓ 4 callersFunctiondisconnect_internal
(state: &mut GlobalState)
src-tauri/plugins/btclassic-spp/src/win/implementation.rs:813
↓ 4 callersFunctiongetFilenameFromPath
(filePath: string)
src/filesystem/pathhelper.ts:1
↓ 4 callersFunctioninstallABP
(path: string)
src/device/install.ts:130
↓ 4 callersFunctioninstallResourceAction
(ctx: TaskActionContext, type: ResourceType, filePath: string)
src/taskqueue/installTask.ts:64
↓ 4 callersFunctionset_connected_device
(dev: Option<Arc<MiWearDevice>>)
src-tauri/src/miwear.rs:25
↓ 4 callersFunctionshowInfo
(plugin: PluginManifest | null, local1: boolean = local)
src/pages/plugin/index.tsx:50
↓ 4 callersFunctionuseInvokeWithMass
(massSending: boolean, config?: SWRConfiguration)
src/hooks/useInvoke.ts:17
↓ 4 callersFunctionuuid_contains
判断 UUID 中是否包含指定目标字符串 - `uuid`: 要检查的 UUID - `target`: 要查找的子串(如 "fe95") - `only_prefix`: 如果为 `true`,只检查第一个 '-' 前的部分;否则在整个 UUID 字符串中查找
src-tauri/src/tools.rs:32
↓ 3 callersFunctionaddDownloadTask
(task: TaskItem)
src/taskqueue/queue.ts:11
↓ 3 callersFunctionaddInstallTask
(task: TaskItem)
src/taskqueue/queue.ts:7
↓ 3 callersMethodapply
src-tauri/gen/android/buildSrc/src/main/java/moe/astralsight/astrobox/kotlin/RustPlugin.kt:17
↓ 3 callersMethodas_any
(&self)
src-tauri/src/community/provider/jsplugin.rs:72
↓ 3 callersFunctionattempt_connect
( device_addr: u64, service_guid: Option<GUID>, port_channel: Option<u32>, )
src-tauri/plugins/btclassic-spp/src/win/implementation.rs:413
↓ 3 callersMethodbuild_download_url
将 repo_url + file_name 转换为下载文件的 raw 路径
src-tauri/src/community/provider/official.rs:152
↓ 3 callersFunctioncalc_md5
(data: &[u8])
src-tauri/src/tools.rs:65
↓ 3 callersMethodconnect
------------ 连接 ------------ **/
src-tauri/plugins/btclassic-spp/android/src/main/java/BTSpp.kt:119
↓ 3 callersFunctioncreateDownloadTask
(id: string, name: string, provider: string, device: string, description: string, icon: React.ComponentType<an
src/taskqueue/downloadTask.ts:14
↓ 3 callersFunctioncreateThirdPartyAppInstallTask
(id: string, name: string, filePath: string)
src/taskqueue/installTask.ts:27
↓ 3 callersFunctioncreateWatchFaceInstallTask
(id: string, name: string, filePath: string)
src/taskqueue/installTask.ts:8
↓ 3 callersFunctiondefault_client_builder
()
src-tauri/src/net.rs:15
↓ 3 callersFunctionfetch
( _this: &JsValue, args: &[JsValue], ctx: &mut Context, )
src-tauri/src/pluginsystem/apis/network.rs:11
↓ 3 callersFunctionformatArgs
(args: any[])
src/log/logger.ts:9
↓ 3 callersMethodget
(name: string)
src/pluginstore/manager.ts:109
↓ 3 callersMethodgetDocIdForFile
Get the document id given a file. This document id must be consistent across time as other applications may save the ID and use it to reference docume
src-tauri/gen/android/app/src/main/java/moe/astralsight/astrobox/AstroBoxDocumentsProvider.java:204
↓ 3 callersFunctiongetLuminance
(r: number, g: number, b: number)
src/pages/community/product-info/product-info.tsx:411
↓ 3 callersMethodgetPage
(page: number, limit: number, search: SearchConfig)
src/community/provider.ts:33
↓ 3 callersMethodget_device_map
(&self)
src-tauri/src/community/provider/official.rs:87
↓ 3 callersMethodincludeFile
Add a representation of a file to a cursor. @param result the cursor to modify @param docId the document ID representing the desired file (may be nu
src-tauri/gen/android/app/src/main/java/moe/astralsight/astrobox/AstroBoxDocumentsProvider.java:239
↓ 3 callersMethodlist
()
src/account/manager.ts:32
↓ 3 callersFunctionlist_providers
()
src-tauri/src/community.rs:46
↓ 3 callersMethodnotify
()
src/account/manager.ts:9
↓ 3 callersFunctiononComplete
()
src/pages/device/switch.tsx:39
↓ 3 callersMethodprovider_name
(&self)
src-tauri/src/community/provider/jsplugin.rs:68
↓ 3 callersMethodrefresh
()
src/pluginstore/provider.ts:10
↓ 3 callersMethodrefreshAll
()
src/community/manager.ts:49
↓ 3 callersMethodrequest
( &self, channel: Channel, op: OpCode, payload: &[u8], timeout: Option
src-tauri/src/miwear/device.rs:392
next →1–100 of 791, ranked by callers