/frameworks/base/core/java/android/app/ |
IUidObserver.aidl | 22 * General report of a state change of an uid. 24 * @param uid The uid for which the state change is being reported. 25 * @param procState The updated process state for the uid. 26 * @param procStateSeq The sequence no. associated with process state change of the uid, 29 void onUidStateChanged(int uid, int procState, long procStateSeq); 32 * Report that there are no longer any processes running for a uid. 34 void onUidGone(int uid, boolean disabled); 37 * Report that a uid is now active (no longer idle). 39 void onUidActive(int uid); [all...] |
IProcessObserver.aidl | 21 void onForegroundActivitiesChanged(int pid, int uid, boolean foregroundActivities); 22 void onProcessDied(int pid, 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 onUidPoliciesChanged(int uid, int uidPolicies);
|
/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);
|
/frameworks/base/services/core/java/com/android/server/net/ |
NetworkPolicyManagerInternal.java | 32 * @return true if the given uid is restricted from doing networking on metered networks. 34 public abstract boolean isUidRestrictedOnMeteredNetworks(int uid); 37 * @return true if networking is blocked on the given interface for the given uid according 40 public abstract boolean isUidNetworkingBlocked(int uid, String ifname);
|
/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/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); 25 bool captureHotwordAllowed(pid_t pid, uid_t 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/ |
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/ |
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);
|
/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/libs/binder/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);
|
/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); 34 int uid); 35 void createNotificationChannelGroup(String pkg, int uid, NotificationChannelGroup group, 38 int uid, boolean includeDeleted); 39 void createNotificationChannel(String pkg, int uid, NotificationChannel channel, 41 void updateNotificationChannel(String pkg, int uid, NotificationChannel channel, boolean fromUser); 42 NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, boolean includeDeleted) [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
|
/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/java/android/net/metrics/ |
WakeupEvent.java | 27 public int uid; field in class:WakeupEvent 31 return String.format("WakeupEvent(%tT.%tL, %s, uid: %d)", 32 timestampMs, timestampMs, iface, 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);
|