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

1234567891011>>

/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);
H A DAndroidKeyStoreECPublicKey.java33 public AndroidKeyStoreECPublicKey(String alias, int uid, byte[] x509EncodedForm, ECParameterSpec params, argument
35 super(alias, uid, KeyProperties.KEY_ALGORITHM_EC, x509EncodedForm);
40 public AndroidKeyStoreECPublicKey(String alias, int uid, ECPublicKey info) { argument
41 this(alias, uid, info.getEncoded(), info.getParams(), info.getW());
H A DAndroidKeyStorePublicKey.java31 public AndroidKeyStorePublicKey(String alias, int uid, String algorithm, byte[] x509EncodedForm) { argument
32 super(alias, uid, algorithm);
H A DAndroidKeyStoreRSAPublicKey.java31 public AndroidKeyStoreRSAPublicKey(String alias, int uid, byte[] x509EncodedForm, BigInteger modulus, argument
33 super(alias, uid, KeyProperties.KEY_ALGORITHM_RSA, x509EncodedForm);
38 public AndroidKeyStoreRSAPublicKey(String alias, int uid, RSAPublicKey info) { argument
39 this(alias, uid, info.getEncoded(), info.getModulus(), info.getPublicExponent());
/frameworks/base/services/core/java/com/android/server/
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/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/services/core/java/com/android/server/job/
H A DJobSchedulerInternal.java37 void addBackingUpUid(int uid); argument
38 void removeBackingUpUid(int uid); 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/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/os/
H A DNullVibrator.java47 public void vibrate(int uid, String opPkg, argument
H A DSystemVibrator.java70 public void vibrate(int uid, String opPkg, argument
77 mService.vibrate(uid, opPkg, effect, usageForAttributes(attributes), mToken);
/frameworks/base/core/java/android/os/health/
H A DSystemHealthManager.java72 * metrics for the given uid (user-id, which in usually corresponds to application).
79 * @param uid User ID for a given application.
85 public HealthStats takeUidSnapshot(int uid) { argument
87 final HealthStatsParceler parceler = mBatteryStats.takeUidSnapshot(uid);
/frameworks/base/core/java/android/os/storage/
H A DStorageManagerInternal.java31 * Gets the external storage mount mode for the given uid.
33 * @param uid The UID for which to determine mount mode.
42 public int getMountMode(int uid, String packageName); argument
47 * @param uid The UID for which to determine whether it has external storage.
53 public boolean hasExternalStorage(int uid, String packageName); argument
68 * @param uid The UID for which policy changed.
71 public abstract void onExternalStoragePolicyChanged(int uid, String packageName); argument
77 * @param uid The UID for which to get mount mode.
81 public abstract int getExternalStorageMountMode(int uid, String packageName); argument
/frameworks/base/core/java/com/android/internal/app/
H A DProcessMap.java26 public E get(String name, int uid) { argument
29 return uids.get(uid);
32 public E put(String name, int uid, E value) { argument
38 uids.put(uid, value);
42 public E remove(String name, int uid) { argument
45 final E old = uids.removeReturnOld(uid);
/frameworks/base/core/jni/
H A Dandroid_server_NetworkManagementSocketTagger.cpp35 jint tagNum, jint uid) {
43 int res = qtaguid_tagSocket(userFd, tagNum, uid);
67 jint setNum, jint uid) {
69 int res = qtaguid_setCounterSet(setNum, uid);
77 jint tagNum, jint uid) {
79 int res = qtaguid_deleteTagData(tagNum, uid);
33 QTagUid_tagSocketFd(JNIEnv* env, jclass, jobject fileDescriptor, jint tagNum, jint uid) argument
66 QTagUid_setCounterSet(JNIEnv* env, jclass, jint setNum, jint uid) argument
76 QTagUid_deleteTagData(JNIEnv* env, jclass, jint tagNum, jint uid) argument
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DMockBatteryStatsImpl.java44 public TimeBase getOnBatteryBackgroundTimeBase(int uid) { argument
45 return getUidStatsLocked(uid).mOnBatteryBackgroundTimeBase;
48 public TimeBase getOnBatteryScreenOffBackgroundTimeBase(int uid) { argument
49 return getUidStatsLocked(uid).mOnBatteryScreenOffBackgroundTimeBase;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DRecentsPackageMonitor.java56 public void onPackageRemoved(String packageName, int uid) { argument
63 public boolean onPackageChanged(String packageName, int uid, String[] components) { argument
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkPolicyManagerInternal.java32 * @return true if the given uid is restricted from doing networking on metered networks.
34 public abstract boolean isUidRestrictedOnMeteredNetworks(int uid); argument
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); argument

Completed in 362 milliseconds

1234567891011>>