/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkStatsCollectionTest.java | 167 int myUid = Process.myUid(); in testAccessLevels() local 168 int otherUidInSameUser = Process.myUid() + 1; in testAccessLevels() 169 int uidInDifferentUser = Process.myUid() + UserHandle.PER_USER_RANGE; in testAccessLevels() 173 collection.recordData(identSet, myUid, SET_DEFAULT, TAG_NONE, 0, 60 * MINUTE_IN_MILLIS, in testAccessLevels() 192 MoreAsserts.assertEquals(new int[] { myUid }, in testAccessLevels() 194 MoreAsserts.assertEquals(new int[] { Process.SYSTEM_UID, myUid, otherUidInSameUser }, in testAccessLevels() 197 new int[] { Process.SYSTEM_UID, myUid, otherUidInSameUser, uidInDifferentUser }, in testAccessLevels() 201 assertNotNull(collection.getHistory(buildTemplateMobileAll(TEST_IMSI), myUid, SET_DEFAULT, in testAccessLevels() local
|
/frameworks/base/core/java/android/net/ |
D | TrafficStats.java | 322 final int uid = android.os.Process.myUid(); in incrementOperationCount() 528 final int callingUid = android.os.Process.myUid(); in getUidTxBytes() 557 final int callingUid = android.os.Process.myUid(); in getUidRxBytes() 586 final int callingUid = android.os.Process.myUid(); in getUidTxPackets() 615 final int callingUid = android.os.Process.myUid(); in getUidRxPackets() 717 final int uid = android.os.Process.myUid(); in getDataLayerSnapshotForUid()
|
/frameworks/base/core/java/android/os/ |
D | Vibrator.java | 80 vibrate(Process.myUid(), mPackageName, milliseconds, attributes); in vibrate() 132 vibrate(Process.myUid(), mPackageName, pattern, repeat, attributes); in vibrate()
|
D | Process.java | 851 public static final int myUid() { in myUid() method in Process 862 return UserHandle.of(UserHandle.getUserId(myUid())); in myUserHandle() 880 return isIsolated(myUid()); in isIsolated()
|
D | UserHandle.java | 300 return getUserId(Process.myUid()); in myUserId()
|
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
D | VibratorServicePermissionTest.java | 51 mVibratorService.vibrate(Process.myUid(), null, 2000, AudioManager.STREAM_ALARM, in testVibrate() 68 mVibratorService.vibratePattern(Process.myUid(), null, new long[] {0}, 0, in testVibratePattern()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageHelperTests.java | 87 android.os.Process.myUid(), true); in testMountAndPullSdCard() 109 android.os.Process.myUid()); in getMountRunnable()
|
/frameworks/base/core/tests/benchmarks/src/android/net/ |
D | TrafficStatsBenchmark.java | 22 TrafficStats.getUidRxBytes(android.os.Process.myUid()); in timeGetUidRxBytes()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | ChipsUtil.java | 65 return context.checkPermission(permission, Process.myPid(), Process.myUid()); in checkPermission()
|
/frameworks/base/core/java/android/os/health/ |
D | SystemHealthManager.java | 96 return takeUidSnapshot(Process.myUid()); in takeMyUidSnapshot()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | InputConsumerImpl.java | 65 mWindowHandle.ownerUid = Process.myUid(); in InputConsumerImpl()
|
/frameworks/base/media/java/android/media/midi/ |
D | MidiDeviceServer.java | 165 if (Binder.getCallingUid() != Process.myUid()) { 204 if (Binder.getCallingUid() != Process.myUid()) {
|
/frameworks/support/core-utils/java/android/support/v4/content/ |
D | PermissionChecker.java | 126 android.os.Process.myUid(), context.getPackageName()); in checkSelfPermission()
|
/frameworks/base/media/java/android/media/ |
D | PlayerBase.java | 151 Process.myUid(), ActivityThread.currentPackageName()); in updateAppOpsPlayAudio_sync()
|
D | SoundPool.java | 539 Process.myUid(), ActivityThread.currentPackageName()); in updateAppOpsPlayAudio()
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
D | PackageValidator.java | 96 if (Process.SYSTEM_UID == callingUid || Process.myUid() == callingUid) { in isCallerAllowed()
|
/frameworks/base/core/java/android/database/ |
D | CursorToBulkCursorAdaptor.java | 81 mRemote.onChange(selfChange, uri, android.os.Process.myUid()); in onChange()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 1743 + " from uid " + Process.myUid() + " or calling package " in noteProxyOp() 1779 return noteOp(op, Process.myUid(), mContext.getOpPackageName()); in noteOp() 1841 return startOp(op, Process.myUid(), mContext.getOpPackageName()); in startOp() 1861 finishOp(op, Process.myUid(), mContext.getOpPackageName()); in finishOp()
|
D | LoadedApk.java | 300 final int myUid = Process.myUid(); in setApplicationInfo() local 304 mResDir = aInfo.uid == myUid ? aInfo.sourceDir : aInfo.publicSourceDir; in setApplicationInfo() 306 mSplitResDirs = aInfo.uid == myUid ? aInfo.splitSourceDirs : aInfo.splitPublicSourceDirs; in setApplicationInfo() 575 if (mApplicationInfo.uid != Process.myUid()) { in setupJitProfileSupport()
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | AppFuse.java | 109 return new File("/mnt/appfuse/" + Process.myUid() + "_" + mName); in getMountPoint()
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
D | AsecTests.java | 84 return ms.createSecureContainer(fullId, size, filesystem, key, android.os.Process.myUid(), in createContainer() 93 return ms.mountSecureContainer(fullId, key, android.os.Process.myUid(), true); in mountContainer()
|
/frameworks/support/compat/java/android/support/v4/content/ |
D | ContextCompat.java | 426 return context.checkPermission(permission, android.os.Process.myPid(), Process.myUid()); in checkSelfPermission()
|
/frameworks/base/services/core/java/com/android/server/ |
D | DeviceIdleController.java | 1037 : BatteryStats.DEVICE_IDLE_MODE_LIGHT, null, Process.myUid()); in handleMessage() 1055 null, Process.myUid()); in handleMessage() 1765 becomeActiveLocked("screen", Process.myUid()); in updateDisplayLocked() 1780 becomeActiveLocked("charging", Process.myUid()); in updateChargingLocked() 1848 becomeActiveLocked("exit-force", Process.myUid()); in exitForceIdleLocked() 1943 becomeActiveLocked("alarm", Process.myUid()); in stepIdleStateLocked() 2148 scheduleReportActiveLocked(type, Process.myUid()); in handleMotionDetectedLocked() 2671 Process.myUid()); in onShellCommand()
|
/frameworks/base/keystore/java/android/security/ |
D | KeyStore.java | 277 return unlock(UserHandle.getUserId(Process.myUid()), password); in unlock() 616 return onUserPasswordChanged(UserHandle.getUserId(Process.myUid()), newPassword); in onUserPasswordChanged()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbManager.java | 473 mService.grantDevicePermission(device, Process.myUid()); in grantPermission()
|