Home
last modified time | relevance | path

Searched refs:buildPackageInfo (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/
DPermissionMonitorTest.java190 private static PackageInfo buildPackageInfo(boolean hasSystemPermission, int uid, int userId) { in buildPackageInfo() method in PermissionMonitorTest
408 buildPackageInfo(/* SYSTEM */ true, SYSTEM_UID1, MOCK_USER1), in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates()
409 buildPackageInfo(/* SYSTEM */ false, MOCK_UID1, MOCK_USER1), in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates()
410 buildPackageInfo(/* SYSTEM */ false, MOCK_UID2, MOCK_USER1), in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates()
411 buildPackageInfo(/* SYSTEM */ false, VPN_UID, MOCK_USER1) in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates()
414 buildPackageInfo(false, MOCK_UID1, MOCK_USER1)); in testUidFilteringDuringVpnConnectDisconnectAndUidUpdates()
458 buildPackageInfo(true, SYSTEM_UID1, MOCK_USER1), in testUidFilteringDuringPackageInstallAndUninstall()
459 buildPackageInfo(false, VPN_UID, MOCK_USER1) in testUidFilteringDuringPackageInstallAndUninstall()
462 buildPackageInfo(false, MOCK_UID1, MOCK_USER1)); in testUidFilteringDuringPackageInstallAndUninstall()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1357 buildPackageInfo(/* SYSTEM */ false, APP1_UID), in mockDefaultPackages()
1358 buildPackageInfo(/* SYSTEM */ false, APP2_UID), in mockDefaultPackages()
1359 buildPackageInfo(/* SYSTEM */ false, VPN_UID) in mockDefaultPackages()
6529 private static PackageInfo buildPackageInfo(boolean hasSystemPermission, int uid) { in buildPackageInfo() method in ConnectivityServiceTest