Searched defs:uid (Results 1 - 25 of 489) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/appwidget/
H A DAppWidgetManagerInternal.java33 * Gets the packages from which the uid hosts widgets.
35 * @param uid The potential host UID.
38 public abstract @Nullable ArraySet<String> getHostedWidgetPackages(int uid); argument
/frameworks/support/room/compiler/src/test/data/common/input/
H A DBook.java23 int uid; field in class:Book
H A DNotAnEntity.java21 int uid; field in class:NotAnEntity
H A DUser.java22 int uid; field in class:User
/frameworks/base/keystore/java/android/security/keystore/
H A DAndroidKeyStorePrivateKey.java28 public AndroidKeyStorePrivateKey(String alias, int uid, String algorithm) { argument
29 super(alias, uid, algorithm);
H A DAndroidKeyStoreSecretKey.java28 public AndroidKeyStoreSecretKey(String alias, int uid, String algorithm) { argument
29 super(alias, uid, algorithm);
H A DAndroidKeyStoreECPrivateKey.java31 public AndroidKeyStoreECPrivateKey(String alias, int uid, ECParameterSpec params) { argument
32 super(alias, uid, KeyProperties.KEY_ALGORITHM_EC);
H A DAndroidKeyStoreLoadStoreParameter.java26 AndroidKeyStoreLoadStoreParameter(int uid) { argument
27 mUid = uid;
H A DAndroidKeyStoreRSAPrivateKey.java32 public AndroidKeyStoreRSAPrivateKey(String alias, int uid, BigInteger modulus) { argument
33 super(alias, uid, KeyProperties.KEY_ALGORITHM_RSA);
/frameworks/base/services/core/java/com/android/server/
H A DAlarmManagerInternal.java20 void removeAlarmsForUid(int uid); argument
H A DNetworkManagementInternal.java26 * Checks if network is restricted for {@param uid} as per the app idle state, device idle mode,
29 public abstract boolean isNetworkRestrictedForUid(int uid); argument
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DBinderUtil.java22 * 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) { argument
30 Binder.restoreCallingIdentity((((long) uid) << 32) | Binder.getCallingPid());
/frameworks/av/include/media/
H A DIAudioPolicyServiceClient.h30 uid_t uid; member in struct:android::record_client_info
/frameworks/av/media/libaudioclient/include/media/
H A DIAudioPolicyServiceClient.h30 uid_t uid; member in struct:android::record_client_info
/frameworks/av/media/libmediaextractor/
H A DMediaExtractor.cpp30 uid_t uid = getuid(); local
31 struct passwd *pw = getpwuid(uid);
32 ALOGV("extractor created in uid: %d (%s)", getuid(), pw->pw_name);
/frameworks/base/core/java/android/net/
H A DCredentials.java26 /** 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) { argument
33 this.uid = uid;
42 return uid;
/frameworks/base/core/java/android/os/
H A DBatteryStatsInternal.java39 * @param uid the uid of the app.
43 public abstract void noteJobsDeferred(int uid, int numDeferred, long sinceLast); argument
H A DNullVibrator.java47 public void vibrate(int uid, String opPkg, argument
/frameworks/base/services/core/java/com/android/server/security/
H A DKeyAttestationApplicationIdProviderService.java47 public KeyAttestationApplicationId getKeyAttestationApplicationId(int uid) argument
55 String[] packageNames = mPackageManager.getPackagesForUid(uid);
57 throw new RemoteException("No packages for uid");
59 int userId = UserHandle.getUserId(uid);
/frameworks/native/libs/vr/libvr_manager/
H A Dtrusted_uids.cpp15 bool IsTrustedUid(uid_t uid, bool use_cache) { argument
23 if (uid == AID_SYSTEM)
29 auto it = uid_cache.find(uid);
43 String16("android.permission.RESTRICTED_VR_ACCESS"), -1, uid);
45 // Cache the information for this uid to avoid future Java calls.
46 uid_cache[uid] = trusted;
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioSourceDescriptor.h36 uid_t uid) :
37 mDevice(device), mAttributes(*attributes), mUid(uid) {}
35 AudioSourceDescriptor(const sp<DeviceDescriptor> device, const audio_attributes_t *attributes, uid_t uid) argument
/frameworks/base/cmds/statsd/src/config/
H A DConfigKey.cpp29 ConfigKey::ConfigKey(int uid, const int64_t& id) : mId(id), mUid(uid) { argument
/frameworks/base/core/java/android/content/
H A DPermissionChecker.java84 * @param uid The uid for which to check.
92 int pid, int uid, @Nullable String packageName) {
93 if (context.checkPermission(permission, pid, uid) == PackageManager.PERMISSION_DENIED) {
104 String[] packageNames = context.getPackageManager().getPackagesForUid(uid);
91 checkPermission(@onNull Context context, @NonNull String permission, int pid, int uid, @Nullable String packageName) argument
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareService.java59 private void checkPermission(int pid, int uid, int monitoringType) { argument
60 if (mGeofenceHardwareImpl.getAllowedResolutionLevel(pid, uid) <
/frameworks/base/core/java/android/net/metrics/
H A DWakeupEvent.java30 public int uid; field in class:WakeupEvent
45 j.add("uid: " + Integer.toString(uid));

Completed in 916 milliseconds

1234567891011>>