loc-launcher.rc 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # Copyright (c) 2021-2022 Qualcomm Technologies, Inc.
  2. # All Rights Reserved.
  3. # Confidential and Proprietary - Qualcomm Technologies, Inc.
  4. #
  5. # # Copyright (c) 2009-2012, 2014-2021, The Linux Foundation. All rights reserved.
  6. #
  7. # Redistribution and use in source and binary forms, with or without
  8. # modification, are permitted provided that the following conditions are met:
  9. # * Redistributions of source code must retain the above copyright
  10. # notice, this list of conditions and the following disclaimer.
  11. # * Redistributions in binary form must reproduce the above copyright
  12. # notice, this list of conditions and the following disclaimer in the
  13. # documentation and/or other materials provided with the distribution.
  14. # * Neither the name of The Linux Foundation nor
  15. # the names of its contributors may be used to endorse or promote
  16. # products derived from this software without specific prior written
  17. # permission.
  18. #
  19. # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  20. # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  21. # IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  22. # NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  23. # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  24. # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  25. # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
  26. # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  27. # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
  28. # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  29. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  30. #
  31. service loc_launcher /vendor/bin/loc_launcher
  32. class late_start
  33. user gps
  34. group gps
  35. on post-fs-data
  36. #Create directories for Location services
  37. mkdir /data/vendor/location 0770 gps gps
  38. mkdir /data/vendor/location/mq 0770 gps gps
  39. mkdir /data/vendor/location/xtwifi 0770 gps gps
  40. mkdir /data/vendor/location/hmac 0770 gps gps
  41. mkdir /dev/socket/location 0770 gps gps
  42. mkdir /dev/socket/location/mq 0770 gps gps
  43. mkdir /dev/socket/location/xtra 0770 gps gps
  44. mkdir /dev/socket/location/ehub 0770 gps gps
  45. mkdir /dev/socket/location/dgnss 0770 gps gps
  46. mkdir /dev/socket/qsap_location 0770 gps gps
  47. mkdir /data/vendor/location-partner 0770 gps gps
  48. mkdir /data/vendor/location-partner/dre 0770 gps gps
  49. mkdir /data/vendor/location-partner/ppe 0770 gps gps