/frameworks/base/core/java/android/os/ |
Process.java | 61 * Defines the UID/GID under which system code runs. 66 * Defines the UID/GID under which the telephony code runs. 71 * Defines the UID/GID for the user shell. 77 * Defines the UID/GID for the log group. 83 * Defines the UID/GID for the WIFI supplicant process. 89 * Defines the UID/GID for the mediaserver process. 101 * Defines the UID/GID for the NFC service process. 272 * @param uid The user-id under which the process will run. 286 int uid, int gid, int[] gids, 290 return startViaZygote(processClass, niceName, uid, gid, gids [all...] |
/frameworks/base/core/java/android/content/ |
ContentProvider.java | 253 final int uid = Binder.getCallingUid(); local 254 if (uid == mMyUid) { 262 || context.checkPermission(rperm, pid, uid) 276 if (context.checkPermission(pprperm, pid, uid) 284 if (context.checkUriPermission(uri, pid, uid, 293 + ", uid=" + Binder.getCallingUid() 299 final int uid = Binder.getCallingUid(); local 300 if (uid == mMyUid) { 308 || context.checkPermission(wperm, pid, uid) 322 if (context.checkPermission(ppwperm, pid, uid) [all...] |
Context.java | [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
BandwidthTest.java | 220 // is accounted against download manager's uid, since it uses pre-ICS API. 251 * Fetch network data from /proc/uid_stat/uid 255 public NetworkStats fetchDataFromProc(int uid) { 256 String root_filepath = "/proc/uid_stat/" + uid + "/"; 262 stats.addValues(NetworkStats.IFACE_ALL, uid, NetworkStats.SET_DEFAULT, 315 if (totalStats.containsKey(statsEntry.uid)) { 316 mapEntry = totalStats.get(statsEntry.uid); 331 totalStats.put(statsEntry.uid, statsEntry); 336 results.putInt(label + "uid", entry.uid); [all...] |
/frameworks/base/services/java/com/android/server/am/ |
PendingIntentRecord.java | 35 final int uid; field in class:PendingIntentRecord 176 uid = _u; 228 owner.startActivitiesInPackage(uid, allIntents, 231 owner.startActivityInPackage(uid, 248 owner.broadcastIntentInPackage(key.packageName, uid, 260 owner.startServiceInPackage(uid, 307 pw.print(prefix); pw.print("uid="); pw.print(uid);
|
/system/extras/ext4_utils/ |
make_ext4fs.c | 57 .uid = 0, 65 dentries.uid, dentries.gid, dentries.mtime); 119 unsigned int uid = 0; local 122 fs_config(dentries[i].path, dir, &uid, &gid, &mode); 124 dentries[i].uid = uid; 173 dentries[i].uid, dentries[i].gid,
|
/system/core/init/ |
devices.c | 65 unsigned int uid; member in struct:perms_ 86 mode_t perm, unsigned int uid, unsigned int gid, 103 node->dp.uid = uid; 138 INFO("fixup %s %d %d 0%o\n", buf, dp->uid, dp->gid, dp->perm); 139 chown(buf, dp->uid, dp->gid); 144 static mode_t get_device_perm(const char *path, unsigned *uid, unsigned *gid) 165 *uid = dp->uid; 170 *uid = 0 179 unsigned uid; local [all...] |
/external/dbus/bus/ |
policy.c | 50 rule->d.user.uid = DBUS_UID_UNSET; 131 DBusHashTable *rules_by_uid; /**< per-UID policy rules */ 276 dbus_uid_t uid; local 325 if (dbus_connection_get_unix_user (connection, &uid)) 332 uid); 342 at_console = _dbus_unix_user_is_at_console (uid, error); 379 unsigned long uid, 396 _dbus_verbose ("List %p user rule uid="DBUS_UID_FORMAT"\n", 397 list, rule->d.user.uid); 399 if (rule->d.user.uid == DBUS_UID_UNSET [all...] |
/bootable/recovery/minzip/ |
DirUtil.c | 226 int uid, int gid, int dirMode, int fileMode) 239 if (chown(path, uid, gid) || 260 if (!dirSetHierarchyPermissions(dn, uid, gid, dirMode, fileMode)) {
|
/cts/tests/ProcessTest/src/com/android/cts/process/ |
ProcessTest.java | 40 PackageManager.GET_META_DATA).uid; 42 PackageManager.GET_META_DATA).uid; 44 PackageManager.GET_META_DATA).uid;
|
/frameworks/base/core/java/android/content/pm/ |
ApplicationInfo.java | 397 * the same uid). 399 public int uid; field in class:ApplicationInfo 439 pw.println(prefix + "uid=" + uid + " flags=0x" + Integer.toHexString(flags) 515 uid = orig.uid; 553 dest.writeInt(uid); 591 uid = source.readInt();
|
/frameworks/base/services/java/com/android/server/pm/ |
Installer.java | 191 public int install(String name, int uid, int gid) { 196 builder.append(uid); 202 public int dexopt(String apkPath, int uid, boolean isPublic) { 207 builder.append(uid); 253 public int createUserData(String name, int uid, int userId) { 258 builder.append(uid);
|
/frameworks/base/test-runner/src/android/test/mock/ |
MockContext.java | 353 public int checkPermission(String permission, int pid, int uid) { 369 String permission, int pid, int uid, String message) { 394 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) { 410 String writePermission, int pid, int uid, int modeFlags) { 416 Uri uri, int pid, int uid, int modeFlags, String message) { 434 int pid, int uid, int modeFlags, String message) {
|
/build/tools/releasetools/ |
ota_from_target_files | 116 self.uid = None 130 if self.uid is not None: 131 print "%s%s %d %d %o" % (" "*indent, self.name, self.uid, self.gid, self.mode) 133 print "%s%s %s %s %s" % (" "*indent, self.name, self.uid, self.gid, self.mode) 150 # See if the target_files contains a record of what the uid, 155 # uid, gid, and mode for every Item object. Note this uses the 168 name, uid, gid, mode = line.split() 171 i.uid = int(uid) 179 if i: i.uid, i.gid, i.mode = 0, 0, 064 [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
ListeningPortsTest.java | 95 * sl local_address rem_address st tx_queue rx_queue tr tm->when retrnsmt uid ... 121 String uid = fields[7]; local 132 + localPort + ", UID=" + uid + " in " + procFilePath);
|
/external/e2fsprogs/misc/ |
uuidd.c | 446 uid_t uid; local 505 uid = getuid(); 506 if (uid && drop_privs) { 517 if (setresuid(uid, uid, uid) < 0) 520 if (setreuid(uid, uid) < 0)
|
/external/webkit/Source/WebCore/inspector/ |
InspectorProfilerAgent.h | 80 void getProfile(ErrorString* error, const String& type, unsigned uid, RefPtr<InspectorObject>* profileObject); 82 void removeProfile(ErrorString* error, const String& type, unsigned uid);
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
IStatusBarService.aidl | 44 int uid, int initialPid, String message);
|
/frameworks/base/media/libstagefright/chromium_http/ |
support.h | 94 // Gets the UID of the calling process 95 bool getUID(uid_t *uid) const; 97 void setUID(uid_t uid);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/ |
Message.java | 41 public void setUid(String uid) { 42 this.mUid = uid;
|
/packages/apps/Exchange/tests/src/com/android/exchange/utility/ |
CalendarUtilitiesTests.java | 289 // The uid is required, but can be anything 290 String uid = "31415926535"; local 294 Message.FLAG_OUTGOING_MEETING_ACCEPT, uid, account); 335 // The uid is required, but can be anything 336 String uid = "31415926535"; local 340 Message.FLAG_OUTGOING_MEETING_INVITE, uid, account); 377 assertEquals(uid, vevent.get("UID")); 397 // The uid is required, but can be anything 398 String uid = "31415926535" local 464 String uid = "31415926535"; local 545 String uid = "31415926535"; local [all...] |
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
FakeSystemFacade.java | 40 public NetworkInfo getActiveNetworkInfo(int uid) { 66 public boolean userOwnsPackage(int uid, String pckg) throws NameNotFoundException {
|
/frameworks/base/core/java/com/android/internal/os/ |
BatteryStatsImpl.java | 97 // per uid; once the limit is reached, we batch the remaining wakelocks 146 final SparseArray<BatteryStatsImpl.Uid> mUidStats = 147 new SparseArray<BatteryStatsImpl.Uid>(); 841 final Uid mUid; 867 StopwatchTimer(Uid uid, int type, ArrayList<StopwatchTimer> timerPool, 870 mUid = uid; 875 StopwatchTimer(Uid uid, int type, ArrayList<StopwatchTimer> timerPool, 878 mUid = uid; 1564 Uid uid = st.mUid; local 1583 Uid uid = st.mUid; local 1595 Uid uid = st.mUid; local 1612 Uid uid = getUidStatsLocked(Process.SYSTEM_UID); local 4729 int uid; local 4770 Uid uid = mUidStats.valueAt(i); local 5107 int uid = in.readInt(); local 5546 int uid = in.readInt(); local 5648 Uid uid = mUidStats.valueAt(i); local [all...] |
/external/dbus/dbus/ |
dbus-sysdeps-util-unix.c | 324 dbus_uid_t uid; local 330 if (!_dbus_get_user_id_and_primary_group (&u, &uid, &gid)) 360 if (setuid (uid) < 0) 363 "Failed to set UID to %lu: %s", uid, 548 statbuf->uid = sb.st_uid; 880 * @param uid_p place to return the uid 911 * @param uid the UID 914 * @returns #TRUE if the UID existed and we got some credential [all...] |
/bionic/libc/kernel/common/linux/ |
proc_fs.h | 40 uid_t uid; member in struct:proc_dir_entry
|