Home
last modified time | relevance | path

Searched refs:mUid (Results 1 – 25 of 60) sorted by relevance

123

/frameworks/base/core/java/android/view/inputmethod/
DInputBinding.java43 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/
DAndroidKeyStoreSpi.java87 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()
522 Credentials.deleteAllTypesForAlias(mKeyStore, alias, mUid); in setPrivateKeyEntry()
[all …]
DAndroidKeyStoreKey.java28 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()
DAndroidKeyStoreLoadStoreParameter.java24 private final int mUid; field in AndroidKeyStoreLoadStoreParameter
27 mUid = uid; in AndroidKeyStoreLoadStoreParameter()
36 return mUid; in getUid()
DKeyGenParameterSpec.java243 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/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java58 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/base/services/core/java/com/android/server/
DGraphicsStatsService.java123 data.update(buffer.mPackageName, buffer.mUid, buffer.mProcessBuffer); in processDied()
136 && buffers.mUid == uid) { in fetchActiveBuffersLocked()
153 if (data != null && data.mUid == uid in removeHistoricalDataLocked()
196 final int mUid; field in GraphicsStatsService.ActiveBuffer
205 mUid = uid; in ActiveBuffer()
211 mPreviousData = removeHistoricalDataLocked(mUid, mPackageName); in ActiveBuffer()
233 int mUid; field in GraphicsStatsService.HistoricalData
237 mUid = uid; in update()
DVibratorService.java103 private final int mUid; field in VibratorService.Vibration
123 mUid = uid; in Vibration()
153 return (mUid == Process.SYSTEM_UID || mUid == 0 || SYSTEM_UI_PACKAGE.equals(mOpPkg)) in isSystemHapticFeedback()
385 vib.mPattern, vib.mRepeat, vib.mUsageHint, vib.mUid, vib.mOpPkg)); in addToPreviousVibrationsLocked()
461 vib.mUsageHint, vib.mUid, vib.mOpPkg); in startVibrationLocked()
464 AppOpsManager.OP_VIBRATE, vib.mUid, vib.mOpPkg); in startVibrationLocked()
470 Slog.w(TAG, "Would be an error: vibrate from uid " + vib.mUid); in startVibrationLocked()
478 doVibratorOn(vib.mTimeout, vib.mUid, vib.mUsageHint); in startVibrationLocked()
504 AppOpsManager.OP_VIBRATE, mCurrentVibration.mUid, in reportFinishVibrationLocked()
663 mTmpWorkSource.set(vib.mUid); in VibrateThread()
[all …]
/frameworks/base/services/core/java/com/android/server/tv/
DTvRemoteProviderProxy.java51 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/packages/SystemUI/src/com/android/systemui/usb/
DUsbPermissionActivity.java57 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/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java54 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/base/core/java/android/accounts/
DGrantCredentialsPermissionActivity.java46 private int mUid; field in GrantCredentialsPermissionActivity
68 mUid = extras.getInt(EXTRAS_REQUESTING_UID); in onCreate()
70 final String[] packages = pm.getPackagesForUid(mUid); in onCreate()
160 AccountManager.get(this).updateAppPermission(mAccount, mAuthTokenType, mUid, true); in onClick()
168 AccountManager.get(this).updateAppPermission(mAccount, mAuthTokenType, mUid, false); in onClick()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/
DWifiNanClientState.java42 private int mUid; field in WifiNanClientState
46 mUid = uid; in WifiNanClientState()
69 return mUid; in getUid()
171 pw.println(" mUid: " + mUid); in dump()
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessState.java130 private final int mUid; field in ProcessState
169 mUid = uid; in ProcessState()
186 mUid = uid; in ProcessState()
195 ProcessState pnew = new ProcessState(this, mPackage, mUid, mVersion, mName, now); in clone()
230 return mUid; in getUid()
281 + " pkg=" + mPackage + " uid=" + mUid + " common.name=" + mCommonProcess.mName); in ensureNotDead()
425 + " uid=" + mUid + " proc=" + mName + " service=" + serviceName); in decActiveServices()
461 + mPackage + " uid=" + mUid + " name=" + mName); in decStartedServices()
555 SparseArray<PackageState> vpkg = mStats.mPackages.get(pkgName, mUid); in pullFixedProc()
558 + " / " + mUid); in pullFixedProc()
[all …]
/frameworks/base/services/midi/java/com/android/server/midi/
DMidiService.java133 private final int mUid; field in MidiService.Client
145 mUid = Binder.getCallingUid(); in Client()
150 return mUid; in getUid()
193 if (!device.isUidAllowed(mUid)) return; in deviceAdded()
207 if (!device.isUidAllowed(mUid)) return; in deviceRemoved()
221 if (!device.isUidAllowed(mUid)) return; in deviceStatusChanged()
252 sb.append(mUid); in toString()
293 private final int mUid; field in MidiService.Device
307 mUid = uid; in Device()
316 mUid = mBluetoothServiceUid; in Device()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioSourceDescriptor.h37 mDevice(device), mAttributes(*attributes), mUid(uid) {} in AudioSourceDescriptor()
46 uid_t mUid; variable
DSessionRoute.h45 : mUid(uid), in SessionRoute()
61 uid_t mUid; variable
DAudioSession.h53 uid_t uid() const { return mUid; } in uid()
71 const uid_t mUid; variable
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiLockManager.java287 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/core/java/android/nfc/cardemulation/
DNfcFServiceInfo.java80 final int mUid; field in NfcFServiceInfo
94 this.mUid = uid; in NfcFServiceInfo()
173 mUid = si.applicationInfo.uid; in NfcFServiceInfo()
202 return mUid; in getUid()
266 dest.writeInt(mUid); in writeToParcel()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyMix.cpp165 ALOGV("\tmix has RULE_MATCH_UID for uid %d", mix->mCriteria[j].mValue.mUid); in getOutputForAttr()
167 if (mix->mCriteria[j].mValue.mUid == uid) { in getOutputForAttr()
173 ALOGV("\tmix has RULE_EXCLUDE_UID for uid %d", mix->mCriteria[j].mValue.mUid); in getOutputForAttr()
175 if (mix->mCriteria[j].mValue.mUid == uid) { in getOutputForAttr()
/frameworks/base/services/core/java/com/android/server/location/
DGeofenceState.java39 public final int mUid; field in GeofenceState
54 mUid = uid; in GeofenceState()
/frameworks/base/services/core/java/com/android/server/wm/
DSession.java67 final int mUid; field in Session
81 mUid = Binder.getCallingUid(); in Session()
89 if (mUid < Process.FIRST_APPLICATION_UID) { in Session()
91 sb.append(mUid); in Session()
94 sb.append(UserHandle.getUserId(mUid)); in Session()
96 sb.append(UserHandle.getAppId(mUid)); in Session()
114 mUid, mPid); in Session()
/frameworks/native/services/sensorservice/
DSensorEventConnection.h67 uid_t getUid() const { return mUid; } in getUid()
125 uid_t mUid; variable
/frameworks/base/core/java/android/app/usage/
DNetworkStats.java200 private int mUid; field in NetworkStats.Bucket
257 return mUid; in getUid()
491 bucketOut.mUid = Bucket.convertUid(mRecycledSummaryEntry.uid); in fillBucketFromSummaryEntry()
539 bucketOut.mUid = Bucket.convertUid(getUid()); in getNextHistoryBucket()

123