summaryrefslogtreecommitdiffstats
path: root/meta-agl-distro/conf
AgeCommit message (Collapse)AuthorFilesLines
2020-04-27Declare layer compatibility for dunfellScott Murray1-1/+1
For the upgrade to YP dunfell/3.1 we need to update the layer compatibility. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ieb1ac9ef1f48f077c9cd312c4ac295ae1cc062b0
2020-04-08meta-agl-distro: update x86_64 qemu configurationScott Murray1-1/+1
Replace the long ago deprecated and now no longer supported "-usbdevice tablet" option with the newer "-device usb-tablet" in the QB_OPT_APPEND definition in our local x86_64 tuning file. Without this, runqemu fails for the qemux86-64 target on dunfell. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I46fcbc615821e7ac54a913ca08b66abf2abaaa0b
2020-03-18Enable classes for reproducible-builds in OEJan-Simon Möller1-0/+9
The reproducible_build class will use the SOURCE_DATE_EPOCH mechanism to preset a known timestamp during compilation of binaries to help ensure binary reproducability. With this mechanism we reach very good reuse across rebuilds with basically just 2 packages changed (and these are expected): dl9pf@elrond:~/repobuild-local/build-x86-64-repro> bitbake agl-demo-platform-crosssdk Sstate summary: Wanted 17 Found 8 Missed 9 Current 4282 (47% match, 99% complete) --------------------------------------------------------------------^^^ !! NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks NOTE: Tasks Summary: Attempted 10048 tasks of which 10025 didn't need to be rerun and all succeeded. -------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^ just 13 tasks !! NOTE: Build completion summary: NOTE: do_populate_sysroot: 0.0% sstate reuse(0 setscene, 1 scratch) NOTE: do_package_qa: 0.0% sstate reuse(0 setscene, 2 scratch) NOTE: do_package: 0.0% sstate reuse(0 setscene, 1 scratch) NOTE: do_packagedata: 0.0% sstate reuse(0 setscene, 1 scratch) NOTE: do_package_write_rpm: 0.0% sstate reuse(0 setscene, 2 scratch) NOTE: Writing buildhistory dl9pf@elrond:~/repobuild-local/build-x86-64-repro> buildhistory-diff HEAD^ | sort Changes to images/qemux86_64/glibc/agl-demo-platform-crosssdk (files-in-image.txt): /var/lib/dnf/yumdb/d/4e1ef2f15bdf12ac2dcba29f87bee13623f1676d-distro-build-manifest-1.0-r0-qemux86_64/checksum_data was added /var/lib/dnf/yumdb/d/4e1ef2f15bdf12ac2dcba29f87bee13623f1676d-distro-build-manifest-1.0-r0-qemux86_64/checksum_type was added /var/lib/dnf/yumdb/d/4e1ef2f15bdf12ac2dcba29f87bee13623f1676d-distro-build-manifest-1.0-r0-qemux86_64/command_line was added /var/lib/dnf/yumdb/d/4e1ef2f15bdf12ac2dcba29f87bee13623f1676d-distro-build-manifest-1.0-r0-qemux86_64/from_repo was added /var/lib/dnf/yumdb/d/4e1ef2f15bdf12ac2dcba29f87bee13623f1676d-distro-build-manifest-1.0-r0-qemux86_64/installed_by was added /var/lib/dnf/yumdb/d/4e1ef2f15bdf12ac2dcba29f87bee13623f1676d-distro-build-manifest-1.0-r0-qemux86_64/reason was added /var/lib/dnf/yumdb/d/4e1ef2f15bdf12ac2dcba29f87bee13623f1676d-distro-build-manifest-1.0-r0-qemux86_64/releasever was added /var/lib/dnf/yumdb/d/4e1ef2f15bdf12ac2dcba29f87bee13623f1676d-distro-build-manifest-1.0-r0-qemux86_64 was added /var/lib/dnf/yumdb/d/8ea1dc59afc8b04e7a013cdc38eb3bbaddeb37f6-distro-build-manifest-1.0-r0-qemux86_64/checksum_data was removed /var/lib/dnf/yumdb/d/8ea1dc59afc8b04e7a013cdc38eb3bbaddeb37f6-distro-build-manifest-1.0-r0-qemux86_64/checksum_type was removed /var/lib/dnf/yumdb/d/8ea1dc59afc8b04e7a013cdc38eb3bbaddeb37f6-distro-build-manifest-1.0-r0-qemux86_64/command_line was removed /var/lib/dnf/yumdb/d/8ea1dc59afc8b04e7a013cdc38eb3bbaddeb37f6-distro-build-manifest-1.0-r0-qemux86_64/from_repo was removed /var/lib/dnf/yumdb/d/8ea1dc59afc8b04e7a013cdc38eb3bbaddeb37f6-distro-build-manifest-1.0-r0-qemux86_64/installed_by was removed /var/lib/dnf/yumdb/d/8ea1dc59afc8b04e7a013cdc38eb3bbaddeb37f6-distro-build-manifest-1.0-r0-qemux86_64/reason was removed /var/lib/dnf/yumdb/d/8ea1dc59afc8b04e7a013cdc38eb3bbaddeb37f6-distro-build-manifest-1.0-r0-qemux86_64/releasever was removed /var/lib/dnf/yumdb/d/8ea1dc59afc8b04e7a013cdc38eb3bbaddeb37f6-distro-build-manifest-1.0-r0-qemux86_64 was removed /var/lib/dnf/yumdb/o/3198ffc9414564ec5ff5f321629f314fac69fc78-os-release-1.0-r0-noarch/checksum_data was removed /var/lib/dnf/yumdb/o/3198ffc9414564ec5ff5f321629f314fac69fc78-os-release-1.0-r0-noarch/checksum_type was removed /var/lib/dnf/yumdb/o/3198ffc9414564ec5ff5f321629f314fac69fc78-os-release-1.0-r0-noarch/command_line was removed /var/lib/dnf/yumdb/o/3198ffc9414564ec5ff5f321629f314fac69fc78-os-release-1.0-r0-noarch/from_repo was removed /var/lib/dnf/yumdb/o/3198ffc9414564ec5ff5f321629f314fac69fc78-os-release-1.0-r0-noarch/installed_by was removed /var/lib/dnf/yumdb/o/3198ffc9414564ec5ff5f321629f314fac69fc78-os-release-1.0-r0-noarch/reason was removed /var/lib/dnf/yumdb/o/3198ffc9414564ec5ff5f321629f314fac69fc78-os-release-1.0-r0-noarch/releasever was removed /var/lib/dnf/yumdb/o/3198ffc9414564ec5ff5f321629f314fac69fc78-os-release-1.0-r0-noarch was removed /var/lib/dnf/yumdb/o/7d7c5992be19f3a2a9e2077fb422129ab40d49ea-os-release-1.0-r0-noarch/checksum_data was added /var/lib/dnf/yumdb/o/7d7c5992be19f3a2a9e2077fb422129ab40d49ea-os-release-1.0-r0-noarch/checksum_type was added /var/lib/dnf/yumdb/o/7d7c5992be19f3a2a9e2077fb422129ab40d49ea-os-release-1.0-r0-noarch/command_line was added /var/lib/dnf/yumdb/o/7d7c5992be19f3a2a9e2077fb422129ab40d49ea-os-release-1.0-r0-noarch/from_repo was added /var/lib/dnf/yumdb/o/7d7c5992be19f3a2a9e2077fb422129ab40d49ea-os-release-1.0-r0-noarch/installed_by was added /var/lib/dnf/yumdb/o/7d7c5992be19f3a2a9e2077fb422129ab40d49ea-os-release-1.0-r0-noarch/reason was added /var/lib/dnf/yumdb/o/7d7c5992be19f3a2a9e2077fb422129ab40d49ea-os-release-1.0-r0-noarch/releasever was added /var/lib/dnf/yumdb/o/7d7c5992be19f3a2a9e2077fb422129ab40d49ea-os-release-1.0-r0-noarch was added Later, we will bump the default EPOCH timestamps with the releases/point releases. References: https://reproducible-builds.org/ Should be backported to halibut as well. v2: add change to distro configuration Bug-AGL: SPEC-2769 Change-Id: I83e1d92eadf838291f03a184a804a9b8b72f7809 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2020-03-18Consolidation of AGL_DEFAULT_IMAGE_FSTYPES after review of machine useJan-Simon Moeller1-2/+4
After reviewing what all machines actually specify as 'extra', the conclusion was that the actual 'default' is 'wic.xz' . Consequently make this the new default and remove it from the board configs. v2: add ext4/ext4.xz for netboot feature Bug-AGL: SPEC-2771 Change-Id: I082f87a07dcacb962d10efd90ba2476f87896302 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-02-25meta-agl-distro: remove next branch specific inc fileScott Murray2-4/+0
Now that next has been merged into master and agl-service-gps has been updated for zeus, remove the next branch specific inc file that was being pulled into poky-agl.conf. Bug-AGL: SPEC-2932 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: If6570117e8f44afcace568c483cec71f9c3ea853
2020-02-22Update distro to jellyfishJan-Simon Möller1-2/+2
After the next branch is merged (YP zeus) we bump the distro config. Change-Id: I6f9358c4b955ca2d9b1cf79651e2d80e15a939a0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2020-02-21Merge remote-tracking branch 'agl/next'Jan-Simon Möller3-9/+22
* agl/next: meta-agl-bsp: Add CONFIG_LSM workaround for 5.1+ kernels meta-agl-profile-cluster-qt5: disable qtbase patches zeus updates for dragonboard-410c meta-security: activates dbus-cynagora recipes-graphics/wayland/weston: Expose weston_output_damage() meta-agl-profile-core: tweak udisks2 configuration for AGL meta-agl-bsp/meta-arago: update weston bbappend [RCAR] Update rcar driver weston 7 bsp 3.21.0 [RCAR] Update rcar driver weston 7 bsp 3.21.0 [RCAR] Split ADSP path for ulcb and ulcb-kf Fix nss-localuser post install meta-agl-bsp: meta-raspberrypi: handle zeus upgrade meta-agl-profile-core: add patch for systemd-udevd SECLABEL crash meta-security: disable dbus-cynara patches meta-agl-bsp: handle ptest-runner upgrade meta-agl-distro: Add inc file for next branch over-rides meta-agl-distro: BBMASK problematic upstream meta-security bbappend meta-agl-distro: prefer linux-yocto 4.19 LTS kernel meta-agl-profile-graphical-qt5: enable qt5location services meta-agl-profile-core: update most recipe meta-agl-profile-core: update neardal recipe Update base local.conf.sample meta-agl-profile-graphical: don't always build agl-compositor meta-agl-profile-graphical: update weston and weston-init meta-agl-profile-graphical: update wayland-ivi-extension for weston 7.0.0 meta-agl-distro: add polkit to DISTRO_FEATURES meta-agl-profile-core: update fontconfig bbappend meta-agl-profile-core: switch to udisks2 meta-security: handle systemd upgrade meta-agl-profile-graphical-qt5: handle qtwayland upgrade meta-agl-profile-core: handle freetype upgrade meta-agl-bsp meta-agl-profile-core: upgrade to opencv 4.x meta-agl-profile-core: update rtl-sdr recipe for zeus meta-security meta-app-framework: handle xmlsec1 upgrade meta-agl-profile-graphical: upgrade to gstreamer 1.16 meta-agl-profile-core: remove libmicrohttpd backport meta-agl-profile-core: remove backported curl and nghttp2 recipes meta-agl-profile-core: remove libnfc recipe meta-agl-profile-core: remove connman backport meta-agl-profile-graphical: remove weston 5.0.0 patches meta-agl-profile-core: remove old glibc patch meta-agl-bsp/meta-intel: remove linux-firmware_git.bbappend meta-agl-bsp: remove weston and wayland-protocols backports meta-app-framework: remove libzip recipe meta-security: remove keyutils recipe Declare layer compatibility with zeus Change-Id: Ie8ee1e37958279e7cf2d503c54ffacb46ba0c31c
2020-02-06Change distro-configuration after Icefish rc5Jan-Simon Moeller1-2/+2
. Change-Id: I036bfbbce92d8d06f1774af110b3bf3c7d35d706 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-01-29Change distro config for Icefish rc5icefish_8.99.5icefish/8.99.58.99.5Jan-Simon Moeller1-3/+3
Adapt the AGLVERSION. . Change-Id: I5474b033e2dcdd69a645e33e5f4260c2b9260ce3 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-01-27meta-agl-distro: Add inc file for next branch over-ridesScott Murray2-0/+4
Add poky-agl-next.inc file to hold temporary next branch over-rides, and include it in poky-agl.conf. For now it just over-rides the AGL_BRANCH value for agl-service-gps to use the next branch. This can be removed once the next branches containing zeus support are merged into master. Bug-AGL: SPEC-2932 Change-Id: Id73597c6f35010e4e5f9b54ac09728c7783b9e2f Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-01-27meta-agl-distro: BBMASK problematic upstream meta-security bbappendScott Murray1-0/+6
Mask upstream meta-security bbappend that interferes with non-linux-yocto kernels due to the bug of having two wildcards, which bitbake does not support. The result is the bbappend applying to all linux-% recipes, breaking e.g. linux-raspberry compilation. Not having it is not an issue, since there is also explicit enabling of required security features done by meta-agl/meta-security. Bug-AGL: SPEC-2932 Change-Id: I60579cf539c0b134dda06af75f98a7960330b147 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-01-27meta-agl-distro: prefer linux-yocto 4.19 LTS kernelScott Murray1-0/+3
Set PREFERRED_VERSION_linux-yocto in poky-agl.conf to prefer the 4.19 LTS linux-yocto kernel instead of 5.2.x. This only will affect platforms such as qemux86-64 that use linux-yocto. Bug-AGL: SPEC-2932 Change-Id: I64b90f48e6e32b6a4539c8dd3d2c4b33992d5199 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-01-22meta-agl-distro: add polkit to DISTRO_FEATURESScott Murray1-1/+1
Add polkit to DISTRO_FEATURES in poky-agl.conf. This is now explicitly required since the OE warrior release to be able to build udisks2. Since the polkit packages were previously being pulled into images by udisks anyways, the effective difference seems to be polkit support being enabled in systemd. Bug-AGL: SPEC-2932 Change-Id: Id87a1c04f5da431f3099d26ef3b78b189ff35b9d Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-01-22meta-agl-profile-graphical: upgrade to gstreamer 1.16Scott Murray1-7/+7
Rename gstreamer1.0-plugins-bad bbappend and update PREFERRED_VERSION definitions in distro configuration to handle upgrade to gstreamer 1.16 in oe-core. Bug-AGL: SPEC-2932 Change-Id: Ibc7362e6f45512fcda353a9479e2e437e1ee7f0c Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-01-22Declare layer compatibility with zeusJan-Simon Möller1-1/+1
For the uprev to YP 3.0 zeus we need to update the layer compatibility. Change-Id: Ib762915305588c39400c3c8343152b4ecbfa4556 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-12-30dev-mapping: Add RPROVIDES mechanismScott Murray1-0/+3
Add RPROVIDES and PREFFERED_RPROVIDER definitions to define a new virtual/low-can-dev-mapping runtime package dependency that will enable providing a different device mapping configuration for demo setups. Bug-AGL: SPEC-3076 Change-Id: I73d253a0a1285dd4576bb3b5bf04568c3d05e60c Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-12-28Update distro configuration post-rc4Jan-Simon Möller1-2/+2
Itchy Icefish rc4 is out. The merge window for rc5 is open. Change-Id: I7cf6aee8b43db5fa7159d8fa0dbc1b9c97edced8 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-12-20Change the distro config for Icefish rc4icefish_8.99.4icefish/8.99.48.99.4Jan-Simon Möller1-3/+3
Due to a critical bug in rc3, we'll do an early rc4. This changes the distro configuration. Change-Id: I25cb3fa513a66e26b443e986641cddf42a303e94 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-12-18Bump of configuration post RC3 of IcefishJan-Simon Möller1-2/+2
Change the distro configuration after rc3 is cut. The window for rc4 is open now. Change-Id: Id1a51cf18d5c7f1cb4a307c1b3e2b8df2ae02349 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-12-15Prepare Icefish rc3icefish_8.99.3icefish/8.99.38.99.3Jan-Simon Moeller1-3/+3
Change the distro config. . Change-Id: Ide8f369190a073bf34c2d043732fa1cd2872d0fd Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2019-12-12Post RC2 bump of distro configJan-Simon Moeller1-2/+2
Change-Id: Ic5521e64bf51446c5f50601636761fd775b84f21 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2019-12-06Cut 8.99.2 II rc2 releaseicefish_8.99.2icefish/8.99.28.99.2Jan-Simon Moeller1-3/+3
. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I1b680e5e494b225792970e06559c850b370f6295
2019-11-27Bump distro config after release of RC1Jan-Simon Möller1-2/+2
Window open for RC2. Change-Id: If247ce798874c5daa06f930e649e923ecce6e871 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-11-20Change distro config for Icefish RC1icefish_8.99.1icefish/8.99.18.99.1Jan-Simon Möller1-3/+3
Update the file. Change-Id: Ibaf9eadae606842f9f148ee2a0be7f02835614c7 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-08-02Move master to icefish after branching halibutJan-Simon Möller1-2/+2
After we branched halibut the master branch is now open for Itchy Icefish. Change-Id: If664ab1591109927856f80ab81ef59b826d0bfbe Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-07-25Post-release bump of distro configJan-Simon Möller1-2/+2
Change-Id: I0f4c7e2b6747a18f7f13f5a4d0851808b5019221 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-07-13Prepare Happy Halibut rc3 v7.99.3halibut_7.99.3halibut/7.99.37.99.3Jan-Simon Möller1-3/+3
Bump the AGLVERSION and the AGLRELEASETYPE. Change-Id: Ia2744798f717c59c28de520220a16d5d13e1a7cf Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-07-09Flip distro config post rc2Jan-Simon Möller1-2/+2
Change the distro config to post-RC2 . Change-Id: I5135ab220d2b38a5fa049661f2346eed010648a5 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-07-07Change the AGL mirror setup following the server changeJan-Simon Möller1-11/+22
The download server is currently http only. Add a fallback option to the MIRRORS in the distro configuration. Change-Id: Ic5403d921463a4f6aea813a150950c0d023aa77d Bug-AGL: SPEC-2604 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-07-01Prepare Happy Halibut rc2 releasehalibut_7.99.2halibut/7.99.27.99.2Jan-Simon Möller1-3/+3
Change the distro configuration in preparation of HH rc2. Change-Id: I6ca53cb2a2981c1c63133efd6d0222ede64f09f8 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-06-11Post HH rc1 bump of distro configbuild.automotivelinux.org1-2/+2
Once we release rc1, the window for rc2 is open again. Change-Id: Ic03710be9c8364d08ce8628e434c26388f3e39f2 Signed-off-by: build.automotivelinux.org <jenkins@automotivelinux.org>
2019-06-01Prepare HH RC1 releasehalibut_7.99.1halibut/7.99.17.99.1Jan-Simon Möller1-3/+3
Bump the distro configuration. Change-Id: Icb7ac269a6b8cdd74f2b2d1d4a85d51202c9225e Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-29Merge "Add ARC HSDK board support"Jan-Simon Moeller1-0/+3
2019-04-26Add ARC HSDK board supportEvgeniy Didin1-0/+3
This changeset adds the necessary files to build image for Synopsys ARC HS Development Kit (HSDK). Most of necessary tunnings are stored in meta-synopys layer. Synopsys DesignWare HSDK (which stands for ARC HS Development Kit) is the latest and greatest development platform that sports quad-core ARC HS38 in real silicon. Most noticeable features of the board are: * Quad-core ARC HS38 CPU running at 1GHz * 4Gb of DDR * Built-in Vivante GPU * Built-in Wi-Fi/Bluetooth module Peripherals: * [micro] SD-card slot * 2 USB 2.0 ports * 1Gbit Ethernet port * Built-in Digilent JTAG probe * Serial port accessible via micro-USB port New feature: SPEC-2346 Change-Id: I8772ee51cc3db9f6549da2d6a5ea2d116586cde6 Signed-off-by: Evgeniy Didin <didin@synopsys.com>
2019-04-14Change the navigation application default to the new navigation applicationJan-Simon Möller1-0/+3
Now that the new navigation application is ready, change the default navigation application. This replaces https://gerrit.automotivelinux.org/gerrit/#/c/19831/ . Change-Id: Iac516672087d231d5ea0b43764ce12e3d3c20580 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-04Upgrade to thudScott Murray2-35/+10
Changes include: - Add LAYERSERIES_COMPAT definitions to layer.conf files - Remove now unnecessary SECURITY_*FLAGS over-rides from distro configuration - Set intel-corei7-64 preferred kernel version to 4.19 to match latest linux-intel kernel available in meta-intel - Update qemuarm preferred kernel version to 4.18 to match latest linux-yocto - Update firmware package and devicetree file names for raspberrypi3 - Remove linux-firmware bbappend specific to raspberrypi, it seems no longer required and breaks the cross SDK build - Update linux-intel bbappend to 4.19, remove now unnecessary patch - Remove now unnecessary lttng-modules backport - Update linux-raspberrypi bbappend to 4.14 kernel - Added kernel configuration fragment for raspberrypi to disable Kprobes. This is required until linux-raspberrypi is updated to greater than 4.14.104 to avoid a build failure in lttng-modules related to a check for known breakage in the kernel CONFIG_OPTPROBES code. - Replace obsolete base_conditional usage with oe.utils.conditional - Add gstreamer1.0-plugins-bad bbappend for raspberrypi3 to disable faad PACKAGECONFIG to avoid commercial license issues - Remove unused and unbuildable Vayu gstreamer recipes - Update linux-ti-staging bbappend for new BSP kernel - Regen dcan2_pinmux_enable.patch for linux-ti-staging to remove fuzz warning, and remove upstreamed fix_dcan_addresses.patch - Remove ipumm-fw from meta-agl-bsp/meta-ti, as newer version is available in the upstream BSP - Update meta-agl-bsp/meta-ti weston patch to apply against 5.0.0 - Update meta-agl-bsp/meta-ti wayland-ivi-extension patch to apply against 2.2.0 - Add ti-sgx-ddk-km patch to add AGL toolchain configuration file - Remove now unnecessary fdtoverlay recipe - Update core.cfg and ivishell.cfg in weston-ini-conf recipe to handle move of ivi-controller.so configuration in Weston 5.0.0 - Update connman-ncurses patch to remove fuzz warning - Add installation of systemd over-ride file for run-postinsts.service in run-postinsts bbappend to workaround race condition between ldconfig.service and the /sbin/ldconfig invocations in the post-install scripts run by run-postinsts.service. The observed failure was cynara's post-install script failing and its database not being created. - Remove now unnecessary valgrind backport - Add patches to fix most driver compilation against newer kernels - Update libmicrohttpd bbappend - Remove libssp-dev from agl-image-graphical-qt5-crosssdk and agl-demo-platform-html5-crosssdk, upstream have removed it from non-mingw32 platform SDKs - Update wayland-ivi-extension recipe to build 2.2.0, and update local patches - Update weston patches for 5.0.0. Patches: 0016-ivi-shell_add_screen_remove_layer_api.patch 0017-ivi-shell-register-ivi_layout_interface.patch have been removed as they have been applied upstream and are no longer necessary. Patches: 0018-compositor-add-output-type-to-weston_output.patch 0019-compositor-drm-introduce-drm_get_dmafd_from_view.patch (both related to Waltham) have been disabled for now as they need significant rework. - Remove weston-conf RRECOMMENDS in weston bbappend to avoid conflict with weston-ini-conf - Add OECMAKE_GENERATOR = "Unix Makefiles" to aglwgt.bbclass to work around CMake+ninja issue in cmake-apps-module - Update dbus cynara patches for 1.12.10 - Add do_install_append in cynara recipe to remove /var/cynara from cynara package so the directory creation and labelling in the post-install scriptlet will function as intended - Remove now unnecessary e2fsprogs backport - Remove now unnecessary libcap-ng backport - Update pulseaudio patches to remove fuzz warnings - Update neardal patch to remove fuzz warning - Update freetype patch to remove fuzz warning - Rename opencv bbappend to 3.% to handle 3.x backports in upstream - Updated qtwayland patch to remove fuzz warning Changes from Stephane Desneux <stephane.desneux@iot.bzh>: - Remove wayland-ivi-extension PREFERRED_VERSION - Remove now unnecessary nativesdk-cmake patch - Remove now unnecessary ptest-runner patches - Remove now unnecessary harfbuzz patches - Disable waltham-transmitter as it does not build against weston 5.0.0 - Update af-main, cynara, and security-manager to use pkg_postinst_ontarget - Bump connman-ncurses revision to avoid deprecated ncurses functions - Update libva package usage with new intel-vaapi-driver name - Add patches to security-manager to fix compilation with gcc8 - Updated systemd bbappend Changes from Jan-Simon Möller <jsmoeller@linuxfoundation.org>: - Remove meta-agl-bsp/ROCKO.FIXMEs - Remove linux-yocto_4.12.bbappend and now unnecessary associated patch - Remove now unneeded kern-tools-native patch - Bump gstreamer PREFERRED_VERSIONs to 1.14.x - Remove latencytop from packagegroup-agl-core-devel, it has been dropped by upstream - Remove now unnecessary rpm patches - Update pulseaudio bbappend to 12.2 - Update opencv bbappend to 3.4 - Update freetype bbappend to 2.9.1 - Update dbus bbappend to 1.12.10 - Update weston bbappend to 5.0.0 - Update cynara patches to remove fuzz warnings - Add patch to cynara to fix compilation with gcc8 - Add xmlsec1 bbappend to clear EXTRA_OECONF to fix compilation on sumo or newer Changes from Ronan Le Martet <ronan.lemartet@iot.bzh>: - Update meta-rcar-gen3-adas layer gstreamer1.0-plugin-vspfilter bbappend to version 1.0.1 Known issues (marked with FIXME): - CMake+ninja issue in cmake-apps-module has been worked around with OECMAKE_GENERATOR - waltham-transmitter and the patches to weston related to it have been disabled - Currently unclear if patch to libcap-native is actually required or not Bug-AGL: SPEC-1837 Change-Id: I7b8b9ef667aec2d229952eace6663dfc761654d0 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-02-08Change master branch to Happy Halibuthalibut_7.90.0halibut/7.90.07.90.0Jan-Simon Möller1-2/+2
The next AGL version will be updated to use YP 2.6 'thud' and have the nickname 'Happy Halibut'. Change-Id: I9fc47eeebf268361fe0c2fb2659cff28a65dfb40 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-02-05meta-agl-distro: poky-agl: add 3g to AGL_DISTRO_FEATURESMatt Ranostay1-1/+1
To enable WWAN support for AGL add 3g to AGL_DISTRO_FEATURES Change-Id: Ib43344a6b6796afe19296fee14fddb5b2b23636a Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-01-20Post-release bumpJan-Simon Möller1-2/+2
Change-Id: I5883f78b91740ffc06f77dba1fed6c33218370d9 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-01-19Cut GG rc4 v6.99.4guppy_6.99.4guppy/6.99.46.99.4Jan-Simon Möller1-3/+3
Cut the rc4 of guppy. Change-Id: I29803ddf028d6c46cb300d03f31fe2ade9931add Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-01-06Post rc3 bump of distro configStephane Desneux1-2/+2
we're heading towards rc4 now. Change-Id: I06afbe8fd76a4d7eaf8a72353eae0363ee8f8a53 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-12-27Update distro configuration for GG rc3 6.99.3guppy_6.99.3guppy/6.99.36.99.3Jan-Simon Möller1-3/+3
We cut GG rc3 after the CES integration session. Notable changes: - Microphones working - Bluetooth -- A2DP in mediaplayer -- HFP (one call due to pending bug) - Mediaplayer and Radio ramping (radio lower prio) - btwilink disabled on kingfisher (unstable) - agl-demo-preload feature (load maps, POI api key, ...) - nfc improvements Change-Id: I978dd02a0b4d5aefcfc0d7d46287b27bc1f1d396 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-12-09Post rc2 bump of distro configJan-Simon Möller1-2/+2
we're heading towards rc3 now. Change-Id: I294f40e5c6f779a6ee7db984c2d475e9e230f54d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-11-30Prepare 6.99.2 Guppy RC2guppy_6.99.2guppy/6.99.26.99.2Jan-Simon Möller1-3/+3
Change the distro configuration in preparation of GG RC2. Change-Id: I2eb05adf8f4f909d90aed81b75ba04a0933ae02e Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-11-26Post-RC1 bumpJan-Simon Möller1-2/+2
Change-Id: I39ef7dc1023c80ca313ad80d5bd10df0c4fbe0c9 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-11-15Prepare Grumpy Guppy RC1Jan-Simon Möller1-3/+3
Modify the distro config to reflect the RC1 release. Change-Id: If46096e12c0917ee517835e5803ec32b80a6a37a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-10-08Fix optee-client buildRonan Le Martret1-0/+1
optee-client fails to compile when enabling FORTIFY_SOURCE=2 option. Change-Id: I4e4a5fea098470f63a3d8b49b9bb4fc8b8c0bbbc Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-02Remove pulseaudio from AGL DISTRO_FEATURESRonan Le Martret1-1/+1
Bug-AGL: SPEC-1601 Change-Id: I5f6f82dad72cb5f1570c6354d360cebd056489a1 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-09-28Change SDKPATH for something more stable in timeRonan Le Martret1-1/+1
* The SDKPATH must be fix to be used with YoMo. Inside rpm nativesdk file all the path is prefed by SDKPATH/sysroots/${HOSTARCH}-${SDK_VENDOR}-${OSHOST}/ * have a (day) time stamp in ${DISTRO_VERSION} force the rebuild of the package every day. eg: At runtime /etc becomes: (old value): /opt/agl-sdk/6.90.0+snapshot-20180921-aarch64/sysroots/x86_64-aglsdk-linux/etc (new value): /opt/agl-sdk/6.90.0+snapshot-aarch64/sysroots/x86_64-aglsdk-linux/etc in native sdk Bug-AGL: SPEC-921 Bug-AGL: SPEC-1667 Change-Id: I28d7f8d140ba75d9d8c68c84ba5fc697e6011836 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-09-12Move master to guppyJan-Simon Möller1-5/+5
We move master to guppy and development. Change-Id: If6fc9f1e89298f604e94055b75362df7a7cbdde0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
a> 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205
/*
 * Generated by gdbus-codegen 2.56.3. DO NOT EDIT.
 *
 * The license of this code is the same as for the D-Bus interface description
 * it was derived from.
 */

