Home
last modified time | relevance | path

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

12

/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/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.java135 data.update(buffer.mPackageName, buffer.mUid, buffer.mProcessBuffer); in processDied()
148 && buffers.mUid == uid) { in fetchActiveBuffersLocked()
165 if (data != null && data.mUid == uid in removeHistoricalDataLocked()
208 final int mUid; field in GraphicsStatsService.ActiveBuffer
217 mUid = uid; in ActiveBuffer()
223 mPreviousData = removeHistoricalDataLocked(mUid, mPackageName); in ActiveBuffer()
245 int mUid; field in GraphicsStatsService.HistoricalData
249 mUid = uid; in update()
DVibratorService.java100 private final int mUid; field in VibratorService.Vibration
120 mUid = uid; in Vibration()
150 return (mUid == Process.SYSTEM_UID || mUid == 0) && mRepeat < 0; in isSystemHapticFeedback()
382 vib.mPattern, vib.mRepeat, vib.mUsageHint, vib.mUid, vib.mOpPkg)); in addToPreviousVibrationsLocked()
454 vib.mUsageHint, vib.mUid, vib.mOpPkg); in startVibrationLocked()
457 AppOpsManager.OP_VIBRATE, vib.mUid, vib.mOpPkg); in startVibrationLocked()
461 Slog.w(TAG, "Would be an error: vibrate from uid " + vib.mUid); in startVibrationLocked()
469 doVibratorOn(vib.mTimeout, vib.mUid, vib.mUsageHint); in startVibrationLocked()
483 AppOpsManager.OP_VIBRATE, mCurrentVibration.mUid, in reportFinishVibrationLocked()
642 mTmpWorkSource.set(vib.mUid); in VibrateThread()
[all …]
DLocationManagerService.java611 final int mUid; // uid of receiver field in LocationManagerService.Receiver
641 mUid = uid; in Receiver()
655 workSource = new WorkSource(mUid, mPackageName); in Receiver()
753 return mAppOps.startOpNoThrow(op, mUid, mPackageName) in updateMonitoring()
757 if (!allowMonitoring || mAppOps.checkOpNoThrow(op, mUid, mPackageName) in updateMonitoring()
759 mAppOps.finishOp(op, mUid, mPackageName); in updateMonitoring()
1332 if (isCurrentProfile(UserHandle.getUserId(record.mReceiver.mUid))) { in updateProviderListenersLocked()
1371 if (isCurrentProfile(UserHandle.getUserId(record.mReceiver.mUid))) { in applyRequirementsLocked()
1374 record.mReceiver.mUid, in applyRequirementsLocked()
1395 if (isCurrentProfile(UserHandle.getUserId(record.mReceiver.mUid))) { in applyRequirementsLocked()
[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/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/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java55 private int mUid; field in MediaProjectionPermissionActivity
77 mUid = aInfo.uid; in onCreate()
85 if (mService.hasProjectionPermission(mUid, mPackageName)) { in onCreate()
86 setResult(RESULT_OK, getMediaProjectionIntent(mUid, mPackageName, in onCreate()
168 mUid, mPackageName, mPermanentGrant)); in onClick()
/frameworks/base/services/midi/java/com/android/server/midi/
DMidiService.java124 private final int mUid; field in MidiService.Client
136 mUid = Binder.getCallingUid(); in Client()
141 return mUid; in getUid()
182 if (!device.isUidAllowed(mUid)) return; in deviceAdded()
196 if (!device.isUidAllowed(mUid)) return; in deviceRemoved()
210 if (!device.isUidAllowed(mUid)) return; in deviceStatusChanged()
241 sb.append(mUid); in toString()
282 private final int mUid; field in MidiService.Device
296 mUid = uid; in Device()
305 mUid = mBluetoothServiceUid; in Device()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DSessionRoute.h45 : mUid(uid), in SessionRoute()
61 uid_t mUid; variable
DAudioPatch.h36 uid_t mUid; variable
/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.java61 final int mUid; field in Session
75 mUid = Binder.getCallingUid(); in Session()
83 if (mUid < Process.FIRST_APPLICATION_UID) { in Session()
85 sb.append(mUid); in Session()
88 sb.append(UserHandle.getUserId(mUid)); in Session()
90 sb.append(UserHandle.getAppId(mUid)); in Session()
108 mUid, mPid); in Session()
/frameworks/base/core/java/android/app/usage/
DNetworkStats.java153 private int mUid; field in NetworkStats.Bucket
192 return mUid; in getUid()
399 bucketOut.mUid = Bucket.convertUid(mRecycledSummaryEntry.uid); in fillBucketFromSummaryEntry()
445 bucketOut.mUid = Bucket.convertUid(getUid()); in getNextHistoryBucket()
/frameworks/av/services/audioflinger/
DTrackBase.h80 int uid() const { return mUid; } in uid()
159 int mUid; variable
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsApplication.java103 public int mUid; field in SmsApplication.SmsApplicationData
117 mUid = uid; in SmsApplicationData()
360 if (updateIfNeeded || applicationData.mUid == android.os.Process.myUid()) { in getApplication()
362 int mode = appOps.checkOp(AppOpsManager.OP_WRITE_SMS, applicationData.mUid, in getApplication()
368 appOps.setMode(AppOpsManager.OP_WRITE_SMS, applicationData.mUid, in getApplication()
463 appOps.setMode(AppOpsManager.OP_WRITE_SMS, applicationData.mUid, in setDefaultApplicationInternal()
/frameworks/base/core/java/android/nfc/cardemulation/
DApduServiceInfo.java92 final int mUid; field in ApduServiceInfo
119 this.mUid = uid; in ApduServiceInfo()
264 mUid = si.applicationInfo.uid; in ApduServiceInfo()
365 return mUid; in getUid()
457 dest.writeInt(mUid); in writeToParcel()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPatch.cpp33 mUid(uid), in AudioPatch()
50 snprintf(buffer, SIZE, "%*s- owner uid: %2d\n", spaces, "", mUid); in dump()
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java68 final int mUid; field in ClipboardService.ListenerInfo
71 mUid = uid; in ListenerInfo()
231 if (mAppOps.checkOpNoThrow(AppOpsManager.OP_READ_CLIPBOARD, li.mUid, in setPrimaryClipInternal()
/frameworks/native/services/sensorservice/
DSensorService.h193 uid_t mUid; variable
249 uid_t getUid() const { return mUid; } in getUid()
/frameworks/base/core/java/com/android/internal/app/
DProcessStats.java1068 UserHandle.formatUid(pw, proc.mUid); in dumpProcessList()
1111 UserHandle.formatUid(pw, proc.mUid); in dumpProcessSummaryLocked()
1173 UserHandle.formatUid(pw, proc.mUid); in dumpProcessListCsv()
2110 pw.print("/"); pw.print(proc.mCommonProcess.mUid); in dumpProcessInternalLocked()
2868 public final int mUid; field in ProcessStats.ProcessState
2907 mUid = uid; in ProcessState()
2921 mUid = uid; in ProcessState()
2928 ProcessState pnew = new ProcessState(this, pkg, mUid, mVersion, mName, now); in clone()
3000 + " pkg=" + mPackage + " uid=" + mUid + " common.name=" + mCommonProcess.mName); in ensureNotDead()
3141 + " uid=" + mUid + " proc=" + mName + " service=" + serviceName); in decActiveServices()
[all …]
/frameworks/base/core/java/android/app/
DAppOpsManager.java1047 private final int mUid; field in AppOpsManager.PackageOps
1052 mUid = uid; in PackageOps()
1061 return mUid; in getUid()
1076 dest.writeInt(mUid); in writeToParcel()
1085 mUid = source.readInt(); in PackageOps()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp369 mCallRxPatch->mUid = mUidCached; in updateCallRouting()
412 mCallTxPatch->mUid = mUidCached; in updateCallRouting()
2195 mUidCached, patchDesc->mUid, uid); in createAudioPatch()
2196 if (patchDesc->mUid != mUidCached && uid != patchDesc->mUid) { in createAudioPatch()
2262 patchDesc->mUid = uid; in createAudioPatch()
2314 patchDesc->mUid = uid; in createAudioPatch()
2427 mUidCached, patchDesc->mUid, uid); in releaseAudioPatch()
2428 if (patchDesc->mUid != mUidCached && uid != patchDesc->mUid) { in releaseAudioPatch()
2433 patchDesc->mUid = mUidCached; in releaseAudioPatch()
2559 if (patchDesc->mUid == uid) { in clearAudioPatches()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScanningServiceImpl.java152 if (DBG) localLog("closing client " + ci.mUid); in handleMessage()
553 private final int mUid; field in WifiScanningServiceImpl.ClientInfo
560 mUid = uid; in ClientInfo()
566 if (mUid == 0) in reportBatchedScanStart()
573 localLog("started scanning for UID " + mUid + ", csph = " + csph); in reportBatchedScanStart()
580 if (mUid == 0) in reportBatchedScanStop()
585 localLog("stopped scanning for UID " + mUid); in reportBatchedScanStop()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1284 final Uid mUid; field in BatteryStatsImpl.BatchTimer
1303 mUid = uid; in BatchTimer()
1311 mUid = uid; in BatchTimer()
1416 final Uid mUid; field in BatteryStatsImpl.StopwatchTimer
1445 mUid = uid; in StopwatchTimer()
1453 mUid = uid; in StopwatchTimer()
2053 out.appCpuUid3 = uid.mUid; in computeHistoryStepDetails()
2061 out.appCpuUid2 = uid.mUid; in computeHistoryStepDetails()
2068 out.appCpuUid1 = uid.mUid; in computeHistoryStepDetails()
4352 final int mUid; field in BatteryStatsImpl.Uid
[all …]

12