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

<<11121314151617181920>>

  /frameworks/base/services/sensorservice/
SensorDevice.cpp 52 status_t noteStartSensor(int uid, int handle) {
55 data.writeInt32(uid);
63 status_t noteStopSensor(int uid, int handle) {
66 data.writeInt32(uid);
77 int uid = IPCThreadState::self()->getCallingUid(); local
79 noteStartSensor(uid, handle);
85 int uid = IPCThreadState::self()->getCallingUid(); local
87 noteStopSensor(uid, handle);
  /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/init/
init.h 55 uid_t uid; member in struct:socketinfo
93 uid_t uid; member in struct:service
devices.c 76 unsigned int uid; member in struct:perms_
97 mode_t perm, unsigned int uid, unsigned int gid,
114 node->dp.uid = uid;
149 INFO("fixup %s %d %d 0%o\n", buf, dp->uid, dp->gid, dp->perm);
150 chown(buf, dp->uid, dp->gid);
155 static mode_t get_device_perm(const char *path, unsigned *uid, unsigned *gid)
176 *uid = dp->uid;
181 *uid = 0
190 unsigned uid; local
    [all...]
  /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/services/java/com/android/server/
VibratorService.java 78 Vibration(IBinder token, long millis, int uid) {
79 this(token, millis, null, 0, uid);
82 Vibration(IBinder token, long[] pattern, int repeat, int uid) {
83 this(token, 0, pattern, repeat, uid);
87 int repeat, int uid) {
93 mUid = uid;
162 int uid = Binder.getCallingUid(); local
173 Vibration vib = new Vibration(token, milliseconds, uid);
197 int uid = Binder.getCallingUid(); local
217 Vibration vib = new Vibration(token, pattern, repeat, uid);
    [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 ALOGE("invalid uid/gid: %d %d\n", uid, gid);
75 if (chown(pkgdir, uid, gid) < 0) {
112 int fix_uid(const char *pkgname, uid_t uid, gid_t gid)
118 if ((uid < AID_SYSTEM) || (gid < AID_SYSTEM)) {
119 ALOGE("invalid uid/gid: %d %d\n", uid, gid);
131 ALOGE("fixing uid of non-root pkg: %s %d %d\n", pkgdir, s.st_uid, s.st_gid)
198 uid_t uid; local
    [all...]
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/net/
NetworkPanel.java 156 /** UID of currently selected {@link Client}. */
423 * Find a {@link TrackedItem} that matches the requested UID and tag, or
426 public TrackedItem findOrCreateTrackedItem(int uid, int tag) {
429 if (item.uid == uid && item.tag == tag) {
435 final TrackedItem item = new TrackedItem(uid, tag);
492 * Traffic flow being actively tracked, uniquely defined by UID and tag. Can
497 public final int uid; field in class:NetworkPanel.TrackedItem
509 public TrackedItem(int uid, int tag) {
510 this.uid = uid
689 public int uid = -1; field in class:NetworkPanel.UidParser
776 public int uid; field in class:NetworkPanel.NetworkSnapshot.Entry
    [all...]
  /frameworks/base/services/java/com/android/server/am/
ProcessRecord.java 47 final BatteryStatsImpl.Uid.Proc batteryStats; // where to collect runtime statistics
50 final int uid; // uid of process; may be different from 'info' if isolated field in class:ProcessRecord
158 pw.print(" uid="); pw.print(info.uid);
159 if (uid != info.uid) {
160 pw.print(" ISOLATED uid="); pw.print(uid);
224 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...]
  /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...]
  /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);
  /bootable/recovery/minzip/
DirUtil.c 245 int uid, int gid, int dirMode, int fileMode)
258 if (chown(path, uid, gid) ||
279 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/
Context.java     [all...]
  /frameworks/base/core/java/android/content/pm/
ApplicationInfo.java 409 * the same uid).
411 public int uid; field in class:ApplicationInfo
451 pw.println(prefix + "uid=" + uid + " flags=0x" + Integer.toHexString(flags)
536 uid = orig.uid;
574 dest.writeInt(uid);
612 uid = source.readInt();
  /frameworks/base/test-runner/src/android/test/mock/
MockContext.java 382 public int checkPermission(String permission, int pid, int uid) {
398 String permission, int pid, int uid, String message) {
423 public int checkUriPermission(Uri uri, int pid, int uid, int modeFlags) {
439 String writePermission, int pid, int uid, int modeFlags) {
445 Uri uri, int pid, int uid, int modeFlags, String message) {
463 int pid, int uid, int modeFlags, String message) {
  /build/tools/releasetools/
ota_from_target_files 117 self.uid = None
131 if self.uid is not None:
132 print "%s%s %d %d %o" % (" "*indent, self.name, self.uid, self.gid, self.mode)
134 print "%s%s %s %s %s" % (" "*indent, self.name, self.uid, self.gid, self.mode)
151 # See if the target_files contains a record of what the uid,
156 # uid, gid, and mode for every Item object. Note this uses the
169 name, uid, gid, mode = line.split()
172 i.uid = int(uid)
180 if i: i.uid, i.gid, i.mode = 0, 0, 064
    [all...]
  /cts/tests/tests/content/src/android/content/pm/cts/
ApplicationInfoTest.java 68 assertEquals(mApplicationInfo.uid, info.uid);
  /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/av/media/libstagefright/
WVMExtractor.cpp 136 void WVMExtractor::setUID(uid_t uid) {
138 mImpl->setUID(uid);
  /frameworks/av/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);
  /frameworks/base/core/java/com/android/internal/statusbar/
IStatusBarService.aidl 44 int uid, int initialPid, String message);

Completed in 1190 milliseconds

<<11121314151617181920>>