#ifdef HAVE_CONFIG_H
#  include "config.h"
#endif

#include "obex_phonebookaccess1_interface.h"

#include <string.h>
#ifdef G_OS_UNIX
#  include <gio/gunixfdlist.h>
#endif

typedef struct
{
  GDBusArgInfo parent_struct;
  gboolean use_gvariant;
} _ExtendedGDBusArgInfo;

typedef struct
{
  GDBusMethodInfo parent_struct;
  const gchar *signal_name;
  gboolean pass_fdlist;
} _ExtendedGDBusMethodInfo;

typedef struct
{
  GDBusSignalInfo parent_struct;
  const gchar *signal_name;
} _ExtendedGDBusSignalInfo;

typedef struct
{
  GDBusPropertyInfo parent_struct;
  const gchar *hyphen_name;
  gboolean use_gvariant;
} _ExtendedGDBusPropertyInfo;

typedef struct
{
  GDBusInterfaceInfo parent_struct;
  const gchar *hyphen_name;
} _ExtendedGDBusInterfaceInfo;

typedef struct
{
  const _ExtendedGDBusPropertyInfo *info;
  guint prop_id;
  GValue orig_value; /* the value before the change */
} ChangedProperty;

static void
_changed_property_free (ChangedProperty *data)
{
  g_value_unset (&data->orig_value);
  g_free (data);
}

static gboolean
_g_strv_equal0 (gchar **a, gchar **b)
{
  gboolean ret = FALSE;
  guint n;
  if (a == NULL && b == NULL)
    {
      ret = TRUE;
      goto out;
    }
  if (a == NULL || b == NULL)
    goto out;
  if (g_strv_length (a) != g_strv_length (b))
    goto out;
  for (n = 0; a[n] != NULL; n++)
    if (g_strcmp0 (a[n], b[n]) != 0)
      goto out;
  ret = TRUE;
out:
  return ret;
}

static gboolean
_g_variant_equal0 (GVariant *a, GVariant *b)
{
  gboolean ret = FALSE;
  if (a == NULL && b == NULL)
    {
      ret = TRUE;
      goto out;
    }
  if (a == NULL || b == NULL)
    goto out;
  ret = g_variant_equal (a, b);
out:
  return ret;
}

