HomeSort by relevance Sort by last modified time
    Searched refs:uid (Results 226 - 250 of 838) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/kernel-headers/original/linux/
ncp_mount.h 38 __kernel_uid_t uid; member in struct:ncp_mount_data
62 unsigned long uid; member in struct:ncp_mount_data_v4
84 __kernel_uid32_t uid; member in struct:ncp_mount_data_kernel
  /external/openssh/
audit-linux.c 43 linux_audit_record_event(int uid, const char *username,
58 username == NULL ? uid : -1, hostname, ip, ttyn, success);
88 if (linux_audit_record_event(li->uid, NULL, li->hostname,
loginrec.h 67 uid_t uid; /* UID of this user */ member in struct:logininfo
120 struct logininfo *login_get_lastlog(struct logininfo *li, const uid_t uid);
122 unsigned int login_get_lastlog_time(const uid_t uid);
  /frameworks/av/media/libstagefright/include/
HTTPBase.h 51 void setUID(uid_t uid);
52 bool getUID(uid_t *uid) const;
56 static void RegisterSocketUserTag(int sockfd, uid_t uid, uint32_t kTag);
  /frameworks/base/core/java/com/android/internal/content/
PackageMonitor.java 115 public void onPackageAdded(String packageName, int uid) {
118 public void onPackageRemoved(String packageName, int uid) {
121 public void onPackageUpdateStarted(String packageName, int uid) {
124 public void onPackageUpdateFinished(String packageName, int uid) {
127 public void onPackageChanged(String packageName, int uid, String[] components) {
130 public boolean onHandleForceStop(Intent intent, String[] packages, int uid, boolean doit) {
134 public void onUidRemoved(int uid) {
224 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); local
235 onPackageUpdateFinished(pkg, uid);
239 onPackageAdded(pkg, uid);
250 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); local
273 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0); local
    [all...]
  /frameworks/base/services/java/com/android/server/net/
NetworkStatsCollection.java 57 * {@link NetworkIdentitySet}, UID, set, and tag. Knows how to persist itself.
135 NetworkTemplate template, int uid, int set, int tag, int fields) {
136 return getHistory(template, uid, set, tag, fields, Long.MIN_VALUE, Long.MAX_VALUE);
144 NetworkTemplate template, int uid, int set, int tag, int fields, long start, long end) {
150 if (key.uid == uid && setMatches && key.tag == tag
179 entry.uid = key.uid;
200 public void recordData(NetworkIdentitySet ident, int uid, int set, int tag, long start,
202 final NetworkStatsHistory history = findOrCreateHistory(ident, uid, set, tag)
275 final int uid = in.readInt(); local
403 final int uid = in.readInt(); local
499 public final int uid; field in class:NetworkStatsCollection.Key
    [all...]
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
RealSystemFacade.java 30 public NetworkInfo getActiveNetworkInfo(int uid) {
38 final NetworkInfo activeInfo = connectivity.getActiveNetworkInfoForUid(uid);
83 public boolean userOwnsPackage(int uid, String packageName) throws NameNotFoundException {
84 return mContext.getPackageManager().getApplicationInfo(packageName, 0).uid == uid;
  /system/extras/tests/fstest/
perm_checker.c 78 printf("# ERROR # Invalid uid '%s' reading line %d\n", str, line_num);
200 static void print_new_rule(const char *name, mode_t mode, uid_t uid, gid_t gid)
205 pw = getpwuid(uid);
206 printf("%s %4o %4o %s %d %s %d\n", name, mode, mode, pw->pw_name, uid,
211 static int pass_rule(const perm_rule_t *pr, mode_t mode, uid_t uid, gid_t gid)
216 (pr->min_uid <= uid) && (pr->max_uid >= uid))
223 static int validate_file(const char *name, mode_t mode, uid_t uid, gid_t gid)
232 if (!pass_rule(pr, mode, uid, gid))
245 print_new_rule(name, mode, uid, gid)
    [all...]
  /frameworks/base/core/java/android/net/
NetworkStats.java 33 * all interfaces, or details with per-UID granularity. Internally stores data
43 /** {@link #uid} value when UID details unavailable. */
63 private int[] uid; field in class:NetworkStats
74 public int uid; field in class:NetworkStats.Entry
92 public Entry(String iface, int uid, int set, int tag, long rxBytes, long rxPackets,
95 this.uid = uid;
126 builder.append(" uid=").append(uid);
    [all...]
  /frameworks/base/core/java/android/os/
WorkSource.java 52 public WorkSource(int uid) {
54 mUids = new int[] { uid, 0 };
122 public void set(int uid) {
125 mUids[0] = uid;
166 public boolean add(int uid) {
168 sTmpWorkSource.mUids[0] = uid;
174 public WorkSource addReturningNewbs(int uid) {
177 sTmpWorkSource.mUids[0] = uid;
214 // Need to insert a new uid.
260 // If there is a matching uid, skip it
    [all...]
  /frameworks/base/services/java/com/android/server/am/
ContentProviderRecord.java 38 final int uid; field in class:ContentProviderRecord
60 uid = ai.uid;
63 noReleaseNeeded = uid == 0 || uid == Process.SYSTEM_UID;
69 uid = cpr.uid;
85 && (uid == Process.SYSTEM_UID || uid == app.info.uid);
    [all...]
ReceiverList.java 41 public final int uid; field in class:ReceiverList
53 uid = _uid;
71 pw.print(" pid="); pw.print(pid); pw.print(" uid="); pw.println(uid);
105 sb.append(uid);
  /packages/apps/Settings/src/com/android/settings/fuelgauge/
BatterySipper.java 28 import android.os.BatteryStats.Uid;
41 Uid uidObj;
65 int iconId, Uid uid, double[] values) {
76 if ((label == null || iconId == 0) && uid != null) {
77 getQuickNameIconForUid(uid);
79 uidObj = uid;
99 void getQuickNameIconForUid(Uid uidObj) {
100 final int uid = uidObj.getUid(); local
101 final String uidString = Integer.toString(uid);
137 final int uid = uidObj.getUid(); local
    [all...]
  /system/core/run-as/
package.c 29 * the run-as command has dropped the uid/gid. Hence be very
139 * - is owned by a given uid/gid
147 check_directory_ownership(const char* path, uid_t uid)
163 /* must be owned by specific uid/gid */
164 if (st.st_uid != uid || st.st_gid != uid)
187 check_data_path(const char* dataPath, uid_t uid)
238 * directory is owned by the application uid
240 if (check_directory_ownership(dataPath, uid) < 0)
411 info->uid = 0
440 int uid, debugFlag; local
    [all...]
  /external/chromium/chrome/browser/
process_info_snapshot_mac_unittest.cc 34 EXPECT_EQ(0, static_cast<int64>(proc_info.uid));
61 uid_t uid = getuid(); local
76 EXPECT_EQ(uid, proc_info.uid);
89 EXPECT_EQ(uid, proc_info.uid); // This (and the following) should be true
95 // To verify that ProcessInfoSnapshot is getting the actual uid and effective
96 // uid, this test runs top. top should have a uid of the caller and effective
97 // uid of 0 (root)
    [all...]
  /device/moto/stingray/ril/
wrigley-iptables.sh 57 $IPTABLES -A oem_out_wrigley_sens -m owner --uid-owner 0 -j ACCEPT
58 $IPTABLES -A oem_out_wrigley_sens -m owner --uid-owner 1001 -j ACCEPT
62 $IPTABLES -A oem_out_wrigley_other -m owner --uid-owner 0 -j ACCEPT
63 $IPTABLES -A oem_out_wrigley_other -m owner --uid-owner 1001 -j ACCEPT
64 $IPTABLES -A oem_out_wrigley_other -m owner --uid-owner 2000 -j ACCEPT
  /external/iproute2/ip/
iptuntap.c 48 static int tap_add_ioctl(struct ifreq *ifr, uid_t uid, gid_t gid)
66 if (uid != -1 && ioctl(fd, TUNSETOWNER, uid)) {
107 static int parse_args(int argc, char **argv, struct ifreq *ifr, uid_t *uid, gid_t *gid)
134 } else if (uid && matches(*argv, "user") == 0) {
140 *uid = user;
147 *uid = pw->pw_uid;
194 uid_t uid = -1; local
197 if (parse_args(argc, argv, &ifr, &uid, &gid) < 0)
204 return tap_add_ioctl(&ifr, uid, gid)
    [all...]
  /system/core/init/
property_service.c 58 unsigned int uid; member in struct:__anon36482
93 * White list of UID that are allowed to start/stop services.
98 unsigned int uid; member in struct:__anon36483
198 * Returns 1 if uid allowed, 0 otherwise.
200 static int check_control_perms(const char *name, unsigned int uid, unsigned int gid) {
202 if (uid == AID_SYSTEM || uid == AID_ROOT)
208 if ((uid && control_perms[i].uid == uid) ||
    [all...]
  /external/dropbear/
svr-agentfwd.c 138 uid_t uid; local
151 uid = getuid();
168 if ((seteuid(uid)) < 0 ||
209 uid_t uid; local
214 uid = getuid();
259 if ((seteuid(uid)) < 0 ||
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/os/
FileUtils.java 56 private int uid; field in class:FileUtils.FileStatus
68 return uid;
108 public native static String getUserName(int uid);
  /external/dbus/dbus/
dbus-sysdeps-unix.h 94 dbus_uid_t uid; /**< UID */ member in struct:DBusUserInfo
115 dbus_uid_t uid,
132 dbus_uid_t *uid);
  /external/webkit/Source/JavaScriptCore/profiler/
Profile.cpp 34 PassRefPtr<Profile> Profile::create(const UString& title, unsigned uid)
36 return adoptRef(new Profile(title, uid));
39 Profile::Profile(const UString& title, unsigned uid)
41 , m_uid(uid)
  /external/webkit/Source/WebCore/bindings/js/
ScriptProfile.h 51 unsigned int uid() const;
  /frameworks/base/core/java/android/hardware/usb/
IUsbManager.aidl 73 /* Grants permission for the given UID to access the device */
74 void grantDevicePermission(in UsbDevice device, int uid);
76 /* Grants permission for the given UID to access the accessory */
77 void grantAccessoryPermission(in UsbAccessory accessory, int uid);
  /frameworks/base/services/java/com/android/server/pm/
BasePermission.java 43 int uid; field in class:BasePermission

Completed in 946 milliseconds

1 2 3 4 5 6 7 8 91011>>