Searched refs:su (Results 1 - 23 of 23) sorted by relevance

/system/extras/su/
H A DAndroid.mk6 LOCAL_SRC_FILES:= su.cpp
8 LOCAL_MODULE:= su
/system/extras/libpagemap/
H A Dpm_memusage.c110 void pm_memusage_pswap_get_usage(pm_memusage_t *mu, pm_swapusage_t *su) { argument
115 if (su == NULL)
118 su->proportional = su->unique = 0;
120 su->proportional += pagesize / mu->p_swap->offset_array[elem->offset];
121 su->unique += mu->p_swap->offset_array[elem->offset] == 1 ? pagesize : 0;
/system/sepolicy/prebuilts/api/26.0/private/
H A Dadbd.te10 allow adbd su:process dyntransition;
139 # never want to see a transition from adbd to su (aka "adb root")
141 neverallow adbd { domain userdebug_or_eng(`-su') }:process dyntransition;
H A Dapp.te278 auditallow { appdomain userdebug_or_eng(`-su') } ion_device:chr_file { write append };
405 # Exception for the shell and su domains, can transition to runas, etc.
407 neverallow { appdomain -shell userdebug_or_eng(`-su') } { domain -appdomain -crash_dump }:process
409 neverallow { appdomain -shell userdebug_or_eng(`-su') } { domain -appdomain }:process
H A Dfile_contexts228 /system/xbin/su u:object_r:su_exec:s0
/system/sepolicy/prebuilts/api/27.0/private/
H A Dadbd.te12 allow adbd su:process dyntransition;
141 # never want to see a transition from adbd to su (aka "adb root")
143 neverallow adbd { domain userdebug_or_eng(`-su') }:process dyntransition;
H A Dapp.te291 auditallow { appdomain userdebug_or_eng(`-su') } ion_device:chr_file { write append };
416 # Exception for the shell and su domains, can transition to runas, etc.
418 neverallow { appdomain -shell userdebug_or_eng(`-su') } { domain -appdomain -crash_dump }:process
420 neverallow { appdomain -shell userdebug_or_eng(`-su') } { domain -appdomain }:process
H A Dfile_contexts233 /system/xbin/su u:object_r:su_exec:s0
/system/sepolicy/prebuilts/api/28.0/private/
H A Dadbd.te12 allow adbd su:process dyntransition;
146 # never want to see a transition from adbd to su (aka "adb root")
148 neverallow adbd { domain userdebug_or_eng(`-su') }:process dyntransition;
H A Dfile_contexts245 /system/xbin/su u:object_r:su_exec:s0
/system/sepolicy/private/
H A Dadbd.te12 allow adbd su:process dyntransition;
146 # never want to see a transition from adbd to su (aka "adb root")
148 neverallow adbd { domain userdebug_or_eng(`-su') }:process dyntransition;
H A Dfile_contexts245 /system/xbin/su u:object_r:su_exec:s0
/system/core/bootstat/
H A Dboot_reason_test.sh48 if inAdb && [ 0 -eq `adb shell su root ls /sys/fs/pstore | wc -l` ]; then
89 if adb shell su root "cat /proc/cmdline | tr '\\0 ' '\\n\\n'" |
95 adb shell su root setprop persist.test.boot.reason "'${1}'" 2>/dev/null
546 adb shell su root touch /data/misc/bootstat/build_date >&2
594 - adb shell su root rm /data/misc/bootstat/build_date
605 adb shell su root rm /data/misc/bootstat/build_date >&2
664 - echo healthd: battery l=2<space> | adb shell su root tee /dev/kmsg
690 echo 'healthd: battery l=2 ' | adb shell su root tee /dev/kmsg >/dev/null
695 adb shell su root \
704 echo 'healthd: battery l=2 ' | adb shell su roo
[all...]
/system/core/logcat/
H A Dlogpersist78 su ${log_uid} ls "${data%/*}" |
83 su ${log_uid} xargs cat
/system/sepolicy/prebuilts/api/27.0/public/
H A Dte_macros105 dontaudit su pdx_$1_endpoint_socket:unix_stream_socket *;
106 dontaudit su pdx_$1_channel_socket:unix_stream_socket *;
479 allow $1 su:fifo_file append;
/system/extras/procrank/
H A Dprocrank.cpp414 pm_swapusage_t su; local
416 pm_memusage_pswap_get_usage(&proc.usage, &su);
418 printf("%6zuK ", su.proportional / 1024);
419 printf("%6zuK ", su.unique / 1024);
420 total_pswap += su.proportional;
421 total_uswap += su.unique;
424 size_t zpswap = su.proportional * zram_cr;
/system/sepolicy/prebuilts/api/28.0/public/
H A Dte_macros105 dontaudit su pdx_$1_endpoint_socket:unix_stream_socket *;
106 dontaudit su pdx_$1_channel_socket:unix_stream_socket *;
498 allow $1 su:fifo_file append;
H A Dapp.te309 auditallow { appdomain userdebug_or_eng(`-su') } ion_device:chr_file { write append };
434 # Exception for the shell and su domains, can transition to runas, etc.
436 neverallow { appdomain -shell userdebug_or_eng(`-su') } { domain -appdomain -crash_dump }:process
438 neverallow { appdomain -shell userdebug_or_eng(`-su') } { domain -appdomain }:process
/system/sepolicy/public/
H A Dte_macros105 dontaudit su pdx_$1_endpoint_socket:unix_stream_socket *;
106 dontaudit su pdx_$1_channel_socket:unix_stream_socket *;
498 allow $1 su:fifo_file append;
H A Dapp.te309 auditallow { appdomain userdebug_or_eng(`-su') } ion_device:chr_file { write append };
434 # Exception for the shell and su domains, can transition to runas, etc.
436 neverallow { appdomain -shell userdebug_or_eng(`-su') } { domain -appdomain -crash_dump }:process
438 neverallow { appdomain -shell userdebug_or_eng(`-su') } { domain -appdomain }:process
/system/extras/libpagemap/include/pagemap/
H A Dpagemap.h68 void pm_memusage_pswap_get_usage(pm_memusage_t *mu, pm_swapusage_t *su);
/system/security/keystore/
H A Dtest-keystore53 run adb shell su $user keystore_cli "$@"
/system/core/libpixelflinger/
H A Dscanline.cpp467 static void rescale(uint32_t& u, uint8_t& su, uint32_t& v, uint8_t& sv);
478 void rescale(uint32_t& u, uint8_t& su, uint32_t& v, uint8_t& sv) argument
480 if (su && sv) {
481 if (su > sv) {
482 v = ggl_expand(v, sv, su);
483 sv = su;
484 } else if (su < sv) {
485 u = ggl_expand(u, su, sv);
486 su = sv;

Completed in 629 milliseconds