Home
last modified time | relevance | path

Searched refs:ResourcePath (Results 1 – 25 of 78) sorted by relevance

1234

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/util/
DTestUtil.java16 import org.robolectric.res.ResourcePath;
19 private static ResourcePath SYSTEM_RESOURCE_PATH;
20 private static ResourcePath TEST_RESOURCE_PATH;
41 public static ResourcePath testResources() { in testResources()
43 TEST_RESOURCE_PATH = new ResourcePath(R.class, resourceFile("res"), resourceFile("assets")); in testResources()
48 public static ResourcePath systemResources() { in systemResources()
52 …SYSTEM_RESOURCE_PATH = new ResourcePath(android.R.class, fs.join("raw-res/res"), fs.join("raw-res/… in systemResources()
57 public static ResourcePath sdkResources(int apiLevel) { in sdkResources()
59 return new ResourcePath(null, sdkResFs.join("raw-res/res"), null, null); in sdkResources()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/
DBuckManifestFactoryTest.java20 import org.robolectric.res.ResourcePath;
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()
93 List<ResourcePath> resourcePathList = manifest.getIncludedResourcePaths(); in pass_multiple_res_dirs_in_file()
96 …new ResourcePath(manifest.getRClass(), FileFsFile.from("buck/res2"), FileFsFile.from("buck/assets2… in pass_multiple_res_dirs_in_file()
97 new ResourcePath(manifest.getRClass(), FileFsFile.from("buck/res1"), null), in pass_multiple_res_dirs_in_file()
98 new ResourcePath(manifest.getRClass(), null, FileFsFile.from("buck/assets1")) in pass_multiple_res_dirs_in_file()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DResourcePath.java3 public class ResourcePath { class
9 public ResourcePath(Class<?> rClass, FsFile resourceBase, FsFile assetsDir) { in ResourcePath() method in ResourcePath
13 …public ResourcePath(Class<?> rClass, FsFile resourceBase, FsFile assetsDir, Class<?> internalRClas… in ResourcePath() method in ResourcePath
50 ResourcePath that = (ResourcePath) o; in equals()
DResourceMerger.java12 ResourcePath appResourcePath = appManifest.getResourcePath(); in buildResourceTable()
13 List<ResourcePath> allResourcePaths = appManifest.getIncludedResourcePaths(); in buildResourceTable()
14 for (ResourcePath resourcePath : allResourcePaths) { in buildResourceTable()
21 allResourcePaths.toArray(new ResourcePath[allResourcePaths.size()])); in buildResourceTable()
DResourceTableFactory.java10 public PackageResourceTable newFrameworkResourceTable(ResourcePath resourcePath) { in newFrameworkResourceTable()
36 public PackageResourceTable newResourceTable(String packageName, ResourcePath... resourcePaths) { in newResourceTable()
43 for (ResourcePath resourcePath : resourcePaths) { in newResourceTable()
49 for (ResourcePath resourcePath : resourcePaths) { in newResourceTable()
110 private void parseResourceFiles(ResourcePath resourcePath, PackageResourceTable resourceTable) {
169 …private void loadOpaque(ResourcePath resourcePath, final PackageResourceTable resourceTable, final…
DRawResourceLoader.java6 private final ResourcePath resourcePath;
8 public RawResourceLoader(ResourcePath resourcePath) { in RawResourceLoader()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DDrawableResourceLoaderNoRunnerTest.java69 ResourcePath resourcePath = new ResourcePath(null, mockTestBaseDir, null); in shouldFindDrawableResourcesWorkWithUnixJarFilePath()
92 ResourcePath resourcePath = new ResourcePath(null, mockTestBaseDir, null); in shouldFindDrawableResourcesWorkWithUnixFilePath()
115 ResourcePath resourcePath = new ResourcePath(null, mockTestBaseDir, null); in shouldFindDrawableResourcesWorkWithWindowsJarFilePath()
138 ResourcePath resourcePath = new ResourcePath(null, mockTestBaseDir, null); in shouldFindDrawableResourcesWorkWithWindowsFilePath()
/external/webrtc/webrtc/modules/audio_processing/vad/
Dpitch_based_vad_unittest.cc25 test::ResourcePath("audio_processing/agc/agc_spectral_peak", "dat"); in TEST()
30 test::ResourcePath("audio_processing/agc/agc_pitch_gain", "dat"); in TEST()
35 test::ResourcePath("audio_processing/agc/agc_pitch_lag", "dat"); in TEST()
40 test::ResourcePath("audio_processing/agc/agc_voicing_prob", "dat"); in TEST()
Dvad_audio_proc_unittest.cc33 test::ResourcePath("audio_processing/agc/agc_spectral_peak", "dat"); in TEST()
38 test::ResourcePath("audio_processing/agc/agc_audio", "pcm"); in TEST()
Dstandalone_vad_unittest.cc67 fopen(test::ResourcePath("audio_processing/agc/agc_audio", "pcm").c_str(), in TEST()
72 test::ResourcePath("audio_processing/agc/agc_vad", "dat").c_str(), "rb"); in TEST()
Dvoice_activity_detector_unittest.cc62 fopen(test::ResourcePath("audio_processing/transient/audio16kHz", "pcm") in TEST()
97 fopen(test::ResourcePath("audio_processing/transient/audio32kHz", "pcm") in TEST()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Daudio_classifier_unittest.cc64 RunAnalysisTest(test::ResourcePath("short_mixed_mono_48", "pcm"), in TEST()
65 test::ResourcePath("short_mixed_mono_48", "dat"), in TEST()
70 RunAnalysisTest(test::ResourcePath("short_mixed_stereo_48", "pcm"), in TEST()
71 test::ResourcePath("short_mixed_stereo_48", "dat"), in TEST()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/
DSdkEnvironment.java10 import org.robolectric.res.ResourcePath;
34 ResourcePath resourcePath = createRuntimeSdkResourcePath(dependencyResolver); in getSystemResourceTable()
41 private ResourcePath createRuntimeSdkResourcePath(DependencyResolver dependencyResolver) { in createRuntimeSdkResourcePath()
47 return new ResourcePath(androidRClass, in createRuntimeSdkResourcePath()
DAndroidConfigurer.java17 import org.robolectric.res.ResourcePath;
55 .doNotAcquireClass(ResourcePath.class) in configure()
/external/webrtc/webrtc/modules/audio_coding/test/
DTestVADDTX.cc207 Run(webrtc::test::ResourcePath("audio_coding/testfile32kHz", "pcm"), in Test()
252 Run(webrtc::test::ResourcePath("audio_coding/testfile32kHz", "pcm"), in Perform()
257 Run(webrtc::test::ResourcePath("audio_coding/testfile32kHz", "pcm"), in Perform()
265 Run(webrtc::test::ResourcePath("audio_coding/teststereo32kHz", "pcm"), in Perform()
271 Run(webrtc::test::ResourcePath("audio_coding/teststereo32kHz", "pcm"), in Perform()
DTwoWayCommunication.cc120 std::string in_file_name = webrtc::test::ResourcePath( in SetUp()
136 in_file_name = webrtc::test::ResourcePath("audio_coding/testfile32kHz", in SetUp()
198 std::string in_file_name = webrtc::test::ResourcePath( in SetUpAutotest()
/external/webrtc/webrtc/modules/audio_processing/transient/
Dtransient_detector_unittest.cc55 test::ResourcePath(detect_file_name.str(), "dat").c_str(), in TEST()
72 test::ResourcePath(audio_file_name.str(), "pcm").c_str(), in TEST()
Dwpd_tree_unittest.cc97 std::string matlab_string = test::ResourcePath(matlab_stream.str(), "dat"); in TEST()
123 std::string test_file_name = test::ResourcePath( in TEST()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DApkLoader.java14 import org.robolectric.res.ResourcePath;
53 .newFrameworkResourceTable(new ResourcePath(android.R.class, null, null)); in getCompileTimeSdkResourceTable()
/external/webrtc/webrtc/modules/audio_processing/agc/
Dhistogram_unittest.cc94 test::ResourcePath("audio_processing/agc/agc_with_circular_buffer", in TEST_F()
100 test::ResourcePath("audio_processing/agc/agc_no_circular_buffer", in TEST_F()
/external/webrtc/webrtc/modules/utility/source/
Dfile_player_unittests.cc91 test::ResourcePath("utility/encapsulated_pcmu_8khz", "wav"); in TEST_F()
107 test::ResourcePath("utility/encapsulated_pcm16b_8khz", "wav"); in TEST_F()
/external/webrtc/webrtc/test/
Drtp_file_reader_unittest.cc25 test::ResourcePath("video_coding/" + filename, "rtp"); in Init()
66 test::ResourcePath("video_coding/" + filename, "pcap"); in Init()
/external/webrtc/webrtc/test/testsupport/
Dfileutils_unittest.cc123 std::string resource = webrtc::test::ResourcePath(kTestName, kExtension); in TEST_F()
130 std::string resource = webrtc::test::ResourcePath(kTestName, kExtension); in TEST_F()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dbwe_simulations.cc59 ASSERT_TRUE(filter.Init(test::ResourcePath("sprint-uplink", "rx"))); in TEST_P()
72 ASSERT_TRUE(filter.Init(test::ResourcePath("verizon4g-downlink", "rx"))); in TEST_P()
188 ASSERT_TRUE(filter.Init(test::ResourcePath("google-wifi-3mbps", "rx"))); in TEST_P()
239 ASSERT_TRUE(filter.Init(test::ResourcePath("google-wifi-3mbps", "rx"))); in TEST_P()
/external/webrtc/webrtc/voice_engine/test/auto_test/
Dvoe_conference_test.cc54 webrtc::test::ResourcePath("audio_coding/testfile32kHz", "pcm"); in TEST()
131 webrtc::test::ResourcePath("audio_coding/testfile32kHz", "pcm"); in TEST()

1234