G_GNUC_UNUSED static gboolean
_g_value_equal (const GValue *a, const GValue *b)
{
  gboolean ret = FALSE;
  g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
  switch (G_VALUE_TYPE (a))
    {
      case G_TYPE_BOOLEAN:
        ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
        break;
      case G_TYPE_UCHAR:
        ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
        break;
      case G_TYPE_INT:
        ret = (g_value_get_int (a) == g_value_get_int (b));
        break;
      case G_TYPE_UINT:
        ret = (g_value_get_uint (a) == g_value_get_uint (b));
        break;
      case G_TYPE_INT64:
        ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
        break;
      case G_TYPE_UINT64:
        ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
        break;
      case G_TYPE_DOUBLE:
        {
          /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
          gdouble da = g_value_get_double (a);
          gdouble db = g_value_get_double (b);
          ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
        }
        break;
      case G_TYPE_STRING:
        ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
        break;
      case G_TYPE_VARIANT:
        ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
        break;
      default:
        if (G_VALUE_TYPE (a) == G_TYPE_STRV)
          ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
        else
          g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
        break;
    }
  return ret;
}

/* ------------------------------------------------------------------------
 * Code for interface org.bluez.obex.PhonebookAccess1
 * ------------------------------------------------------------------------
 */

/**
 * SECTION:OrgBluezObexPhonebookAccess1
 * @title: OrgBluezObexPhonebookAccess1
 * @short_description: Generated C code for the org.bluez.obex.PhonebookAccess1 D-Bus interface
 *
 * This section contains code for working with the <link linkend="gdbus-interface-org-bluez-obex-PhonebookAccess1.top_of_page">org.bluez.obex.PhonebookAccess1</link> D-Bus interface in C.
 */

/* ---- Introspection data for org.bluez.obex.PhonebookAccess1 ---- */

static const _ExtendedGDBusArgInfo _org_bluez_obex_phonebook_access1_method_info_select_IN_ARG_location =
{
  {
    -1,
    (gchar *) "location",
    (gchar *) "s",
    NULL
  },
  FALSE
};

static const _ExtendedGDBusArgInfo _org_bluez_obex_phonebook_access1_method_info_select_IN_ARG_phonebook =
{
  {
    -1,
    (gchar *) "phonebook",
    (gchar *) "s",
    NULL
  },
  FALSE
};

static const _ExtendedGDBusArgInfo * const _org_bluez_obex_phonebook_access1_method_info_select_IN_ARG_pointers[] =
{
  &_org_bluez_obex_phonebook_access1_method_info_select_IN_ARG_location,
  &_org_bluez_obex_phonebook_access1_method_info_select_IN_ARG_phonebook,
  NULL
};

static const _ExtendedGDBusMethodInfo _org_bluez_obex_phonebook_access1_method_info_select =
{
  {
    -1,
    (gchar *) "Select",
    (GDBusArgInfo **) &_org_bluez_obex_phonebook_access1_method_info_select_IN_ARG_pointers,
    NULL,
    NULL
  },
  "handle-select",
  FALSE
};

static const _ExtendedGDBusArgInfo _org_bluez_obex_phonebook_access1_method_info_pull_all_IN_ARG_targetfile =
{
  {
    -1,
    (gchar *) "targetfile",
    (gchar *) "s",
    NULL
  },
  FALSE
};

static const _ExtendedGDBusArgInfo _org_bluez_obex_phonebook_access1_method_info_pull_all_IN_ARG_filters =
{
  {
    -1,
    (gchar *) "filters",
    (gchar *) "a{sv}",
    NULL
  },
  FALSE
};

static const _ExtendedGDBusArgInfo * const _org_bluez_obex_phonebook_access1_method_info_pull_all_IN_ARG_pointers[] =
{
  &_org_bluez_obex_phonebook_access1_method_info_pull_all_IN_ARG_targetfile,
  &_org_bluez_obex_phonebook_access1_method_info_pull_all_IN_ARG_filters,
  NULL
};

static const _ExtendedGDBusArgInfo _org_bluez_obex_phonebook_access1_method_info_pull_all_OUT_ARG_transfer =
{
  {
    -1,
    (gchar *) "transfer",
    (gchar *) "o",
    NULL
  },
  FALSE
};

static const _ExtendedGDBusArgInfo _org_bluez_obex_phonebook_access1_method_info_pull_all_OUT_ARG_properties =
{
  {
    -1,
    (gchar *) "properties",
    (gchar *) "a{sv}",
    NULL
  },
  FALSE
};

static const _ExtendedGDBusArgInfo * const _org_bluez_obex_phonebook_access1_method_info_pull_all_OUT_ARG_pointers[] =
{
  &_org_bluez_obex_phonebook_access1_method_info_pull_all_OUT_ARG_transfer,
  &_org_bluez_obex_phonebook_access1_method_info_pull_all_OUT_ARG_properties,
  NULL
};

static const _ExtendedGDBusMethodInfo _org_bluez_obex_phonebook_access1_method_info_pull_all =
{
  {
    -1,
    (gchar *) "PullAll",
    (GDBusArgInfo **) &_org_bluez_obex_phonebook_access1_method_info_pull_all_IN_ARG_pointers,
    (GDBusArgInfo **) &_org_bluez_obex_phonebook_access1_method_info_pull_all_OUT_ARG_pointers,
    NULL
  },
  "handle-pull-all",
  FALSE
};

static const _ExtendedGDBusArgInfo _org_bluez_obex_phonebook_access1_method_info_pull_IN_ARG_vcard =
{
  {
    -1,
    (gchar *) "vcard",
    (gchar *) "s",
    NULL
  },
  FALSE
};

static const _ExtendedGDBusArgInfo _org_bluez_obex_phonebook_access1_method_info_pull_IN_ARG_targetfile =
{
  {
    -1,
    (gchar *) "targetfile",
    (gchar *) "s",
    NULL
  },
  FALSE
};

static const _ExtendedGDBusArgInfo _org_bluez_obex_phonebook_access1_method_info_pull_IN_ARG_filters =
{
  {
    -1,
    (gchar *) "filters",
    (gchar *) "a{sv}",
    NULL
  },
  FALSE
};

static const _ExtendedGDBusArgInfo * const _org_bluez_obex_phonebook_access1_method_info_pull_IN_ARG_pointers[] =
{
  &_org_bluez_obex_phonebook_access1_method_info_pull_IN_ARG_vcard,
  &_org_bluez_obex_phonebook_access1_method_info_pull_IN_ARG_targetfile,
  &_org_bluez_obex_phonebook_access1_method_info_pull_IN_ARG_filters,
  NULL
};

static const _ExtendedGDBusArgInfo _org_bluez_obex_phonebook_access1_method_info_pull_OUT_ARG_transfer =
{
  {
    -1,
    (gchar *) "transfer",
    (gchar *) "o",
    NULL
  },
  FALSE
};

static const _ExtendedGDBusArgInfo _org_bluez_obex_phonebook_access1_method_info_pull_OUT_ARG_properties =
{
  {
    -1,
    (gchar *) "properties",
    (gchar *) "a{sv}",
    NULL
  },
  FALSE
};

static const _ExtendedGDBusArgInfo * const _org_bluez_obex_phonebook_access1_method_info_pull_OUT_ARG_pointers[] =
{
  &_org_bluez_obex_phonebook_access1_method_info_pull_OUT_ARG_transfer,
  &_org_bluez_obex_phonebook_access1_method_info_pull_OUT_ARG_properties,
  NULL
};

static const _ExtendedGDBusMethodInfo _org_bluez_obex_phonebook_access1_method_info_pull =
{
  {
    -1,
    (gchar *) "Pull",
    (GDBusArgInfo **) &_org_bluez_obex_phonebook_access1_method_info_pull_IN_ARG_pointers,
    (GDBusArgInfo **) &_org_bluez_obex_phonebook_access1_method_info_pull_OUT_ARG_pointers,
    NULL
  },
  "handle-pull",
  FALSE
};

static const _ExtendedGDBusArgInfo _org_bluez_obex_phonebook_access1_method_info_list_IN_ARG_filters =
{
  {
    -1,
    (gchar *) "filters",
    (gchar *) "a{sv}",
    NULL
  },
  FALSE
};

static const _ExtendedGDBusArgInfo * const _org_bluez_obex_phonebook_access1_method_info_list_IN_ARG_pointers[] =
{
  &_org_bluez_obex_phonebook_access1_method_info_list_IN_ARG_filters,
  NULL
};

static const _ExtendedGDBusArgInfo _org_bluez_obex_phonebook_access1_method_info_list_OUT_ARG_vcard_listing =
{
  {
    -1,
    (gchar *) "vcard_listing",
    (gchar *) "a(ss)",
    NULL
  },
  FALSE
};

static const _ExtendedGDBusArgInfo * const _org_bluez_obex_phonebook_access1_method_info_list_OUT_ARG_pointers[] =
{
  &_org_bluez_obex_phonebook_access1_method_info_list_OUT_ARG_vcard_listing,
  NULL
};

static const _ExtendedGDBusMethodInfo _org_bluez_obex_phonebook_access1_method_info_list =
{
  {
    -1,
    (gchar *) "List",
    (GDBusArgInfo **) &_org_bluez_obex_phonebook_access1_method_info_list_IN_ARG_pointers,
    (GDBusArgInfo **) &_org_bluez_obex_phonebook_access1_method_info_list_OUT_ARG_pointers,
    NULL
  },
  "handle-list",
  FALSE
};

static const _ExtendedGDBusArgInfo _org_bluez_obex_phonebook_access1_method_info_search_IN_ARG_field =
{
  {
    -1,
    (gchar *) "field",
    (gchar *) "s",
    NULL
  },
  FALSE
};

static const _ExtendedGDBusArgInfo _org_bluez_obex_phonebook_access1_method_info_search_IN_ARG_value =
{
  {
    -1,
    (gchar *) "value",
    (gchar *) "s",
    NULL
  },
  FALSE
};

static const _ExtendedGDBusArgInfo _org_bluez_obex_phonebook_access1_method_info_search_IN_ARG_filters =
{
  {
    -1,
    (gchar *) "filters",
    (gchar *) "a{sv}",
    NULL
  },
  FALSE
};

static const _ExtendedGDBusArgInfo * const _org_bluez_obex_phonebook_access1_method_info_search_IN_ARG_pointers[] =
{
  &_org_bluez_obex_phonebook_access1_method_info_search_IN_ARG_field,
  &_org_bluez_obex_phonebook_access1_method_info_search_IN_ARG_value,
  &_org_bluez_obex_phonebook_access1_method_info_search_IN_ARG_filters,
  NULL
};

static const _ExtendedGDBusArgInfo _org_bluez_obex_phonebook_access1_method_info_search_OUT_ARG_vcard_listing =
{
  {
    -1,
    (gchar *) "vcard_listing",
    (gchar *) "a(ss)",
    NULL
  },
  FALSE
};

static const _ExtendedGDBusArgInfo * const _org_bluez_obex_phonebook_access1_method_info_search_OUT_ARG_pointers[] =
{
  &_org_bluez_obex_phonebook_access1_method_info_search_OUT_ARG_vcard_listing,
  NULL
};

static const _ExtendedGDBusMethodInfo _org_bluez_obex_phonebook_access1_method_info_search =
{
  {
    -1,
    (gchar *) "Search",
    (GDBusArgInfo **) &_org_bluez_obex_phonebook_access1_method_info_search_IN_ARG_pointers,
    (GDBusArgInfo **) &_org_bluez_obex_phonebook_access1_method_info_search_OUT_ARG_pointers,
    NULL
  },
  "handle-search",
  FALSE
};

static const _ExtendedGDBusArgInfo _org_bluez_obex_phonebook_access1_method_info_get_size_OUT_ARG_size =
{
  {
    -1,
    (gchar *) "size",
    (gchar *) "q",
    NULL
  },
  FALSE
};

static const _ExtendedGDBusArgInfo * const _org_bluez_obex_phonebook_access1_method_info_get_size_OUT_ARG_pointers[] =
{
  &_org_bluez_obex_phonebook_access1_method_info_get_size_OUT_ARG_size,
  NULL
};

static const _ExtendedGDBusMethodInfo _org_bluez_obex_phonebook_access1_method_info_get_size =
{
  {
    -1,
    (gchar *) "GetSize",
    NULL,
    (GDBusArgInfo **) &_org_bluez_obex_phonebook_access1_method_info_get_size_OUT_ARG_pointers,
    NULL
  },
  "handle-get-size",
  FALSE
};

static const _ExtendedGDBusArgInfo _org_bluez_obex_phonebook_access1_method_info_list_filter_fields_OUT_ARG_fields =
{
  {
    -1,
    (gchar *) "fields",
    (gchar *) "as",
    NULL
  },
  FALSE
};

static const _ExtendedGDBusArgInfo * const _org_bluez_obex_phonebook_access1_method_info_list_filter_fields_OUT_ARG_pointers[] =
{
  &_org_bluez_obex_phonebook_access1_method_info_list_filter_fields_OUT_ARG_fields,
  NULL
};

static const _ExtendedGDBusMethodInfo _org_bluez_obex_phonebook_access1_method_info_list_filter_fields =
{
  {
    -1,
    (gchar *) "ListFilterFields",
    NULL,
    (GDBusArgInfo **) &_org_bluez_obex_phonebook_access1_method_info_list_filter_fields_OUT_ARG_pointers,
    NULL
  },
  "handle-list-filter-fields",
  FALSE
};

static const _ExtendedGDBusMethodInfo _org_bluez_obex_phonebook_access1_method_info_update_version =
{
  {
    -1,
    (gchar *) "UpdateVersion",
    NULL,
    NULL,
    NULL
  },
  "handle-update-version",
  FALSE
};

static const _ExtendedGDBusMethodInfo * const _org_bluez_obex_phonebook_access1_method_info_pointers[] =
{
  &_org_bluez_obex_phonebook_access1_method_info_select,
  &_org_bluez_obex_phonebook_access1_method_info_pull_all,
  &_org_bluez_obex_phonebook_access1_method_info_pull,
  &_org_bluez_obex_phonebook_access1_method_info_list,
  &_org_bluez_obex_phonebook_access1_method_info_search,
  &_org_bluez_obex_phonebook_access1_method_info_get_size,
  &_org_bluez_obex_phonebook_access1_method_info_list_filter_fields,
  &_org_bluez_obex_phonebook_access1_method_info_update_version,
  NULL
};

static const _ExtendedGDBusPropertyInfo _org_bluez_obex_phonebook_access1_property_info_folder =
{
  {
    -1,
    (gchar *) "Folder",
    (gchar *) "s",
    G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
    NULL
  },
  "folder",
  FALSE
};

static const _ExtendedGDBusPropertyInfo _org_bluez_obex_phonebook_access1_property_info_database_identifier =
{
  {
    -1,
    (gchar *) "DatabaseIdentifier",
    (gchar *) "s",
    G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
    NULL
  },
  "database-identifier",
  FALSE
};

static const _ExtendedGDBusPropertyInfo _org_bluez_obex_phonebook_access1_property_info_primary_counter =
{
  {
    -1,
    (gchar *) "PrimaryCounter",
    (gchar *) "s",
    G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
    NULL
  },
  "primary-counter",
  FALSE
};

static const _ExtendedGDBusPropertyInfo _org_bluez_obex_phonebook_access1_property_info_secondary_counter =
{
  {
    -1,
    (gchar *) "SecondaryCounter",
    (gchar *) "s",
    G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
    NULL
  },
  "secondary-counter",
  FALSE
};

static const _ExtendedGDBusPropertyInfo _org_bluez_obex_phonebook_access1_property_info_fixed_image_size =
{
  {
    -1,
    (gchar *) "FixedImageSize",
    (gchar *) "b",
    G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
    NULL
  },
  "fixed-image-size",
  FALSE
};

static const _ExtendedGDBusPropertyInfo * const _org_bluez_obex_phonebook_access1_property_info_pointers[] =
{
  &_org_bluez_obex_phonebook_access1_property_info_folder,
  &_org_bluez_obex_phonebook_access1_property_info_database_identifier,
  &_org_bluez_obex_phonebook_access1_property_info_primary_counter,
  &_org_bluez_obex_phonebook_access1_property_info_secondary_counter,
  &_org_bluez_obex_phonebook_access1_property_info_fixed_image_size,
  NULL
};

