HomeSort by relevance Sort by last modified time
    Searched refs:myUid (Results 1 - 25 of 62) sorted by null

1 2 3

  /cts/tests/tests/permission2/src/android/permission2/cts/
PermissionMaxSdkVersionTest.java 40 Process.myPid(), Process.myUid());
53 Process.myPid(), Process.myUid());
  /frameworks/base/tests/permission/src/com/android/framework/permission/tests/
VibratorServicePermissionTest.java 50 mVibratorService.vibrate(Process.myUid(), null, 2000, new Binder());
66 mVibratorService.vibratePattern(Process.myUid(), null, new long[] {0}, 0, new Binder());
  /frameworks/base/core/tests/benchmarks/src/android/net/
TrafficStatsBenchmark.java 24 TrafficStats.getUidRxBytes(android.os.Process.myUid());
  /cts/tests/tests/net/src/android/net/cts/
TrafficStatsTest.java 113 final long uidTxBytesBefore = TrafficStats.getUidTxBytes(Process.myUid());
114 final long uidRxBytesBefore = TrafficStats.getUidRxBytes(Process.myUid());
115 final long uidTxPacketsBefore = TrafficStats.getUidTxPackets(Process.myUid());
116 final long uidRxPacketsBefore = TrafficStats.getUidRxPackets(Process.myUid());
187 long uidTxBytesAfter = TrafficStats.getUidTxBytes(Process.myUid());
188 long uidRxBytesAfter = TrafficStats.getUidRxBytes(Process.myUid());
189 long uidTxPacketsAfter = TrafficStats.getUidTxPackets(Process.myUid());
190 long uidRxPacketsAfter = TrafficStats.getUidRxPackets(Process.myUid());
  /frameworks/base/core/java/android/os/
SystemVibrator.java 62 vibrate(Process.myUid(), mPackageName, milliseconds);
67 vibrate(Process.myUid(), mPackageName, pattern, repeat);
Process.java 679 public static final int myUid() {
686 * {@link #myUid()} in that a particular user will have multiple
690 return new UserHandle(UserHandle.getUserId(myUid()));
698 int uid = UserHandle.getAppId(myUid());
    [all...]
UserHandle.java 212 return getUserId(Process.myUid());
  /cts/hostsidetests/appsecurity/test-apps/MultiUserStorageApp/src/com/android/cts/multiuserstorageapp/
MultiUserStorageTest.java 41 private final String FILE_MY_UID = FILE_PREFIX + android.os.Process.myUid();
61 final int uid = android.os.Process.myUid();
77 final int uid = android.os.Process.myUid();
  /frameworks/base/core/tests/coretests/src/android/content/pm/
PackageHelperTests.java 84 fullId2 = PackageHelper.createSdDir(1024, fullId, "none", android.os.Process.myUid(),
107 android.os.Process.myUid());
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowBinder.java 38 return android.os.Process.myUid();
  /packages/apps/HTMLViewer/src/com/android/htmlviewer/
FileContentProvider.java 53 if (Process.myUid() != Binder.getCallingUid()) {
  /frameworks/base/services/java/com/android/server/wm/
FakeWindowImpl.java 76 mWindowHandle.ownerUid = Process.myUid();
DragState.java 128 mDragWindowHandle.ownerUid = Process.myUid();
  /frameworks/base/core/java/android/net/
TrafficStats.java 251 final int uid = android.os.Process.myUid();
445 * @see android.os.Process#myUid()
461 * @see android.os.Process#myUid()
477 * @see android.os.Process#myUid()
493 * @see android.os.Process#myUid()
594 final int uid = android.os.Process.myUid();
  /frameworks/base/core/java/android/app/backup/
BackupAgent.java 296 if (Process.myUid() != Process.SYSTEM_UID) {
339 if (Process.myUid() != Process.SYSTEM_UID) {
501 if (Process.myUid() != Process.SYSTEM_UID) {
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
StorageManager.java 400 final int myUid = android.os.Process.myUid();
405 if (stat.st_uid == myUid) {
  /cts/tests/tests/os/src/android/os/cts/
ProcessTest.java 146 assertTrue(Process.myUid() >= 0);
BinderTest.java 317 assertEquals(Process.myUid(), Binder.getCallingUid());
  /frameworks/base/core/java/android/app/
LoadedApk.java 119 final int myUid = Process.myUid();
120 mResDir = aInfo.uid == myUid ? aInfo.sourceDir
122 if (!UserHandle.isSameUser(aInfo.uid, myUid) && !Process.isIsolated()) {
123 aInfo.dataDir = PackageManager.getDataDirForUser(UserHandle.getUserId(myUid),
    [all...]
AppOpsManager.java     [all...]
  /frameworks/base/core/tests/coretests/src/android/os/storage/
AsecTests.java 84 return ms.createSecureContainer(fullId, size, filesystem, key, android.os.Process.myUid(),
93 return ms.mountSecureContainer(fullId, key, android.os.Process.myUid());
  /frameworks/base/core/java/android/appwidget/
AppWidgetHost.java 247 int uid = Process.myUid();
  /frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
BandwidthTest.java 75 mUid = Process.myUid();
  /external/chromium_org/media/base/android/java/src/org/chromium/media/
AudioManagerAndroid.java 498 Process.myUid()) == PackageManager.PERMISSION_GRANTED;
  /frameworks/base/services/java/com/android/server/
ClipboardService.java 287 mAm.grantUriPermissionFromOwner(mPermissionOwner, Process.myUid(), pkg, uri,

Completed in 1881 milliseconds

1 2 3