| /cts/hostsidetests/statsd/src/android/cts/statsd/uidmap/ |
| D | UidMapTests.java | 56 private boolean hasMatchingChange(UidMapping uidmap, int uid, boolean expectDeletion) { in hasMatchingChange() 87 int uid = getUid(); in testChangeFromInstallation() local 114 int uid = getUid(); in testChangeFromReinstall() local 131 int uid = getUid(); in testChangeFromUninstall() local
|
| /cts/tests/app/src/android/app/cts/android/app/cts/tools/ |
| D | UidImportanceListener.java | 35 public UidImportanceListener(Context context, int uid, int cutPoint) { in UidImportanceListener() 39 public UidImportanceListener(Context context, int uid, int cutPoint, long defaultWaitTime) { in UidImportanceListener() 47 public void onUidImportance(int uid, int importance) { in onUidImportance()
|
| /cts/tests/tests/net/native/qtaguid/src/ |
| D | NativeQtaguidTest.cpp | 44 int getCtrlSkInfo(int tag, uid_t uid, uint64_t* sk_addr, int* ref_cnt) { in getCtrlSkInfo() 77 uid_t uid = getuid(); in checkNoSocketPointerLeaks() local 94 uid_t uid = getuid(); in TEST() local 109 uid_t uid = getuid(); in TEST() local
|
| /cts/hostsidetests/appsecurity/test-apps/MultiUserStorageApp/src/com/android/cts/multiuserstorageapp/ |
| D | MultiUserStorageTest.java | 69 final int uid = android.os.Process.myUid(); in testWriteIsolatedStorage() local 71 writeInt(buildApiPath(FILE_SINGLETON), uid); in testWriteIsolatedStorage() local 72 writeInt(buildApiPath(FILE_MY_UID), uid); in testWriteIsolatedStorage() local 85 final int uid = android.os.Process.myUid(); in testReadIsolatedStorage() local
|
| /cts/hostsidetests/appsecurity/test-apps/ListeningPortsApp/src/android/appsecurity/cts/listeningports/ |
| D | ListeningPortsTest.java | 133 private String uidToPackage(int uid) { in uidToPackage() 199 private final int uid; field in ListeningPortsTest.ParsedProcEntry 201 private ParsedProcEntry(InetAddress addr, int port, String state, int uid) { in ParsedProcEntry() 240 int uid = Integer.parseInt(fields[7]); in parse() local
|
| /cts/tests/app/src/android/app/cts/ |
| D | ActivityManagerProcessErrorStateInfoTest.java | 43 int uid = 3; in testWriteToParcel() local 77 int uid = 3; in testReadFromParcel() local
|
| /cts/hostsidetests/incident/src/com/android/server/cts/ |
| D | PackageIncidentTest.java | 59 final int uid = Integer.parseInt(matcher.group(1)); in testPackageServiceDump() local 75 assertEquals(testPackage.getUid(), uid); in testPackageServiceDump() local
|
| D | PowerIncidentTest.java | 78 final PowerManagerServiceDumpProto.UidStateProto uid = dump.getUidStates(0); in verifyPowerManagerServiceDumpProto() local
|
| D | BatteryStatsValidationTest.java | 504 int uid = Integer.parseInt(uidLineParts[2].trim()); local 519 int uid = getUid(); in assertValueRange() local 528 private long getLongValue(int uid, String tag, String optionalAfterTag, int index) in getLongValue()
|
| /cts/hostsidetests/statsd/src/android/cts/statsd/validation/ |
| D | BatteryStatsValidationTests.java | 149 int uid = getUid(); in testPowerBlameUid() local 196 int uid = getUid(); in testServiceStartCount() local 240 int uid = getUid(); in testServiceLaunchCount() local
|
| /cts/tests/tests/permission/src/android/permission/cts/ |
| D | AppIdleStatePermissionTest.java | 55 int uid = pm.getApplicationInfo(pkg.packageName, 0).uid; in testChangeAppIdleStatePermission() local
|
| D | FileUtils.java | 67 public int uid; field in FileUtils.FileStatus 121 public native static String getUserName(int uid); in getUserName()
|
| /cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
| D | InputBindingTest.java | 44 int uid = 1; in testInputBinding() local
|
| /cts/tests/tests/externalservice/common/src/android/externalservice/common/ |
| D | RunningServiceInfo.java | 28 public int uid; field in RunningServiceInfo
|
| /cts/tests/tests/media/src/android/media/cts/ |
| D | AudioRecordAppOpTest.java | 60 final int uid = Process.myUid(); in testRecordAppOps() local
|
| /cts/hostsidetests/appsecurity/test-apps/V3SigningSchemeRotation/src/android/appsecurity/cts/v3rotationtests/ |
| D | V3RotationTest.java | 173 int uid = pm.getPackageUid(PKG, 0); in testHasSigningCertificateByUid() local 186 int uid = pm.getPackageUid(PKG, 0); in testHasSigningCertificateByUidSha256() local
|
| /cts/hostsidetests/statsd/src/android/cts/statsd/atom/ |
| D | UidAtomTests.java | 298 int uid = getUid(); in testHiddenApiUsed() local 360 int uid = getUid(); in testCpuTimePerUid() local 395 int uid = getUid(); in testCpuActiveTime() local 449 int uid = getUid(); in testDeviceCalculatedPowerBlameUid() local 993 int uid = getUid(); in testBinderStats() local 1045 int uid = getUid(); in testLooperStats() local 1113 int uid = getUid(); in testProcessMemoryState() local 1189 int uid = getUid(); in testProcessMemoryHighWaterMark() local 1224 private static int getAppId(int uid) { in getAppId()
|
| /cts/tests/framework/base/windowmanager/src/android/server/wm/ |
| D | AlertWindowsAppOpsTests.java | 83 final int uid = Process.myUid(); in testSystemAlertWindowAppOpsInitiallyAllowed() local
|
| /cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
| D | AbstractRestrictBackgroundNetworkTestCase.java | 748 protected void addRestrictBackgroundWhitelist(int uid) throws Exception { in addRestrictBackgroundWhitelist() 756 protected void removeRestrictBackgroundWhitelist(int uid) throws Exception { in removeRestrictBackgroundWhitelist() 761 protected void assertRestrictBackgroundWhitelist(int uid, boolean expected) throws Exception { in assertRestrictBackgroundWhitelist() 765 protected void addRestrictBackgroundBlacklist(int uid) throws Exception { in addRestrictBackgroundBlacklist() 773 protected void removeRestrictBackgroundBlacklist(int uid) throws Exception { in removeRestrictBackgroundBlacklist() 778 protected void assertRestrictBackgroundBlacklist(int uid, boolean expected) throws Exception { in assertRestrictBackgroundBlacklist() 782 protected void addAppIdleWhitelist(int uid) throws Exception { in addAppIdleWhitelist() 787 protected void removeAppIdleWhitelist(int uid) throws Exception { in removeAppIdleWhitelist() 792 protected void assertAppIdleWhitelist(int uid, boolean expected) throws Exception { in assertAppIdleWhitelist() 796 private void assertRestrictBackground(String list, int uid, boolean expected) throws Exception { in assertRestrictBackground()
|
| D | DataSaverModeTest.java | 188 int uid = -1; in testGetRestrictBackgroundStatus_requiredWhitelistedPackages() local
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
| D | ProtocolParamsReaderActivity.java | 45 public boolean parseProtocolParameters(StringBuilder sb, byte[] uid, in parseProtocolParameters()
|
| /cts/common/device-side/util/src/com/android/compatibility/common/util/ |
| D | FileUtils.java | 66 public int uid; field in FileUtils.FileStatus 99 public native static String getUserName(int uid); in getUserName()
|
| /cts/hostsidetests/net/src/com/android/cts/net/ |
| D | HostsideRestrictBackgroundNetworkTests.java | 318 private void assertRestrictBackgroundWhitelist(int uid, boolean expected) throws Exception { in assertRestrictBackgroundWhitelist() 360 protected void addRestrictBackgroundWhitelist(int uid) throws Exception { in addRestrictBackgroundWhitelist()
|
| /cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
| D | FileUtils.java | 66 public int uid; field in FileUtils.FileStatus 99 public native static String getUserName(int uid); in getUserName()
|
| /cts/hostsidetests/appsecurity/test-apps/AppAccessData/src/com/android/cts/appaccessdata/ |
| D | AccessPrivateDataTest.java | 155 final int uid = android.os.Process.myUid(); in testTrafficStatsStatsUidSelf() local
|