Home
last modified time | relevance | path

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

12

/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()
DWatchUidRunner.java94 public WatchUidRunner(Instrumentation instrumentation, int uid) { in WatchUidRunner()
98 public WatchUidRunner(Instrumentation instrumentation, int uid, long defaultWaitTime) { in WatchUidRunner()
/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/tests/tests/net/native/qtaguid/src/
DNativeQtaguidTest.cpp51 int getCtrlSkInfo(int tag, uid_t uid, uint64_t* sk_addr, int* ref_cnt) { in getCtrlSkInfo()
84 uid_t uid = getuid(); in checkNoSocketPointerLeaks() local
105 uid_t uid = getuid(); in TEST() local
124 uid_t uid = getuid(); in TEST() 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
DBatteryStatsValidationTest.java485 int uid = Integer.parseInt(uidLineParts[2].trim()); local
500 int uid = getUid(); in assertValueRange() local
509 private long getLongValue(int uid, String tag, String optionalAfterTag, int index) in getLongValue()
/cts/tests/tests/security/src/android/security/cts/
DListeningPortsTest.java235 private String uidToPackage(int uid) { in uidToPackage()
301 private final int uid; field in ListeningPortsTest.ParsedProcEntry
303 private ParsedProcEntry(InetAddress addr, int port, String state, int uid) { in ParsedProcEntry()
343 int uid = Integer.parseInt(fields[7]); in parse() local
/cts/tests/tests/permission/src/android/permission/cts/
DAppIdleStatePermissionTest.java54 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/tests/inputmethod/src/android/view/inputmethod/cts/
DInputBindingTest.java43 int uid = 1; in testInputBinding() local
/cts/tests/tests/media/src/android/media/cts/
DAudioRecordAppOpTest.java56 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/net/app/src/com/android/cts/net/hostside/
DDataSaverModeTest.java204 int uid = -1; in testGetRestrictBackgroundStatus_requiredWhitelistedPackages() local
DAbstractRestrictBackgroundNetworkTestCase.java713 protected void addRestrictBackgroundWhitelist(int uid) throws Exception { in addRestrictBackgroundWhitelist()
721 protected void removeRestrictBackgroundWhitelist(int uid) throws Exception { in removeRestrictBackgroundWhitelist()
726 protected void assertRestrictBackgroundWhitelist(int uid, boolean expected) throws Exception { in assertRestrictBackgroundWhitelist()
730 protected void addRestrictBackgroundBlacklist(int uid) throws Exception { in addRestrictBackgroundBlacklist()
738 protected void removeRestrictBackgroundBlacklist(int uid) throws Exception { in removeRestrictBackgroundBlacklist()
743 protected void assertRestrictBackgroundBlacklist(int uid, boolean expected) throws Exception { in assertRestrictBackgroundBlacklist()
747 private void assertRestrictBackground(String list, int uid, boolean expected) throws Exception { in assertRestrictBackground()
/cts/hostsidetests/net/src/com/android/cts/net/
DHostsideRestrictBackgroundNetworkTests.java288 private void assertRestrictBackgroundWhitelist(int uid, boolean expected) throws Exception { in assertRestrictBackgroundWhitelist()
330 protected void addRestrictBackgroundWhitelist(int uid) throws Exception { in addRestrictBackgroundWhitelist()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DProtocolParamsReaderActivity.java45 public boolean parseProtocolParameters(StringBuilder sb, byte[] uid, in parseProtocolParameters()
/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/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DBaseDeviceAdminTest.java45 public String onChoosePrivateKeyAlias(Context context, Intent intent, int uid, Uri uri, in onChoosePrivateKeyAlias()
/cts/hostsidetests/appsecurity/test-apps/AppAccessData/src/com/android/cts/appaccessdata/
DAccessPrivateDataTest.java137 final int uid = android.os.Process.myUid(); in testTrafficStatsStatsUidSelf() local
/cts/hostsidetests/statsd/src/android/cts/statsd/validation/
DValidationTests.java125 int uid = getUid(); in testPartialWakelock() local
295 int uid = -1; in getStatsdWakelockData() local
328 long uid, String tag) { in getBatteryStatsPartialWakelock()
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
DMyProvider.java83 final int uid = Os.getuid(); in call() local

12