Commit Graph

6 Commits

Author SHA1 Message Date
Slava Monich
d8dc58a133 [unit] Added gbinder_log test. JB#42956 2020-04-01 21:00:51 +03:00
Slava Monich
cfa3ad4d9e [unit] Added unit test for GBinderServiceName 2019-01-23 01:35:56 +02:00
Slava Monich
c39bf4b802 [gbinder] Support for file descriptors. JB#42956
gbinder_writer_append_fd() duplicates the descriptor and appends
the duplicate to the parcel. The caller may immediately close its
descriptor.

gbinder_reader_read_fd() fetches the descriptor from the parcel
without duplicating it. The descrriptor will be closed as soon as
the library has finished processing the request. Returns -1 on error.

gbinder_reader_read_dup_fd() fetches descriptor from the parcel
and dups it. The caller is responsible for closing the returned
descriptor. Returns -1 on failure.
2018-12-08 16:27:45 +02:00
Slava Monich
8414e9485f [unit] Added servicepoll test 2018-12-04 23:48:25 +02:00
Slava Monich
31c6c05c1e [unit] Added unit_servicemanager test 2018-12-04 13:31:18 +02:00
Slava Monich
fb981c9983 [gbinder] C interface for Android binder. JB#41335 2018-07-15 17:38:51 +03:00