Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  hal_sensors.te  Sprache: unbekannt

 
Spracherkennung für: .te vermutete Sprache: Lisp {Lisp[36] Masm[36] Apollo[31]} [Methode: maximale Elemente, drei Dimensionen]

#Allow access to nanohub device
allow hal_sensors sensors_device:chr_file rw_file_perms;

# Allow acess to uinput for lidstate determination
allow hal_sensors uhid_device:chr_file rw_file_perms;

# Allow access to saved settings file and nanohub_lock dir/file
allow hal_sensors sensor_vendor_data_file:dir create_dir_perms;
allow hal_sensors sensor_vendor_data_file:file create_file_perms;

# Allow access to sensor properties
set_prop(hal_sensors, vendor_sensors_prop)

# Allow access to gralloc shared memory (ion), for sensor direct report
allow hal_sensors ion_device:chr_file { open read ioctl };
allow hal_sensors hal_graphics_allocator:fd use;

# allow sensor hal to call scheduling policy service in system server
allow hal_sensors_default system_server:binder call;

# allow access to detect change in /dev folder
allow hal_sensors_default device:dir { open read };

[Dauer der Verarbeitung: 0.20 Sekunden, vorverarbeitet 2026-10-25]

                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,209
#Domains=933,211