Home
last modified time | relevance | path

Searched refs:AndroidManifest (Results 1 – 25 of 58) sorted by relevance

123

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/manifest/
DAndroidManifestTest.java33 AndroidManifest config = newConfig("TestAndroidManifestWithContentProviders.xml"); in parseManifest_shouldReadContentProviders()
48 AndroidManifest config = newConfig("TestAndroidManifestWithPermissions.xml"); in parseManifest_shouldReadPermissions()
64 AndroidManifest config = newConfig("TestAndroidManifestWithPermissions.xml"); in parseManifest_shouldReadPermissionGroups()
75 AndroidManifest config = newConfig("TestAndroidManifestWithReceivers.xml"); in parseManifest_shouldReadBroadcastReceivers()
116 AndroidManifest config = newConfig("TestAndroidManifestWithServices.xml"); in parseManifest_shouldReadServices()
139 AndroidManifest config = newConfig("TestAndroidManifestNoApplicationElement.xml"); in testManifestWithNoApplicationElement()
145 AndroidManifest config = newConfig("TestAndroidManifestWithReceivers.xml"); in parseManifest_shouldReadBroadcastReceiversWithMetaData()
195 AndroidManifest config = newConfig("TestAndroidManifestWithReceivers.xml"); in shouldReadBroadcastReceiverPermissions()
301AndroidManifest appManifest = new AndroidManifest(resourceFile("TestAndroidManifestWithNoRFile.xml… in shouldTolerateMissingRFile()
308AndroidManifest appManifest = new AndroidManifest(null, resourceFile("res"), resourceFile("assets"… in whenNullManifestFile_getRClass_shouldComeFromPackageName()
[all …]
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DRobolectricTestRunner.java54 import org.robolectric.manifest.AndroidManifest;
70 private static final Map<ManifestIdentifier, AndroidManifest> appManifestsCache = new HashMap<>();
267 boolean includeLegacy(AndroidManifest appManifest) { in includeLegacy()
275 boolean includeBinary(AndroidManifest appManifest) { in includeBinary()
287 AndroidManifest appManifest = getAppManifest(config); in getChildren()
377 AndroidManifest appManifest = roboMethod.getAppManifest(); in beforeTest()
470 protected AndroidManifest getAppManifest(Config config) { in getAppManifest()
477 private AndroidManifest cachedCreateAppManifest(ManifestIdentifier identifier) { in cachedCreateAppManifest()
479 AndroidManifest appManifest; in cachedCreateAppManifest()
496 public static AndroidManifest createAndroidManifest(ManifestIdentifier manifestIdentifier) { in createAndroidManifest()
[all …]
DApkLoader.java10 import org.robolectric.manifest.AndroidManifest;
22 private final Map<AndroidManifest, PackageResourceTable> appResourceTableCache = new HashMap<>();
35 synchronized public PackageResourceTable getAppResourceTable(final AndroidManifest appManifest) { in getAppResourceTable()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/manifest/
DAndroidManifest.java31 public class AndroidManifest implements UsesSdk { class
36 private final List<AndroidManifest> libraryManifests;
72 public AndroidManifest(FsFile androidManifestFile, FsFile resDirectory, FsFile assetsDirectory) { in AndroidManifest() method in AndroidManifest
84 public AndroidManifest(FsFile androidManifestFile, FsFile resDirectory, FsFile assetsDirectory, in AndroidManifest() method in AndroidManifest
98 public AndroidManifest(FsFile androidManifestFile, FsFile resDirectory, FsFile assetsDirectory, in AndroidManifest() method in AndroidManifest
99 @Nonnull List<AndroidManifest> libraryManifests, String overridePackageName) { in AndroidManifest()
109 public AndroidManifest(FsFile androidManifestFile, FsFile resDirectory, FsFile assetsDirectory, in AndroidManifest() method in AndroidManifest
110 @Nonnull List<AndroidManifest> libraryManifests, String overridePackageName, FsFile apkFile) { in AndroidManifest()
636 for (AndroidManifest libraryManifest : getLibraryManifests()) { in getIncludedResourcePaths()
647 public List<AndroidManifest> getLibraryManifests() { in getLibraryManifests()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/
DDefaultManifestFactoryTest.java12 import org.robolectric.manifest.AndroidManifest;
26 AndroidManifest manifest = RobolectricTestRunner.createAndroidManifest(identifier); in identify()
51 AndroidManifest manifest = RobolectricTestRunner.createAndroidManifest(identifier); in identify_withResourceApk()
76 AndroidManifest manifest = RobolectricTestRunner.createAndroidManifest(identifier); in identify_withMissingValues()
100 AndroidManifest manifest = RobolectricTestRunner.createAndroidManifest(identifier); in identify_configNoneShouldBeIgnored()
124 AndroidManifest manifest = RobolectricTestRunner.createAndroidManifest(identifier); in identify_packageCanBeOverridenFromConfig()
DBuckManifestFactoryTest.java18 import org.robolectric.manifest.AndroidManifest;
58 AndroidManifest manifest = RobolectricTestRunner.createAndroidManifest(manifestIdentifier); in multiple_res_dirs()
87 AndroidManifest manifest = RobolectricTestRunner.createAndroidManifest(manifestIdentifier); in pass_multiple_res_dirs_in_file()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/internal/
DParallelUniverseCreateApplicationTest.java23 import org.robolectric.manifest.AndroidManifest;
66 AndroidManifest appManifest = newConfigWith( in shouldRegisterReceiversFromTheManifest()
115 public AndroidManifest newConfigWith(String contents) throws IOException { in newConfigWith()
119 private AndroidManifest newConfigWith(String packageName, String contents) throws IOException { in newConfigWith()
128 return new AndroidManifest(Fs.newFile(f), null, null); in newConfigWith()
DParallelUniverseTest.java34 import org.robolectric.manifest.AndroidManifest;
190 static class ThrowingManifest extends AndroidManifest {
191 public ThrowingManifest(AndroidManifest androidManifest) { in ThrowingManifest()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DRobolectricTestRunnerTest.java39 import org.robolectric.manifest.AndroidManifest;
127 mock(AndroidManifest.class), in equalityOfRobolectricFrameworkMethod()
136 mock(AndroidManifest.class), in equalityOfRobolectricFrameworkMethod()
145 mock(AndroidManifest.class), in equalityOfRobolectricFrameworkMethod()
154 mock(AndroidManifest.class), in equalityOfRobolectricFrameworkMethod()
193 Config config, AndroidManifest appManifest, SdkEnvironment environment) { in setUpApplicationState()
DTestRunnerSequenceTest.java29 import org.robolectric.manifest.AndroidManifest;
76 @Override protected AndroidManifest getAppManifest(Config config) { in whenNoAppManifest_shouldRunThingsInTheRightOrder()
77 return new AndroidManifest(null, null, null, "package") { in whenNoAppManifest_shouldRunThingsInTheRightOrder()
161 protected AndroidManifest getAppManifest(Config config) { in getAppManifest()
162 …return new AndroidManifest(resourceFile("TestAndroidManifest.xml"), resourceFile("res"), resourceF… in getAppManifest()
DBootstrapDeferringRobolectricTestRunner.java18 import org.robolectric.manifest.AndroidManifest;
84 public AndroidManifest appManifest;
104 AndroidManifest appManifest, SdkEnvironment sdkEnvironment) { in setUpApplicationState()
DManifestFactoryTest.java13 import org.robolectric.manifest.AndroidManifest;
53 AndroidManifest androidManifest = RobolectricTestRunner in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DLegacyManifestParserTest.java14 import org.robolectric.manifest.AndroidManifest;
20 private AndroidManifest androidManifest;
25 new AndroidManifest( in setUp()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/
DParallelUniverseInterface.java6 import org.robolectric.manifest.AndroidManifest;
16 Config config, AndroidManifest appManifest, in setUpApplicationState()
DAndroidConfigurer.java16 import org.robolectric.manifest.AndroidManifest;
51 .doNotAcquireClass(AndroidManifest.class) in configure()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DResourceMerger.java5 import org.robolectric.manifest.AndroidManifest;
9 public PackageResourceTable buildResourceTable(AndroidManifest appManifest) { in buildResourceTable()
/external/objenesis/
Dupdate_source.sh57 mv tck-android/src/main/AndroidManifest.xml tck-android/AndroidManifest.xml
/external/setupdesign/
DAndroid.bp18 manifest: "main/AndroidManifest.xml",
36 manifest: "main/AndroidManifest.xml",
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DParallelUniverse.java45 import org.robolectric.manifest.AndroidManifest;
87 AndroidManifest appManifest, SdkEnvironment sdkEnvironment) { in setUpApplicationState()
250 private void injectResourceStuffForLegacy(ApkLoader apkLoader, AndroidManifest appManifest, in injectResourceStuffForLegacy()
272 private void populateAssetPaths(AssetManager assetManager, AndroidManifest appManifest) { in populateAssetPaths()
273 for (AndroidManifest manifest : appManifest.getAllManifests()) { in populateAssetPaths()
281 static Application createApplication(AndroidManifest appManifest, Config config) { in createApplication()
432 Application application, AndroidManifest androidManifest) { in registerBroadcastReceivers()
/external/tensorflow/tensorflow/examples/android/
DBUILD80 manifest = "AndroidManifest.xml",
122 exports_files(["AndroidManifest.xml"])
/external/volley/src/test/resources/
Dorg.robolectric.Config.properties1 manifest=src/main/AndroidManifest.xml
/external/zxing/qr_scanner/
Dbuild.gradle5 manifest.srcFile 'AndroidManifest.xml'
/external/robolectric-shadows/robolectric/src/test/resources/com/android/tools/
Dtest_config.properties3 android_merged_manifest=src/test/resources/AndroidManifest.xml
/external/setupcompat/
DAndroid.bp7 manifest: "AndroidManifest.xml",
/external/glide/
DAndroid.bp9 manifest: "library/src/main/AndroidManifest.xml",

123