/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | WifiPermissionsUtilTest.java | 93 private int mUid; field in WifiPermissionsUtilTest 124 mUid = MANAGED_PROFILE_UID; // do not really care about this value in testCheckConfigOverridePermissionApproved() 131 assertTrue(codeUnderTest.checkConfigOverridePermission(mUid)); in testCheckConfigOverridePermissionApproved() 139 mUid = OTHER_USER_UID; // do not really care about this value in testCheckConfigOverridePermissionDenied() 146 assertFalse(codeUnderTest.checkConfigOverridePermission(mUid)); in testCheckConfigOverridePermissionDenied() 154 mUid = OTHER_USER_UID; // do not really care about this value in testCheckConfigOverridePermissionWithException() 159 doThrow(new RemoteException("Failed to check permissions for " + mUid)) in testCheckConfigOverridePermissionWithException() 160 .when(mMockPermissionsWrapper).getOverrideWifiConfigPermission(mUid); in testCheckConfigOverridePermissionWithException() 161 assertFalse(codeUnderTest.checkConfigOverridePermission(mUid)); in testCheckConfigOverridePermissionWithException() 176 mUid = MANAGED_PROFILE_UID; in testCanReadPeersMacAddressCurrentUserAndAllPermissions() [all …]
|
/frameworks/base/core/java/android/app/usage/ |
D | CacheQuotaHint.java | 39 private final int mUid; field in CacheQuotaHint 49 this.mUid = builder.mUid; in CacheQuotaHint() 59 return mUid; in getUid() 73 dest.writeInt(mUid); in writeToParcel() 89 && mUid == other.mUid && mQuota == other.mQuota; in equals() 97 return Objects.hash(this.mUuid, this.mUid, this.mUsageStats, this.mQuota); in hashCode() 102 private int mUid; field in CacheQuotaHint.Builder 123 mUid = uid; in setUid()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputBinding.java | 43 final int mUid; field in InputBinding 62 mUid = uid; in InputBinding() 76 mUid = binding.getUid(); in InputBinding() 83 mUid = source.readInt(); in InputBinding() 107 return mUid; in getUid() 120 + " / uid " + mUid + " / pid " + mPid + "}"; in toString() 131 dest.writeInt(mUid); in writeToParcel()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreKey.java | 28 private final int mUid; field in AndroidKeyStoreKey 33 mUid = uid; in AndroidKeyStoreKey() 42 return mUid; in getUid() 68 result = prime * result + mUid; in hashCode() 98 if (mUid != other.mUid) { in equals()
|
D | AndroidKeyStoreSpi.java | 87 private int mUid = KeyStore.UID_SELF; field in AndroidKeyStoreSpi 95 mKeyStore, privateKeyAlias, mUid); in engineGetKey() 99 mKeyStore, secretKeyAlias, mUid); in engineGetKey() 119 final byte[] caBytes = mKeyStore.get(Credentials.CA_CERTIFICATE + alias, mUid); in engineGetCertificateChain() 145 byte[] encodedCert = mKeyStore.get(Credentials.USER_CERTIFICATE + alias, mUid); in engineGetCertificate() 150 encodedCert = mKeyStore.get(Credentials.CA_CERTIFICATE + alias, mUid); in engineGetCertificate() 187 if (mKeyStore.contains(privateKeyAlias, mUid)) { in getCertificateForPrivateKeyEntry() 193 return wrapIntoKeyStoreCertificate(privateKeyAlias, mUid, cert); in getCertificateForPrivateKeyEntry() 239 final long epochMillis = mKeyStore.getmtime(alias, mUid); in getModificationDate() 526 Credentials.deleteAllTypesForAlias(mKeyStore, alias, mUid); in setPrivateKeyEntry() [all …]
|
D | AndroidKeyStoreLoadStoreParameter.java | 24 private final int mUid; field in AndroidKeyStoreLoadStoreParameter 27 mUid = uid; in AndroidKeyStoreLoadStoreParameter() 36 return mUid; in getUid()
|
D | KeyGenParameterSpec.java | 243 private final int mUid; field in KeyGenParameterSpec 315 mUid = uid; in KeyGenParameterSpec() 356 return mUid; in getUid() 634 private int mUid = KeyStore.UID_SELF; field in KeyGenParameterSpec.Builder 691 mUid = uid; in setUid() 1152 mUid, in build()
|
/frameworks/base/services/tests/notification/src/com/android/server/notification/ |
D | BadgeExtractorTest.java | 52 private int mUid = 1000; field in BadgeExtractorTest 64 when(mConfig.getNotificationChannel(mPkg, mUid, "a", false)).thenReturn(channel); in getNotificationRecord() 73 StatusBarNotification sbn = new StatusBarNotification(mPkg, mPkg, mId, mTag, mUid, in getNotificationRecord() 89 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(true); in testAppYesChannelNo() 103 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(false); in testAppNoChannelYes() 117 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(true); in testAppYesChannelYes() 131 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(false); in testAppNoChannelNo() 145 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(true); in testAppYesChannelYesUserNo()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
D | BandwidthTest.java | 58 private int mUid; field in BandwidthTest 75 mUid = Process.myUid(); in setUp() 112 NetworkStats pre_test_stats = fetchDataFromProc(mUid); in downloadFile() 123 NetworkStats post_test_stats = fetchDataFromProc(mUid); in downloadFile() 132 addStatsToResults(PROF_LABEL, prof_stats, results, mUid); in downloadFile() 133 addStatsToResults(PROC_LABEL, proc_stats, results, mUid); in downloadFile() 172 NetworkStats pre_test_stats = fetchDataFromProc(mUid); in uploadFile() 177 NetworkStats post_test_stats = fetchDataFromProc(mUid); in uploadFile() 186 addStatsToResults(PROF_LABEL, prof_stats, results, mUid); in uploadFile() 187 addStatsToResults(PROC_LABEL, proc_stats, results, mUid); in uploadFile() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiMulticastLockManager.java | 61 int mUid; field in WifiMulticastLockManager.Multicaster 66 mUid = Binder.getCallingUid(); in Multicaster() 81 removeMulticasterLocked(i, mUid); in binderDied() 91 return mUid; in getUid() 95 return "Multicaster{" + mTag + " uid=" + mUid + "}"; in toString()
|
D | WifiLockManager.java | 287 int mUid; field in WifiLockManager.WifiLock 295 mUid = Binder.getCallingUid(); in WifiLock() 310 return mUid; in getUid() 326 return "WifiLock{" + this.mTag + " type=" + this.mMode + " uid=" + mUid + "}"; in toString()
|
/frameworks/base/services/core/java/com/android/server/ |
D | VibratorService.java | 117 private final int mUid; field in VibratorService.Vibration 126 mUid = uid; in Vibration() 155 return (mUid == Process.SYSTEM_UID || mUid == 0 || SYSTEM_UI_PACKAGE.equals(mOpPkg)) in isSystemHapticFeedback() 164 private final int mUid; field in VibratorService.VibrationInfo 172 mUid = uid; in VibrationInfo() 186 .append(mUid) in toString() 409 vib.mStartTime, vib.mEffect, vib.mUsageHint, vib.mUid, vib.mOpPkg)); in addToPreviousVibrationsLocked() 483 Slog.w(TAG, "Would be an error: vibrate from uid " + vib.mUid); in startVibrationLocked() 494 doVibratorOn(oneShot.getTiming(), oneShot.getAmplitude(), vib.mUid, vib.mUsageHint); in startVibrationInnerLocked() 500 mThread = new VibrateThread(waveform, vib.mUid, vib.mUsageHint); in startVibrationInnerLocked() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbPermissionActivity.java | 57 private int mUid; field in UsbPermissionActivity 69 mUid = intent.getIntExtra(Intent.EXTRA_UID, -1); in onCreate() 128 service.grantDevicePermission(mDevice, mUid); in onDestroy() 130 final int userId = UserHandle.getUserId(mUid); in onDestroy() 138 service.grantAccessoryPermission(mAccessory, mUid); in onDestroy() 140 final int userId = UserHandle.getUserId(mUid); in onDestroy()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvRemoteProviderProxy.java | 51 private final int mUid; field in TvRemoteProviderProxy 75 mUid = uid; in TvRemoteProviderProxy() 328 if (mActiveConnection == this && Binder.getCallingUid() == mUid) { in openInputBridge() 354 if (mActiveConnection == this && Binder.getCallingUid() == mUid) { in closeInputBridge() 379 if (mActiveConnection == this && Binder.getCallingUid() == mUid) { in clearInputBridge() 404 if (mActiveConnection == this && Binder.getCallingUid() == mUid) { in sendTimestamp() 426 if (mActiveConnection == this && Binder.getCallingUid() == mUid) { in sendKeyDown() 452 if (mActiveConnection == this && Binder.getCallingUid() == mUid) { in sendKeyUp() 477 if (mActiveConnection == this && Binder.getCallingUid() == mUid) { in sendPointerDown() 503 if (mActiveConnection == this && Binder.getCallingUid() == mUid) { in sendPointerUp() [all …]
|
/frameworks/base/core/java/android/accounts/ |
D | GrantCredentialsPermissionActivity.java | 44 private int mUid; field in GrantCredentialsPermissionActivity 66 mUid = extras.getInt(EXTRAS_REQUESTING_UID); in onCreate() 68 final String[] packages = pm.getPackagesForUid(mUid); in onCreate() 162 AccountManager.get(this).updateAppPermission(mAccount, mAuthTokenType, mUid, true); in onClick() 170 AccountManager.get(this).updateAppPermission(mAccount, mAuthTokenType, mUid, false); in onClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaProjectionPermissionActivity.java | 54 private int mUid; field in MediaProjectionPermissionActivity 76 mUid = aInfo.uid; in onCreate() 84 if (mService.hasProjectionPermission(mUid, mPackageName)) { in onCreate() 85 setResult(RESULT_OK, getMediaProjectionIntent(mUid, mPackageName, in onCreate() 167 mUid, mPackageName, mPermanentGrant)); in onClick()
|
/frameworks/native/services/sensorservice/ |
D | SensorRegistrationInfo.h | 48 mUid = (thread != nullptr) ? thread->getCallingUid() : -1; in SensorRegistrationInfo() 72 << " uid=" << std::setw(5) << mUid << " package=" << mPackageName; in dump() 84 uid_t mUid; variable
|
D | SensorDirectConnection.h | 43 uid_t getUid() const { return mUid; } in getUid() 69 const uid_t mUid; variable
|
/frameworks/base/core/java/android/metrics/ |
D | MetricsReader.java | 159 int mUid; field in MetricsReader.Event 165 mUid = uid; in Event() 173 mUid = nativeEvent.getUid(); in Event() 186 return mUid; in getUid()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareClientState.java | 59 private final int mUid; field in WifiAwareClientState 74 mUid = uid; in WifiAwareClientState() 105 return mUid; in getUid() 254 return mContext.checkPermission(Manifest.permission.ACCESS_COARSE_LOCATION, mPid, mUid) in hasLocationingPermission() 256 AppOpsManager.OP_COARSE_LOCATION, mUid, mCallingPackage) in hasLocationingPermission()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioSourceDescriptor.h | 37 mDevice(device), mAttributes(*attributes), mUid(uid) {} in AudioSourceDescriptor() 46 uid_t mUid; variable
|
D | SessionRoute.h | 45 : mUid(uid), in SessionRoute() 61 uid_t mUid; variable
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessState.java | 131 private final int mUid; field in ProcessState 170 mUid = uid; in ProcessState() 187 mUid = uid; in ProcessState() 196 ProcessState pnew = new ProcessState(this, mPackage, mUid, mVersion, mName, now); in clone() 231 return mUid; in getUid() 282 + " pkg=" + mPackage + " uid=" + mUid + " common.name=" + mCommonProcess.mName); in ensureNotDead() 426 + " uid=" + mUid + " proc=" + mName + " service=" + serviceName); in decActiveServices() 462 + mPackage + " uid=" + mUid + " name=" + mName); in decStartedServices() 556 SparseArray<PackageState> vpkg = mStats.mPackages.get(pkgName, mUid); in pullFixedProc() 559 + " / " + mUid); in pullFixedProc() [all …]
|
/frameworks/base/services/midi/java/com/android/server/midi/ |
D | MidiService.java | 134 private final int mUid; field in MidiService.Client 146 mUid = Binder.getCallingUid(); in Client() 151 return mUid; in getUid() 194 if (!device.isUidAllowed(mUid)) return; in deviceAdded() 208 if (!device.isUidAllowed(mUid)) return; in deviceRemoved() 222 if (!device.isUidAllowed(mUid)) return; in deviceStatusChanged() 253 sb.append(mUid); in toString() 294 private final int mUid; field in MidiService.Device 308 mUid = uid; in Device() 317 mUid = mBluetoothServiceUid; in Device() [all …]
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | PlaybackActivityMonitor.java | 543 private final int mUid; field in PlaybackActivityMonitor.DuckingManager.DuckedApp 547 mUid = uid; in DuckedApp() 551 pw.print("\t uid:" + mUid + " piids:"); in dump() 569 + apc.getPlayerInterfaceId() + " uid:" + mUid); in addDuck() 575 Log.e(TAG, "Error ducking player piid:" + piid + " uid:" + mUid, e); in addDuck() 584 Log.v(TAG, "unducking player " + piid + " uid:" + mUid); in removeUnduckAll() 589 Log.e(TAG, "Error unducking player piid:" + piid + " uid:" + mUid, e); in removeUnduckAll() 595 + ", player not found for uid " + mUid); in removeUnduckAll()
|