Searched refs:testPackageName (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/ |
D | WebViewUpdateServiceTest.java | 250 String testPackageName = "test.package.name"; in testWithSinglePackage() local 251 checkCertainPackageUsedAfterWebViewBootPreparation(testPackageName, in testWithSinglePackage() 253 new WebViewProviderInfo(testPackageName, "", in testWithSinglePackage() 1092 String testPackageName = "test.package.name"; in testWithSingleUninstalledPackage() local 1094 new WebViewProviderInfo(testPackageName, "", in testWithSingleUninstalledPackage() 1097 mTestSystemImpl.setPackageInfo(createPackageInfo(testPackageName, true /* enabled */, in testWithSingleUninstalledPackage()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 1333 final String testPackageName = mContext.getPackageName(); in mockDefaultPackages() local 1335 testPackageName, PackageManager.GET_PERMISSIONS); in mockDefaultPackages() 1337 new String[] {testPackageName}); in mockDefaultPackages() 1338 when(mPackageManager.getPackageInfoAsUser(eq(testPackageName), anyInt(), in mockDefaultPackages() 2178 final String testPackageName = mContext.getPackageName(); in grantUsingBackgroundNetworksPermissionForUid() local 2179 when(mPackageManager.getPackageInfo(eq(testPackageName), eq(GET_PERMISSIONS))) in grantUsingBackgroundNetworksPermissionForUid() 2181 mService.mPermissionMonitor.onPackageAdded(testPackageName, uid); in grantUsingBackgroundNetworksPermissionForUid()
|