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

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/app/
IUidObserver.aidl 31 * Report that there are no longer any processes running for a uid.
33 void onUidGone(int uid, boolean disabled);
36 * Report that a uid is now active (no longer idle).
38 void onUidActive(int uid);
41 * Report that a uid is idle -- it has either been running in the background for
44 void onUidIdle(int uid, boolean disabled);
49 * General report of a state change of an uid.
51 * @param uid The uid for which the state change is being reported.
52 * @param procState The updated process state for the uid
    [all...]
IProcessObserver.aidl 21 void onForegroundActivitiesChanged(int pid, int uid, boolean foregroundActivities);
22 void onProcessDied(int pid, int uid);
  /packages/services/Car/car-lib/src/android/car/trust/
ICarTrustAgentTokenRequestDelegate.aidl 34 void addEscrowToken(in byte[] token, int uid);
37 void removeEscrowToken(long handle, int uid);
40 void isEscrowTokenActive(long handle, 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;
  /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...]
  /external/ltp/testcases/kernel/syscalls/utils/
compat_uid.h 30 int UID_SIZE_CHECK(uid_t uid)
33 Return 0 if uid is too large to store
35 return ((uid) & ~0xFFFF)? 0: 1;
41 int UID_SIZE_CHECK(uid_t uid LTP_ATTRIBUTE_UNUSED)
  /frameworks/base/core/java/android/content/pm/
IOnPermissionsChangeListener.aidl 24 void onPermissionsChanged(int uid);
  /packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/
FrontendAppIdentifier.java 20 private final int uid; field in class:FrontendAppIdentifier
23 public FrontendAppIdentifier(int uid, int subscriptionId) {
24 this.uid = uid;
29 return uid;
47 if (uid != that.uid) {
55 int result = uid;
  /frameworks/base/core/java/android/os/storage/
StorageManagerInternal.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...]
  /frameworks/base/services/core/java/com/android/server/
AlarmManagerInternal.java 20 void removeAlarmsForUid(int uid);
NetworkManagementInternal.java 26 * Checks if network is restricted for {@param uid} as per the app idle state, device idle mode,
29 public abstract boolean isNetworkRestrictedForUid(int uid);
  /frameworks/native/services/nativeperms/android/os/
IPermissionController.aidl 22 boolean checkPermission(String permission, int pid, int uid);
23 String[] getPackagesForUid(int uid);
  /frameworks/support/room/compiler/src/test/data/common/input/
NotAnEntity.java 21 int uid; field in class:NotAnEntity
  /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/av/services/audioflinger/
ServiceUtilities.h 24 bool isTrustedCallingUid(uid_t uid);
25 bool recordingAllowed(const String16& opPackageName, pid_t pid, uid_t uid);
26 bool startRecording(const String16& opPackageName, pid_t pid, uid_t uid);
27 void finishRecording(const String16& opPackageName, uid_t uid);
28 bool captureAudioOutputAllowed(pid_t pid, uid_t uid);
29 bool captureHotwordAllowed(pid_t pid, uid_t uid);
33 bool modifyPhoneStateAllowed(pid_t pid, uid_t 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/libs/binder/include/binder/
IBatteryStats.h 33 virtual void noteStartSensor(int uid, int sensor) = 0;
34 virtual void noteStopSensor(int uid, int sensor) = 0;
35 virtual void noteStartVideo(int uid) = 0;
36 virtual void noteStopVideo(int uid) = 0;
37 virtual void noteStartAudio(int uid) = 0;
38 virtual void noteStopAudio(int uid) = 0;
41 virtual void noteFlashlightOn(int uid) = 0;
42 virtual void noteFlashlightOff(int uid) = 0;
43 virtual void noteStartCamera(int uid) = 0;
44 virtual void noteStopCamera(int uid) = 0
    [all...]
  /frameworks/base/services/core/java/com/android/server/notification/
RankingConfig.java 27 void setImportance(String packageName, int uid, int importance);
28 int getImportance(String packageName, int uid);
29 void setShowBadge(String packageName, int uid, boolean showBadge);
30 boolean canShowBadge(String packageName, int uid);
32 boolean isGroupBlocked(String packageName, int uid, String groupId);
35 int uid);
36 void createNotificationChannelGroup(String pkg, int uid, NotificationChannelGroup group,
39 int uid, boolean includeDeleted, boolean includeNonGrouped);
40 void createNotificationChannel(String pkg, int uid, NotificationChannel channel,
42 void updateNotificationChannel(String pkg, int uid, NotificationChannel channel, boolean fromUser)
    [all...]
  /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/android/os/
IPermissionController.aidl 22 boolean checkPermission(String permission, int pid, int uid);
23 int noteOp(String op, int uid, String packageName);
24 String[] getPackagesForUid(int uid);
  /system/core/libprocessgroup/include/processgroup/
processgroup.h 28 int killProcessGroup(uid_t uid, int initialPid, int signal);
32 int killProcessGroupOnce(uid_t uid, int initialPid, int signal);
34 int createProcessGroup(uid_t uid, int initialPid);
36 bool setProcessGroupSwappiness(uid_t uid, int initialPid, int swappiness);
37 bool setProcessGroupSoftLimit(uid_t uid, int initialPid, int64_t softLimitInBytes);
38 bool setProcessGroupLimit(uid_t uid, int initialPid, int64_t limitInBytes);
  /external/ltp/testcases/kernel/syscalls/setfsuid/
setfsuid02.c 23 * call to fail on invalid uid.
45 uid_t uid; local
51 uid = 1;
52 while (getpwuid(uid))
53 uid++;
55 UID16_CHECK(uid, setfsuid, cleanup);
61 TEST(SETFSUID(cleanup, uid));
69 if (TEST_RETURN == uid) {
71 TEST_RETURN, uid);
  /frameworks/base/core/tests/coretests/aidl/com/android/frameworks/coretests/aidl/
IBpcCallbackObserver.aidl 20 void onCallback(int uid);
  /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);

Completed in 1314 milliseconds

1 2 3 4 5 6 7 8 91011>>