/frameworks/base/services/java/com/android/server/ |
AppWidgetServiceImpl.java | 96 * When identifying a Host or Provider based on the calling process, use the uid field. When 101 int uid; field in class:AppWidgetServiceImpl.Provider 111 int uid; field in class:AppWidgetServiceImpl.Host 123 return UserHandle.isSameApp(this.uid, callingUid); 125 return this.uid == callingUid; 352 pw.print(" uid="); pw.print(p.uid); 360 pw.print(host.uid); pw.println(':'); 372 pw.println(id.host.uid); 390 + ", uid=" + Binder.getCallingUid()) [all...] |
ConnectivityService.java | 193 /** Currently active network rules by UID. */ 829 * Check if UID should be blocked from using the network represented by the 832 private boolean isNetworkBlocked(NetworkStateTracker tracker, int uid) { 878 final int uid = Binder.getCallingUid(); local 914 final int uid = Binder.getCallingUid(); local 941 final int uid = Binder.getCallingUid(); local 959 final int uid = Binder.getCallingUid(); local 1005 final int uid = Binder.getCallingUid(); local 1321 int uid = getCallingUid(); local 1350 int uid = u.mUid; local 3137 int uid = getCallingUid(); local [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkPolicyManagerServiceTest.java | 156 public String[] getPackagesForUid(int uid) { 269 // push all uid into background 285 // and swap another uid into foreground 324 // push strict policy for foreground uid, verify ALLOW rule [all...] |
/external/dnsmasq/src/ |
rfc1035.c | 789 cpp->addr.cname.uid = newc->uid; 819 cpp->addr.cname.uid = newc->uid; 846 cpp->addr.cname.uid = newc->uid; [all...] |
/system/core/sdcard/ |
sdcard.c | 49 * It must be run as root, but will drop to requested UID/GID as soon as it 50 * mounts a filesystem. It will refuse to run if requested UID/GID are zero. 301 attr->uid = 0; 1306 uid_t uid = 0; local [all...] |
/device/asus/flo/conn_init/ |
wfc_util_fctrl.c | 585 int wfc_util_ffile_check_copy(char *pDestFName, char *pSourceFName, mode_t mode, uid_t uID, gid_t gID) 645 uid_t uid = getuid(); local 648 if (0 == uid) { 650 if (chown(pDestFName, uID, gID) < 0) { 657 wfc_util_log_error("wfc_util_ffile_check_copy : we can not excute chown[uid = %d, gid = %d]", uid, getgid());
|
/device/lge/mako/conn_init/ |
wfc_util_fctrl.c | 585 int wfc_util_ffile_check_copy(char *pDestFName, char *pSourceFName, mode_t mode, uid_t uID, gid_t gID) 645 uid_t uid = getuid(); local 648 if (0 == uid) { 650 if (chown(pDestFName, uID, gID) < 0) { 657 wfc_util_log_error("wfc_util_ffile_check_copy : we can not excute chown[uid = %d, gid = %d]", uid, getgid());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/ |
RFC4519Style.java | 59 public static final ASN1ObjectIdentifier uid = new ASN1ObjectIdentifier("0.9.2342.19200300.100.1.1"); field in class:RFC4519Style 116 DefaultSymbols.put(uid, "uid"); 160 DefaultLookUp.put("uid", uid);
|
/external/e2fsprogs/lib/e2p/ |
ls.c | 26 static void print_user (unsigned short uid, FILE *f) 30 fprintf(f, "%u ", uid); 31 pw = getpwuid (uid); 292 fprintf(f, "Reserved blocks uid: ");
|
/external/openssh/ |
auth.c | 419 * Takes an open file descriptor, the file name, a uid and and 428 uid_t uid = pw->pw_uid; local 444 (st.st_uid != 0 && st.st_uid != uid) || 468 (st.st_uid != 0 && st.st_uid != uid) ||
|
logintest.c | 76 li->pid, li->uid, li->line,
|
/frameworks/base/core/java/android/app/ |
PendingIntent.java | 816 int uid = ActivityManagerNative.getDefault() local [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
ZygoteInit.java | 209 private static void setEffectiveUser(int uid) { 210 int errno = setreuid(ROOT_UID, uid); 496 parsedArgs.uid, parsedArgs.gid, 625 * @param ruid real uid 626 * @param euid effective uid
|
/frameworks/base/services/java/com/android/server/firewall/ |
IntentFirewall.java | 482 int checkComponentPermission(String permission, int pid, int uid, 492 * @param uid The uid of the caller 493 * @param owningUid The uid of the application that owns the component 497 boolean checkComponentPermission(String permission, int pid, int uid, int owningUid, 499 return mAms.checkComponentPermission(permission, pid, uid, owningUid, exported) ==
|
/frameworks/base/test-runner/src/android/test/mock/ |
MockPackageManager.java | 204 public String[] getPackagesForUid(int uid) { 209 public String getNameForUid(int uid) { 288 public List<ProviderInfo> queryContentProviders(String processName, int uid, int flags) {
|
/ndk/sources/host-tools/make-3.81/ |
arscan.c | 119 member uid, 289 member uid, 746 long int date UNUSED, int uid UNUSED, int gid UNUSED, 826 long int date, int uid, int gid, int mode) 834 printf (_(" uid = %d, gid = %d, mode = 0%o.\n"), uid, gid, mode);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SearchableSource.java | 133 int uid = android.os.Process.myUid(); local 134 if (getContext().checkPermission(readPermission, pid, uid) 150 && getContext().checkPermission(pathReadPermission, pid, uid)
|
/development/ndk/platforms/android-3/include/linux/ |
socket.h | 107 __u32 uid; member in struct:ucred
|
/external/grub/stage2/ |
iso9660.h | 161 iso_32bit_t uid; member in struct:rock_ridge::__anon8240::PX
|
/external/libnfc-nci/src/nfa/ce/ |
nfa_ce_api.c | 147 NFA_TRACE_ERROR1 ("NFA_CeConfigureLocalTag: Cannot Set UID for Protocol_mask: 0x%x", protocol_mask); 164 memcpy (p_msg->local_tag.uid, p_uid, uid_len);
|
/external/libnfc-nci/src/nfa/int/ |
nfa_rw_int.h | 196 UINT8 uid[I93_UID_BYTE_LEN]; member in struct:__anon10495
|
/external/openssh/openbsd-compat/ |
bsd-cray.c | 183 cray_setup (uid_t uid, char *username, const char *command) 238 * safety check and compare the supplied uid against 239 * the udb's uid. 241 if (up->ue_uid != uid) 242 fatal("IA uid missmatch"); 720 cray_delete_tmpdir(char *login, int jid, uid_t uid) 728 if (stat(jtmp, &statbuf) == 0 && statbuf.st_uid == uid)
|
/external/ping/ |
ping_common.c | 57 int uid; variable 159 if (uid && preload > 3) { 270 if (uid && interval < MINUSERINTERVAL) 422 if (uid && interval < MINUSERINTERVAL) {
|
ping_common.h | 81 extern int uid;
|
/external/valgrind/main/coregrind/ |
m_commandline.c | 70 if (!res && stat_buf.uid == VG_(geteuid)()
|