/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
ServiceManagerPermissionTests.java | 52 public boolean checkPermission(java.lang.String permission, int pid, int uid) {
|
/frameworks/native/services/surfaceflinger/ |
Client.cpp | 93 const int uid = ipc->getCallingUid(); local 95 if (CC_UNLIKELY(pid != self_pid && uid != AID_GRAPHICS && uid != 0)) { 100 "can't openGlobalTransaction pid=%d, uid=%d", pid, uid);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
ipc.h | 12 __kernel_uid_t uid; member in struct:ipc_perm 47 #define IPC_OLD 0 /* Old version (no 32-bit UID support on many
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
ipc.h | 12 __kernel_uid_t uid; member in struct:ipc_perm 47 #define IPC_OLD 0 /* Old version (no 32-bit UID support on many
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
ipc.h | 12 __kernel_uid_t uid; member in struct:ipc_perm 47 #define IPC_OLD 0 /* Old version (no 32-bit UID support on many
|
/system/core/init/ |
util.h | 29 uid_t uid, gid_t gid);
|
init.h | 55 uid_t uid; member in struct:socketinfo 93 uid_t uid; member in struct:service
|
/external/quake/quake/src/QW/server/ |
sv_ccmds.c | 353 int uid; local 355 uid = atoi(Cmd_Argv(1)); 361 if (cl->userid == uid) 372 Con_Printf ("Couldn't find user number %i\n", uid); 772 void SV_Snap (int uid)
783 if (cl->userid == uid)
791 sprintf(pcxname, "%d-00.pcx", uid);
820 Con_Printf ("Requesting snap from user %d...\n", uid);
830 int uid;
local 838 uid = atoi(Cmd_Argv(1)); [all...] |
/system/core/debuggerd/ |
debuggerd.c | 54 uid_t uid, gid; member in struct:__anon43826 176 } else if (len > 5 && !memcmp(line, "Uid:\t", 5)) { 206 LOG("timed out reading tid (from pid=%d uid=%d)\n", cr.pid, cr.uid); 214 LOG("read failure? %s (pid=%d uid=%d)\n", 215 strerror(errno), cr.pid, cr.uid); 221 LOG("invalid crash request of size %d (from pid=%d uid=%d)\n", 222 status, cr.pid, cr.uid); 229 out_request->uid = cr.uid; [all...] |
/external/libcap-ng/libcap-ng-0.7/utils/ |
proc-llist.c | 49 newnode->uid = node->uid;
|
/external/llvm/utils/TableGen/ |
X86RecognizableInstr.h | 37 InstrUID UID; 43 /// encoding and therefore distinct from the UID 239 /// \param uid The unique ID of the current instruction. 242 InstrUID uid); 251 /// \param uid The unique ID of the instruction. 254 InstrUID uid);
|
/external/webkit/Source/WebCore/bindings/js/ |
ScriptProfile.cpp | 59 unsigned int ScriptProfile::uid() const function in class:WebCore::ScriptProfile 61 return m_profile->uid();
|
/frameworks/base/services/java/com/android/server/location/ |
GeofenceState.java | 47 int allowedResolutionLevel, int uid, String packageName, PendingIntent intent) { 54 mUid = uid;
|
/frameworks/base/services/java/com/android/server/pm/ |
Installer.java | 191 public int install(String name, int uid, int gid, String seinfo) { 196 builder.append(uid); 204 public int dexopt(String apkPath, int uid, boolean isPublic) { 209 builder.append(uid); 248 public int fixUid(String name, int uid, int gid) { 253 builder.append(uid); 268 public int createUserData(String name, int uid, int userId) { 273 builder.append(uid);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/ |
Folder.java | 112 public abstract Message getMessage(String uid) throws MessagingException; 118 * means that only the UID is downloaded. 183 public abstract Message createMessage(String uid) throws MessagingException; 186 * Callback interface by which a folder can report UID changes caused by certain operations. 190 * The operation caused the message's UID to change 191 * @param message The message for which the UID changed 192 * @param newUid The new UID for the message
|
/system/core/libcutils/ |
uevent.c | 40 * fails due to a bad uid check, the uid_t will be set to the uid of the 44 * returns -1, sets errno to EIO, and sets "user" to the UID associated with the 45 * message. If the peer UID cannot be determined, "user" is set to -1." 76 *user = cred->uid; 77 if (cred->uid != 0) {
|
/external/webkit/Source/WebCore/inspector/front-end/ |
ProfilesPanel.js | 302 this._profilesIdMap[this._makeKey(profile.uid, typeId)] = profile; 365 if (this._profiles[i].uid === profile.uid) { 371 delete this._profilesIdMap[this._makeKey(profile.uid, typeId)]; 379 ProfilerAgent.removeProfile(profile.typeId, profile.uid); 434 return !!this._profilesIdMap[this._makeKey(profile.uid, profile.typeId)]; 437 getProfile: function(typeId, uid) 439 return this._profilesIdMap[this._makeKey(uid, typeId)]; 442 loadHeapSnapshot: function(uid, callback) 444 var profile = this._profilesIdMap[this._makeKey(uid, WebInspector.HeapSnapshotProfileType.TypeId)] [all...] |
/frameworks/base/core/java/android/os/ |
INetworkManagementService.aidl | 239 * without any UID-level granularity. 245 * Return detailed network statistics with UID-level granularity, 251 * Return detailed network statistics for the requested UID, 254 NetworkStats getNetworkStatsUidDetail(int uid); 289 * Control network activity of a UID over interfaces with a quota limit. 291 void setUidNetworkRules(int uid, boolean rejectOnQuotaInterfaces); 344 void setFirewallUidRule(int uid, boolean allow);
|
/frameworks/base/services/java/com/android/server/am/ |
ProcessRecord.java | 48 final BatteryStatsImpl.Uid.Proc batteryStats; // where to collect runtime statistics 51 final int uid; // uid of process; may be different from 'info' if isolated field in class:ProcessRecord 165 pw.print(" uid="); pw.print(info.uid); 166 if (uid != info.uid) { 167 pw.print(" ISOLATED uid="); pw.print(uid); 243 wtime = batteryStats.getBatteryStats().getProcessWakeTime(info.uid, [all...] |
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
BandwidthTest.java | 223 // is accounted against download manager's uid, since it uses pre-ICS API. 254 * Fetch network data from /proc/uid_stat/uid 258 public NetworkStats fetchDataFromProc(int uid) { 259 String root_filepath = "/proc/uid_stat/" + uid + "/"; 265 stats.addValues(NetworkStats.IFACE_ALL, uid, NetworkStats.SET_DEFAULT, 320 if (totalStats.containsKey(statsEntry.uid)) { 321 mapEntry = totalStats.get(statsEntry.uid); 336 totalStats.put(statsEntry.uid, statsEntry); 341 results.putInt(label + "uid", entry.uid); [all...] |
/frameworks/native/cmds/installd/ |
commands.c | 31 int install(const char *pkgname, uid_t uid, gid_t gid, const char *seinfo) 38 if ((uid < AID_SYSTEM) || (gid < AID_SYSTEM)) { 39 ALOGE("invalid uid/gid: %d %d\n", uid, gid); 94 if (selinux_android_setfilecon2(pkgdir, pkgname, seinfo, uid) < 0) { 101 if (chown(pkgdir, uid, gid) < 0) { 139 int fix_uid(const char *pkgname, uid_t uid, gid_t gid) 145 if ((uid < AID_SYSTEM) || (gid < AID_SYSTEM)) { 146 ALOGE("invalid uid/gid: %d %d\n", uid, gid) [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_sync.cc | 20 SyncVar::SyncVar(uptr addr, u64 uid) 23 , uid(uid) 63 const u64 uid = atomic_fetch_add(&uid_gen_, 1, memory_order_relaxed); local 64 SyncVar *res = new(mem) SyncVar(addr, uid);
|
/external/openssh/ |
sftp-common.c | 56 a->uid = 0; 72 a->uid = st->st_uid; 90 st->st_uid = a->uid; 112 a.uid = buffer_get_int(b); 146 buffer_put_int(b, a->uid);
|
/frameworks/base/services/java/com/android/server/ |
LocationManagerService.java | 455 final int mUid; // uid of receiver 469 Receiver(ILocationListener listener, PendingIntent intent, int pid, int uid, 478 mAllowedResolutionLevel = getAllowedResolutionLevel(pid, uid); 479 mUid = uid; 744 * @param uid the requestor's UID 747 private boolean isAllowedByUserSettingsLocked(String provider, int uid) { 748 if (UserHandle.getUserId(uid) != mCurrentUserId && !isUidALocationProvider(uid)) { 772 * Returns the resolution level allowed to the given PID/UID pair 932 int uid = Binder.getCallingUid();; local 1249 int uid = Binder.getCallingUid(); local 1291 final int uid = Binder.getCallingUid(); local 1347 final int uid = Binder.getCallingUid(); local 1416 final int uid = Binder.getCallingUid(); local 1482 int uid = Binder.getCallingUid(); local 1524 final int uid = Binder.getCallingUid(); local 1620 int uid = Binder.getCallingUid(); local [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
BatteryStatsImpl.java | 95 // per uid; once the limit is reached, we batch the remaining wakelocks 140 final SparseArray<BatteryStatsImpl.Uid> mUidStats = 141 new SparseArray<BatteryStatsImpl.Uid>(); 848 final Uid mUid; 865 BatchTimer(Uid uid, int type, ArrayList<Unpluggable> unpluggables, 868 mUid = uid; 874 BatchTimer(Uid uid, int type, ArrayList<Unpluggable> unpluggables, 877 mUid = uid; 1721 Uid uid = st.mUid; local 1740 Uid uid = st.mUid; local 1752 Uid uid = st.mUid; local 1769 Uid uid = getUidStatsLocked(Process.SYSTEM_UID); local 4951 int uid; local 4992 Uid uid = mUidStats.valueAt(i); local 5329 int uid = in.readInt(); local 5777 int uid = in.readInt(); local 5879 Uid uid = mUidStats.valueAt(i); local [all...] |