Home
last modified time | relevance | path

Searched refs:manifest (Results 1 – 25 of 930) sorted by relevance

12345678910>>...38

/external/bazelbuild-rules_android/src/tools/ak/generatemanifest/
Dgeneratemanifest_test.go50 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
53 </manifest>`)},
62 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
65 </manifest>`)},
74 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
77 </manifest>`),
80 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
83 </manifest>`),
86 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
89 </manifest>`),
[all …]
/external/robolectric/robolectric/src/test/java/org/robolectric/internal/
DDefaultManifestFactoryTest.java13 import org.robolectric.manifest.AndroidManifest;
26 AndroidManifest manifest = RobolectricTestRunner.createAndroidManifest(identifier); in identify() local
28 assertThat(manifest.getAndroidManifestFile()) in identify()
30 assertThat(manifest.getResDirectory()).isEqualTo(Paths.get("gradle/res")); in identify()
31 assertThat(manifest.getAssetsDirectory()).isEqualTo(Paths.get("gradle/assets")); in identify()
32 assertThat(manifest.getApkFile()).isNull(); in identify()
44 AndroidManifest manifest = RobolectricTestRunner.createAndroidManifest(identifier); in identify_withResourceApk() local
46 assertThat(manifest.getAndroidManifestFile()) in identify_withResourceApk()
48 assertThat(manifest.getResDirectory()).isEqualTo(Paths.get("gradle/res")); in identify_withResourceApk()
49 assertThat(manifest.getAssetsDirectory()).isEqualTo(Paths.get("gradle/assets")); in identify_withResourceApk()
[all …]
DBuckManifestFactoryTest.java20 import org.robolectric.manifest.AndroidManifest;
61 AndroidManifest manifest = RobolectricTestRunner.createAndroidManifest(manifestIdentifier); in multiple_res_dirs() local
62 assertThat(manifest.getResDirectory()).isEqualTo(Paths.get("buck/res2")); in multiple_res_dirs()
63 assertThat(manifest.getAssetsDirectory()).isEqualTo(Paths.get("buck/assets2")); in multiple_res_dirs()
65 List<ResourcePath> resourcePathList = manifest.getIncludedResourcePaths(); in multiple_res_dirs()
70 manifest.getRClass(), Paths.get("buck/res2"), Paths.get("buck/assets2")), in multiple_res_dirs()
71 new ResourcePath(manifest.getRClass(), Paths.get("buck/res1"), null), in multiple_res_dirs()
72 new ResourcePath(manifest.getRClass(), null, Paths.get("buck/assets1"))); in multiple_res_dirs()
89 AndroidManifest manifest = RobolectricTestRunner.createAndroidManifest(manifestIdentifier); in pass_multiple_res_dirs_in_file() local
90 assertThat(manifest.getResDirectory()).isEqualTo(Paths.get("buck/res2")); in pass_multiple_res_dirs_in_file()
[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() local
33 assertThat(manifest.getAndroidManifestFile()) in identify()
35 assertThat(manifest.getResDirectory()) in identify()
37 assertThat(manifest.getAssetsDirectory()) in identify()
39 assertThat(manifest.getApkFile()).isNull(); in identify()
51 AndroidManifest manifest = RobolectricTestRunner.createAndroidManifest(identifier); in identify_withResourceApk() local
58 assertThat(manifest.getAndroidManifestFile()) in identify_withResourceApk()
60 assertThat(manifest.getResDirectory()) in identify_withResourceApk()
62 assertThat(manifest.getAssetsDirectory()) in identify_withResourceApk()
[all …]
DBuckManifestFactoryTest.java18 import org.robolectric.manifest.AndroidManifest;
58 AndroidManifest manifest = RobolectricTestRunner.createAndroidManifest(manifestIdentifier); in multiple_res_dirs() local
59 assertThat(manifest.getResDirectory()) in multiple_res_dirs()
61 assertThat(manifest.getAssetsDirectory()) in multiple_res_dirs()
64 List<ResourcePath> resourcePathList = manifest.getIncludedResourcePaths(); in multiple_res_dirs()
67 …new ResourcePath(manifest.getRClass(), FileFsFile.from("buck/res2"), FileFsFile.from("buck/assets2… in multiple_res_dirs()
68 new ResourcePath(manifest.getRClass(), FileFsFile.from("buck/res1"), null), in multiple_res_dirs()
69 new ResourcePath(manifest.getRClass(), null, FileFsFile.from("buck/assets1")) in multiple_res_dirs()
87 AndroidManifest manifest = RobolectricTestRunner.createAndroidManifest(manifestIdentifier); in pass_multiple_res_dirs_in_file() local
88 assertThat(manifest.getResDirectory()) in pass_multiple_res_dirs_in_file()
[all …]
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/downloader/
DDownloadedModelDatabaseTest.java85 Manifest manifest = in insertManifestAndRead() local
87 db.dao().insert(manifest); in insertManifestAndRead()
89 assertThat(manifests).containsExactly(manifest); in insertManifestAndRead()
94 Manifest manifest = in insertManifestAndDelete() local
96 db.dao().insert(manifest); in insertManifestAndDelete()
97 db.dao().deleteManifests(ImmutableList.of(manifest)); in insertManifestAndDelete()
106 Manifest manifest = in insertManifestModelCrossRefAndRead() local
108 db.dao().insert(manifest); in insertManifestModelCrossRefAndRead()
120 Manifest manifest = in insertManifestModelCrossRefAndDelete() local
122 db.dao().insert(manifest); in insertManifestModelCrossRefAndDelete()
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/
DDashMediaSource.java56 import com.google.android.exoplayer2.source.dash.manifest.AdaptationSet;
57 import com.google.android.exoplayer2.source.dash.manifest.DashManifest;
58 import com.google.android.exoplayer2.source.dash.manifest.DashManifestParser;
59 import com.google.android.exoplayer2.source.dash.manifest.Period;
60 import com.google.android.exoplayer2.source.dash.manifest.Representation;
61 import com.google.android.exoplayer2.source.dash.manifest.UtcTimingElement;
221 public DashMediaSource createMediaSource(DashManifest manifest) { in createMediaSource() argument
223 manifest, in createMediaSource()
240 public DashMediaSource createMediaSource(DashManifest manifest, MediaItem mediaItem) { in createMediaSource() argument
241 Assertions.checkArgument(!manifest.dynamic); in createMediaSource()
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/
DDashMediaSource.java56 import com.google.android.exoplayer2.source.dash.manifest.AdaptationSet;
57 import com.google.android.exoplayer2.source.dash.manifest.DashManifest;
58 import com.google.android.exoplayer2.source.dash.manifest.DashManifestParser;
59 import com.google.android.exoplayer2.source.dash.manifest.Period;
60 import com.google.android.exoplayer2.source.dash.manifest.Representation;
61 import com.google.android.exoplayer2.source.dash.manifest.UtcTimingElement;
221 public DashMediaSource createMediaSource(DashManifest manifest) { in createMediaSource() argument
223 manifest, in createMediaSource()
240 public DashMediaSource createMediaSource(DashManifest manifest, MediaItem mediaItem) { in createMediaSource() argument
241 Assertions.checkArgument(!manifest.dynamic); in createMediaSource()
[all …]
/external/python/setuptools/setuptools/tests/
Dtest_sdist.py112 manifest = cmd.filelist.files
113 assert os.path.join('sdist_test', 'a.txt') in manifest
114 assert os.path.join('sdist_test', 'b.txt') in manifest
115 assert os.path.join('sdist_test', 'c.rst') not in manifest
116 assert os.path.join('d', 'e.dat') in manifest
199 manifest = cmd.filelist.files
200 assert 'setup.py' in manifest
213 manifest = cmd.filelist.files
214 assert 'setup.py' not in manifest
228 manifest = cmd.filelist.files
[all …]
/external/bazelbuild-rules_android/rules/android_application/
Dfeature_module_validation.sh17 manifest="${2}"
25 if [[ -n "$manifest" ]]; then
26 node_count=$("$xmllint" --xpath "count(//manifest/*)" "$manifest")
27 module_count=$("$xmllint" --xpath "count(//manifest/*[local-name()='module'])" "$manifest")
28 …plication_count=$("$xmllint" --xpath "count(//manifest/*[local-name()='application'])" "$manifest")
29 application_attr_count=$("$xmllint" --xpath "count(//manifest/application/@*)" "$manifest")
30 application_content_count=$("$xmllint" --xpath "count(//manifest/application/*)" "$manifest")
31 …int" --xpath "string(//manifest/*[local-name()='module'][1]/@*[local-name()='title'])" "$manifest")
50 …echo "$manifest should only contain a single <dist:module /> element (and optional empty <applicat…
52 cat "$manifest"
[all …]
/external/cronet/build/config/win/
Dmanifest.gni7 # Use the windows_manifest template to declare a manifest generation step.
8 # This will combine all listed .manifest files. To link this manifest, just
9 # depend on the manifest target from your executable or shared library.
12 # the manifest declarations and dependencies do not need to be inside of OS
15 # A binary can depend on only one manifest target, but the manifest target
16 # can depend on many individual .manifest files which will be merged. As a
17 # result, only executables and shared libraries should depend on manifest
18 # targets. If you want to add a manifest to a component, put the dependency
23 # are also individual manifest files in that directory you can reference via
25 # You might combine these with a custom manifest file to get specific behavior.
[all …]
/external/angle/build/config/win/
Dmanifest.gni7 # Use the windows_manifest template to declare a manifest generation step.
8 # This will combine all listed .manifest files. To link this manifest, just
9 # depend on the manifest target from your executable or shared library.
12 # the manifest declarations and dependencies do not need to be inside of OS
15 # A binary can depend on only one manifest target, but the manifest target
16 # can depend on many individual .manifest files which will be merged. As a
17 # result, only executables and shared libraries should depend on manifest
18 # targets. If you want to add a manifest to a component, put the dependency
23 # are also individual manifest files in that directory you can reference via
25 # You might combine these with a custom manifest file to get specific behavior.
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/manifest/
DDashManifestParserTest.java16 package com.google.android.exoplayer2.source.dash.manifest;
27 import com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation;
28 import com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentatio…
29 import com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTimelineElement;
102 DashManifest manifest = in parseMediaPresentationDescription_segmentTemplate() local
108 assertThat(manifest.getPeriodCount()).isEqualTo(1); in parseMediaPresentationDescription_segmentTemplate()
110 Period period = manifest.getPeriod(0); in parseMediaPresentationDescription_segmentTemplate()
132 DashManifest manifest = in parseMediaPresentationDescription_eventStream() local
138 Period period = manifest.getPeriod(0); in parseMediaPresentationDescription_eventStream()
198 DashManifest manifest = in parseMediaPresentationDescription_programInformation() local
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/manifest/
DDashManifestParserTest.java16 package com.google.android.exoplayer2.source.dash.manifest;
27 import com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation;
28 import com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentatio…
29 import com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTimelineElement;
94 DashManifest manifest = in parseMediaPresentationDescription_segmentTemplate() local
100 assertThat(manifest.getPeriodCount()).isEqualTo(1); in parseMediaPresentationDescription_segmentTemplate()
102 Period period = manifest.getPeriod(0); in parseMediaPresentationDescription_segmentTemplate()
124 DashManifest manifest = in parseMediaPresentationDescription_eventStream() local
130 Period period = manifest.getPeriod(0); in parseMediaPresentationDescription_eventStream()
190 DashManifest manifest = in parseMediaPresentationDescription_programInformation() local
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/
DSsMediaSource.java49 import com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest;
50 import com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement;
51 import com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifestParser;
200 public SsMediaSource createMediaSource(SsManifest manifest) { in createMediaSource() argument
201 return createMediaSource(manifest, MediaItem.fromUri(Uri.EMPTY)); in createMediaSource()
213 public SsMediaSource createMediaSource(SsManifest manifest, MediaItem mediaItem) { in createMediaSource() argument
214 Assertions.checkArgument(!manifest.isLive); in createMediaSource()
220 manifest = manifest.copy(streamKeys); in createMediaSource()
231 manifest, in createMediaSource()
311 private SsManifest manifest; field in SsMediaSource
[all …]
DSsMediaPeriod.java33 import com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest;
60 private SsManifest manifest; field in SsMediaPeriod
65 SsManifest manifest, in SsMediaPeriod() argument
75 this.manifest = manifest; in SsMediaPeriod()
85 trackGroups = buildTrackGroups(manifest, drmSessionManager); in SsMediaPeriod()
91 public void updateManifest(SsManifest manifest) { in updateManifest() argument
92 this.manifest = manifest; in updateManifest()
94 sampleStream.getChunkSource().updateManifest(manifest); in updateManifest()
240 manifestLoaderErrorThrower, manifest, streamElementIndex, selection, transferListener); in buildSampleStream()
242 manifest.streamElements[streamElementIndex].type, in buildSampleStream()
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/
DSsMediaSource.java49 import com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest;
50 import com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement;
51 import com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifestParser;
200 public SsMediaSource createMediaSource(SsManifest manifest) { in createMediaSource() argument
201 return createMediaSource(manifest, MediaItem.fromUri(Uri.EMPTY)); in createMediaSource()
213 public SsMediaSource createMediaSource(SsManifest manifest, MediaItem mediaItem) { in createMediaSource() argument
214 Assertions.checkArgument(!manifest.isLive); in createMediaSource()
220 manifest = manifest.copy(streamKeys); in createMediaSource()
231 manifest, in createMediaSource()
311 private SsManifest manifest; field in SsMediaSource
[all …]
DSsMediaPeriod.java33 import com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest;
60 private SsManifest manifest; field in SsMediaPeriod
65 SsManifest manifest, in SsMediaPeriod() argument
75 this.manifest = manifest; in SsMediaPeriod()
85 trackGroups = buildTrackGroups(manifest, drmSessionManager); in SsMediaPeriod()
91 public void updateManifest(SsManifest manifest) { in updateManifest() argument
92 this.manifest = manifest; in updateManifest()
94 sampleStream.getChunkSource().updateManifest(manifest); in updateManifest()
240 manifestLoaderErrorThrower, manifest, streamElementIndex, selection, transferListener); in buildSampleStream()
242 manifest.streamElements[streamElementIndex].type, in buildSampleStream()
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/
DDashMediaPeriodTest.java33 import com.google.android.exoplayer2.source.dash.manifest.AdaptationSet;
34 import com.google.android.exoplayer2.source.dash.manifest.DashManifest;
35 import com.google.android.exoplayer2.source.dash.manifest.DashManifestParser;
62 DashManifest manifest = parseManifest("media/mpd/sample_mpd_stream_keys"); in getStreamKeys_isCompatibleWithDashManifestFilter() local
67 manifest, in getStreamKeys_isCompatibleWithDashManifestFilter()
74 DashManifest manifest = parseManifest("media/mpd/sample_mpd_switching_property"); in adaptationSetSwitchingProperty_mergesTrackGroups() local
75 DashMediaPeriod dashMediaPeriod = createDashMediaPeriod(manifest, 0); in adaptationSetSwitchingProperty_mergesTrackGroups()
76 List<AdaptationSet> adaptationSets = manifest.getPeriod(0).adaptationSets; in adaptationSetSwitchingProperty_mergesTrackGroups()
96 DashManifest manifest = parseManifest("media/mpd/sample_mpd_trick_play_property"); in trickPlayProperty_mergesTrackGroups() local
97 DashMediaPeriod dashMediaPeriod = createDashMediaPeriod(manifest, 0); in trickPlayProperty_mergesTrackGroups()
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/
DDashMediaPeriodTest.java33 import com.google.android.exoplayer2.source.dash.manifest.AdaptationSet;
34 import com.google.android.exoplayer2.source.dash.manifest.DashManifest;
35 import com.google.android.exoplayer2.source.dash.manifest.DashManifestParser;
62 DashManifest manifest = parseManifest("media/mpd/sample_mpd_stream_keys"); in getStreamKeys_isCompatibleWithDashManifestFilter() local
67 manifest, in getStreamKeys_isCompatibleWithDashManifestFilter()
74 DashManifest manifest = parseManifest("media/mpd/sample_mpd_switching_property"); in adaptationSetSwitchingProperty_mergesTrackGroups() local
75 DashMediaPeriod dashMediaPeriod = createDashMediaPeriod(manifest, 0); in adaptationSetSwitchingProperty_mergesTrackGroups()
76 List<AdaptationSet> adaptationSets = manifest.getPeriod(0).adaptationSets; in adaptationSetSwitchingProperty_mergesTrackGroups()
96 DashManifest manifest = parseManifest("media/mpd/sample_mpd_trick_play_property"); in trickPlayProperty_mergesTrackGroups() local
97 DashMediaPeriod dashMediaPeriod = createDashMediaPeriod(manifest, 0); in trickPlayProperty_mergesTrackGroups()
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/source/
DSinglePeriodTimeline.java44 @Nullable private final Object manifest; field in SinglePeriodTimeline
60 @Nullable Object manifest, in SinglePeriodTimeline() argument
70 manifest, in SinglePeriodTimeline()
90 @Nullable Object manifest, in SinglePeriodTimeline() argument
100 manifest, in SinglePeriodTimeline()
119 @Nullable Object manifest, in SinglePeriodTimeline() argument
132 manifest, in SinglePeriodTimeline()
161 @Nullable Object manifest, in SinglePeriodTimeline() argument
174 manifest, in SinglePeriodTimeline()
195 @Nullable Object manifest, in SinglePeriodTimeline() argument
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/source/
DSinglePeriodTimeline.java44 @Nullable private final Object manifest; field in SinglePeriodTimeline
60 @Nullable Object manifest, in SinglePeriodTimeline() argument
70 manifest, in SinglePeriodTimeline()
90 @Nullable Object manifest, in SinglePeriodTimeline() argument
100 manifest, in SinglePeriodTimeline()
119 @Nullable Object manifest, in SinglePeriodTimeline() argument
132 manifest, in SinglePeriodTimeline()
161 @Nullable Object manifest, in SinglePeriodTimeline() argument
174 manifest, in SinglePeriodTimeline()
195 @Nullable Object manifest, in SinglePeriodTimeline() argument
[all …]
/external/python/cpython3/Tools/scripts/
Dstable_abi.py140 manifest = Manifest()
143 levels = [(manifest, -1)]
179 return manifest
199 def gen_python3dll(manifest, args, outfile): argument
223 manifest.select(
231 manifest.select(
246 def gen_doc_annotations(manifest, args, outfile): argument
251 for item in manifest.select(REST_ROLES.keys(), include_abi_only=False):
262 def generate_or_check(manifest, args, path, func): argument
269 func(manifest, args, outfile)
[all …]
/external/guava/android/guava-tests/test/com/google/common/reflect/
DClassPathTest.java240 assertThat(ClassPath.getClassPathFromManifest(jarFile, manifest(""))).isEmpty(); in testGetClassPathFromManifest_noClassPath()
250 Manifest manifest = manifestClasspath("nosuchscheme:an_invalid^path"); in testGetClassPathFromManifest_badClassPath() local
251 assertThat(ClassPath.getClassPathFromManifest(jarFile, manifest)).isEmpty(); in testGetClassPathFromManifest_badClassPath()
256 Manifest manifest = manifestClasspath("file:the^file.jar"); in testGetClassPathFromManifest_pathWithStrangeCharacter() local
257 assertThat(ClassPath.getClassPathFromManifest(jarFile, manifest)) in testGetClassPathFromManifest_pathWithStrangeCharacter()
264 Manifest manifest = manifestClasspath("with/relative/dir"); in testGetClassPathFromManifest_relativeDirectory() local
265 assertThat(ClassPath.getClassPathFromManifest(jarFile, manifest)) in testGetClassPathFromManifest_relativeDirectory()
272 Manifest manifest = manifestClasspath("with/relative.jar"); in testGetClassPathFromManifest_relativeJar() local
273 assertThat(ClassPath.getClassPathFromManifest(jarFile, manifest)) in testGetClassPathFromManifest_relativeJar()
280 Manifest manifest = manifestClasspath("current.jar"); in testGetClassPathFromManifest_jarInCurrentDirectory() local
[all …]
/external/tensorflow/tensorflow/compiler/xla/tests/
Dmanifest_checking_test.cc38 ManifestT manifest; in ReadManifest() local
42 return manifest; in ReadManifest()
62 auto& platforms = manifest[pieces[0]]; in ReadManifest()
67 return manifest; in ReadManifest()
95 ManifestT manifest = ReadManifest(); in SetUp() local
108 auto it = manifest.find(absl::StrCat(test_case_name, ".", test_name)); in SetUp()
109 if (it == manifest.end()) { in SetUp()
110 it = manifest.find(test_case_name); in SetUp()
111 if (it == manifest.end()) { in SetUp()

12345678910>>...38