/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/util/ |
D | TestUtil.java | 16 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/ |
D | BuckManifestFactoryTest.java | 20 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/ |
D | ResourcePath.java | 3 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()
|
D | ResourceMerger.java | 12 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()
|
D | ResourceTableFactory.java | 10 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…
|
D | RawResourceLoader.java | 6 private final ResourcePath resourcePath; 8 public RawResourceLoader(ResourcePath resourcePath) { in RawResourceLoader()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/ |
D | DrawableResourceLoaderNoRunnerTest.java | 69 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/ |
D | pitch_based_vad_unittest.cc | 25 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()
|
D | vad_audio_proc_unittest.cc | 33 test::ResourcePath("audio_processing/agc/agc_spectral_peak", "dat"); in TEST() 38 test::ResourcePath("audio_processing/agc/agc_audio", "pcm"); in TEST()
|
D | standalone_vad_unittest.cc | 67 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()
|
D | voice_activity_detector_unittest.cc | 62 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/ |
D | audio_classifier_unittest.cc | 64 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/ |
D | SdkEnvironment.java | 10 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()
|
D | AndroidConfigurer.java | 17 import org.robolectric.res.ResourcePath; 55 .doNotAcquireClass(ResourcePath.class) in configure()
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
D | TestVADDTX.cc | 207 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()
|
D | TwoWayCommunication.cc | 120 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/ |
D | transient_detector_unittest.cc | 55 test::ResourcePath(detect_file_name.str(), "dat").c_str(), in TEST() 72 test::ResourcePath(audio_file_name.str(), "pcm").c_str(), in TEST()
|
D | wpd_tree_unittest.cc | 97 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/ |
D | ApkLoader.java | 14 import org.robolectric.res.ResourcePath; 53 .newFrameworkResourceTable(new ResourcePath(android.R.class, null, null)); in getCompileTimeSdkResourceTable()
|
/external/webrtc/webrtc/modules/audio_processing/agc/ |
D | histogram_unittest.cc | 94 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/ |
D | file_player_unittests.cc | 91 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/ |
D | rtp_file_reader_unittest.cc | 25 test::ResourcePath("video_coding/" + filename, "rtp"); in Init() 66 test::ResourcePath("video_coding/" + filename, "pcap"); in Init()
|
/external/webrtc/webrtc/test/testsupport/ |
D | fileutils_unittest.cc | 123 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/ |
D | bwe_simulations.cc | 59 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/ |
D | voe_conference_test.cc | 54 webrtc::test::ResourcePath("audio_coding/testfile32kHz", "pcm"); in TEST() 131 webrtc::test::ResourcePath("audio_coding/testfile32kHz", "pcm"); in TEST()
|