/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/linux/ |
proc_fs.h | 40 uid_t uid; member in struct:proc_dir_entry
|
/system/core/libcutils/ |
uevent.c | 63 if (cred->uid != 0) {
|
/frameworks/base/core/java/android/content/pm/ |
PackageManager.java | [all...] |
/packages/apps/Phone/src/com/android/phone/sip/ |
SipSettings.java | 112 Log.v(TAG, "profile uid is " + profileUid + " isPrimary:" 131 private String getPackageNameFromUid(int uid) { 133 String[] pkgs = mPackageManager.getPackagesForUid(uid); 138 Log.e(TAG, "cannot find name of uid " + uid, e); 140 return "uid:" + uid; 356 int uid = profile.getCallingUid(); local 357 if (uid == mUid || uid == 0) [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_menu_manager.cc | 394 properties->SetInteger("menuItemId", item->id().uid); 396 properties->SetInteger("parentMenuItemId", item->parent_id()->uid); 478 : profile(NULL), uid(0) { 483 int uid) 484 : profile(profile), extension_id(extension_id), uid(uid) { 493 uid == other.uid); 507 return uid < other.uid; [all...] |
extension_menu_manager.h | 39 Id(Profile* profile, const std::string& extension_id, int uid); 48 int uid; member in struct:ExtensionMenuItem::Id
|
/external/bluetooth/glib/gio/ |
glocalfileinfo.c | 870 uid_t uid = geteuid (); local 872 if (uid == statbuf->st_uid || 873 uid == parent_info->owner || 874 uid == 0) 1060 lookup_uid_data (uid_t uid) 1071 data = g_hash_table_lookup (uid_cache, GINT_TO_POINTER (uid)); 1079 getpwuid_r (uid, &pwbuf, buffer, sizeof(buffer), &pwbufp); 1081 pwbufp = getpwuid_r (uid, &pwbuf, buffer, sizeof(buffer)); 1083 pwbufp = getpwuid (uid); 1108 data->real_name = g_strdup_printf ("user #%d", (int)uid); 1849 uid_t uid; local 2170 GFileAttributeValue *uid, *gid; local [all...] |
/external/dbus/bus/ |
connection.c | 61 DBusHashTable *completed_by_user; /**< Number of completed connections for each UID */ 116 dbus_uid_t uid) 124 uid); 133 dbus_uid_t uid, 138 current_count = get_connections_for_uid (connections, uid); 140 _dbus_verbose ("Adjusting connection count for UID " DBUS_UID_FORMAT 142 uid, current_count, adjustment, current_count + adjustment); 152 _dbus_hash_table_remove_uintptr (connections->completed_by_user, uid); 160 uid, _DBUS_INT_TO_POINTER (current_count)); 263 unsigned long uid; local 554 unsigned long uid; local 857 unsigned long uid; local 1342 unsigned long uid; local 1441 unsigned long uid; local [all...] |
/frameworks/base/cmds/installd/ |
commands.c | 27 int install(const char *pkgname, uid_t uid, gid_t gid) 32 if ((uid < AID_SYSTEM) || (gid < AID_SYSTEM)) { 33 LOGE("invalid uid/gid: %d %d\n", uid, gid); 56 if (chown(pkgdir, uid, gid) < 0) { 120 int make_user_data(const char *pkgname, uid_t uid, uid_t persona) 133 if (chown(pkgdir, uid, uid) < 0) { 481 int dexopt(const char *apk_path, uid_t uid, int is_public) 528 if (fchown(odex_fd, AID_SYSTEM, uid) < 0) [all...] |
/frameworks/base/services/java/com/android/server/ |
NotificationManagerService.java | 146 final int uid; field in class:NotificationManagerService.NotificationRecord 152 NotificationRecord(String pkg, String tag, int id, int uid, int initialPid, int priority, 158 this.uid = uid; 300 int uid, int initialPid, String message) { 302 + "; will crashApplication(uid=" + uid + ", pid=" + initialPid + ")"); 306 ActivityManagerNative.getDefault().crashApplication(uid, initialPid, pkg, 671 // uid/pid of another application) 754 r.uid, r.initialPid, notification) 1030 int uid = Binder.getCallingUid(); local [all...] |
/external/llvm/utils/TableGen/ |
ARMDecoderEmitter.cpp | 273 // Map of well-known segment value to the set of uid's with that value. 276 // Set of uid's with non-constant segment values. 362 // Vector of uid's for this filter chooser to work on. 423 // Populates the insn given the uid. 560 // Populates the insn given the uid. 568 // The encoding bits are well-known. Lets add the uid of the [all...] |
/frameworks/base/core/java/android/content/ |
ContentService.java | 507 public final int uid; field in class:ContentService.ObserverNode.ObserverEntry 516 uid = _uid; 536 pw.print(pid); pw.print(" uid="); 537 pw.print(uid); pw.print(" target="); 606 boolean notifyForDescendents, Object observersLock, int uid, int pid) { 607 addObserverLocked(uri, 0, observer, notifyForDescendents, observersLock, uid, pid); 611 boolean notifyForDescendents, Object observersLock, int uid, int pid) { 615 uid, pid)); 629 observersLock, uid, pid); 638 observersLock, uid, pid) [all...] |
/system/core/toolbox/ |
top.c | 56 uid_t uid; member in struct:proc_info 302 proc->uid = cur_proc.uid; 398 unsigned int uid, gid; local 403 sscanf(line, "Uid: %u", &uid); 407 proc->uid = uid; proc->gid = gid; 459 printf("%5s %2s %4s %1s %5s %7s %7s %3s %-8s %s\n", "PID", "PR", "CPU%", "S", "#THR", "VSS", "RSS", "PCY", "UID", "Name"); 461 printf("%5s %5s %2s %4s %1s %7s %7s %3s %-8s %-15s %s\n", "PID", "TID", "PR", "CPU%", "S", "VSS", "RSS", "PCY", "UID", "Thread", "Proc") [all...] |
/frameworks/base/services/java/com/android/server/usb/ |
UsbSettingsManager.java | 353 public void onPackageAdded(String packageName, int uid) { 357 public void onPackageChanged(String packageName, int uid, String[] components) { 361 public void onPackageRemoved(String packageName, int uid) { 644 grantDevicePermission(device, defaultRI.activityInfo.applicationInfo.uid); 646 grantAccessoryPermission(accessory, defaultRI.activityInfo.applicationInfo.uid); 812 int uid = Binder.getCallingUid(); local [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
Settings.java | 260 String nativeLibraryPathString, int uid, int vc, int pkgFlags) { 263 if (p.userId == uid) { 272 p.userId = uid; 273 if (addUserIdLPw(uid, p, name)) { 280 SharedUserSetting addSharedUserLPw(String name, int uid, int pkgFlags) { 283 if (s.userId == uid) { 291 s.userId = uid; 292 if (addUserIdLPw(uid, s, name)) { 317 bp.uid = 0; 438 "Package " + name + " could not be assigned a valid uid"); [all...] |
/external/chromium/net/http/ |
http_proxy_client_socket_pool.cc | 67 bool HttpProxySocketParams::getUID(uid_t *uid) const { 69 return ssl_params_->transport_params()->getUID(uid); 71 return transport_params_->getUID(uid); 74 void HttpProxySocketParams::setUID(uid_t uid) { 76 ssl_params_->transport_params()->setUID(uid); 78 transport_params_->setUID(uid);
|
http_proxy_client_socket_pool.h | 72 // Gets the UID of the calling process 73 bool getUID(uid_t *uid) const; 74 void setUID(uid_t uid);
|
/frameworks/base/core/java/android/app/ |
ContextImpl.java | [all...] |
/frameworks/base/services/java/com/android/server/location/ |
GpsLocationProvider.java | 864 public void addListener(int uid) { 869 m.arg1 = uid; 874 private void handleAddListener(int uid) { 876 if (mClientUids.indexOfKey(uid) >= 0) { 877 // Shouldn't be here -- already have this uid. 878 Log.w(TAG, "Duplicate add listener for uid " + uid); 881 mClientUids.put(uid, 0); 884 mBatteryStats.noteStartGps(uid); 892 public void removeListener(int uid) { 1181 int uid = mClientUids.keyAt(i); local [all...] |
/cts/apps/CtsVerifier/jni/verifier/ |
com_android_cts_verifier_os_FileUtils.cpp | 71 jint uid) 73 struct passwd *pwd = getpwuid(uid); 102 gFileStatusUidFieldID = env->GetFieldID(fileStatusClass, "uid", "I");
|
/cts/tests/jni/ |
android_os_cts_FileUtils.cpp | 80 jint uid) 82 struct passwd *pwd = getpwuid(uid); 131 gFileStatusUidFieldID = env->GetFieldID(gFileStatusClass, "uid", "I");
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
ApplicationInfoTest.java | 90 assertEquals(mApplicationInfo.uid, info.uid);
|
/cts/tests/tests/permission/jni/ |
android_permission_cts_FileUtils.cpp | 77 jint uid) 79 struct passwd *pwd = getpwuid(uid); 108 gFileStatusUidFieldID = env->GetFieldID(fileStatusClass, "uid", "I");
|
/external/chromium/net/socket/ |
socks_client_socket_pool.h | 41 // Gets the UID of the calling process 42 bool getUID(uid_t *uid) const; 43 void setUID(uid_t uid);
|
tcp_client_socket_pool.h | 43 // Gets the UID of the calling process 44 bool getUID(uid_t *uid) const; 45 void setUID(uid_t uid);
|