Home
last modified time | relevance | path

Searched refs:uid (Results 1 – 16 of 16) sorted by relevance

/cts/tests/tests/app/src/android/app/cts/
DActivityManagerProcessErrorStateInfoTest.java63 int uid = 3; in testWriteToParcel() local
71 mErrorStateInfo.uid = uid; in testWriteToParcel()
85 assertEquals(uid, values.uid); in testWriteToParcel()
103 int uid = 3; in testReadFromParcel() local
111 mErrorStateInfo.uid = uid; in testReadFromParcel()
125 assertEquals(uid, values.uid); in testReadFromParcel()
/cts/tests/tests/permission/src/android/permission/cts/
DFileUtils.java56 public int uid; field in FileUtils.FileStatus
79 public native static String getUserName(int uid); in getUserName() argument
DNoReadLogsPermissionTest.java80 0, status.uid); in testLogFilePermissions()
/cts/tests/tests/view/src/android/view/inputmethod/cts/
DInputBindingTest.java87 int uid = 1; in testInputBinding() local
89 InputBinding inputBinding = new InputBinding(bic, binder, uid, pid); in testInputBinding()
93 assertEquals(uid, inputBinding.getUid()); in testInputBinding()
103 assertEquals(uid, target.getUid()); in testInputBinding()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/os/
DFileUtils.java56 private int uid; field in FileUtils.FileStatus
67 return uid; in getUid()
103 public native static String getUserName(int uid); in getUserName() argument
/cts/tests/src/android/os/cts/
DFileUtils.java64 public int uid; field in FileUtils.FileStatus
87 public native static String getUserName(int uid); in getUserName() argument
/cts/tests/ProcessTest/src/com/android/cts/process/
DProcessTest.java40 PackageManager.GET_META_DATA).uid; in testUid()
42 PackageManager.GET_META_DATA).uid; in testUid()
44 PackageManager.GET_META_DATA).uid; in testUid()
/cts/tests/tests/net/src/android/net/cts/
DListeningPortsTest.java121 String uid = fields[7]; in assertNoListeningPorts() local
132 + localPort + ", UID=" + uid + " in " + procFilePath); in assertNoListeningPorts()
/cts/tests/tests/permission/jni/
Dandroid_permission_cts_FileUtils.cpp77 jint uid) in android_permission_cts_FileUtils_getUserName() argument
79 struct passwd *pwd = getpwuid(uid); in android_permission_cts_FileUtils_getUserName()
/cts/apps/CtsVerifier/jni/verifier/
Dcom_android_cts_verifier_os_FileUtils.cpp71 jint uid) in com_android_cts_verifier_os_FileUtils_getUserName() argument
73 struct passwd *pwd = getpwuid(uid); in com_android_cts_verifier_os_FileUtils_getUserName()
/cts/tests/jni/
Dandroid_os_cts_FileUtils.cpp80 jint uid) in android_os_cts_FileUtils_getUserName() argument
82 struct passwd *pwd = getpwuid(uid); in android_os_cts_FileUtils_getUserName()
/cts/tests/tests/content/src/android/content/pm/cts/
DApplicationInfoTest.java90 assertEquals(mApplicationInfo.uid, info.uid); in testWriteToParcel()
DPackageManagerTest.java168 appInfo.uid, 0); in testQuery()
403 checkPackagesNameForUid(PACKAGE_NAME, mPackageManager.getPackagesForUid(appInfo.uid)); in testGetInfo()
404 assertEquals(PACKAGE_NAME, mPackageManager.getNameForUid(appInfo.uid)); in testGetInfo()
447 private void checkPackagesNameForUid(String expectedName, String[] uid) { in checkPackagesNameForUid() argument
449 for (int i = 0; i < uid.length; i++) { in checkPackagesNameForUid()
450 if (uid[i].equals(expectedName)) { in checkPackagesNameForUid()
DPackageInfoTest.java130 assertEquals(expected.uid, actual.uid); in checkAppInfo()
DProviderInfoTest.java78 List<ProviderInfo> providers = pm.queryContentProviders(PACKAGE_NAME, appInfo.uid, 0); in testProviderInfo()
/cts/tools/dex-tools/dex/
Dclasses.out.dex5791 public int uid
22694 public int uid
42922 private final int uid
55814 public int uid
70159 final int val$uid
73161 public java.lang.String uid
120372 int uid