static const _ExtendedGDBusInterfaceInfo _org_bluez_obex_phonebook_access1_interface_info =
{
  {
    -1,
    (gchar *) "org.bluez.obex.PhonebookAccess1",
    (GDBusMethodInfo **) &_org_bluez_obex_phonebook_access1_method_info_pointers,
    NULL,
    (GDBusPropertyInfo **) &_org_bluez_obex_phonebook_access1_property_info_pointers,
    NULL
  },
  "org-bluez-obex-phonebook-access1",
};


/**
 * org_bluez_obex_phonebook_access1_interface_info:
 *
 * Gets a machine-readable description of the <link linkend="gdbus-interface-org-bluez-obex-PhonebookAccess1.top_of_page">org.bluez.obex.PhonebookAccess1</link> D-Bus interface.
 *
 * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
 */
GDBusInterfaceInfo *
org_bluez_obex_phonebook_access1_interface_info (void)
{
  return (GDBusInterfaceInfo *) &_org_bluez_obex_phonebook_access1_interface_info.parent_struct;
}

/**
 * org_bluez_obex_phonebook_access1_override_properties:
 * @klass: The class structure for a #GObject derived class.
 * @property_id_begin: The property id to assign to the first overridden property.
 *
 * Overrides all #GObject properties in the #OrgBluezObexPhonebookAccess1 interface for a concrete class.
 * The properties are overridden in the order they are defined.
 *
 * Returns: The last property id.
 */
guint
org_bluez_obex_phonebook_access1_override_properties (GObjectClass *klass, guint property_id_begin)
{
  g_object_class_override_property (klass, property_id_begin++, "folder");
  g_object_class_override_property (klass, property_id_begin++, "database-identifier");
  g_object_class_override_property (klass, property_id_begin++, "primary-counter");
  g_object_class_override_property (klass, property_id_begin++, "secondary-counter");
  g_object_class_override_property (klass, property_id_begin++, "fixed-image-size");
  return property_id_begin - 1;
}



/**
 * OrgBluezObexPhonebookAccess1:
 *
 * Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-org-bluez-obex-PhonebookAccess1.top_of_page">org.bluez.obex.PhonebookAccess1</link>.
 */

/**
 * OrgBluezObexPhonebookAccess1Iface:
 * @parent_iface: The parent interface.
 * @handle_get_size: Handler for the #OrgBluezObexPhonebookAccess1::handle-get-size signal.
 * @handle_list: Handler for the #OrgBluezObexPhonebookAccess1::handle-list signal.
 * @handle_list_filter_fields: Handler for the #OrgBluezObexPhonebookAccess1::handle-list-filter-fields signal.
 * @handle_pull: Handler for the #OrgBluezObexPhonebookAccess1::handle-pull signal.
 * @handle_pull_all: Handler for the #OrgBluezObexPhonebookAccess1::handle-pull-all signal.
 * @handle_search: Handler for the #OrgBluezObexPhonebookAccess1::handle-search signal.
 * @handle_select: Handler for the #OrgBluezObexPhonebookAccess1::handle-select signal.
 * @handle_update_version: Handler for the #OrgBluezObexPhonebookAccess1::handle-update-version signal.
 * @get_database_identifier: Getter for the #OrgBluezObexPhonebookAccess1:database-identifier property.
 * @get_fixed_image_size: Getter for the #OrgBluezObexPhonebookAccess1:fixed-image-size property.
 * @get_folder: Getter for the #OrgBluezObexPhonebookAccess1:folder property.
 * @get_primary_counter: Getter for the #OrgBluezObexPhonebookAccess1:primary-counter property.
 * @get_secondary_counter: Getter for the #OrgBluezObexPhonebookAccess1:secondary-counter property.
 *
 * Virtual table for the D-Bus interface <link linkend="gdbus-interface-org-bluez-obex-PhonebookAccess1.top_of_page">org.bluez.obex.PhonebookAccess1</link>.
 */

typedef OrgBluezObexPhonebookAccess1Iface OrgBluezObexPhonebookAccess1Interface;
G_DEFINE_INTERFACE (OrgBluezObexPhonebookAccess1, org_bluez_obex_phonebook_access1, G_TYPE_OBJECT)

