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

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/app/
IUidObserver.aidl 22 * General report of a state change of an uid.
24 void onUidStateChanged(int uid, int procState);
27 * Report that there are no longer any processes running for a uid.
29 void onUidGone(int uid);
32 * Report that a uid is now active (no longer idle).
34 void onUidActive(int uid);
37 * Report that a uid is idle -- it has either been running in the background for
40 void onUidIdle(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 20 int getPriority(String packageName, int uid);
22 void setPriority(String packageName, int uid, int priority);
24 int getVisibilityOverride(String packageName, int uid);
26 void setVisibilityOverride(String packageName, int uid, int visibility);
28 void setImportance(String packageName, int uid, int importance);
30 int getImportance(String packageName, int uid);
  /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;
INetworkPolicyListener.aidl 22 void onUidRulesChanged(int uid, int uidRules);
25 void onRestrictBackgroundWhitelistChanged(int uid, boolean whitelisted);
26 void onRestrictBackgroundBlacklistChanged(int uid, boolean blacklisted);
INetworkPolicyManager.aidl 32 /** Control UID policies. */
33 void setUidPolicy(int uid, int policy);
34 void addUidPolicy(int uid, int policy);
35 void removeUidPolicy(int uid, int policy);
36 int getUidPolicy(int uid);
39 boolean isUidForeground(int uid);
62 void addRestrictBackgroundWhitelistedUid(int uid);
63 void removeRestrictBackgroundWhitelistedUid(int uid);
65 /** Gets the restrict background status based on the caller's 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);
  /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;
  /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);
  /external/autotest/tko/
unique_cookie.py 11 uid = ''
12 ## try to retrieve uid from Cookie
22 uid = uid_cookie.replace(key, '')
24 if not uid:
25 uid = str(random.random())[2:16] # random string of 14 digits
26 set_cookie_statement = 'Set-Cookie:%s=%s;' % (cookie_key, uid)
30 return uid
  /frameworks/base/core/java/com/android/internal/app/
IBatteryStats.aidl 33 void noteStartSensor(int uid, int sensor);
34 void noteStopSensor(int uid, int sensor);
35 void noteStartVideo(int uid);
36 void noteStopVideo(int uid);
37 void noteStartAudio(int uid);
38 void noteStopAudio(int uid);
41 void noteFlashlightOn(int uid);
42 void noteFlashlightOff(int uid);
43 void noteStartCamera(int uid);
44 void noteStopCamera(int uid);
    [all...]
  /frameworks/base/keystore/java/android/security/keystore/
AndroidKeyStorePrivateKey.java 28 public AndroidKeyStorePrivateKey(String alias, int uid, String algorithm) {
29 super(alias, uid, algorithm);
AndroidKeyStoreSecretKey.java 28 public AndroidKeyStoreSecretKey(String alias, int uid, String algorithm) {
29 super(alias, uid, algorithm);
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
BinderUtil.java 22 * Utilities for faking the calling uid in Binder.
26 * Fake the calling uid in Binder.
27 * @param uid the calling uid that Binder should return from now on
29 public static void setUid(int uid) {
30 Binder.restoreCallingIdentity((((long) uid) << 32) | Binder.getCallingPid());
  /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/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/av/services/audioflinger/
ServiceUtilities.h 22 bool isTrustedCallingUid(uid_t uid);
23 bool recordingAllowed(const String16& opPackageName, pid_t pid, uid_t uid);
24 bool captureAudioOutputAllowed(pid_t pid, uid_t uid);
  /system/core/include/cutils/
multiuser.h 35 extern userid_t multiuser_get_user_id(uid_t uid);
36 extern appid_t multiuser_get_app_id(uid_t uid);
38 extern appid_t multiuser_get_shared_app_gid(uid_t uid);
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);
  /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...]

Completed in 1282 milliseconds

1 2 3 4 5 6 7 8 91011>>