HomeSort by relevance Sort by last modified time
    Searched refs:uid (Results 1 - 25 of 1620) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/app/
IUidObserver.aidl 21 void onUidStateChanged(int uid, int procState);
22 void onUidGone(int uid);
IProcessObserver.aidl 22 void onForegroundActivitiesChanged(int pid, int uid, boolean foregroundActivities);
23 void onProcessStateChanged(int pid, int uid, int procState);
24 void onProcessDied(int pid, int uid);
  /frameworks/base/services/core/java/com/android/server/notification/
RankingConfig.java 19 int getPackagePriority(String packageName, int uid);
21 void setPackagePriority(String packageName, int uid, int priority);
23 boolean getPackagePeekable(String packageName, int uid);
25 void setPackagePeekable(String packageName, int uid, boolean peekable);
27 int getPackageVisibilityOverride(String packageName, int uid);
29 void setPackageVisibilityOverride(String packageName, int uid, int visibility);
  /frameworks/base/core/java/android/net/
Credentials.java 26 /** uid of process. root peers may lie. */
27 private final int uid; field in class:Credentials
31 public Credentials (int pid, int uid, int gid) {
33 this.uid = uid;
42 return uid;
  /frameworks/native/services/sensorservice/
BatteryService.h 33 void enableSensorImpl(uid_t uid, int handle);
34 void disableSensorImpl(uid_t uid, int handle);
35 void cleanupImpl(uid_t uid);
38 uid_t uid; member in struct:android::BatteryService::Info
41 Info() : uid(0), handle(0), count(0) { }
42 Info(uid_t uid, int handle) : uid(uid), handle(handle), count(0) { }
44 return (uid == rhs.uid) ? (handle < rhs.handle) : (uid < rhs.uid)
    [all...]
  /frameworks/base/core/java/android/content/pm/
IOnPermissionsChangeListener.aidl 24 void onPermissionsChanged(int uid);
  /frameworks/base/core/java/android/os/
IPermissionController.aidl 22 boolean checkPermission(String permission, int pid, int uid);
23 String[] getPackagesForUid(int uid);
IVibratorService.aidl 23 void vibrate(int uid, String opPkg, long milliseconds, int usageHint, IBinder token);
24 void vibratePattern(int uid, String opPkg, in long[] pattern, int repeat, int usageHint, IBinder token);
  /frameworks/base/core/java/android/os/storage/
MountServiceInternal.java 31 * Gets the external storage mount mode for the given uid.
33 * @param uid The UID for which to determine mount mode.
34 * @param packageName The package in the UID for making the call.
42 public int getMountMode(int uid, String packageName);
45 * Gets whether external storage should be reported to the given UID.
47 * @param uid The UID for which to determine whether it has external storage.
48 * @param packageName The package in the UID for making the call.
53 public boolean hasExternalStorage(int uid, String packageName)
    [all...]
  /libcore/luni/src/main/java/android/system/
StructUcred.java 30 /** The peer process' uid. */
31 public final int uid; field in class:StructUcred
36 public StructUcred(int pid, int uid, int gid) {
38 this.uid = uid;
  /system/core/libcutils/
multiuser.c 19 userid_t multiuser_get_user_id(uid_t uid) {
20 return uid / MULTIUSER_APP_PER_USER_RANGE;
23 appid_t multiuser_get_app_id(uid_t uid) {
24 return uid % MULTIUSER_APP_PER_USER_RANGE;
  /frameworks/base/core/java/android/service/gatekeeper/
IGateKeeperService.aidl 33 * @param uid The Android user ID associated to this enrollment
41 GateKeeperResponse enroll(int uid, in byte[] currentPasswordHandle, in byte[] currentPassword,
46 * @param uid The Android user ID associated to this enrollment
52 GateKeeperResponse verify(int uid, in byte[] enrolledPasswordHandle, in byte[] providedPassword);
56 * @param uid The Android user ID associated to this enrollment
65 GateKeeperResponse verifyChallenge(int uid, long challenge, in byte[] enrolledPasswordHandle,
71 * @param uid the Android user id
73 long getSecureUserId(int uid);
78 * @param uid the Android user id.
80 void clearSecureUserId(int uid);
    [all...]
  /frameworks/native/include/binder/
IBatteryStats.h 31 virtual void noteStartSensor(int uid, int sensor) = 0;
32 virtual void noteStopSensor(int uid, int sensor) = 0;
33 virtual void noteStartVideo(int uid) = 0;
34 virtual void noteStopVideo(int uid) = 0;
35 virtual void noteStartAudio(int uid) = 0;
36 virtual void noteStopAudio(int uid) = 0;
39 virtual void noteFlashlightOn(int uid) = 0;
40 virtual void noteFlashlightOff(int uid) = 0;
41 virtual void noteStartCamera(int uid) = 0;
42 virtual void noteStopCamera(int uid) = 0
    [all...]
PermissionCache.h 31 * PermissionCache caches permission checks for a given uid.
44 uid_t uid; member in struct:android::PermissionCache::Entry
47 return (uid == e.uid) ? (name < e.name) : (uid < e.uid);
61 const String16& permission, uid_t uid) const;
63 void cache(const String16& permission, uid_t uid, bool granted);
74 pid_t pid, uid_t uid);
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
ProviderUtil.java 37 * @param uid the caller uid
40 public static boolean isAccessRestricted(Context context, String packageName, int uid) {
41 return (uid != Process.SYSTEM_UID
42 && uid != Process.PHONE_UID
50 * @param uid The caller UID of the insertion
53 public static boolean shouldSetCreator(ContentValues values, int uid) {
54 return (uid != Process.SYSTEM_UID && uid != Process.PHONE_UID) |
    [all...]
  /external/lldb/source/Core/
UserID.cpp 19 lldb_private::operator << (Stream& strm, const UserID& uid)
21 strm.Printf("{0x%8.8" PRIx64 "}", uid.GetID());
  /system/core/libprocessgroup/include/processgroup/
processgroup.h 25 int killProcessGroup(uid_t uid, int initialPid, int signal);
27 int createProcessGroup(uid_t uid, int initialPid);
  /system/core/include/cutils/
qtaguid.h 31 extern int qtaguid_tagSocket(int sockfd, int tag, uid_t uid);
39 * For the given uid, switch counter sets.
43 extern int qtaguid_setCounterSet(int counterSetNum, uid_t uid);
46 * Delete all tag info that relates to the given tag an uid.
47 * If the tag is 0, then ALL info about the uid is freeded.
54 extern int qtaguid_deleteTagData(int tag, uid_t uid);
  /external/lldb/include/lldb/Core/
UserID.h 38 UserID (lldb::user_id_t uid = LLDB_INVALID_UID) : m_uid(uid) {}
67 /// @param[in] uid
71 SetID (lldb::user_id_t uid) { m_uid = uid; }
90 IDMatches (lldb::user_id_t uid) : m_uid(uid) {}
126 Stream& operator << (Stream& strm, const UserID& uid);
  /frameworks/base/core/java/com/android/internal/app/
IBatteryStats.aidl 29 void noteStartSensor(int uid, int sensor);
30 void noteStopSensor(int uid, int sensor);
31 void noteStartVideo(int uid);
32 void noteStopVideo(int uid);
33 void noteStartAudio(int uid);
34 void noteStopAudio(int uid);
37 void noteFlashlightOn(int uid);
38 void noteFlashlightOff(int uid);
39 void noteStartCamera(int uid);
40 void noteStopCamera(int uid);
    [all...]
  /frameworks/native/libs/binder/
IBatteryStats.cpp 37 virtual void noteStartSensor(int uid, int sensor) {
40 data.writeInt32(uid);
45 virtual void noteStopSensor(int uid, int sensor) {
48 data.writeInt32(uid);
53 virtual void noteStartVideo(int uid) {
56 data.writeInt32(uid);
60 virtual void noteStopVideo(int uid) {
63 data.writeInt32(uid);
67 virtual void noteStartAudio(int uid) {
70 data.writeInt32(uid);
145 int uid = data.readInt32(); local
153 int uid = data.readInt32(); local
161 int uid = data.readInt32(); local
168 int uid = data.readInt32(); local
175 int uid = data.readInt32(); local
182 int uid = data.readInt32(); local
201 int uid = data.readInt32(); local
208 int uid = data.readInt32(); local
215 int uid = data.readInt32(); local
222 int uid = data.readInt32(); local
    [all...]
  /external/strace/tests/
uid.awk 16 uid = a[1]
18 regexp = "^setuid" suffix "\\(" uid "\\)[[:space:]]+= 0$"
21 regexp = "^getresuid" suffix "\\(\\[" uid "\\], \\[" uid "\\], \\[" uid "\\]\\)[[:space:]]+= 0$"
27 regexp = "^setresuid" suffix "\\(" uid ", -1, -1\\)[[:space:]]+= 0$"
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
SystemFacade.java 33 public NetworkInfo getActiveNetworkInfo(int uid);
61 * Returns true if the specified UID owns the specified package name.
63 public boolean userOwnsPackage(int uid, String pckg) throws NameNotFoundException;
66 * Returns true if cleartext network traffic is permitted for the specified UID.
68 public boolean isCleartextTrafficPermitted(int uid);
  /packages/apps/Nfc/src/com/android/nfc/
ForegroundUtils.java 35 // We need to keep track of the individual PIDs per UID,
36 // since a single UID may have multiple processes running
58 void onUidToBackground(int uid);
66 * Checks whether the specified UID has any activities running in the foreground,
67 * and if it does, registers a callback for when that UID no longer has any foreground
72 * @param uid The UID to be checked
73 * @return true when the UID has an Activity in the foreground and the callback
76 public boolean registerUidToBackgroundCallback(Callback callback, int uid) {
78 if (!isInForegroundLocked(uid)) {
    [all...]
  /packages/apps/Settings/src/com/android/settings/notification/
NotificationBackend.java 38 row.uid = app.uid;
46 row.banned = getNotificationsBanned(row.pkg, row.uid);
47 row.priority = getHighPriority(row.pkg, row.uid);
48 row.peekable = getPeekable(row.pkg, row.uid);
49 row.sensitive = getSensitive(row.pkg, row.uid);
53 public boolean setNotificationsBanned(String pkg, int uid, boolean banned) {
55 sINM.setNotificationsEnabledForPackage(pkg, uid, !banned);
63 public boolean getNotificationsBanned(String pkg, int uid) {
65 final boolean enabled = sINM.areNotificationsEnabledForPackage(pkg, uid);
139 public int uid; field in class:NotificationBackend.AppRow
    [all...]

Completed in 2226 milliseconds

1 2 3 4 5 6 7 8 91011>>