static void
org_bluez_obex_phonebook_access1_default_init (OrgBluezObexPhonebookAccess1Iface *iface)
{
  /* GObject signals for incoming D-Bus method calls: */
  /**
   * OrgBluezObexPhonebookAccess1::handle-select:
   * @object: A #OrgBluezObexPhonebookAccess1.
   * @invocation: A #GDBusMethodInvocation.
   * @arg_location: Argument passed by remote caller.
   * @arg_phonebook: Argument passed by remote caller.
   *
   * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.Select">Select()</link> D-Bus method.
   *
   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_bluez_obex_phonebook_access1_complete_select() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
   *
   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
   */
  g_signal_new ("handle-select",
    G_TYPE_FROM_INTERFACE (iface),
    G_SIGNAL_RUN_LAST,
    G_STRUCT_OFFSET (OrgBluezObexPhonebookAccess1Iface, handle_select),
    g_signal_accumulator_true_handled,
    NULL,
    g_cclosure_marshal_generic,
    G_TYPE_BOOLEAN,
    3,
    G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING, G_TYPE_STRING);

  /**
   * OrgBluezObexPhonebookAccess1::handle-pull-all:
   * @object: A #OrgBluezObexPhonebookAccess1.
   * @invocation: A #GDBusMethodInvocation.
   * @arg_targetfile: Argument passed by remote caller.
   * @arg_filters: Argument passed by remote caller.
   *
   * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.PullAll">PullAll()</link> D-Bus method.
   *
   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_bluez_obex_phonebook_access1_complete_pull_all() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
   *
   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
   */
  g_signal_new ("handle-pull-all",
    G_TYPE_FROM_INTERFACE (iface),
    G_SIGNAL_RUN_LAST,
    G_STRUCT_OFFSET (OrgBluezObexPhonebookAccess1Iface, handle_pull_all),
    g_signal_accumulator_true_handled,
    NULL,
    g_cclosure_marshal_generic,
    G_TYPE_BOOLEAN,
    3,
    G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING, G_TYPE_VARIANT);

  /**
   * OrgBluezObexPhonebookAccess1::handle-pull:
   * @object: A #OrgBluezObexPhonebookAccess1.
   * @invocation: A #GDBusMethodInvocation.
   * @arg_vcard: Argument passed by remote caller.
   * @arg_targetfile: Argument passed by remote caller.
   * @arg_filters: Argument passed by remote caller.
   *
   * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.Pull">Pull()</link> D-Bus method.
   *
   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_bluez_obex_phonebook_access1_complete_pull() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
   *
   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
   */
  g_signal_new ("handle-pull",
    G_TYPE_FROM_INTERFACE (iface),
    G_SIGNAL_RUN_LAST,
    G_STRUCT_OFFSET (OrgBluezObexPhonebookAccess1Iface, handle_pull),
    g_signal_accumulator_true_handled,
    NULL,
    g_cclosure_marshal_generic,
    G_TYPE_BOOLEAN,
    4,
    G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_VARIANT);

  /**
   * OrgBluezObexPhonebookAccess1::handle-list:
   * @object: A #OrgBluezObexPhonebookAccess1.
   * @invocation: A #GDBusMethodInvocation.
   * @arg_filters: Argument passed by remote caller.
   *
   * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.List">List()</link> D-Bus method.
   *
   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_bluez_obex_phonebook_access1_complete_list() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
   *
   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
   */
  g_signal_new ("handle-list",
    G_TYPE_FROM_INTERFACE (iface),
    G_SIGNAL_RUN_LAST,
    G_STRUCT_OFFSET (OrgBluezObexPhonebookAccess1Iface, handle_list),
    g_signal_accumulator_true_handled,
    NULL,
    g_cclosure_marshal_generic,
    G_TYPE_BOOLEAN,
    2,
    G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT);

  /**
   * OrgBluezObexPhonebookAccess1::handle-search:
   * @object: A #OrgBluezObexPhonebookAccess1.
   * @invocation: A #GDBusMethodInvocation.
   * @arg_field: Argument passed by remote caller.
   * @arg_value: Argument passed by remote caller.
   * @arg_filters: Argument passed by remote caller.
   *
   * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.Search">Search()</link> D-Bus method.
   *
   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_bluez_obex_phonebook_access1_complete_search() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
   *
   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
   */
  g_signal_new ("handle-search",
    G_TYPE_FROM_INTERFACE (iface),
    G_SIGNAL_RUN_LAST,
    G_STRUCT_OFFSET (OrgBluezObexPhonebookAccess1Iface, handle_search),
    g_signal_accumulator_true_handled,
    NULL,
    g_cclosure_marshal_generic,
    G_TYPE_BOOLEAN,
    4,
    G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_VARIANT);

  /**
   * OrgBluezObexPhonebookAccess1::handle-get-size:
   * @object: A #OrgBluezObexPhonebookAccess1.
   * @invocation: A #GDBusMethodInvocation.
   *
   * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.GetSize">GetSize()</link> D-Bus method.
   *
   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_bluez_obex_phonebook_access1_complete_get_size() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
   *
   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
   */
  g_signal_new ("handle-get-size",
    G_TYPE_FROM_INTERFACE (iface),
    G_SIGNAL_RUN_LAST,
    G_STRUCT_OFFSET (OrgBluezObexPhonebookAccess1Iface, handle_get_size),
    g_signal_accumulator_true_handled,
    NULL,
    g_cclosure_marshal_generic,
    G_TYPE_BOOLEAN,
    1,
    G_TYPE_DBUS_METHOD_INVOCATION);

  /**
   * OrgBluezObexPhonebookAccess1::handle-list-filter-fields:
   * @object: A #OrgBluezObexPhonebookAccess1.
   * @invocation: A #GDBusMethodInvocation.
   *
   * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.ListFilterFields">ListFilterFields()</link> D-Bus method.
   *
   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_bluez_obex_phonebook_access1_complete_list_filter_fields() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
   *
   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
   */
  g_signal_new ("handle-list-filter-fields",
    G_TYPE_FROM_INTERFACE (iface),
    G_SIGNAL_RUN_LAST,
    G_STRUCT_OFFSET (OrgBluezObexPhonebookAccess1Iface, handle_list_filter_fields),
    g_signal_accumulator_true_handled,
    NULL,
    g_cclosure_marshal_generic,
    G_TYPE_BOOLEAN,
    1,
    G_TYPE_DBUS_METHOD_INVOCATION);

  /**
   * OrgBluezObexPhonebookAccess1::handle-update-version:
   * @object: A #OrgBluezObexPhonebookAccess1.
   * @invocation: A #GDBusMethodInvocation.
   *
   * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.UpdateVersion">UpdateVersion()</link> D-Bus method.
   *
   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_bluez_obex_phonebook_access1_complete_update_version() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
   *
   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
   */
  g_signal_new ("handle-update-version",
    G_TYPE_FROM_INTERFACE (iface),
    G_SIGNAL_RUN_LAST,
    G_STRUCT_OFFSET (OrgBluezObexPhonebookAccess1Iface, handle_update_version),
    g_signal_accumulator_true_handled,
    NULL,
    g_cclosure_marshal_generic,
    G_TYPE_BOOLEAN,
    1,
    G_TYPE_DBUS_METHOD_INVOCATION);

  /* GObject properties for D-Bus properties: */
  /**
   * OrgBluezObexPhonebookAccess1:folder:
   *
   * Represents the D-Bus property <link linkend="gdbus-property-org-bluez-obex-PhonebookAccess1.Folder">"Folder"</link>.
   *
   * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
   */
  g_object_interface_install_property (iface,
    g_param_spec_string ("folder", "Folder", "Folder", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
  /**
   * OrgBluezObexPhonebookAccess1:database-identifier:
   *
   * Represents the D-Bus property <link linkend="gdbus-property-org-bluez-obex-PhonebookAccess1.DatabaseIdentifier">"DatabaseIdentifier"</link>.
   *
   * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
   */
  g_object_interface_install_property (iface,
    g_param_spec_string ("database-identifier", "DatabaseIdentifier", "DatabaseIdentifier", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
  /**
   * OrgBluezObexPhonebookAccess1:primary-counter:
   *
   * Represents the D-Bus property <link linkend="gdbus-property-org-bluez-obex-PhonebookAccess1.PrimaryCounter">"PrimaryCounter"</link>.
   *
   * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
   */
  g_object_interface_install_property (iface,
    g_param_spec_string ("primary-counter", "PrimaryCounter", "PrimaryCounter", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
  /**
   * OrgBluezObexPhonebookAccess1:secondary-counter:
   *
   * Represents the D-Bus property <link linkend="gdbus-property-org-bluez-obex-PhonebookAccess1.SecondaryCounter">"SecondaryCounter"</link>.
   *
   * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
   */
  g_object_interface_install_property (iface,
    g_param_spec_string ("secondary-counter", "SecondaryCounter", "SecondaryCounter", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
  /**
   * OrgBluezObexPhonebookAccess1:fixed-image-size:
   *
   * Represents the D-Bus property <link linkend="gdbus-property-org-bluez-obex-PhonebookAccess1.FixedImageSize">"FixedImageSize"</link>.
   *
   * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
   */
  g_object_interface_install_property (iface,
    g_param_spec_boolean ("fixed-image-size", "FixedImageSize", "FixedImageSize", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
}

/**
 * org_bluez_obex_phonebook_access1_get_folder: (skip)
 * @object: A #OrgBluezObexPhonebookAccess1.
 *
 * Gets the value of the <link linkend="gdbus-property-org-bluez-obex-PhonebookAccess1.Folder">"Folder"</link> D-Bus property.
 *
 * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
 *
 * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_bluez_obex_phonebook_access1_dup_folder() if on another thread.</warning>
 *
 * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
 */
const gchar *
org_bluez_obex_phonebook_access1_get_folder (OrgBluezObexPhonebookAccess1 *object)
{
  return ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_GET_IFACE (object)->get_folder (object);
}

/**
 * org_bluez_obex_phonebook_access1_dup_folder: (skip)
 * @object: A #OrgBluezObexPhonebookAccess1.
 *
 * Gets a copy of the <link linkend="gdbus-property-org-bluez-obex-PhonebookAccess1.Folder">"Folder"</link> D-Bus property.
 *
 * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
 *
 * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
 */
gchar *
org_bluez_obex_phonebook_access1_dup_folder (OrgBluezObexPhonebookAccess1 *object)
{
  gchar *value;
  g_object_get (G_OBJECT (object), "folder", &value, NULL);
  return value;
}

/**
 * org_bluez_obex_phonebook_access1_set_folder: (skip)
 * @object: A #OrgBluezObexPhonebookAccess1.
 * @value: The value to set.
 *
 * Sets the <link linkend="gdbus-property-org-bluez-obex-PhonebookAccess1.Folder">"Folder"</link> D-Bus property to @value.
 *
 * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
 */
void
org_bluez_obex_phonebook_access1_set_folder (OrgBluezObexPhonebookAccess1 *object, const gchar *value)
{
  g_object_set (G_OBJECT (object), "folder", value, NULL);
}

/**
 * org_bluez_obex_phonebook_access1_get_database_identifier: (skip)
 * @object: A #OrgBluezObexPhonebookAccess1.
 *
 * Gets the value of the <link linkend="gdbus-property-org-bluez-obex-PhonebookAccess1.DatabaseIdentifier">"DatabaseIdentifier"</link> D-Bus property.
 *
 * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
 *
 * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_bluez_obex_phonebook_access1_dup_database_identifier() if on another thread.</warning>
 *
 * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
 */
const gchar *
org_bluez_obex_phonebook_access1_get_database_identifier (OrgBluezObexPhonebookAccess1 *object)
{
  return ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_GET_IFACE (object)->get_database_identifier (object);
}

/**
 * org_bluez_obex_phonebook_access1_dup_database_identifier: (skip)
 * @object: A #OrgBluezObexPhonebookAccess1.
 *
 * Gets a copy of the <link linkend="gdbus-property-org-bluez-obex-PhonebookAccess1.DatabaseIdentifier">"DatabaseIdentifier"</link> D-Bus property.
 *
 * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
 *
 * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
 */
gchar *
org_bluez_obex_phonebook_access1_dup_database_identifier (OrgBluezObexPhonebookAccess1 *object)
{
  gchar *value;
  g_object_get (G_OBJECT (object), "database-identifier", &value, NULL);
  return value;
}

/**
 * org_bluez_obex_phonebook_access1_set_database_identifier: (skip)
 * @object: A #OrgBluezObexPhonebookAccess1.
 * @value: The value to set.
 *
 * Sets the <link linkend="gdbus-property-org-bluez-obex-PhonebookAccess1.DatabaseIdentifier">"DatabaseIdentifier"</link> D-Bus property to @value.
 *
 * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
 */
void
org_bluez_obex_phonebook_access1_set_database_identifier (OrgBluezObexPhonebookAccess1 *object, const gchar *value)
{
  g_object_set (G_OBJECT (object), "database-identifier", value, NULL);
}

/**
 * org_bluez_obex_phonebook_access1_get_primary_counter: (skip)
 * @object: A #OrgBluezObexPhonebookAccess1.
 *
 * Gets the value of the <link linkend="gdbus-property-org-bluez-obex-PhonebookAccess1.PrimaryCounter">"PrimaryCounter"</link> D-Bus property.
 *
 * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
 *
 * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_bluez_obex_phonebook_access1_dup_primary_counter() if on another thread.</warning>
 *
 * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
 */
const gchar *
org_bluez_obex_phonebook_access1_get_primary_counter (OrgBluezObexPhonebookAccess1 *object)
{
  return ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_GET_IFACE (object)->get_primary_counter (object);
}

/**
 * org_bluez_obex_phonebook_access1_dup_primary_counter: (skip)
 * @object: A #OrgBluezObexPhonebookAccess1.
 *
 * Gets a copy of the <link linkend="gdbus-property-org-bluez-obex-PhonebookAccess1.PrimaryCounter">"PrimaryCounter"</link> D-Bus property.
 *
 * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
 *
 * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
 */
gchar *
org_bluez_obex_phonebook_access1_dup_primary_counter (OrgBluezObexPhonebookAccess1 *object)
{
  gchar *value;
  g_object_get (G_OBJECT (object), "primary-counter", &value, NULL);
  return value;
}

/**
 * org_bluez_obex_phonebook_access1_set_primary_counter: (skip)
 * @object: A #OrgBluezObexPhonebookAccess1.
 * @value: The value to set.
 *
 * Sets the <link linkend="gdbus-property-org-bluez-obex-PhonebookAccess1.PrimaryCounter">"PrimaryCounter"</link> D-Bus property to @value.
 *
 * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
 */
void
org_bluez_obex_phonebook_access1_set_primary_counter (OrgBluezObexPhonebookAccess1 *object, const gchar *value)
{
  g_object_set (G_OBJECT (object), "primary-counter", value, NULL);
}

/**
 * org_bluez_obex_phonebook_access1_get_secondary_counter: (skip)
 * @object: A #OrgBluezObexPhonebookAccess1.
 *
 * Gets the value of the <link linkend="gdbus-property-org-bluez-obex-PhonebookAccess1.SecondaryCounter">"SecondaryCounter"</link> D-Bus property.
 *
 * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
 *
 * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_bluez_obex_phonebook_access1_dup_secondary_counter() if on another thread.</warning>
 *
 * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
 */
const gchar *
org_bluez_obex_phonebook_access1_get_secondary_counter (OrgBluezObexPhonebookAccess1 *object)
{
  return ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_GET_IFACE (object)->get_secondary_counter (object);
}

/**
 * org_bluez_obex_phonebook_access1_dup_secondary_counter: (skip)
 * @object: A #OrgBluezObexPhonebookAccess1.
 *
 * Gets a copy of the <link linkend="gdbus-property-org-bluez-obex-PhonebookAccess1.SecondaryCounter">"SecondaryCounter"</link> D-Bus property.
 *
 * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
 *
 * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
 */
gchar *
org_bluez_obex_phonebook_access1_dup_secondary_counter (OrgBluezObexPhonebookAccess1 *object)
{
  gchar *value;
  g_object_get (G_OBJECT (object), "secondary-counter", &value, NULL);
  return value;
}

/**
 * org_bluez_obex_phonebook_access1_set_secondary_counter: (skip)
 * @object: A #OrgBluezObexPhonebookAccess1.
 * @value: The value to set.
 *
 * Sets the <link linkend="gdbus-property-org-bluez-obex-PhonebookAccess1.SecondaryCounter">"SecondaryCounter"</link> D-Bus property to @value.
 *
 * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
 */
void
org_bluez_obex_phonebook_access1_set_secondary_counter (OrgBluezObexPhonebookAccess1 *object, const gchar *value)
{
  g_object_set (G_OBJECT (object), "secondary-counter", value, NULL);
}

/**
 * org_bluez_obex_phonebook_access1_get_fixed_image_size: (skip)
 * @object: A #OrgBluezObexPhonebookAccess1.
 *
 * Gets the value of the <link linkend="gdbus-property-org-bluez-obex-PhonebookAccess1.FixedImageSize">"FixedImageSize"</link> D-Bus property.
 *
 * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
 *
 * Returns: The property value.
 */
gboolean 
org_bluez_obex_phonebook_access1_get_fixed_image_size (OrgBluezObexPhonebookAccess1 *object)
{
  return ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_GET_IFACE (object)->get_fixed_image_size (object);
}

/**
 * org_bluez_obex_phonebook_access1_set_fixed_image_size: (skip)
 * @object: A #OrgBluezObexPhonebookAccess1.
 * @value: The value to set.
 *
 * Sets the <link linkend="gdbus-property-org-bluez-obex-PhonebookAccess1.FixedImageSize">"FixedImageSize"</link> D-Bus property to @value.
 *
 * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
 */
void
org_bluez_obex_phonebook_access1_set_fixed_image_size (OrgBluezObexPhonebookAccess1 *object, gboolean value)
{
  g_object_set (G_OBJECT (object), "fixed-image-size", value, NULL);
}

/**
 * org_bluez_obex_phonebook_access1_call_select:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @arg_location: Argument to pass with the method invocation.
 * @arg_phonebook: Argument to pass with the method invocation.
 * @cancellable: (nullable): A #GCancellable or %NULL.
 * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
 * @user_data: User data to pass to @callback.
 *
 * Asynchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.Select">Select()</link> D-Bus method on @proxy.
 * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
 * You can then call org_bluez_obex_phonebook_access1_call_select_finish() to get the result of the operation.
 *
 * See org_bluez_obex_phonebook_access1_call_select_sync() for the synchronous, blocking version of this method.
 */
void
org_bluez_obex_phonebook_access1_call_select (
    OrgBluezObexPhonebookAccess1 *proxy,
    const gchar *arg_location,
    const gchar *arg_phonebook,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data)
{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "Select",
    g_variant_new ("(ss)",
                   arg_location,
                   arg_phonebook),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}

/**
 * org_bluez_obex_phonebook_access1_call_select_finish:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_bluez_obex_phonebook_access1_call_select().
 * @error: Return location for error or %NULL.
 *
 * Finishes an operation started with org_bluez_obex_phonebook_access1_call_select().
 *
 * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
 */
gboolean
org_bluez_obex_phonebook_access1_call_select_finish (
    OrgBluezObexPhonebookAccess1 *proxy,
    GAsyncResult *res,
    GError **error)
{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "()");
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

/**
 * org_bluez_obex_phonebook_access1_call_select_sync:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @arg_location: Argument to pass with the method invocation.
 * @arg_phonebook: Argument to pass with the method invocation.
 * @cancellable: (nullable): A #GCancellable or %NULL.
 * @error: Return location for error or %NULL.
 *
 * Synchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.Select">Select()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
 *
 * See org_bluez_obex_phonebook_access1_call_select() for the asynchronous version of this method.
 *
 * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
 */
gboolean
org_bluez_obex_phonebook_access1_call_select_sync (
    OrgBluezObexPhonebookAccess1 *proxy,
    const gchar *arg_location,
    const gchar *arg_phonebook,
    GCancellable *cancellable,
    GError **error)
{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "Select",
    g_variant_new ("(ss)",
                   arg_location,
                   arg_phonebook),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "()");
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

/**
 * org_bluez_obex_phonebook_access1_call_pull_all:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @arg_targetfile: Argument to pass with the method invocation.
 * @arg_filters: Argument to pass with the method invocation.
 * @cancellable: (nullable): A #GCancellable or %NULL.
 * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
 * @user_data: User data to pass to @callback.
 *
 * Asynchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.PullAll">PullAll()</link> D-Bus method on @proxy.
 * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
 * You can then call org_bluez_obex_phonebook_access1_call_pull_all_finish() to get the result of the operation.
 *
 * See org_bluez_obex_phonebook_access1_call_pull_all_sync() for the synchronous, blocking version of this method.
 */
void
org_bluez_obex_phonebook_access1_call_pull_all (
    OrgBluezObexPhonebookAccess1 *proxy,
    const gchar *arg_targetfile,
    GVariant *arg_filters,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data)
{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "PullAll",
    g_variant_new ("(s@a{sv})",
                   arg_targetfile,
                   arg_filters),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}

/**
 * org_bluez_obex_phonebook_access1_call_pull_all_finish:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @out_transfer: (out): Return location for return parameter or %NULL to ignore.
 * @out_properties: (out): Return location for return parameter or %NULL to ignore.
 * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_bluez_obex_phonebook_access1_call_pull_all().
 * @error: Return location for error or %NULL.
 *
 * Finishes an operation started with org_bluez_obex_phonebook_access1_call_pull_all().
 *
 * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
 */
gboolean
org_bluez_obex_phonebook_access1_call_pull_all_finish (
    OrgBluezObexPhonebookAccess1 *proxy,
    gchar **out_transfer,
    GVariant **out_properties,
    GAsyncResult *res,
    GError **error)
{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(o@a{sv})",
                 out_transfer,
                 out_properties);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

/**
 * org_bluez_obex_phonebook_access1_call_pull_all_sync:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @arg_targetfile: Argument to pass with the method invocation.
 * @arg_filters: Argument to pass with the method invocation.
 * @out_transfer: (out): Return location for return parameter or %NULL to ignore.
 * @out_properties: (out): Return location for return parameter or %NULL to ignore.
 * @cancellable: (nullable): A #GCancellable or %NULL.
 * @error: Return location for error or %NULL.
 *
 * Synchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.PullAll">PullAll()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
 *
 * See org_bluez_obex_phonebook_access1_call_pull_all() for the asynchronous version of this method.
 *
 * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
 */
gboolean
org_bluez_obex_phonebook_access1_call_pull_all_sync (
    OrgBluezObexPhonebookAccess1 *proxy,
    const gchar *arg_targetfile,
    GVariant *arg_filters,
    gchar **out_transfer,
    GVariant **out_properties,
    GCancellable *cancellable,
    GError **error)
{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "PullAll",
    g_variant_new ("(s@a{sv})",
                   arg_targetfile,
                   arg_filters),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(o@a{sv})",
                 out_transfer,
                 out_properties);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

/**
 * org_bluez_obex_phonebook_access1_call_pull:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @arg_vcard: Argument to pass with the method invocation.
 * @arg_targetfile: Argument to pass with the method invocation.
 * @arg_filters: Argument to pass with the method invocation.
 * @cancellable: (nullable): A #GCancellable or %NULL.
 * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
 * @user_data: User data to pass to @callback.
 *
 * Asynchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.Pull">Pull()</link> D-Bus method on @proxy.
 * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
 * You can then call org_bluez_obex_phonebook_access1_call_pull_finish() to get the result of the operation.
 *
 * See org_bluez_obex_phonebook_access1_call_pull_sync() for the synchronous, blocking version of this method.
 */
void
org_bluez_obex_phonebook_access1_call_pull (
    OrgBluezObexPhonebookAccess1 *proxy,
    const gchar *arg_vcard,
    const gchar *arg_targetfile,
    GVariant *arg_filters,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data)
{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "Pull",
    g_variant_new ("(ss@a{sv})",
                   arg_vcard,
                   arg_targetfile,
                   arg_filters),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}

/**
 * org_bluez_obex_phonebook_access1_call_pull_finish:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @out_transfer: (out): Return location for return parameter or %NULL to ignore.
 * @out_properties: (out): Return location for return parameter or %NULL to ignore.
 * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_bluez_obex_phonebook_access1_call_pull().
 * @error: Return location for error or %NULL.
 *
 * Finishes an operation started with org_bluez_obex_phonebook_access1_call_pull().
 *
 * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
 */
gboolean
org_bluez_obex_phonebook_access1_call_pull_finish (
    OrgBluezObexPhonebookAccess1 *proxy,
    gchar **out_transfer,
    GVariant **out_properties,
    GAsyncResult *res,
    GError **error)
{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(o@a{sv})",
                 out_transfer,
                 out_properties);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

/**
 * org_bluez_obex_phonebook_access1_call_pull_sync:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @arg_vcard: Argument to pass with the method invocation.
 * @arg_targetfile: Argument to pass with the method invocation.
 * @arg_filters: Argument to pass with the method invocation.
 * @out_transfer: (out): Return location for return parameter or %NULL to ignore.
 * @out_properties: (out): Return location for return parameter or %NULL to ignore.
 * @cancellable: (nullable): A #GCancellable or %NULL.
 * @error: Return location for error or %NULL.
 *
 * Synchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.Pull">Pull()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
 *
 * See org_bluez_obex_phonebook_access1_call_pull() for the asynchronous version of this method.
 *
 * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
 */
gboolean
org_bluez_obex_phonebook_access1_call_pull_sync (
    OrgBluezObexPhonebookAccess1 *proxy,
    const gchar *arg_vcard,
    const gchar *arg_targetfile,
    GVariant *arg_filters,
    gchar **out_transfer,
    GVariant **out_properties,
    GCancellable *cancellable,
    GError **error)
{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "Pull",
    g_variant_new ("(ss@a{sv})",
                   arg_vcard,
                   arg_targetfile,
                   arg_filters),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(o@a{sv})",
                 out_transfer,
                 out_properties);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

/**
 * org_bluez_obex_phonebook_access1_call_list:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @arg_filters: Argument to pass with the method invocation.
 * @cancellable: (nullable): A #GCancellable or %NULL.
 * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
 * @user_data: User data to pass to @callback.
 *
 * Asynchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.List">List()</link> D-Bus method on @proxy.
 * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
 * You can then call org_bluez_obex_phonebook_access1_call_list_finish() to get the result of the operation.
 *
 * See org_bluez_obex_phonebook_access1_call_list_sync() for the synchronous, blocking version of this method.
 */
void
org_bluez_obex_phonebook_access1_call_list (
    OrgBluezObexPhonebookAccess1 *proxy,
    GVariant *arg_filters,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data)
{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "List",
    g_variant_new ("(@a{sv})",
                   arg_filters),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}

/**
 * org_bluez_obex_phonebook_access1_call_list_finish:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @out_vcard_listing: (out): Return location for return parameter or %NULL to ignore.
 * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_bluez_obex_phonebook_access1_call_list().
 * @error: Return location for error or %NULL.
 *
 * Finishes an operation started with org_bluez_obex_phonebook_access1_call_list().
 *
 * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
 */
gboolean
org_bluez_obex_phonebook_access1_call_list_finish (
    OrgBluezObexPhonebookAccess1 *proxy,
    GVariant **out_vcard_listing,
    GAsyncResult *res,
    GError **error)
{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(@a(ss))",
                 out_vcard_listing);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

/**
 * org_bluez_obex_phonebook_access1_call_list_sync:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @arg_filters: Argument to pass with the method invocation.
 * @out_vcard_listing: (out): Return location for return parameter or %NULL to ignore.
 * @cancellable: (nullable): A #GCancellable or %NULL.
 * @error: Return location for error or %NULL.
 *
 * Synchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.List">List()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
 *
 * See org_bluez_obex_phonebook_access1_call_list() for the asynchronous version of this method.
 *
 * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
 */
gboolean
org_bluez_obex_phonebook_access1_call_list_sync (
    OrgBluezObexPhonebookAccess1 *proxy,
    GVariant *arg_filters,
    GVariant **out_vcard_listing,
    GCancellable *cancellable,
    GError **error)
{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "List",
    g_variant_new ("(@a{sv})",
                   arg_filters),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(@a(ss))",
                 out_vcard_listing);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

/**
 * org_bluez_obex_phonebook_access1_call_search:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @arg_field: Argument to pass with the method invocation.
 * @arg_value: Argument to pass with the method invocation.
 * @arg_filters: Argument to pass with the method invocation.
 * @cancellable: (nullable): A #GCancellable or %NULL.
 * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
 * @user_data: User data to pass to @callback.
 *
 * Asynchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.Search">Search()</link> D-Bus method on @proxy.
 * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
 * You can then call org_bluez_obex_phonebook_access1_call_search_finish() to get the result of the operation.
 *
 * See org_bluez_obex_phonebook_access1_call_search_sync() for the synchronous, blocking version of this method.
 */
void
org_bluez_obex_phonebook_access1_call_search (
    OrgBluezObexPhonebookAccess1 *proxy,
    const gchar *arg_field,
    const gchar *arg_value,
    GVariant *arg_filters,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data)
{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "Search",
    g_variant_new ("(ss@a{sv})",
                   arg_field,
                   arg_value,
                   arg_filters),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}

/**
 * org_bluez_obex_phonebook_access1_call_search_finish:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @out_vcard_listing: (out): Return location for return parameter or %NULL to ignore.
 * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_bluez_obex_phonebook_access1_call_search().
 * @error: Return location for error or %NULL.
 *
 * Finishes an operation started with org_bluez_obex_phonebook_access1_call_search().
 *
 * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
 */
gboolean
org_bluez_obex_phonebook_access1_call_search_finish (
    OrgBluezObexPhonebookAccess1 *proxy,
    GVariant **out_vcard_listing,
    GAsyncResult *res,
    GError **error)
{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(@a(ss))",
                 out_vcard_listing);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

/**
 * org_bluez_obex_phonebook_access1_call_search_sync:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @arg_field: Argument to pass with the method invocation.
 * @arg_value: Argument to pass with the method invocation.
 * @arg_filters: Argument to pass with the method invocation.
 * @out_vcard_listing: (out): Return location for return parameter or %NULL to ignore.
 * @cancellable: (nullable): A #GCancellable or %NULL.
 * @error: Return location for error or %NULL.
 *
 * Synchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.Search">Search()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
 *
 * See org_bluez_obex_phonebook_access1_call_search() for the asynchronous version of this method.
 *
 * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
 */
gboolean
org_bluez_obex_phonebook_access1_call_search_sync (
    OrgBluezObexPhonebookAccess1 *proxy,
    const gchar *arg_field,
    const gchar *arg_value,
    GVariant *arg_filters,
    GVariant **out_vcard_listing,
    GCancellable *cancellable,
    GError **error)
{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "Search",
    g_variant_new ("(ss@a{sv})",
                   arg_field,
                   arg_value,
                   arg_filters),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(@a(ss))",
                 out_vcard_listing);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

/**
 * org_bluez_obex_phonebook_access1_call_get_size:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @cancellable: (nullable): A #GCancellable or %NULL.
 * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
 * @user_data: User data to pass to @callback.
 *
 * Asynchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.GetSize">GetSize()</link> D-Bus method on @proxy.
 * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
 * You can then call org_bluez_obex_phonebook_access1_call_get_size_finish() to get the result of the operation.
 *
 * See org_bluez_obex_phonebook_access1_call_get_size_sync() for the synchronous, blocking version of this method.
 */
void
org_bluez_obex_phonebook_access1_call_get_size (
    OrgBluezObexPhonebookAccess1 *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data)
{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetSize",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}

/**
 * org_bluez_obex_phonebook_access1_call_get_size_finish:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @out_size: (out): Return location for return parameter or %NULL to ignore.
 * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_bluez_obex_phonebook_access1_call_get_size().
 * @error: Return location for error or %NULL.
 *
 * Finishes an operation started with org_bluez_obex_phonebook_access1_call_get_size().
 *
 * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
 */
gboolean
org_bluez_obex_phonebook_access1_call_get_size_finish (
    OrgBluezObexPhonebookAccess1 *proxy,
    guint16 *out_size,
    GAsyncResult *res,
    GError **error)
{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(q)",
                 out_size);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

/**
 * org_bluez_obex_phonebook_access1_call_get_size_sync:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @out_size: (out): Return location for return parameter or %NULL to ignore.
 * @cancellable: (nullable): A #GCancellable or %NULL.
 * @error: Return location for error or %NULL.
 *
 * Synchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.GetSize">GetSize()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
 *
 * See org_bluez_obex_phonebook_access1_call_get_size() for the asynchronous version of this method.
 *
 * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
 */
gboolean
org_bluez_obex_phonebook_access1_call_get_size_sync (
    OrgBluezObexPhonebookAccess1 *proxy,
    guint16 *out_size,
    GCancellable *cancellable,
    GError **error)
{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetSize",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(q)",
                 out_size);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

/**
 * org_bluez_obex_phonebook_access1_call_list_filter_fields:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @cancellable: (nullable): A #GCancellable or %NULL.
 * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
 * @user_data: User data to pass to @callback.
 *
 * Asynchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.ListFilterFields">ListFilterFields()</link> D-Bus method on @proxy.
 * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
 * You can then call org_bluez_obex_phonebook_access1_call_list_filter_fields_finish() to get the result of the operation.
 *
 * See org_bluez_obex_phonebook_access1_call_list_filter_fields_sync() for the synchronous, blocking version of this method.
 */
void
org_bluez_obex_phonebook_access1_call_list_filter_fields (
    OrgBluezObexPhonebookAccess1 *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data)
{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "ListFilterFields",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}

/**
 * org_bluez_obex_phonebook_access1_call_list_filter_fields_finish:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @out_fields: (out) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
 * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_bluez_obex_phonebook_access1_call_list_filter_fields().
 * @error: Return location for error or %NULL.
 *
 * Finishes an operation started with org_bluez_obex_phonebook_access1_call_list_filter_fields().
 *
 * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
 */
gboolean
org_bluez_obex_phonebook_access1_call_list_filter_fields_finish (
    OrgBluezObexPhonebookAccess1 *proxy,
    gchar ***out_fields,
    GAsyncResult *res,
    GError **error)
{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(^as)",
                 out_fields);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

/**
 * org_bluez_obex_phonebook_access1_call_list_filter_fields_sync:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @out_fields: (out) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
 * @cancellable: (nullable): A #GCancellable or %NULL.
 * @error: Return location for error or %NULL.
 *
 * Synchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.ListFilterFields">ListFilterFields()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
 *
 * See org_bluez_obex_phonebook_access1_call_list_filter_fields() for the asynchronous version of this method.
 *
 * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
 */
gboolean
org_bluez_obex_phonebook_access1_call_list_filter_fields_sync (
    OrgBluezObexPhonebookAccess1 *proxy,
    gchar ***out_fields,
    GCancellable *cancellable,
    GError **error)
{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "ListFilterFields",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(^as)",
                 out_fields);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

/**
 * org_bluez_obex_phonebook_access1_call_update_version:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @cancellable: (nullable): A #GCancellable or %NULL.
 * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
 * @user_data: User data to pass to @callback.
 *
 * Asynchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.UpdateVersion">UpdateVersion()</link> D-Bus method on @proxy.
 * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
 * You can then call org_bluez_obex_phonebook_access1_call_update_version_finish() to get the result of the operation.
 *
 * See org_bluez_obex_phonebook_access1_call_update_version_sync() for the synchronous, blocking version of this method.
 */
void
org_bluez_obex_phonebook_access1_call_update_version (
    OrgBluezObexPhonebookAccess1 *proxy,
    GCancellable *cancellable,
    GAsyncReadyCallback callback,
    gpointer user_data)
{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "UpdateVersion",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}

/**
 * org_bluez_obex_phonebook_access1_call_update_version_finish:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_bluez_obex_phonebook_access1_call_update_version().
 * @error: Return location for error or %NULL.
 *
 * Finishes an operation started with org_bluez_obex_phonebook_access1_call_update_version().
 *
 * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
 */
gboolean
org_bluez_obex_phonebook_access1_call_update_version_finish (
    OrgBluezObexPhonebookAccess1 *proxy,
    GAsyncResult *res,
    GError **error)
{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "()");
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

/**
 * org_bluez_obex_phonebook_access1_call_update_version_sync:
 * @proxy: A #OrgBluezObexPhonebookAccess1Proxy.
 * @cancellable: (nullable): A #GCancellable or %NULL.
 * @error: Return location for error or %NULL.
 *
 * Synchronously invokes the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.UpdateVersion">UpdateVersion()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
 *
 * See org_bluez_obex_phonebook_access1_call_update_version() for the asynchronous version of this method.
 *
 * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
 */
gboolean
org_bluez_obex_phonebook_access1_call_update_version_sync (
    OrgBluezObexPhonebookAccess1 *proxy,
    GCancellable *cancellable,
    GError **error)
{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "UpdateVersion",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "()");
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

/**
 * org_bluez_obex_phonebook_access1_complete_select:
 * @object: A #OrgBluezObexPhonebookAccess1.
 * @invocation: (transfer full): A #GDBusMethodInvocation.
 *
 * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.Select">Select()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
 *
 * This method will free @invocation, you cannot use it afterwards.
 */
void
org_bluez_obex_phonebook_access1_complete_select (
    OrgBluezObexPhonebookAccess1 *object,
    GDBusMethodInvocation *invocation)
{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("()"));
}

/**
 * org_bluez_obex_phonebook_access1_complete_pull_all:
 * @object: A #OrgBluezObexPhonebookAccess1.
 * @invocation: (transfer full): A #GDBusMethodInvocation.
 * @transfer: Parameter to return.
 * @properties: Parameter to return.
 *
 * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.PullAll">PullAll()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
 *
 * This method will free @invocation, you cannot use it afterwards.
 */
void
org_bluez_obex_phonebook_access1_complete_pull_all (
    OrgBluezObexPhonebookAccess1 *object,
    GDBusMethodInvocation *invocation,
    const gchar *transfer,
    GVariant *properties)
{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(o@a{sv})",
                   transfer,
                   properties));
}

/**
 * org_bluez_obex_phonebook_access1_complete_pull:
 * @object: A #OrgBluezObexPhonebookAccess1.
 * @invocation: (transfer full): A #GDBusMethodInvocation.
 * @transfer: Parameter to return.
 * @properties: Parameter to return.
 *
 * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.Pull">Pull()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
 *
 * This method will free @invocation, you cannot use it afterwards.
 */
void
org_bluez_obex_phonebook_access1_complete_pull (
    OrgBluezObexPhonebookAccess1 *object,
    GDBusMethodInvocation *invocation,
    const gchar *transfer,
    GVariant *properties)
{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(o@a{sv})",
                   transfer,
                   properties));
}

/**
 * org_bluez_obex_phonebook_access1_complete_list:
 * @object: A #OrgBluezObexPhonebookAccess1.
 * @invocation: (transfer full): A #GDBusMethodInvocation.
 * @vcard_listing: Parameter to return.
 *
 * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.List">List()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
 *
 * This method will free @invocation, you cannot use it afterwards.
 */
void
org_bluez_obex_phonebook_access1_complete_list (
    OrgBluezObexPhonebookAccess1 *object,
    GDBusMethodInvocation *invocation,
    GVariant *vcard_listing)
{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(@a(ss))",
                   vcard_listing));
}

/**
 * org_bluez_obex_phonebook_access1_complete_search:
 * @object: A #OrgBluezObexPhonebookAccess1.
 * @invocation: (transfer full): A #GDBusMethodInvocation.
 * @vcard_listing: Parameter to return.
 *
 * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.Search">Search()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
 *
 * This method will free @invocation, you cannot use it afterwards.
 */
void
org_bluez_obex_phonebook_access1_complete_search (
    OrgBluezObexPhonebookAccess1 *object,
    GDBusMethodInvocation *invocation,
    GVariant *vcard_listing)
{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(@a(ss))",
                   vcard_listing));
}

/**
 * org_bluez_obex_phonebook_access1_complete_get_size:
 * @object: A #OrgBluezObexPhonebookAccess1.
 * @invocation: (transfer full): A #GDBusMethodInvocation.
 * @size: Parameter to return.
 *
 * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.GetSize">GetSize()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
 *
 * This method will free @invocation, you cannot use it afterwards.
 */
void
org_bluez_obex_phonebook_access1_complete_get_size (
    OrgBluezObexPhonebookAccess1 *object,
    GDBusMethodInvocation *invocation,
    guint16 size)
{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(q)",
                   size));
}

