Searched refs:mockPackageManager (Results 1 – 2 of 2) sorted by relevance
63 MockPackageManager mockPackageManager = new MockPackageManager(); in initProvider() local64 addDefaultTestPackages(mockPackageManager); in initProvider()66 initProvider(provider, mockPackageManager); in initProvider()70 MockPackageManager mockPackageManager) throws Exception { in initProvider() argument71 provider.setMockPackageManager(mockPackageManager); in initProvider()81 private void addDefaultTestPackages(MockPackageManager mockPackageManager) { in addDefaultTestPackages() argument82 mockPackageManager.addPackage( in addDefaultTestPackages()84 mockPackageManager.addPackage( in addDefaultTestPackages()86 mockPackageManager.addPackage( in addDefaultTestPackages()90 mockPackageManager.addPackage("AlphabeticA", new ComponentName("a", "a.AView")); in addDefaultTestPackages()[all …]
49 protected void setMockPackageManager(PackageManager mockPackageManager) { in setMockPackageManager() argument50 mMockPackageManager = mockPackageManager; in setMockPackageManager()