/frameworks/base/core/tests/coretests/src/android/os/ |
D | ProcessTest.java | 35 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/base/services/core/java/com/android/server/media/ |
D | MediaSessionStack.java | 160 if (mMediaButtonSession != null && mMediaButtonSession.getUid() == record.getUid()) { in onPlaystateChanged() 162 findMediaButtonSession(mMediaButtonSession.getUid()); in onPlaystateChanged() 196 mAudioPlaybackMonitor.cleanUpAudioPlaybackUids(mediaButtonSession.getUid()); in updateMediaButtonSessionIfNeeded() 217 if (uid == session.getUid()) { in findMediaButtonSession() 219 mAudioPlaybackMonitor.isPlaybackActive(session.getUid())) { in findMediaButtonSession()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsHelperTest.java | 108 when(mNormalBatterySipper.getUid()).thenReturn(UID); in setUp() 118 when(mSystemBatterySipper.getUid()).thenReturn(Process.SYSTEM_UID); in setUp() 173 when(mNormalBatterySipper.getUid()).thenReturn(Process.ROOT_UID); in testShouldHideSipper_TypeSystem_ReturnTrue() 232 doReturn(UID).when(mNormalBatterySipper).getUid(); in testIsTypeSystem_systemPackage_returnTrue() 242 doReturn(UID).when(mNormalBatterySipper).getUid(); in testIsTypeService_servicePackage_returnTrue() 266 doReturn(uidCode).when(sipper).getUid(); in createTestSmearBatterySipper() 271 doReturn(uidCode).when(uid).getUid(); in createTestSmearBatterySipper()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationDataTest.java | 61 when(mMockStatusBarNotification.getUid()).thenReturn(UID_NORMAL); in setUp() 83 when(mMockStatusBarNotification.getUid()).thenReturn(UID_ALLOW_DURING_SETUP); in testShowNotificationEvenIfUnprovisioned_FalseIfNoExtra() 106 when(mMockStatusBarNotification.getUid()).thenReturn(UID_ALLOW_DURING_SETUP); in testShowNotificationEvenIfUnprovisioned_TrueIfHasPermissionAndExtra()
|
/frameworks/base/core/java/android/metrics/ |
D | MetricsReader.java | 96 .setUid(event.getUid()) in read() 173 mUid = nativeEvent.getUid(); in Event() 185 public int getUid() { in getUid() method in MetricsReader.Event
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputBinding.java | 76 mUid = binding.getUid(); in InputBinding() 106 public int getUid() { in getUid() method in InputBinding
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreKeyGeneratorSpi.java | 312 Credentials.deleteAllTypesForAlias(mKeyStore, spec.getKeystoreAlias(), spec.getUid()); in engineGenerateKey() 317 spec.getUid(), in engineGenerateKey() 332 keyAliasInKeystore, spec.getUid(), keyAlgorithmJCA); in engineGenerateKey() 338 mKeyStore, spec.getKeystoreAlias(), spec.getUid()); in engineGenerateKey()
|
D | AndroidKeyStoreECDSASignatureSpi.java | 158 key.getAlias(), null, null, key.getUid(), keyCharacteristics); in initKey() 160 throw getKeyStore().getInvalidKeyException(key.getAlias(), key.getUid(), errorCode); in initKey()
|
D | AndroidKeyStoreLoadStoreParameter.java | 35 int getUid() { in getUid() method in AndroidKeyStoreLoadStoreParameter
|
D | KeyStoreCryptoOperationUtils.java | 54 keyStore.getInvalidKeyException(key.getAlias(), key.getUid(), beginOpResultCode); in getInvalidKeyExceptionForInit()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | CpuPowerCalculator.java | 47 Log.d(TAG, "UID " + u.getUid() + ": CPU cluster #" + cluster + " step #" in calculateApp() 57 Log.d(TAG, "UID " + u.getUid() + ": CPU time=" + app.cpuTimeMs + " ms power=" in calculateApp()
|
D | BatterySipper.java | 164 public int getUid() { in getUid() method in BatterySipper 169 return uidObj.getUid(); in getUid()
|
D | BatteryStatsHelper.java | 563 Log.d(TAG, String.format("UID %d: total power=%s", u.getUid(), in processAppUsage() 568 if (totalPower != 0 || u.getUid() == 0) { in processAppUsage() 572 final int uid = app.getUid(); in processAppUsage() 874 activityTimeArray.put(uid.getUid(), timeMs); in smearScreenBatterySipper() 883 sipper.screenPowerMah = screenPowerMah * activityTimeArray.get(sipper.getUid(), 0) in smearScreenBatterySipper() 908 final String[] packages = mPackageManager.getPackagesForUid(sipper.getUid()); in isTypeService() 926 final int uid = sipper.uidObj == null ? -1 : sipper.getUid(); in isTypeSystem()
|
/frameworks/base/core/java/android/app/usage/ |
D | CacheQuotaHint.java | 58 public int getUid() { in getUid() method in CacheQuotaHint 111 setUid(hint.getUid()); in Builder()
|
D | NetworkStats.java | 289 public int getUid() { in getUid() method in NetworkStats.Bucket 527 mHistory = mSession.getHistoryIntervalForUid(mTemplate, getUid(), in stepHistory() 588 bucketOut.mUid = Bucket.convertUid(getUid()); in getNextHistoryBucket() 619 private int getUid() { in getUid() method in NetworkStats
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiMulticastLockManager.java | 90 public int getUid() { in getUid() method in WifiMulticastLockManager.Multicaster 163 if ((m != null) && (m.getUid() == uid)) { in releaseLock()
|
/frameworks/base/core/java/android/net/ |
D | Credentials.java | 41 public int getUid() { in getUid() method in Credentials
|
/frameworks/av/services/mediaanalytics/ |
D | MediaAnalyticsService.cpp | 231 int uid_given = item->getUid(); in submit() 265 setPkgInfo(item, item->getUid(), true, true); in submit() 268 setPkgInfo(item, item->getUid(), true, true); in submit() 275 uid_given, item->getUid(), in submit() 657 if (nitem->getUid() != oitem->getUid()) { in compatibleItems()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | CacheQuotaStrategy.java | 227 int uid = request.getUid(); in pushProcessedQuotas() 236 "Failed to set cache quota for " + request.getUid(), in pushProcessedQuotas() 250 volumeMap.put(UserHandle.getUid(userId, appId), quota); in insertIntoQuotaMap() 337 out.attribute(null, ATTR_UID, Integer.toString(request.getUid())); in saveToXml()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | RecentLocationApps.java | 82 int uid = ops.getUid(); in getAppList() 137 int uid = ops.getUid(); in getRequestFromOps()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationChannelExtractor.java | 46 record.sbn.getUid(), record.getChannel().getId(), false)); in process()
|
D | BadgeExtractor.java | 46 mConfig.canShowBadge(record.sbn.getPackageName(), record.sbn.getUid()); in process()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceMigrationTest.java | 60 setUpPackageManagerForAdmin(admin2, UserHandle.getUid(10, 123)); in testMigration() 61 setUpPackageManagerForAdmin(admin3, UserHandle.getUid(11, 456)); in testMigration() 278 setUpPackageManagerForAdmin(admin1, UserHandle.getUid(10, 123)); in testMigration3_managedProfileOwner()
|
/frameworks/av/include/media/ |
D | MidiDeviceInfo.h | 39 int getUid() const { return mId; } in getUid() function
|
/frameworks/av/media/libmedia/include/media/ |
D | MidiDeviceInfo.h | 39 int getUid() const { return mId; } in getUid() function
|