• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Qualcomm TimeService app
2type qtimeservice, domain;
3
4app_domain(qtimeservice)
5
6allow qtimeservice { app_api_service }:service_manager find;
7
8# Communicate with time_daemon
9allow qtimeservice time:unix_stream_socket connectto;
10
11# Read and write /data/data subdirectory.
12allow qtimeservice system_app_data_file:dir create_dir_perms;
13allow qtimeservice system_app_data_file:{ file lnk_file } create_file_perms;
14
15# qtimeservice is a vendor app that can run/execute vendor libraries
16# TODO: (b/36613996) This MUST be removed when 'qtimeservice' is moved to /vendor
17# as part of the fix
18allow qtimeservice vendor_file_type:dir { search getattr };
19allow qtimeservice vendor_file_type:file { execute read open getattr };
20allow qtimeservice vendor_file_type:lnk_file { getattr read };
21
22allow qtimeservice cgroup:file w_file_perms;
23