Home
last modified time | relevance | path

Searched refs:getUid (Results 1 – 25 of 86) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/android/os/
DProcessTest.java35 assertEquals(UserHandle.getUid(1, Process.SYSTEM_UID), Process.getUidForName("u1_system")); in testProcessGetUidFromName()
36 assertEquals(UserHandle.getUid(2, Process.FIRST_ISOLATED_UID), in testProcessGetUidFromName()
38 assertEquals(UserHandle.getUid(3, Process.FIRST_APPLICATION_UID + 100), in testProcessGetUidFromName()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationUtilTest.java51 configuration.creatorUid = UserHandle.getUid(OTHER_USER_ID, 0); in isVisibleToAnyProfile()
59 configuration.creatorUid = UserHandle.getUid(CURRENT_USER_ID, 0); in isVisibleToAnyProfile()
63 configuration.creatorUid = UserHandle.getUid(CURRENT_USER_MANAGED_PROFILE_USER_ID, 0); in isVisibleToAnyProfile()
/frameworks/base/core/java/android/view/inputmethod/
DInputBinding.java76 mUid = binding.getUid(); in InputBinding()
106 public int getUid() { in getUid() method in InputBinding
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreKeyGeneratorSpi.java304 Credentials.deleteAllTypesForAlias(mKeyStore, spec.getKeystoreAlias(), spec.getUid()); in engineGenerateKey()
309 spec.getUid(), in engineGenerateKey()
324 keyAliasInKeystore, spec.getUid(), keyAlgorithmJCA); in engineGenerateKey()
330 mKeyStore, spec.getKeystoreAlias(), spec.getUid()); in engineGenerateKey()
DAndroidKeyStoreECDSASignatureSpi.java158 key.getAlias(), null, null, key.getUid(), keyCharacteristics); in initKey()
160 throw getKeyStore().getInvalidKeyException(key.getAlias(), key.getUid(), errorCode); in initKey()
DAndroidKeyStoreLoadStoreParameter.java35 int getUid() { in getUid() method in AndroidKeyStoreLoadStoreParameter
DKeyStoreCryptoOperationUtils.java54 keyStore.getInvalidKeyException(key.getAlias(), key.getUid(), beginOpResultCode); in getInvalidKeyExceptionForInit()
DAndroidKeyStoreKey.java41 int getUid() { in getUid() method in AndroidKeyStoreKey
DAndroidKeyStoreProvider.java204 publicKey.getAlias(), publicKey.getUid(), ((ECKey) publicKey).getParams()); in getAndroidKeyStorePrivateKey()
207 publicKey.getAlias(), publicKey.getUid(), ((RSAKey) publicKey).getModulus()); in getAndroidKeyStorePrivateKey()
/frameworks/base/core/java/android/app/usage/
DNetworkStats.java256 public int getUid() { in getUid() method in NetworkStats.Bucket
479 mHistory = mSession.getHistoryIntervalForUid(mTemplate, getUid(), in stepHistory()
539 bucketOut.mUid = Bucket.convertUid(getUid()); in getNextHistoryBucket()
569 private int getUid() { in getUid() method in NetworkStats
/frameworks/base/core/java/com/android/internal/os/
DBatterySipper.java127 public int getUid() { in getUid() method in BatterySipper
132 return uidObj.getUid(); in getUid()
DCpuPowerCalculator.java57 Log.d(TAG, "UID " + u.getUid() + ": CPU cluster #" + cluster + " step #" in calculateApp()
67 Log.d(TAG, "UID " + u.getUid() + ": CPU time=" + app.cpuTimeMs + " ms power=" in calculateApp()
DWakelockPowerCalculator.java55 Log.d(TAG, "UID " + u.getUid() + ": wake " + app.wakeLockTimeMs in calculateApp()
/frameworks/base/core/java/android/net/
DCredentials.java41 public int getUid() { in getUid() method in Credentials
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationApps.java79 int uid = ops.getUid(); in getAppList()
134 int uid = ops.getUid(); in getRequestFromOps()
/frameworks/base/services/core/java/com/android/server/notification/
DVisibilityExtractor.java46 mConfig.getVisibilityOverride(record.sbn.getPackageName(), record.sbn.getUid())); in process()
DImportanceExtractor.java46 mConfig.getImportance(record.sbn.getPackageName(), record.sbn.getUid())); in process()
DPriorityExtractor.java46 mConfig.getPriority(record.sbn.getPackageName(), record.sbn.getUid())); in process()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java905 if (executing != null && executing.matches(job.getUid(), job.getJobId())) { in stopJobOnServiceContextLocked()
926 if (running != null && running.matches(job.getUid(), job.getJobId())) { in isCurrentlyActiveLocked()
1211 if (ActivityManagerNative.getDefault().getAppStartMode(job.getUid(), in process()
1214 Slog.w(TAG, "Aborting job " + job.getUid() + ":" in process()
1448 (preferredUid == nextPending.getUid() || in assignJobsToContextsLocked()
1460 if (job.getUid() != nextPending.getUid()) { in assignJobsToContextsLocked()
1520 if (map[i] != null && map[i].matches(jobStatus.getUid(), jobStatus.getJobId())) { in findJobContextIdFromMap()
1780 .append(map[i] == null? -1: map[i].getUid()) in printContextIdToJobMap()
1794 .append(js.getUid()) in printPendingQueue()
1852 int uid1 = o1.getUid(); in dumpInternal()
[all …]
DJobStore.java334 out.attribute(null, "uid", Integer.toString(jobStatus.getUid())); in addAttributesToJobTag()
805 final int uid = job.getUid(); in add()
815 final int uid = job.getUid(); in remove()
826 final int uid = job.getUid(); in contains()
881 if (job.getUid() == job.getSourceUid()) { in countJobsForUid()
/frameworks/base/core/java/android/os/
DUserHandle.java168 public static int getUid(@UserIdInt int userId, @AppIdInt int appId) { in getUid() method in UserHandle
190 return getUid(userId, Process.SHARED_USER_GID); in getUserGid()
/frameworks/base/services/core/java/com/android/server/pm/
DBasePermission.java79 userGids[i] = UserHandle.getUid(userId, gids[i]); in computeGids()
/frameworks/base/core/java/android/bluetooth/
DUidTraffic.java69 public int getUid() { in getUid() method in UidTraffic
/frameworks/base/services/core/java/com/android/server/job/controllers/
DJobStatus.java195 this(jobStatus.getJob(), jobStatus.getUid(), in JobStatus()
217 this(rescheduling.job, rescheduling.getUid(), in JobStatus()
289 public int getUid() { in getUid() method in JobStatus
428 return filterUid == -1 || UserHandle.getAppId(getUid()) == filterUid in shouldDump()
/frameworks/native/services/sensorservice/
DSensorEventConnection.h67 uid_t getUid() const { return mUid; } in getUid() function

1234