/**
 * org_bluez_obex_phonebook_access1_complete_list_filter_fields:
 * @object: A #OrgBluezObexPhonebookAccess1.
 * @invocation: (transfer full): A #GDBusMethodInvocation.
 * @fields: Parameter to return.
 *
 * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.ListFilterFields">ListFilterFields()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
 *
 * This method will free @invocation, you cannot use it afterwards.
 */
void
org_bluez_obex_phonebook_access1_complete_list_filter_fields (
    OrgBluezObexPhonebookAccess1 *object,
    GDBusMethodInvocation *invocation,
    const gchar *const *fields)
{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(^as)",
                   fields));
}

/**
 * org_bluez_obex_phonebook_access1_complete_update_version:
 * @object: A #OrgBluezObexPhonebookAccess1.
 * @invocation: (transfer full): A #GDBusMethodInvocation.
 *
 * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-bluez-obex-PhonebookAccess1.UpdateVersion">UpdateVersion()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
 *
 * This method will free @invocation, you cannot use it afterwards.
 */
void
org_bluez_obex_phonebook_access1_complete_update_version (
    OrgBluezObexPhonebookAccess1 *object,
    GDBusMethodInvocation *invocation)
{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("()"));
}

/* ------------------------------------------------------------------------ */

/**
 * OrgBluezObexPhonebookAccess1Proxy:
 *
 * The #OrgBluezObexPhonebookAccess1Proxy structure contains only private data and should only be accessed using the provided API.
 */

/**
 * OrgBluezObexPhonebookAccess1ProxyClass:
 * @parent_class: The parent class.
 *
 * Class structure for #OrgBluezObexPhonebookAccess1Proxy.
 */

struct _OrgBluezObexPhonebookAccess1ProxyPrivate
{
  GData *qdata;
};

static void org_bluez_obex_phonebook_access1_proxy_iface_init (OrgBluezObexPhonebookAccess1Iface *iface);

#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
G_DEFINE_TYPE_WITH_CODE (OrgBluezObexPhonebookAccess1Proxy, org_bluez_obex_phonebook_access1_proxy, G_TYPE_DBUS_PROXY,
                         G_ADD_PRIVATE (OrgBluezObexPhonebookAccess1Proxy)
                         G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1, org_bluez_obex_phonebook_access1_proxy_iface_init))

#else
G_DEFINE_TYPE_WITH_CODE (OrgBluezObexPhonebookAccess1Proxy, org_bluez_obex_phonebook_access1_proxy, G_TYPE_DBUS_PROXY,
                         G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1, org_bluez_obex_phonebook_access1_proxy_iface_init))

#endif
static void
org_bluez_obex_phonebook_access1_proxy_finalize (GObject *object)
{
  OrgBluezObexPhonebookAccess1Proxy *proxy = ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_PROXY (object);
  g_datalist_clear (&proxy->priv->qdata);
  G_OBJECT_CLASS (org_bluez_obex_phonebook_access1_proxy_parent_class)->finalize (object);
}

static void
org_bluez_obex_phonebook_access1_proxy_get_property (GObject      *object,
  guint         prop_id,
  GValue       *value,
  GParamSpec   *pspec G_GNUC_UNUSED)
{
  const _ExtendedGDBusPropertyInfo *info;
  GVariant *variant;
  g_assert (prop_id != 0 && prop_id - 1 < 5);
  info = _org_bluez_obex_phonebook_access1_property_info_pointers[prop_id - 1];
  variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
  if (info->use_gvariant)
    {
      g_value_set_variant (value, variant);
    }
  else
    {
      if (variant != NULL)
        g_dbus_gvariant_to_gvalue (variant, value);
    }
  if (variant != NULL)
    g_variant_unref (variant);
}

static void
org_bluez_obex_phonebook_access1_proxy_set_property_cb (GDBusProxy *proxy,
  GAsyncResult *res,
  gpointer      user_data)
{
  const _ExtendedGDBusPropertyInfo *info = user_data;
  GError *error;
  GVariant *_ret;
  error = NULL;
  _ret = g_dbus_proxy_call_finish (proxy, res, &error);
  if (!_ret)
    {
      g_warning ("Error setting property '%s' on interface org.bluez.obex.PhonebookAccess1: %s (%s, %d)",
                 info->parent_struct.name, 
                 error->message, g_quark_to_string (error->domain), error->code);
      g_error_free (error);
    }
  else
    {
      g_variant_unref (_ret);
    }
}

