/system/sepolicy/ |
D | su.te | 5 # Domain used for su processes, as well as for adbd and adb shell 8 type su, domain, mlstrustedsubject; 9 domain_auto_trans(shell, su_exec, su) 11 # Allow dumpstate to call su on userdebug / eng builds to collect 13 domain_auto_trans(dumpstate, su_exec, su) 15 # Make sure that dumpstate runs the same from the "su" domain as 17 domain_auto_trans(su, dumpstate_exec, dumpstate) 19 # su is also permissive to permit setenforce. 20 permissive su; 22 # Add su to various domains [all …]
|
D | domain.te | 37 # Same as adbd rules above, except allow su to do the same thing 38 allow domain su:unix_stream_socket connectto; 39 allow domain su:fd use; 40 allow domain su:unix_stream_socket { getattr getopt read write shutdown }; 42 allow { domain -init } su:binder { call transfer }; 43 allow { domain -init } su:fd use; 47 allow domain su:fifo_file { write getattr }; 49 # allow "gdbserver --attach" to work for su. 50 allow domain su:process sigchld; 280 userdebug_or_eng(`-su') [all …]
|
D | wpa.te | 39 unix_socket_send(wpa, wpa, su)
|
D | netd.te | 100 neverallow netd { domain -system_server -servicemanager userdebug_or_eng(`-su') }:binder call;
|
D | adbd.te | 7 allow adbd su:process dyntransition;
|
D | app.te | 344 # Exception for the shell domain and the su domain, can transition to runas, 346 neverallow { appdomain -shell userdebug_or_eng(`-su') } { domain -appdomain }:process
|
D | file_contexts | 193 /system/xbin/su u:object_r:su_exec:s0
|
/system/core/logcat/ |
D | logpersist | 21 su 1036 ls "${data}" | 25 su 1036 xargs cat 28 su 0 setprop ${property} ${service} 34 su 0 stop ${service} 35 su 0 setprop ${property} "" 37 ( sleep 1 ; su 1036,9998 rm -rf "${data}" )
|
/system/extras/libpagemap/ |
D | pm_memusage.c | 110 void pm_memusage_pswap_get_usage(pm_memusage_t *mu, pm_swapusage_t *su) { in pm_memusage_pswap_get_usage() argument 115 if (su == NULL) in pm_memusage_pswap_get_usage() 118 su->proportional = su->unique = 0; in pm_memusage_pswap_get_usage() 120 su->proportional += pagesize / mu->p_swap->offset_array[elem->offset]; in pm_memusage_pswap_get_usage() 121 su->unique += mu->p_swap->offset_array[elem->offset] == 1 ? pagesize : 0; in pm_memusage_pswap_get_usage()
|
/system/extras/su/ |
D | Android.mk | 6 LOCAL_SRC_FILES:= su.c 8 LOCAL_MODULE:= su
|
/system/bt/bta/sdp/ |
D | bta_sdp_act.c | 76 tBT_UUID su; in shorten_sdp_uuid() local 77 memset(&su, 0, sizeof(su)); in shorten_sdp_uuid() 80 su.len = 2; in shorten_sdp_uuid() 83 su.uu.uuid16 = ntohs(u16); in shorten_sdp_uuid() 85 su.len = 4; in shorten_sdp_uuid() 88 su.uu.uuid32 = ntohl(u32); in shorten_sdp_uuid() 90 return su; in shorten_sdp_uuid() 387 tBT_UUID su; in bta_sdp_search_cback() local 398 su = shorten_sdp_uuid(uuid); in bta_sdp_search_cback() 403 p_rec = SDP_FindServiceUUIDInDb(p_bta_sdp_cfg->p_sdp_db, &su, p_rec); in bta_sdp_search_cback()
|
/system/extras/procrank/ |
D | procrank.c | 376 pm_swapusage_t su; in main() local 378 pm_memusage_pswap_get_usage(&procs[i]->usage, &su); in main() 380 printf("%6zuK ", su.proportional / 1024); in main() 381 printf("%6zuK ", su.unique / 1024); in main() 382 total_pswap += su.proportional; in main() 383 total_uswap += su.unique; in main() 386 size_t zpswap = su.proportional * zram_cr; in main()
|
/system/bt/bta/gatt/ |
D | bta_gatts_utils.c | 194 UINT8 su[LEN_UUID_128], tu[LEN_UUID_128]; in bta_gatts_uuid_compare() local 213 bta_gatt_convert_uuid16_to_uuid128(su, src.uu.uuid16); in bta_gatts_uuid_compare() 214 ps = su; in bta_gatts_uuid_compare()
|
D | bta_gattc_utils.c | 77 UINT8 su[LEN_UUID_128], tu[LEN_UUID_128]; in bta_gattc_uuid_compare() local 99 bta_gatt_convert_uuid16_to_uuid128(su, p_src->uu.uuid16); in bta_gattc_uuid_compare() 100 ps = su; in bta_gattc_uuid_compare()
|
/system/bt/bta/jv/ |
D | bta_jv_act.c | 823 tBT_UUID su; in shorten_sdp_uuid() local 824 memset(&su, 0, sizeof(su)); in shorten_sdp_uuid() 827 su.len = 2; in shorten_sdp_uuid() 830 su.uu.uuid16 = ntohs(u16); in shorten_sdp_uuid() 831 APPL_TRACE_DEBUG("shorten to 16 bits uuid: %x", su.uu.uuid16); in shorten_sdp_uuid() 835 su.len = 4; in shorten_sdp_uuid() 838 su.uu.uuid32 = ntohl(u32); in shorten_sdp_uuid() 839 APPL_TRACE_DEBUG("shorten to 32 bits uuid: %x", su.uu.uuid32); in shorten_sdp_uuid() 841 return su; in shorten_sdp_uuid() 874 tBT_UUID su = shorten_sdp_uuid(&bta_jv_cb.uuid); in bta_jv_start_discovery_cback() local [all …]
|
/system/extras/libpagemap/include/pagemap/ |
D | pagemap.h | 66 void pm_memusage_pswap_get_usage(pm_memusage_t *mu, pm_swapusage_t *su);
|
/system/security/keystore/ |
D | test-keystore | 53 run adb shell su $user keystore_cli "$@"
|
/system/core/libpixelflinger/ |
D | scanline.cpp | 472 static void rescale(uint32_t& u, uint8_t& su, uint32_t& v, uint8_t& sv); 483 void rescale(uint32_t& u, uint8_t& su, uint32_t& v, uint8_t& sv) in rescale() argument 485 if (su && sv) { in rescale() 486 if (su > sv) { in rescale() 487 v = ggl_expand(v, sv, su); in rescale() 488 sv = su; in rescale() 489 } else if (su < sv) { in rescale() 490 u = ggl_expand(u, su, sv); in rescale() 491 su = sv; in rescale()
|
/system/bt/stack/gatt/ |
D | gatt_utils.c | 1031 UINT8 su[LEN_UUID_128], tu[LEN_UUID_128]; in gatt_uuid_compare() local 1056 gatt_convert_uuid16_to_uuid128(su, src.uu.uuid16); in gatt_uuid_compare() 1057 ps = su; in gatt_uuid_compare() 1061 gatt_convert_uuid32_to_uuid128(su, src.uu.uuid32); in gatt_uuid_compare() 1062 ps = su; in gatt_uuid_compare()
|
/system/core/rootdir/ |
D | init.usb.rc | 15 service adbd /sbin/adbd --root_seclabel=u:r:su:s0
|