/system/core/include/private/ |
android_filesystem_config.h | 99 #define AID_USER 100000 /* offset for uid ranges for each user */ 162 unsigned uid; member in struct:fs_path_config 219 /* the following file is INTENTIONALLY set-gid and not set-uid. 223 /* the following five files are INTENTIONALLY set-uid, but they 250 unsigned *uid, unsigned *gid, unsigned *mode, uint64_t *capabilities) 275 *uid = pc->uid; 282 path, pc->prefix ? pc->prefix : "", *uid, *gid, *mode);
|
/frameworks/base/services/java/com/android/server/ |
ClipboardService.java | 65 ListenerInfo(int uid, String packageName) { 66 mUid = uid; 251 private final void checkUriOwnerLocked(Uri uri, int uid) { 258 mAm.checkGrantUriPermission(uid, null, uri, Intent.FLAG_GRANT_READ_URI_PERMISSION); 265 private final void checkItemOwnerLocked(ClipData.Item item, int uid) { 267 checkUriOwnerLocked(item.getUri(), uid); local 271 checkUriOwnerLocked(intent.getData(), uid); local 275 private final void checkDataOwnerLocked(ClipData data, int uid) { 278 checkItemOwnerLocked(data.getItemAt(i), uid); local 303 private final void addActiveOwnerLocked(int uid, String pkg) [all...] |
/cts/tests/tests/security/src/android/security/cts/ |
ListeningPortsTest.java | 192 + entry.port + ", UID=" + entry.uid + " in " 231 private final int uid; field in class:ListeningPortsTest.ParsedProcEntry 233 private ParsedProcEntry(InetAddress addr, int port, String state, int uid) { 237 this.uid = uid; 247 * sl local_address rem_address st tx_queue rx_queue tr tm->when retrnsmt uid ... 272 int uid = Integer.parseInt(fields[7]); local 276 retval.add(new ParsedProcEntry(localIp, localPort, state, uid));
|
/frameworks/base/core/java/android/net/ |
NetworkPolicyManager.java | 76 * Set policy flags for specific UID. 81 public void setUidPolicy(int uid, int policy) { 83 mService.setUidPolicy(uid, policy); 88 public int getUidPolicy(int uid) { 90 return mService.getUidPolicy(uid); 234 * Check if given UID can have a {@link #setUidPolicy(int, int)} defined, 238 public static boolean isUidValidForPolicy(Context context, int uid) { 240 if (!UserHandle.isApp(uid)) { 256 for (String packageName : pm.getPackagesForUid(uid)) { 267 // nothing found above; we can apply policy to UID [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_context_menu_api.cc | 190 !properties.GetInteger(kParentIdKey, &parent_id.uid)) 196 base::IntToString(parent_id.uid); 214 &id.uid)); 250 &parent_id.uid)); 254 kCannotFindItemError, base::IntToString(parent_id.uid)); 274 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &item_id.uid)); 281 kCannotFindItemError, base::IntToString(item_id.uid)); 341 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &id.uid)); 349 kCannotFindItemError, base::IntToString(id.uid));
|
/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. 95 * Defines the UID/GID for the DRM process. 107 * Defines the UID/GID for the group that controls VPN services. 113 * Defines the UID/GID for the NFC service process. 119 * Defines the UID/GID for the Bluetooth service process 681 int uid = UserHandle.getAppId(myUid()); local [all...] |
/dalvik/vm/native/ |
dalvik_system_Zygote.cpp | 250 static int mountEmulatedStorage(uid_t uid, u4 mountMode) { 252 userid_t userid = multiuser_get_user_id(uid); 475 static int setSELinuxContext(uid_t uid, bool isSystemServer, 479 return selinux_android_setcontext(uid, isSystemServer, seInfo, niceName); 512 uid_t uid = (uid_t) args[0]; local 578 /* keep caps across UID change, unless we're staying root */ 579 if (uid != 0) { 606 err = mountEmulatedStorage(uid, mountMode); 640 err = setresuid(uid, uid, uid) [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_libc_test.cc | 58 u32 uid = GetUid(); local 67 GetEnv("EXTERNAL_STORAGE"), uid); 70 "/tmp/sanitizer_common.tmp.%d", uid);
|
/frameworks/base/services/java/com/android/server/am/ |
UriPermission.java | 34 final int uid; field in class:UriPermission 44 uid = _uid; 87 pw.print(" uid="); pw.print(uid);
|
ReceiverList.java | 41 public final int uid; field in class:ReceiverList 54 uid = _uid; 73 pw.print(" pid="); pw.print(pid); pw.print(" uid="); pw.print(uid); 108 sb.append(uid);
|
/frameworks/base/services/java/com/android/server/firewall/ |
SenderFilter.java | 75 return ifw.signaturesMatch(callerUid, resolvedApp.uid); 96 ifw.signaturesMatch(callerUid, resolvedApp.uid); 108 return ifw.checkComponentPermission(null, callerPid, callerUid, resolvedApp.uid, false);
|
SenderPermissionFilter.java | 39 // ActivityManager would only resolve to this component for callers from the same uid. 41 return ifw.checkComponentPermission(mPermission, callerPid, callerUid, resolvedApp.uid,
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
gltrace_transport.cpp | 81 if (cr.uid != AID_SHELL && cr.uid != AID_ROOT) { 82 ALOGE("Unknown peer type (%d), expected shell to be the peer", cr.uid);
|
/system/core/init/ |
ueventd.c | 116 uid_t uid; local 166 ERROR("invalid uid '%s'\n", args[2]); 170 uid = ret; 180 add_dev_perms(name, attr, perm, uid, gid, prefix);
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
SFTPv3FileAttributes.java | 23 * The UID attribute. <code>NULL</code> if not present. 25 public Integer uid = null; field in class:SFTPv3FileAttributes 47 * S_ISUID 0004000 set UID bit
|
/external/openssh/openbsd-compat/ |
bsd-getpeereid.c | 35 *euid = cred.uid;
|
/external/smack/src/org/jivesoftware/smackx/workgroup/packet/ |
QueueDetails.java | 155 String uid = null;
local 160 uid = parser.getAttributeValue("", "jid");
162 if (uid == null) {
191 queueDetails.addUser(new QueueUser(uid, position, time, joinTime));
|
/external/webkit/Source/JavaScriptCore/profiler/ |
ProfileGenerator.cpp | 43 PassRefPtr<ProfileGenerator> ProfileGenerator::create(ExecState* exec, const UString& title, unsigned uid) 45 return adoptRef(new ProfileGenerator(exec, title, uid)); 48 ProfileGenerator::ProfileGenerator(ExecState* exec, const UString& title, unsigned uid) 52 m_profile = Profile::create(title, uid);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/String/ |
regress-104375.js | 38 * Use the regexp to replace 'uid=31' with 'uid=15' 41 * "$1" refers to the first backreference: 'uid=' 43 var str = 'uid=31'; 44 var re = /(uid=)(\d+)/; 49 expect = 'uid=15'; 55 expect = 'uid=15'; 61 expect = 'uid=A15';
|
/external/webkit/Source/WebCore/bindings/v8/ |
ScriptHeapSnapshot.cpp | 54 unsigned int ScriptHeapSnapshot::uid() const function in class:WebCore::ScriptHeapSnapshot
|
/external/webkit/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/ |
WebInspectorShims.js | 41 getProfile: function(typeId, uid, callback) {
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
HTTPLiveSource.h | 35 uid_t uid = 0);
|
/frameworks/av/media/libstagefright/include/ |
SDPLoader.h | 37 SDPLoader(const sp<AMessage> ¬ify, uint32_t flags = 0, bool uidValid = false, uid_t uid = 0);
|
/frameworks/base/core/jni/ |
android_net_TrafficStats.cpp | 121 static int parseUidStats(const uint32_t uid, struct Stats* stats) { 136 if (uid == cur_uid && tag == 0L) { 176 static jlong getUidStat(JNIEnv* env, jclass clazz, jint uid, jint type) { 179 if (parseUidStats(uid, &stats) == 0) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
UsbResolverActivity.java | 100 final int uid = ri.activityInfo.applicationInfo.uid; local 105 service.grantDevicePermission(mDevice, uid); 114 service.grantAccessoryPermission(mAccessory, uid);
|