static void
org_bluez_obex_phonebook_access1_proxy_set_property (GObject      *object,
  guint         prop_id,
  const GValue *value,
  GParamSpec   *pspec G_GNUC_UNUSED)
{
  const _ExtendedGDBusPropertyInfo *info;
  GVariant *variant;
  g_assert (prop_id != 0 && prop_id - 1 < 5);
  info = _org_bluez_obex_phonebook_access1_property_info_pointers[prop_id - 1];
  variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
  g_dbus_proxy_call (G_DBUS_PROXY (object),
    "org.freedesktop.DBus.Properties.Set",
    g_variant_new ("(ssv)", "org.bluez.obex.PhonebookAccess1", info->parent_struct.name, variant),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    NULL, (GAsyncReadyCallback) org_bluez_obex_phonebook_access1_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
  g_variant_unref (variant);
}

static void
org_bluez_obex_phonebook_access1_proxy_g_signal (GDBusProxy *proxy,
  const gchar *sender_name G_GNUC_UNUSED,
  const gchar *signal_name,
  GVariant *parameters)
{
  _ExtendedGDBusSignalInfo *info;
  GVariantIter iter;
  GVariant *child;
  GValue *paramv;
  gsize num_params;
  gsize n;
  guint signal_id;
  info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_bluez_obex_phonebook_access1_interface_info.parent_struct, signal_name);
  if (info == NULL)
    return;
  num_params = g_variant_n_children (parameters);
  paramv = g_new0 (GValue, num_params + 1);
  g_value_init (&paramv[0], TYPE_ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1);
  g_value_set_object (&paramv[0], proxy);
  g_variant_iter_init (&iter, parameters);
  n = 1;
  while ((child = g_variant_iter_next_value (&iter)) != NULL)
    {
      _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
      if (arg_info->use_gvariant)
        {
          g_value_init (&paramv[n], G_TYPE_VARIANT);
          g_value_set_variant (&paramv[n], child);
          n++;
        }
      else
        g_dbus_gvariant_to_gvalue (child, &paramv[n++]);
      g_variant_unref (child);
    }
  signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1);
  g_signal_emitv (paramv, signal_id, 0, NULL);
  for (n = 0; n < num_params + 1; n++)
    g_value_unset (&paramv[n]);
  g_free (paramv);
}

static void
org_bluez_obex_phonebook_access1_proxy_g_properties_changed (GDBusProxy *_proxy,
  GVariant *changed_properties,
  const gchar *const *invalidated_properties)
{
  OrgBluezObexPhonebookAccess1Proxy *proxy = ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_PROXY (_proxy);
  guint n;
  const gchar *key;
  GVariantIter *iter;
  _ExtendedGDBusPropertyInfo *info;
  g_variant_get (changed_properties, "a{sv}", &iter);
  while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
    {
      info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_bluez_obex_phonebook_access1_interface_info.parent_struct, key);
      g_datalist_remove_data (&proxy->priv->qdata, key);
      if (info != NULL)
        g_object_notify (G_OBJECT (proxy), info->hyphen_name);
    }
  g_variant_iter_free (iter);
  for (n = 0; invalidated_properties[n] != NULL; n++)
    {
      info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_bluez_obex_phonebook_access1_interface_info.parent_struct, invalidated_properties[n]);
      g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
      if (info != NULL)
        g_object_notify (G_OBJECT (proxy), info->hyphen_name);
    }
}

static const gchar *
org_bluez_obex_phonebook_access1_proxy_get_folder (OrgBluezObexPhonebookAccess1 *object)
{
  OrgBluezObexPhonebookAccess1Proxy *proxy = ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_PROXY (object);
  GVariant *variant;
  const gchar *value = NULL;
  variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Folder");
  if (variant != NULL)
    {
      value = g_variant_get_string (variant, NULL);
      g_variant_unref (variant);
    }
  return value;
}

static const gchar *
org_bluez_obex_phonebook_access1_proxy_get_database_identifier (OrgBluezObexPhonebookAccess1 *object)
{
  OrgBluezObexPhonebookAccess1Proxy *proxy = ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_PROXY (object);
  GVariant *variant;
  const gchar *value = NULL;
  variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DatabaseIdentifier");
  if (variant != NULL)
    {
      value = g_variant_get_string (variant, NULL);
      g_variant_unref (variant);
    }
  return value;
}

static const gchar *
org_bluez_obex_phonebook_access1_proxy_get_primary_counter (OrgBluezObexPhonebookAccess1 *object)
{
  OrgBluezObexPhonebookAccess1Proxy *proxy = ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_PROXY (object);
  GVariant *variant;
  const gchar *value = NULL;
  variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "PrimaryCounter");
  if (variant != NULL)
    {
      value = g_variant_get_string (variant, NULL);
      g_variant_unref (variant);
    }
  return value;
}

static const gchar *
org_bluez_obex_phonebook_access1_proxy_get_secondary_counter (OrgBluezObexPhonebookAccess1 *object)
{
  OrgBluezObexPhonebookAccess1Proxy *proxy = ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_PROXY (object);
  GVariant *variant;
  const gchar *value = NULL;
  variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "SecondaryCounter");
  if (variant != NULL)
    {
      value = g_variant_get_string (variant, NULL);
      g_variant_unref (variant);
    }
  return value;
}

static gboolean 
org_bluez_obex_phonebook_access1_proxy_get_fixed_image_size (OrgBluezObexPhonebookAccess1 *object)
{
  OrgBluezObexPhonebookAccess1Proxy *proxy = ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_PROXY (object);
  GVariant *variant;
  gboolean value = 0;
  variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "FixedImageSize");
  if (variant != NULL)
    {
      value = g_variant_get_boolean (variant);
      g_variant_unref (variant);
    }
  return value;
}

static void
org_bluez_obex_phonebook_access1_proxy_init (OrgBluezObexPhonebookAccess1Proxy *proxy)
{
#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
  proxy->priv = org_bluez_obex_phonebook_access1_proxy_get_instance_private (proxy);
#else
  proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_PROXY, OrgBluezObexPhonebookAccess1ProxyPrivate);
#endif

  g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_bluez_obex_phonebook_access1_interface_info ());
}

static void
org_bluez_obex_phonebook_access1_proxy_class_init (OrgBluezObexPhonebookAccess1ProxyClass *klass)
{
  GObjectClass *gobject_class;
  GDBusProxyClass *proxy_class;

  gobject_class = G_OBJECT_CLASS (klass);
  gobject_class->finalize     = org_bluez_obex_phonebook_access1_proxy_finalize;
  gobject_class->get_property = org_bluez_obex_phonebook_access1_proxy_get_property;
  gobject_class->set_property = org_bluez_obex_phonebook_access1_proxy_set_property;

  proxy_class = G_DBUS_PROXY_CLASS (klass);
  proxy_class->g_signal = org_bluez_obex_phonebook_access1_proxy_g_signal;
  proxy_class->g_properties_changed = org_bluez_obex_phonebook_access1_proxy_g_properties_changed;

  org_bluez_obex_phonebook_access1_override_properties (gobject_class, 1);

#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
  g_type_class_add_private (klass, sizeof (OrgBluezObexPhonebookAccess1ProxyPrivate));
#endif
}

static void
org_bluez_obex_phonebook_access1_proxy_iface_init (OrgBluezObexPhonebookAccess1Iface *iface)
{
  iface->get_folder = org_bluez_obex_phonebook_access1_proxy_get_folder;
  iface->get_database_identifier = org_bluez_obex_phonebook_access1_proxy_get_database_identifier;
  iface->get_primary_counter = org_bluez_obex_phonebook_access1_proxy_get_primary_counter;
  iface->get_secondary_counter = org_bluez_obex_phonebook_access1_proxy_get_secondary_counter;
  iface->get_fixed_image_size = org_bluez_obex_phonebook_access1_proxy_get_fixed_image_size;
}

/**
 * org_bluez_obex_phonebook_access1_proxy_new:
 * @connection: A #GDBusConnection.
 * @flags: Flags from the #GDBusProxyFlags enumeration.
 * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
 * @object_path: An object path.
 * @cancellable: (nullable): A #GCancellable or %NULL.
 * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
 * @user_data: User data to pass to @callback.
 *
 * Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-bluez-obex-PhonebookAccess1.top_of_page">org.bluez.obex.PhonebookAccess1</link>. See g_dbus_proxy_new() for more details.
 *
 * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
 * You can then call org_bluez_obex_phonebook_access1_proxy_new_finish() to get the result of the operation.
 *
 * See org_bluez_obex_phonebook_access1_proxy_new_sync() for the synchronous, blocking version of this constructor.
 */
