Home
last modified time | relevance | path

Searched defs:uid (Results 1 – 25 of 58) sorted by relevance

123

/cts/hostsidetests/statsd/src/android/cts/statsd/uidmap/
DUidMapTests.java56 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/
DUidImportanceListener.java35 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/
DNativeQtaguidTest.cpp44 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/
DMultiUserStorageTest.java69 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/
DListeningPortsTest.java133 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/
DActivityManagerProcessErrorStateInfoTest.java43 int uid = 3; in testWriteToParcel() local
77 int uid = 3; in testReadFromParcel() local
/cts/hostsidetests/incident/src/com/android/server/cts/
DPackageIncidentTest.java59 final int uid = Integer.parseInt(matcher.group(1)); in testPackageServiceDump() local
75 assertEquals(testPackage.getUid(), uid); in testPackageServiceDump() local
DPowerIncidentTest.java78 final PowerManagerServiceDumpProto.UidStateProto uid = dump.getUidStates(0); in verifyPowerManagerServiceDumpProto() local
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSipProfileTest.java46 int uid = 0; in testSetCallingUid() local
/cts/tests/tests/permission/src/android/permission/cts/
DAppIdleStatePermissionTest.java55 int uid = pm.getApplicationInfo(pkg.packageName, 0).uid; in testChangeAppIdleStatePermission() local
DFileUtils.java67 public int uid; field in FileUtils.FileStatus
121 public native static String getUserName(int uid); in getUserName()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java471 protected void addRestrictBackgroundWhitelist(int uid) throws Exception { in addRestrictBackgroundWhitelist()
479 protected void removeRestrictBackgroundWhitelist(int uid) throws Exception { in removeRestrictBackgroundWhitelist()
484 protected void assertRestrictBackgroundWhitelist(int uid, boolean expected) throws Exception { in assertRestrictBackgroundWhitelist()
488 protected void addRestrictBackgroundBlacklist(int uid) throws Exception { in addRestrictBackgroundBlacklist()
496 protected void removeRestrictBackgroundBlacklist(int uid) throws Exception { in removeRestrictBackgroundBlacklist()
501 protected void assertRestrictBackgroundBlacklist(int uid, boolean expected) throws Exception { in assertRestrictBackgroundBlacklist()
505 protected void addAppIdleWhitelist(int uid) throws Exception { in addAppIdleWhitelist()
510 protected void removeAppIdleWhitelist(int uid) throws Exception { in removeAppIdleWhitelist()
515 protected void assertAppIdleWhitelist(int uid, boolean expected) throws Exception { in assertAppIdleWhitelist()
519 private void assertRestrictBackground(String list, int uid, boolean expected) throws Exception { in assertRestrictBackground()
DDataSaverModeTest.java172 int uid = -1; in testGetRestrictBackgroundStatus_requiredWhitelistedPackages() local
/cts/hostsidetests/statsd/src/android/cts/statsd/validation/
DBatteryStatsValidationTests.java139 int uid = getUid(); in testServiceStartCount() local
183 int uid = getUid(); in testServiceLaunchCount() local
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputBindingTest.java44 int uid = 1; in testInputBinding() local
/cts/tests/tests/externalservice/common/src/android/externalservice/common/
DRunningServiceInfo.java28 public int uid; field in RunningServiceInfo
/cts/tests/tests/media/src/android/media/cts/
DAudioRecordAppOpTest.java61 final int uid = Process.myUid(); in testRecordAppOps() local
/cts/hostsidetests/appsecurity/test-apps/V3SigningSchemeRotation/src/android/appsecurity/cts/v3rotationtests/
DV3RotationTest.java173 int uid = pm.getPackageUid(PKG, 0); in testHasSigningCertificateByUid() local
186 int uid = pm.getPackageUid(PKG, 0); in testHasSigningCertificateByUidSha256() local
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DAlertWindowsAppOpsTests.java83 final int uid = Process.myUid(); in testSystemAlertWindowAppOpsInitiallyAllowed() local
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
DUidAtomTests.java296 int uid = getUid(); in testHiddenApiUsed() local
358 int uid = getUid(); in testCpuTimePerUid() local
411 int uid = getUid(); in testDeviceCalculatedPowerBlameUid() local
963 int uid = getUid(); in testBinderStats() local
1015 int uid = getUid(); in testLooperStats() local
1085 int uid = getUid(); in testProcessMemoryState() local
1164 int uid = getUid(); in testProcessMemoryHighWaterMark() local
1199 private static int getAppId(int uid) { in getAppId()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DProtocolParamsReaderActivity.java45 public boolean parseProtocolParameters(StringBuilder sb, byte[] uid, in parseProtocolParameters()
/cts/hostsidetests/net/src/com/android/cts/net/
DHostsideRestrictBackgroundNetworkTests.java318 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/src/com/android/compatibility/common/util/
DFileUtils.java66 public int uid; field in FileUtils.FileStatus
99 public native static String getUserName(int uid); in getUserName()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DFileUtils.java66 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/
DAccessPrivateDataTest.java155 final int uid = android.os.Process.myUid(); in testTrafficStatsStatsUidSelf() local

123