openvela-robot
ab059a1a6f
update .github
2026-01-04 10:59:19 +08:00
openvela-robot
4d574f5114
update .github
2026-01-04 10:59:19 +08:00
openvela-robot
27eaec3a64
update workflows ci.yml, delete pull_request_review trigger
2026-01-04 10:59:19 +08:00
openvela-robot
da7dce2276
add .github/CODEOWNERS PULL_REQUEST_TEMPLATE.md
2026-01-04 10:59:19 +08:00
liujinye
f168d0a538
delete gdbus
2025-12-29 13:18:48 +08:00
openvela-robot
11f44f733a
add .github .gitee
2025-12-17 01:21:36 +08:00
yintao
6b596e4ff5
kvdb: Set the maximum listening count for kvdb separately
...
kvdbd is single threaded.
If CP calls property_list, AP'S kvdbd will continue to send to cp,
then accept will not be executed.
If another thread at CP loops to call property_set,
the AP server-side's pending queue will be full and reject next connection.
Bluetooth now loops through 15 times to call 'property_set',
So to avoid rejecting the connection,
set a macro to separately manage the listening count of kvdb
Signed-off-by: yintao <yintao@xiaomi.com>
2025-12-15 18:24:20 +08:00
ligd
9d294a428a
kvdb: enhance server fault tolerance
...
When server recv msg header, there maybe recv only one byte.
Then we should continue the full header use kvdb_recv()
Signed-off-by: ligd <liguiding1@xiaomi.com>
2025-12-15 18:24:20 +08:00
zhangbo56
5b2a21530c
kvdb: Support kvdb server identified by device
...
Should be passed from device specific setting.
Signed-off-by: zhangbo56 <zhangbo56@xiaomi.com>
2025-12-15 18:24:20 +08:00
zhangbo56
33af11c421
kvdb: Export include/utils to other android module
...
Signed-off-by: zhangbo56 <zhangbo56@xiaomi.com>
2025-12-15 18:24:20 +08:00
zhangbo56
4e1f285645
kvdb: Add kernel module headers to kvdb build
...
Signed-off-by: zhangbo56 <zhangbo56@xiaomi.com>
Signed-off-by: zhangbo56 <zhangbo56@xiaomi.com>
2025-12-15 18:24:20 +08:00
huangcaihua
b14b9c389c
gdbus:Fix coverty for check return of asprintf
...
Signed-off-by: huangcaihua <huangcaihua@xiaomi.com>
2025-12-15 18:24:20 +08:00
huangcaihua
e2311361b8
Fix coverity for return value check
...
Signed-off-by: huangcaihua <huangcaihua@xiaomi.com>
2025-12-15 18:24:20 +08:00
huangcaihua
fc8cd0c944
Fix coverity for mistake free dbus watcher
...
Only free just alloced data variable here. No need call filter_data_free which maybe free watcher.
Signed-off-by: huangcaihua <huangcaihua@xiaomi.com>
2025-12-15 18:24:20 +08:00
huangcaihua
8617569b6b
Fix coverity for FORWARD_NULL
...
Signed-off-by: huangcaihua <huangcaihua@xiaomi.com>
2025-12-15 18:24:20 +08:00
huangcaihua
e5b7998e75
gdbus:Add new gdbus config with depend on uv-ext
...
Signed-off-by: huangcaihua <huangcaihua@xiaomi.com>
2025-12-15 18:24:19 +08:00
huangcaihua
81bf130027
Fix: Compile warning and memory leak
...
Signed-off-by: huangcaihua <huangcaihua@xiaomi.com>
2025-12-15 18:24:19 +08:00
huangcaihua
ba9f08a713
refactor object file for open vela
...
Signed-off-by: huangcaihua <huangcaihua@xiaomi.com>
2025-12-15 18:24:19 +08:00
huangcaihua
a7d2c908d3
refactor watch file for open source
...
Signed-off-by: huangcaihua <huangcaihua@xiaomi.com>
2025-12-15 18:24:19 +08:00
huangcaihua
68316d5269
refactor polkit file for open source
...
Signed-off-by: huangcaihua <huangcaihua@xiaomi.com>
2025-12-15 18:24:19 +08:00
hongfengchen
78c43330e9
utils:KVDB_NVS should depend on MTD_CONFIG_NAMED
...
KVDB_NVS should depend on MTD_CONFIG_NAMED. If choose
select MTD_CONFIG_NAMED and CONFIG_MTD is not set, it
will lead to compile error like:
dev-system/nuttx/include/nuttx/mtd/configdata.h:79:20: error: 'CONFIG_MTD_CONFIG_NAME_LEN' undeclared here (not in a function); did you mean 'CONFIG_MTD_CONFIG_NAMED'?
79 | char name[CONFIG_MTD_CONFIG_NAME_LEN];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| CONFIG_MTD_CONFIG_NAMED
Signed-off-by: hongfengchen <hongfengchen@xiaomi.com>
2025-12-15 18:24:19 +08:00
wangxuedong
ac19b907f1
kvdb: add retry if recv's errno is EAGAIN
...
Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
2025-12-15 18:24:19 +08:00
wushenhui
56d9f4f858
utils/kvdb: fix build error when CONFIG_NET_LOCAL not set and CONFIG_NET_RPMSG=y
...
Signed-off-by: wushenhui <wushenhui@xiaomi.com>
2025-12-15 18:24:19 +08:00
huangcaihua
74b75590cb
GDBus:Set DBUS_TIMEOUT_INFINITE timer that is no dbus timeout
...
No need add reply timer for async method call.
if set -1, that is dbus default timer(25s).
Signed-off-by: huangcaihua <huangcaihua@xiaomi.com>
2025-12-15 18:24:19 +08:00
huangcaihua
b1bb85ad39
revert debug assert for method call no reply.
...
Signed-off-by: huangcaihua <huangcaihua@xiaomi.com>
2025-12-15 18:24:19 +08:00
huangcaihua
22572fa2f1
GDBus:No need add reply timer for async method call
...
Signed-off-by: huangcaihua <huangcaihua@xiaomi.com>
2025-12-15 18:24:19 +08:00
huangcaihua
fc535ac9a7
Fix:Get New Added proxy proper need add getting_all_prop flag
...
Signed-off-by: huangcaihua <huangcaihua@xiaomi.com>
2025-12-15 18:24:19 +08:00
huangcaihua
7a94a96240
Fix:gdbus notify proxy_added after proxy all properties got.
...
Signed-off-by: huangcaihua <huangcaihua@xiaomi.com>
2025-12-15 18:24:19 +08:00
zhangyu117
dad95e2787
frameworks/system: Fix some minor issues when features on specific product-dev are switched to dev-system
...
Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com>
2025-12-15 18:24:19 +08:00
zhangbo56
8c2b7f8a4e
kvdb: Add more apis for kvdb handle error case
...
Signed-off-by: zhangbo56 <zhangbo56@xiaomi.com>
Signed-off-by: zhangbo56 <zhangbo56@xiaomi.com>
2025-12-15 18:24:19 +08:00
yukangzhi
fd01781f55
frameworks/system/utils: Resolve compilation warnings
...
clang-format the file include/cutils/trace.h
"/home/mi/workspace_vela/nuttx/../apps/frameworks/
system/utils/include/cutils/trace.h", line 154: warning #1731-D:
function must be declared at file scope
void atrace_begin_body(const char*);
^
"/home/mi/workspace_vela/nuttx/../apps/frameworks/
system/utils/include/cutils/trace.h", line 167: warning #1731-D:
function must be declared at file scope
void atrace_end_body(void);
^
"/home/mi/workspace_vela/nuttx/../apps/frameworks/
system/utils/include/cutils/trace.h", line 185: warning #1731-D:
function must be declared at file scope
void atrace_async_begin_body(const char*, int32_t);
^
"/home/mi/workspace_vela/nuttx/../apps/frameworks/
system/utils/include/cutils/trace.h", line 198: warning #1731-D:
function must be declared at file scope
void atrace_async_end_body(const char*, int32_t);
^
Signed-off-by: yukangzhi <yukangzhi@xiaomi.com>
2025-12-15 18:24:19 +08:00
daichuan
ed778af5a9
add for the vendor partition code can use kvdb
...
Signed-off-by: daichuan <daichuan@xiaomi.com>
2025-12-15 18:24:19 +08:00
zhangbo56
4ec33c844e
trace: Default enable trace.c compile
...
Signed-off-by: zhangbo56 <zhangbo56@xiaomi.com>
2025-12-15 18:24:19 +08:00
zhaoxingyu1
4c070d84b0
framework/kvdb: modify kvdb depends on !MTD_CONFIG_NONE
...
Signed-off-by: zhaoxingyu1 <zhaoxingyu1@xiaomi.com>
2025-12-15 18:24:19 +08:00
hongfengchen
dc15b3f58b
change murmurhash to static inline
...
Change murmurhash to static inline.
Signed-off-by: hongfengchen <hongfengchen@xiaomi.com>
2025-12-15 18:24:18 +08:00
hongfengchen
3a898cb303
utils:add unistd.h
...
Add unistd.h for files in kvdb and log.
Signed-off-by: hongfengchen <hongfengchen@xiaomi.com>
2025-12-15 18:24:18 +08:00
hongfengchen
78f2846dd1
add murmurhash function
...
Add murmurhash function to map a string to hash int.
Signed-off-by: hongfengchen <hongfengchen@xiaomi.com>
2025-12-15 18:24:18 +08:00
huangcaihua
659b244934
Fix:Coverity for spurious wakeup and null check_after_deref
...
Signed-off-by: huangcaihua <huangcaihua@xiaomi.com>
2025-12-15 18:24:18 +08:00
huangcaihua
1da41823bb
Fix:GDbus get prop sync from default loop
...
GDbus cache the proxy properties, for multi-thread, one thread gets
prop value which maybe freed by default loop thread.
Signed-off-by: huangcaihua <huangcaihua@xiaomi.com>
2025-12-15 18:24:18 +08:00
xujianhang
f96515434f
gdbus: Resolve the Bluetooth module's failure to acquire the oFono NetworkOperator service
...
Signed-off-by: xujianhang <xujianhang@xiaomi.com>
2025-12-15 18:24:18 +08:00
guohao15
daf0204ba9
kvdb:dump more information when API failed
...
Signed-off-by: guohao15 <guohao15@xiaomi.com>
2025-12-15 18:24:18 +08:00
ligd
749a14fb69
kvdb/server: check space before monitor notify to avoid deadlock
...
Deadlock:
kvdbd client
poll monitor
monitor notify
recv notify
monitor notify
monitor notify
...
monitor notify
monitor notify
property_get() //wait kvdb reponse
monitor notify
//send buf full
Signed-off-by: ligd <liguiding1@xiaomi.com>
2025-12-15 18:24:18 +08:00
huangcaihua
d0dbef6f1d
Fix: remove signal filter when receive dbus disconnect msg
...
If the dbus disconnect message has been received,
it means that the current dbus connection is invalid.
The added disconnect message signal filter also needs to be free.
Signed-off-by: huangcaihua <huangcaihua@xiaomi.com>
2025-12-15 18:24:18 +08:00
huangcaihua
3362b52de2
Fix: Not get all proxy properties when any interface added
...
Signed-off-by: huangcaihua <huangcaihua@xiaomi.com>
2025-12-15 18:24:18 +08:00
wenlingyun1
586a2cda63
kvdb/cmake: add command qemuprop
...
Signed-off-by: wenlingyun1 <wenlingyun1@xiaomi.com>
2025-12-15 18:24:18 +08:00
zhangshoukui
f28493904c
KVDB_NVS: modify depends on
...
Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
2025-12-15 18:24:18 +08:00
zhangshoukui
032f1f858f
rename property_reload to property_load and Support for passing parameters
...
Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
2025-12-15 18:24:18 +08:00
huangcaihua
b22c42a889
Fix:Add user_data for gdbus callback filter.
...
Signed-off-by: huangcaihua <huangcaihua@xiaomi.com>
2025-12-15 18:24:18 +08:00
huangcaihua
01dde63642
Fix: Must free client queue handle in async queue close callback func
...
Signed-off-by: huangcaihua <huangcaihua@xiaomi.com>
2025-12-15 18:24:18 +08:00
cuiziwei
1d221149c8
ALOG: Fixed the issue that disable ALOG will print ANDROID_LOG_VERBOSE level logs by default.
...
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
2025-12-15 18:24:18 +08:00