void
org_bluez_obex_phonebook_access1_proxy_new (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data)
{
  g_async_initable_new_async (TYPE_ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.bluez.obex.PhonebookAccess1", NULL);
}

/**
 * org_bluez_obex_phonebook_access1_proxy_new_finish:
 * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_bluez_obex_phonebook_access1_proxy_new().
 * @error: Return location for error or %NULL
 *
 * Finishes an operation started with org_bluez_obex_phonebook_access1_proxy_new().
 *
 * Returns: (transfer full) (type OrgBluezObexPhonebookAccess1Proxy): The constructed proxy object or %NULL if @error is set.
 */
OrgBluezObexPhonebookAccess1 *
org_bluez_obex_phonebook_access1_proxy_new_finish (
    GAsyncResult        *res,
    GError             **error)
{
  GObject *ret;
  GObject *source_object;
  source_object = g_async_result_get_source_object (res);
  ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
  g_object_unref (source_object);
  if (ret != NULL)
    return ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1 (ret);
  else
    return NULL;
}

/**
 * org_bluez_obex_phonebook_access1_proxy_new_sync:
 * @connection: A #GDBusConnection.
 * @flags: Flags from the #GDBusProxyFlags enumeration.
 * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
 * @object_path: An object path.
 * @cancellable: (nullable): A #GCancellable or %NULL.
 * @error: Return location for error or %NULL
 *
 * Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-bluez-obex-PhonebookAccess1.top_of_page">org.bluez.obex.PhonebookAccess1</link>. See g_dbus_proxy_new_sync() for more details.
 *
 * The calling thread is blocked until a reply is received.
 *
 * See org_bluez_obex_phonebook_access1_proxy_new() for the asynchronous version of this constructor.
 *
 * Returns: (transfer full) (type OrgBluezObexPhonebookAccess1Proxy): The constructed proxy object or %NULL if @error is set.
 */
OrgBluezObexPhonebookAccess1 *
org_bluez_obex_phonebook_access1_proxy_new_sync (
    GDBusConnection     *connection,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error)
{
  GInitable *ret;
  ret = g_initable_new (TYPE_ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.bluez.obex.PhonebookAccess1", NULL);
  if (ret != NULL)
    return ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1 (ret);
  else
    return NULL;
}


/**
 * org_bluez_obex_phonebook_access1_proxy_new_for_bus:
 * @bus_type: A #GBusType.
 * @flags: Flags from the #GDBusProxyFlags enumeration.
 * @name: A bus name (well-known or unique).
 * @object_path: An object path.
 * @cancellable: (nullable): A #GCancellable or %NULL.
 * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
 * @user_data: User data to pass to @callback.
 *
 * Like org_bluez_obex_phonebook_access1_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
 *
 * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
 * You can then call org_bluez_obex_phonebook_access1_proxy_new_for_bus_finish() to get the result of the operation.
 *
 * See org_bluez_obex_phonebook_access1_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
 */
void
org_bluez_obex_phonebook_access1_proxy_new_for_bus (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GAsyncReadyCallback  callback,
    gpointer             user_data)
{
  g_async_initable_new_async (TYPE_ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.bluez.obex.PhonebookAccess1", NULL);
}

/**
 * org_bluez_obex_phonebook_access1_proxy_new_for_bus_finish:
 * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_bluez_obex_phonebook_access1_proxy_new_for_bus().
 * @error: Return location for error or %NULL
 *
 * Finishes an operation started with org_bluez_obex_phonebook_access1_proxy_new_for_bus().
 *
 * Returns: (transfer full) (type OrgBluezObexPhonebookAccess1Proxy): The constructed proxy object or %NULL if @error is set.
 */
OrgBluezObexPhonebookAccess1 *
org_bluez_obex_phonebook_access1_proxy_new_for_bus_finish (
    GAsyncResult        *res,
    GError             **error)
{
  GObject *ret;
  GObject *source_object;
  source_object = g_async_result_get_source_object (res);
  ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
  g_object_unref (source_object);
  if (ret != NULL)
    return ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1 (ret);
  else
    return NULL;
}

/**
 * org_bluez_obex_phonebook_access1_proxy_new_for_bus_sync:
 * @bus_type: A #GBusType.
 * @flags: Flags from the #GDBusProxyFlags enumeration.
 * @name: A bus name (well-known or unique).
 * @object_path: An object path.
 * @cancellable: (nullable): A #GCancellable or %NULL.
 * @error: Return location for error or %NULL
 *
 * Like org_bluez_obex_phonebook_access1_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
 *
 * The calling thread is blocked until a reply is received.
 *
 * See org_bluez_obex_phonebook_access1_proxy_new_for_bus() for the asynchronous version of this constructor.
 *
 * Returns: (transfer full) (type OrgBluezObexPhonebookAccess1Proxy): The constructed proxy object or %NULL if @error is set.
 */
OrgBluezObexPhonebookAccess1 *
org_bluez_obex_phonebook_access1_proxy_new_for_bus_sync (
    GBusType             bus_type,
    GDBusProxyFlags      flags,
    const gchar         *name,
    const gchar         *object_path,
    GCancellable        *cancellable,
    GError             **error)
{
  GInitable *ret;
  ret = g_initable_new (TYPE_ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.bluez.obex.PhonebookAccess1", NULL);
  if (ret != NULL)
    return ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1 (ret);
  else
    return NULL;
}


/* ------------------------------------------------------------------------ */

/**
 * OrgBluezObexPhonebookAccess1Skeleton:
 *
 * The #OrgBluezObexPhonebookAccess1Skeleton structure contains only private data and should only be accessed using the provided API.
 */

/**
 * OrgBluezObexPhonebookAccess1SkeletonClass:
 * @parent_class: The parent class.
 *
 * Class structure for #OrgBluezObexPhonebookAccess1Skeleton.
 */

struct _OrgBluezObexPhonebookAccess1SkeletonPrivate
{
  GValue *properties;
  GList *changed_properties;
  GSource *changed_properties_idle_source;
  GMainContext *context;
  GMutex lock;
};

static void
_org_bluez_obex_phonebook_access1_skeleton_handle_method_call (
  GDBusConnection *connection G_GNUC_UNUSED,
  const gchar *sender G_GNUC_UNUSED,
  const gchar *object_path G_GNUC_UNUSED,
  const gchar *interface_name,
  const gchar *method_name,
  GVariant *parameters,
  GDBusMethodInvocation *invocation,
  gpointer user_data)
{
  OrgBluezObexPhonebookAccess1Skeleton *skeleton = ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_SKELETON (user_data);
  _ExtendedGDBusMethodInfo *info;
  GVariantIter iter;
  GVariant *child;
  GValue *paramv;
  gsize num_params;
  guint num_extra;
  gsize n;
  guint signal_id;
  GValue return_value = G_VALUE_INIT;
  info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
  g_assert (info != NULL);
  num_params = g_variant_n_children (parameters);
  num_extra = info->pass_fdlist ? 3 : 2;  paramv = g_new0 (GValue, num_params + num_extra);
  n = 0;
  g_value_init (&paramv[n], TYPE_ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1);
  g_value_set_object (&paramv[n++], skeleton);
  g_value_init (&paramv[n], G_TYPE_DBUS_METHOD_INVOCATION);
  g_value_set_object (&paramv[n++], invocation);
  if (info->pass_fdlist)
    {
#ifdef G_OS_UNIX
      g_value_init (&paramv[n], G_TYPE_UNIX_FD_LIST);
      g_value_set_object (&paramv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
#else
      g_assert_not_reached ();
#endif
    }
  g_variant_iter_init (&iter, parameters);
  while ((child = g_variant_iter_next_value (&iter)) != NULL)
    {
      _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
      if (arg_info->use_gvariant)
        {
          g_value_init (&paramv[n], G_TYPE_VARIANT);
          g_value_set_variant (&paramv[n], child);
          n++;
        }
      else
        g_dbus_gvariant_to_gvalue (child, &paramv[n++]);
      g_variant_unref (child);
    }
  signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1);
  g_value_init (&return_value, G_TYPE_BOOLEAN);
  g_signal_emitv (paramv, signal_id, 0, &return_value);
  if (!g_value_get_boolean (&return_value))
    g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
  g_value_unset (&return_value);
  for (n = 0; n < num_params + num_extra; n++)
    g_value_unset (&paramv[n]);
  g_free (paramv);
}

static GVariant *
_org_bluez_obex_phonebook_access1_skeleton_handle_get_property (
  GDBusConnection *connection G_GNUC_UNUSED,
  const gchar *sender G_GNUC_UNUSED,
  const gchar *object_path G_GNUC_UNUSED,
  const gchar *interface_name G_GNUC_UNUSED,
  const gchar *property_name,
  GError **error,
  gpointer user_data)
{
  OrgBluezObexPhonebookAccess1Skeleton *skeleton = ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_SKELETON (user_data);
  GValue value = G_VALUE_INIT;
  GParamSpec *pspec;
  _ExtendedGDBusPropertyInfo *info;
  GVariant *ret;
  ret = NULL;
  info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_bluez_obex_phonebook_access1_interface_info.parent_struct, property_name);
  g_assert (info != NULL);
  pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
  if (pspec == NULL)
    {
      g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
    }
  else
    {
      g_value_init (&value, pspec->value_type);
      g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
      ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
      g_value_unset (&value);
    }
  return ret;
}

static gboolean
_org_bluez_obex_phonebook_access1_skeleton_handle_set_property (
  GDBusConnection *connection G_GNUC_UNUSED,
  const gchar *sender G_GNUC_UNUSED,
  const gchar *object_path G_GNUC_UNUSED,
  const gchar *interface_name G_GNUC_UNUSED,
  const gchar *property_name,
  GVariant *variant,
  GError **error,
  gpointer user_data)
{
  OrgBluezObexPhonebookAccess1Skeleton *skeleton = ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_SKELETON (user_data);
  GValue value = G_VALUE_INIT;
  GParamSpec *pspec;
  _ExtendedGDBusPropertyInfo *info;
  gboolean ret;
  ret = FALSE;
  info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_bluez_obex_phonebook_access1_interface_info.parent_struct, property_name);
  g_assert (info != NULL);
  pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
  if (pspec == NULL)
    {
      g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
    }
  else
    {
      if (info->use_gvariant)
        g_value_set_variant (&value, variant);
      else
        g_dbus_gvariant_to_gvalue (variant, &value);
      g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
      g_value_unset (&value);
      ret = TRUE;
    }
  return ret;
}

static const GDBusInterfaceVTable _org_bluez_obex_phonebook_access1_skeleton_vtable =
{
  _org_bluez_obex_phonebook_access1_skeleton_handle_method_call,
  _org_bluez_obex_phonebook_access1_skeleton_handle_get_property,
  _org_bluez_obex_phonebook_access1_skeleton_handle_set_property,
  {NULL}
};

static GDBusInterfaceInfo *
org_bluez_obex_phonebook_access1_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
{
  return org_bluez_obex_phonebook_access1_interface_info ();
}

static GDBusInterfaceVTable *
org_bluez_obex_phonebook_access1_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
{
  return (GDBusInterfaceVTable *) &_org_bluez_obex_phonebook_access1_skeleton_vtable;
}

static GVariant *
org_bluez_obex_phonebook_access1_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
{
  OrgBluezObexPhonebookAccess1Skeleton *skeleton = ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_SKELETON (_skeleton);

  GVariantBuilder builder;
  guint n;
  g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
  if (_org_bluez_obex_phonebook_access1_interface_info.parent_struct.properties == NULL)
    goto out;
  for (n = 0; _org_bluez_obex_phonebook_access1_interface_info.parent_struct.properties[n] != NULL; n++)
    {
      GDBusPropertyInfo *info = _org_bluez_obex_phonebook_access1_interface_info.parent_struct.properties[n];
      if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
        {
          GVariant *value;
          value = _org_bluez_obex_phonebook_access1_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.bluez.obex.PhonebookAccess1", info->name, NULL, skeleton);
          if (value != NULL)
            {
              g_variant_take_ref (value);
              g_variant_builder_add (&builder, "{sv}", info->name, value);
              g_variant_unref (value);
            }
        }
    }
out:
  return g_variant_builder_end (&builder);
}

static gboolean _org_bluez_obex_phonebook_access1_emit_changed (gpointer user_data);

static void
org_bluez_obex_phonebook_access1_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
{
  OrgBluezObexPhonebookAccess1Skeleton *skeleton = ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_SKELETON (_skeleton);
  gboolean emit_changed = FALSE;

  g_mutex_lock (&skeleton->priv->lock);
  if (skeleton->priv->changed_properties_idle_source != NULL)
    {
      g_source_destroy (skeleton->priv->changed_properties_idle_source);
      skeleton->priv->changed_properties_idle_source = NULL;
      emit_changed = TRUE;
    }
  g_mutex_unlock (&skeleton->priv->lock);

  if (emit_changed)
    _org_bluez_obex_phonebook_access1_emit_changed (skeleton);
}

static void org_bluez_obex_phonebook_access1_skeleton_iface_init (OrgBluezObexPhonebookAccess1Iface *iface);
#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
G_DEFINE_TYPE_WITH_CODE (OrgBluezObexPhonebookAccess1Skeleton, org_bluez_obex_phonebook_access1_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
                         G_ADD_PRIVATE (OrgBluezObexPhonebookAccess1Skeleton)
                         G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1, org_bluez_obex_phonebook_access1_skeleton_iface_init))

#else
G_DEFINE_TYPE_WITH_CODE (OrgBluezObexPhonebookAccess1Skeleton, org_bluez_obex_phonebook_access1_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
                         G_IMPLEMENT_INTERFACE (TYPE_ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1, org_bluez_obex_phonebook_access1_skeleton_iface_init))

#endif
static void
org_bluez_obex_phonebook_access1_skeleton_finalize (GObject *object)
{
  OrgBluezObexPhonebookAccess1Skeleton *skeleton = ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_SKELETON (object);
  guint n;
  for (n = 0; n < 5; n++)
    g_value_unset (&skeleton->priv->properties[n]);
  g_free (skeleton->priv->properties);
  g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
  if (skeleton->priv->changed_properties_idle_source != NULL)
    g_source_destroy (skeleton->priv->changed_properties_idle_source);
  g_main_context_unref (skeleton->priv->context);
  g_mutex_clear (&skeleton->priv->lock);
  G_OBJECT_CLASS (org_bluez_obex_phonebook_access1_skeleton_parent_class)->finalize (object);
}

static void
org_bluez_obex_phonebook_access1_skeleton_get_property (GObject      *object,
  guint         prop_id,
  GValue       *value,
  GParamSpec   *pspec G_GNUC_UNUSED)
{
  OrgBluezObexPhonebookAccess1Skeleton *skeleton = ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_SKELETON (object);
  g_assert (prop_id != 0 && prop_id - 1 < 5);
  g_mutex_lock (&skeleton->priv->lock);
  g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
  g_mutex_unlock (&skeleton->priv->lock);
}

static gboolean
_org_bluez_obex_phonebook_access1_emit_changed (gpointer user_data)
{
  OrgBluezObexPhonebookAccess1Skeleton *skeleton = ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_SKELETON (user_data);
  GList *l;
  GVariantBuilder builder;
  GVariantBuilder invalidated_builder;
  guint num_changes;

  g_mutex_lock (&skeleton->priv->lock);
  g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
  g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
  for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
    {
      ChangedProperty *cp = l->data;
      GVariant *variant;
      const GValue *cur_value;

      cur_value = &skeleton->priv->properties[cp->prop_id - 1];
      if (!_g_value_equal (cur_value, &cp->orig_value))
        {
          variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
          g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
          g_variant_unref (variant);
          num_changes++;
        }
    }
  if (num_changes > 0)
    {
      GList *connections, *ll;
      GVariant *signal_variant;
      signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "org.bluez.obex.PhonebookAccess1",
                                           &builder, &invalidated_builder));
      connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
      for (ll = connections; ll != NULL; ll = ll->next)
        {
          GDBusConnection *connection = ll->data;

          g_dbus_connection_emit_signal (connection,
                                         NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
                                         "org.freedesktop.DBus.Properties",
                                         "PropertiesChanged",
                                         signal_variant,
                                         NULL);
        }
      g_variant_unref (signal_variant);
      g_list_free_full (connections, g_object_unref);
    }
  else
    {
      g_variant_builder_clear (&builder);
      g_variant_builder_clear (&invalidated_builder);
    }
  g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
  skeleton->priv->changed_properties = NULL;
  skeleton->priv->changed_properties_idle_source = NULL;
  g_mutex_unlock (&skeleton->priv->lock);
  return FALSE;
}

static void
_org_bluez_obex_phonebook_access1_schedule_emit_changed (OrgBluezObexPhonebookAccess1Skeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
{
  ChangedProperty *cp;
  GList *l;
  cp = NULL;
  for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
    {
      ChangedProperty *i_cp = l->data;
      if (i_cp->info == info)
        {
          cp = i_cp;
          break;
        }
    }
  if (cp == NULL)
    {
      cp = g_new0 (ChangedProperty, 1);
      cp->prop_id = prop_id;
      cp->info = info;
      skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
      g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
      g_value_copy (orig_value, &cp->orig_value);
    }
}

static void
org_bluez_obex_phonebook_access1_skeleton_notify (GObject      *object,
  GParamSpec *pspec G_GNUC_UNUSED)
{
  OrgBluezObexPhonebookAccess1Skeleton *skeleton = ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_SKELETON (object);
  g_mutex_lock (&skeleton->priv->lock);
  if (skeleton->priv->changed_properties != NULL &&
      skeleton->priv->changed_properties_idle_source == NULL)
    {
      skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
      g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
      g_source_set_callback (skeleton->priv->changed_properties_idle_source, _org_bluez_obex_phonebook_access1_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
      g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _org_bluez_obex_phonebook_access1_emit_changed");
      g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
      g_source_unref (skeleton->priv->changed_properties_idle_source);
    }
  g_mutex_unlock (&skeleton->priv->lock);
}

static void
org_bluez_obex_phonebook_access1_skeleton_set_property (GObject      *object,
  guint         prop_id,
  const GValue *value,
  GParamSpec   *pspec)
{
  OrgBluezObexPhonebookAccess1Skeleton *skeleton = ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_SKELETON (object);
  g_assert (prop_id != 0 && prop_id - 1 < 5);
  g_mutex_lock (&skeleton->priv->lock);
  g_object_freeze_notify (object);
  if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
    {
      if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL)
        _org_bluez_obex_phonebook_access1_schedule_emit_changed (skeleton, _org_bluez_obex_phonebook_access1_property_info_pointers[prop_id - 1], prop_id, &skeleton->priv->properties[prop_id - 1]);
      g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
      g_object_notify_by_pspec (object, pspec);
    }
  g_mutex_unlock (&skeleton->priv->lock);
  g_object_thaw_notify (object);
}

static void
org_bluez_obex_phonebook_access1_skeleton_init (OrgBluezObexPhonebookAccess1Skeleton *skeleton)
{
#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
  skeleton->priv = org_bluez_obex_phonebook_access1_skeleton_get_instance_private (skeleton);
#else
  skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_SKELETON, OrgBluezObexPhonebookAccess1SkeletonPrivate);
#endif

  g_mutex_init (&skeleton->priv->lock);
  skeleton->priv->context = g_main_context_ref_thread_default ();
  skeleton->priv->properties = g_new0 (GValue, 5);
  g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING);
  g_value_init (&skeleton->priv->properties[1], G_TYPE_STRING);
  g_value_init (&skeleton->priv->properties[2], G_TYPE_STRING);
  g_value_init (&skeleton->priv->properties[3], G_TYPE_STRING);
  g_value_init (&skeleton->priv->properties[4], G_TYPE_BOOLEAN);
}

static const gchar *
org_bluez_obex_phonebook_access1_skeleton_get_folder (OrgBluezObexPhonebookAccess1 *object)
{
  OrgBluezObexPhonebookAccess1Skeleton *skeleton = ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_SKELETON (object);
  const gchar *value;
  g_mutex_lock (&skeleton->priv->lock);
  value = g_value_get_string (&(skeleton->priv->properties[0]));
  g_mutex_unlock (&skeleton->priv->lock);
  return value;
}

static const gchar *
org_bluez_obex_phonebook_access1_skeleton_get_database_identifier (OrgBluezObexPhonebookAccess1 *object)
{
  OrgBluezObexPhonebookAccess1Skeleton *skeleton = ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_SKELETON (object);
  const gchar *value;
  g_mutex_lock (&skeleton->priv->lock);
  value = g_value_get_string (&(skeleton->priv->properties[1]));
  g_mutex_unlock (&skeleton->priv->lock);
  return value;
}

static const gchar *
org_bluez_obex_phonebook_access1_skeleton_get_primary_counter (OrgBluezObexPhonebookAccess1 *object)
{
  OrgBluezObexPhonebookAccess1Skeleton *skeleton = ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_SKELETON (object);
  const gchar *value;
  g_mutex_lock (&skeleton->priv->lock);
  value = g_value_get_string (&(skeleton->priv->properties[2]));
  g_mutex_unlock (&skeleton->priv->lock);
  return value;
}

static const gchar *
org_bluez_obex_phonebook_access1_skeleton_get_secondary_counter (OrgBluezObexPhonebookAccess1 *object)
{
  OrgBluezObexPhonebookAccess1Skeleton *skeleton = ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_SKELETON (object);
  const gchar *value;
  g_mutex_lock (&skeleton->priv->lock);
  value = g_value_get_string (&(skeleton->priv->properties[3]));
  g_mutex_unlock (&skeleton->priv->lock);
  return value;
}

static gboolean 
org_bluez_obex_phonebook_access1_skeleton_get_fixed_image_size (OrgBluezObexPhonebookAccess1 *object)
{
  OrgBluezObexPhonebookAccess1Skeleton *skeleton = ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_SKELETON (object);
  gboolean value;
  g_mutex_lock (&skeleton->priv->lock);
  value = g_value_get_boolean (&(skeleton->priv->properties[4]));
  g_mutex_unlock (&skeleton->priv->lock);
  return value;
}

static void
org_bluez_obex_phonebook_access1_skeleton_class_init (OrgBluezObexPhonebookAccess1SkeletonClass *klass)
{
  GObjectClass *gobject_class;
  GDBusInterfaceSkeletonClass *skeleton_class;

  gobject_class = G_OBJECT_CLASS (klass);
  gobject_class->finalize = org_bluez_obex_phonebook_access1_skeleton_finalize;
  gobject_class->get_property = org_bluez_obex_phonebook_access1_skeleton_get_property;
  gobject_class->set_property = org_bluez_obex_phonebook_access1_skeleton_set_property;
  gobject_class->notify       = org_bluez_obex_phonebook_access1_skeleton_notify;


  org_bluez_obex_phonebook_access1_override_properties (gobject_class, 1);

  skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
  skeleton_class->get_info = org_bluez_obex_phonebook_access1_skeleton_dbus_interface_get_info;
  skeleton_class->get_properties = org_bluez_obex_phonebook_access1_skeleton_dbus_interface_get_properties;
  skeleton_class->flush = org_bluez_obex_phonebook_access1_skeleton_dbus_interface_flush;
  skeleton_class->get_vtable = org_bluez_obex_phonebook_access1_skeleton_dbus_interface_get_vtable;

#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
  g_type_class_add_private (klass, sizeof (OrgBluezObexPhonebookAccess1SkeletonPrivate));
#endif
}

static void
org_bluez_obex_phonebook_access1_skeleton_iface_init (OrgBluezObexPhonebookAccess1Iface *iface)
{
  iface->get_folder = org_bluez_obex_phonebook_access1_skeleton_get_folder;
  iface->get_database_identifier = org_bluez_obex_phonebook_access1_skeleton_get_database_identifier;
  iface->get_primary_counter = org_bluez_obex_phonebook_access1_skeleton_get_primary_counter;
  iface->get_secondary_counter = org_bluez_obex_phonebook_access1_skeleton_get_secondary_counter;
  iface->get_fixed_image_size = org_bluez_obex_phonebook_access1_skeleton_get_fixed_image_size;
}

/**
 * org_bluez_obex_phonebook_access1_skeleton_new:
 *
 * Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-bluez-obex-PhonebookAccess1.top_of_page">org.bluez.obex.PhonebookAccess1</link>.
 *
 * Returns: (transfer full) (type OrgBluezObexPhonebookAccess1Skeleton): The skeleton object.
 */
OrgBluezObexPhonebookAccess1 *
org_bluez_obex_phonebook_access1_skeleton_new (void)
{
  return ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1 (g_object_new (TYPE_ORG_BLUEZ_OBEX_PHONEBOOK_ACCESS1_SKELETON, NULL));
}