/cts/tests/tests/permission2/src/android/permission2/cts/ |
PermissionMaxSdkVersionTest.java | 40 Process.myPid(), Process.myUid()); 53 Process.myPid(), Process.myUid());
|
/frameworks/base/core/tests/benchmarks/src/android/net/ |
TrafficStatsBenchmark.java | 22 TrafficStats.getUidRxBytes(android.os.Process.myUid());
|
/frameworks/base/core/java/android/os/ |
Vibrator.java | 80 vibrate(Process.myUid(), mPackageName, milliseconds, attributes); 132 vibrate(Process.myUid(), mPackageName, pattern, repeat, attributes);
|
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
VibratorServicePermissionTest.java | 51 mVibratorService.vibrate(Process.myUid(), null, 2000, AudioManager.STREAM_ALARM, 68 mVibratorService.vibratePattern(Process.myUid(), null, new long[] {0}, 0,
|
/cts/tests/tests/os/src/android/os/health/cts/ |
SystemHealthManagerTest.java | 52 Assert.assertNotNull(healthy.takeUidSnapshot(Process.myUid())); 94 Process.myUid(), 95 Process.myUid(), 113 Process.myUid(),
|
/packages/apps/Dialer/src/com/android/dialer/compat/ |
UserManagerCompat.java | 50 return (Process.myUid() / PER_USER_RANGE) == USER_SYSTEM;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
NetworkStatsCollectionTest.java | 167 int myUid = Process.myUid(); 168 int otherUidInSameUser = Process.myUid() + 1; 169 int uidInDifferentUser = Process.myUid() + UserHandle.PER_USER_RANGE; 173 collection.recordData(identSet, myUid, SET_DEFAULT, TAG_NONE, 0, 60 * MINUTE_IN_MILLIS, 192 MoreAsserts.assertEquals(new int[] { myUid }, 194 MoreAsserts.assertEquals(new int[] { Process.SYSTEM_UID, myUid, otherUidInSameUser }, 197 new int[] { Process.SYSTEM_UID, myUid, otherUidInSameUser, uidInDifferentUser }, 201 assertNotNull(collection.getHistory(buildTemplateMobileAll(TEST_IMSI), myUid, SET_DEFAULT,
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
NetworkUsageStatsTest.java | 381 if (bucket.getUid() == Process.myUid()) { 389 assertTrue("No Rx bytes usage for uid " + Process.myUid(), totalRxBytes > 0); 390 assertTrue("No Rx packets usage for uid " + Process.myUid(), totalRxPackets > 0); 391 assertTrue("No Tx bytes usage for uid " + Process.myUid(), totalTxBytes > 0); 392 assertTrue("No Tx packets usage for uid " + Process.myUid(), totalTxPackets > 0); 436 if (bucket.getUid() == Process.myUid()) { 444 assertTrue("No Rx bytes usage for uid " + Process.myUid(), totalRxBytes > 0); 445 assertTrue("No Rx packets usage for uid " + Process.myUid(), totalRxPackets > 0); 446 assertTrue("No Tx bytes usage for uid " + Process.myUid(), totalTxBytes > 0); 447 assertTrue("No Tx packets usage for uid " + Process.myUid(), totalTxPackets > 0) [all...] |
/cts/hostsidetests/appsecurity/test-apps/MultiUserStorageApp/src/com/android/cts/multiuserstorageapp/ |
MultiUserStorageTest.java | 42 private final String FILE_MY_UID = FILE_PREFIX + android.os.Process.myUid(); 64 final int uid = android.os.Process.myUid(); 80 final int uid = android.os.Process.myUid(); 128 final int myId = android.os.Process.myUid() / 100000;
|
/packages/experimental/MultiPackageApk/src/foo/bar/multi/ |
MyActivity.java | 39 if (runningProcess.uid == 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/net/ |
TrafficStats.java | 322 final int uid = android.os.Process.myUid(); 522 * @see android.os.Process#myUid() 528 final int callingUid = android.os.Process.myUid(); 551 * @see android.os.Process#myUid() 557 final int callingUid = android.os.Process.myUid(); 580 * @see android.os.Process#myUid() 586 final int callingUid = android.os.Process.myUid(); 609 * @see android.os.Process#myUid() 615 final int callingUid = android.os.Process.myUid(); 717 final int uid = android.os.Process.myUid(); [all...] |
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/ |
WearPackageIconProvider.java | 150 final int myUid = android.os.Process.myUid(); 152 if (uid == myUid || isSystemApp(context, pid)) {
|
/cts/tests/tests/os/src/android/os/cts/ |
StrictModeTest.java | 64 + android.os.Process.myUid(); 87 + android.os.Process.myUid();
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
PackageHelperTests.java | 87 android.os.Process.myUid(), true); 109 android.os.Process.myUid());
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp22/src/com/android/cts/usepermission/ |
UsePermissionTest22.java | 53 Process.myPid(), Process.myUid())); 56 Process.myPid(), Process.myUid())); 82 Process.myPid(), Process.myUid())); 85 Process.myPid(), Process.myUid()));
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
BaseDeviceOwnerTest.java | 41 if (uid != Process.myUid() || uri == null) {
|
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/ |
RemoteSocketFactoryService.java | 55 return Process.myUid();
|
/cts/tests/tests/externalservice/service/src/android/externalservice/service/ |
BaseService.java | 57 Process.myUid(), Process.myPid());
|
/cts/tests/tests/permission/src/android/permission/cts/ |
AppOpsTest.java | 53 setMode.invoke(mAppOps, writeSmsOp, android.os.Process.myUid(),
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowBinder.java | 38 return android.os.Process.myUid();
|
/frameworks/base/core/java/android/os/health/ |
SystemHealthManager.java | 76 * @see Process#myUid() Process.myUid() 90 * {@code takeUidSnapshot(Process.myUid())}. 96 return takeUidSnapshot(Process.myUid());
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
ChipsUtil.java | 65 return context.checkPermission(permission, Process.myPid(), Process.myUid());
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/ |
SafetyNetLogger.java | 49 android.os.Process.myUid(), buildChangedGroupForPackageMessage(
|
/cts/tests/tests/externalservice/src/android/externalservice/cts/ |
ExternalServiceTest.java | 146 assertNotEquals(Process.myUid(), id.uid); 216 int myUid = Process.myUid(); 220 assertNotEquals(myUid, creatorId.uid); 221 assertNotEquals(myUid, creatorServiceId.uid); 222 assertNotEquals(myUid, serviceId.uid); 276 assertNotEquals(Process.myUid(), idOne.uid);
|