Compare commits
2 Commits
master
...
d89731231a
| Author | SHA1 | Date | |
|---|---|---|---|
| d89731231a | |||
| 861a038621 |
4
Makefile
4
Makefile
@@ -64,8 +64,8 @@ WARNINGS = -Wall
|
||||
INCLUDES = -I$(INCLUDE_DIR)
|
||||
BASE_FLAGS = -fPIC -fvisibility=hidden
|
||||
FULL_CFLAGS = $(BASE_FLAGS) $(CFLAGS) $(DEFINES) $(WARNINGS) $(INCLUDES) \
|
||||
-MMD -MP -fPIC $(shell pkg-config --cflags $(PKGS))
|
||||
FULL_LDFLAGS = $(BASE_FLAGS) $(LDFLAGS) -shared \
|
||||
-MMD -MP $(shell pkg-config --cflags $(PKGS))
|
||||
FULL_LDFLAGS = $(BASE_FLAGS) $(LDFLAGS) -shared -fPIC \
|
||||
$(shell pkg-config --libs $(LDPKGS))
|
||||
DEBUG_FLAGS = -g
|
||||
RELEASE_FLAGS =
|
||||
|
||||
@@ -178,6 +178,19 @@ vendor_qti_ims_radio_response(
|
||||
{
|
||||
VendorQtiImsRadio* self = THIS(user_data);
|
||||
const char* iface = gbinder_remote_request_interface(req);
|
||||
if(gutil_strv_contains((const GStrV*)ims_radio_response_ifaces, iface)){
|
||||
GBinderReader reader;
|
||||
gbinder_remote_request_init_reader(req, &reader);
|
||||
gint32 serial;
|
||||
if (gbinder_reader_read_int32(&reader, &serial)) {
|
||||
g_hash_table_lookup(self->table,serial);
|
||||
}
|
||||
|
||||
*status = GBINDER_STATUS_OK;
|
||||
}else{
|
||||
GINFO("[%s] Unexpected %s %u", self->name,iface,code);
|
||||
*status = GBINDER_STATUS_FAILED;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
static
|
||||
|
||||
@@ -14,6 +14,18 @@ G_DEFINE_TYPE(VendorQtiImsStateObject, qti_ims_state, G_TYPE_OBJECT)
|
||||
#define IS_THIS(obj) G_TYPE_CHECK_INSTANCE_TYPE(obj, THIS_TYPE)
|
||||
#define PARENT_CLASS qti_ims_state_parent_class
|
||||
|
||||
static
|
||||
void
|
||||
qti_ims_state_init(
|
||||
VendorQtiImsStateObject* self)
|
||||
{
|
||||
}
|
||||
static
|
||||
void
|
||||
qti_ims_state_class_init(
|
||||
VendorQtiImsStateObjectClass* klass)
|
||||
{
|
||||
}
|
||||
|
||||
VendorQtiImsStateObject* vendor_qti_ims_state_new(VendorQtiImsRadio* ims_radio){
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user