E_PMINFO_APPINFO_PROP_APP_SCREENREADER,
E_PMINFO_APPINFO_PROP_APP_PACKAGE,
E_PMINFO_APPINFO_PROP_APP_INSTALLED_STORAGE,
- E_PMINFO_APPINFO_PROP_APP_METADATA_KEY,
- E_PMINFO_APPINFO_PROP_APP_METADATA_VALUE,
- E_PMINFO_APPINFO_PROP_APP_MAX_STR = E_PMINFO_APPINFO_PROP_APP_METADATA_VALUE
+ E_PMINFO_APPINFO_PROP_APP_MAX_STR = E_PMINFO_APPINFO_PROP_APP_INSTALLED_STORAGE
} pkgmgrinfo_appinfo_filter_prop_str;
/*Boolean properties for filtering based on app info*/
typedef struct _pkgmgrinfo_filter_x {
uid_t uid;
GSList *list;
+ GSList *list_metadata;
} pkgmgrinfo_filter_x;
typedef struct _pkgmgrinfo_node_x {
char *value;
} pkgmgrinfo_node_x;
+typedef struct _pkgmgrinfo_metadata_node_x {
+ char *key;
+ char *value;
+} pkgmgrinfo_metadata_node_x;
+
typedef struct _pkgmgrinfo_appcontrol_x {
int operation_count;
int uri_count;
void _save_column_str(sqlite3_stmt *stmt, int idx, char **str);
char *_get_system_locale(void);
int __get_filter_condition(gpointer data, uid_t uid, char **condition, GList **param);
+int __get_metadata_filter_condition(gpointer data, char **condition, GList **param);
int _add_icon_info_into_list(const char *locale, char *value, GList **icon);
int _add_label_info_into_list(const char *locale, char *value, GList **label);
int __pkginfo_check_installed_storage(package_x *pkginfo);
int __appinfo_check_installed_storage(application_x *appinfo);
+int __open_db(const char *path, sqlite3 **db, int flags);
#define GLOBAL_USER tzplatform_getuid(TZ_SYS_GLOBALAPP_USER)
#define REGULAR_USER 5000