Home
last modified time | relevance | path

Searched refs:getSingleton (Results 1 – 25 of 47) sorted by relevance

12

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMimeTypeMapTest.java26 assertFalse(MimeTypeMap.getSingleton().hasExtension(VIDEO_EXTENSION)); in shouldResetStaticStateBetweenTests()
27 … shadowOf(MimeTypeMap.getSingleton()).addExtensionMimeTypMapping(VIDEO_EXTENSION, VIDEO_MIMETYPE); in shouldResetStaticStateBetweenTests()
32 assertFalse(MimeTypeMap.getSingleton().hasExtension(VIDEO_EXTENSION)); in shouldResetStaticStateBetweenTests_anotherTime()
33 … shadowOf(MimeTypeMap.getSingleton()).addExtensionMimeTypMapping(VIDEO_EXTENSION, VIDEO_MIMETYPE); in shouldResetStaticStateBetweenTests_anotherTime()
38 MimeTypeMap firstInstance = MimeTypeMap.getSingleton(); in getSingletonShouldAlwaysReturnSameInstance()
39 MimeTypeMap secondInstance = MimeTypeMap.getSingleton(); in getSingletonShouldAlwaysReturnSameInstance()
46 assertFalse(MimeTypeMap.getSingleton().hasExtension(VIDEO_EXTENSION)); in byDefaultThereShouldBeNoMapping()
47 assertFalse(MimeTypeMap.getSingleton().hasExtension(IMAGE_EXTENSION)); in byDefaultThereShouldBeNoMapping()
52 ShadowMimeTypeMap shadowMimeTypeMap = Shadows.shadowOf(MimeTypeMap.getSingleton()); in addingMappingShouldWorkCorrectly()
56 assertTrue(MimeTypeMap.getSingleton().hasExtension(VIDEO_EXTENSION)); in addingMappingShouldWorkCorrectly()
[all …]
/external/antlr/gunit/src/main/java/org/antlr/gunit/swingui/
DRunnerController.java211 label.setIcon(ImageFactory.getSingleton().TESTSUITE); in getTreeCellRendererComponent()
218 ImageFactory.getSingleton().TESTGROUPX : in getTreeCellRendererComponent()
219 ImageFactory.getSingleton().TESTGROUP); in getTreeCellRendererComponent()
225 ImageFactory.getSingleton().RUN_PASS : in getTreeCellRendererComponent()
226 ImageFactory.getSingleton().RUN_FAIL); in getTreeCellRendererComponent()
DWorkSpaceController.java192 … view.tabEditors.addTab("Test Result", ImageFactory.getSingleton().FILE16, runner.getView()); in OnRunTest()
242 super("Create", ImageFactory.getSingleton().ADDFILE); in CreateAction()
254 super("Save", ImageFactory.getSingleton().SAVE); in SaveAction()
266 super("Open", ImageFactory.getSingleton().OPEN); in OpenAction()
279 super("Run", ImageFactory.getSingleton().NEXT); in RunAction()
DWorkSpaceView.java82 …this.tabEditors.addTab("Case Editor", ImageFactory.getSingleton().TEXTFILE16, this.paneEditor.getV… in initComponents()
83 … this.tabEditors.addTab("Script Source", ImageFactory.getSingleton().WINDOW16, this.scrollCode); in initComponents()
DTestCaseEditController.java556 super("Add", ImageFactory.getSingleton().ADD); in AddTestCaseAction()
566 super("Remove", ImageFactory.getSingleton().DELETE); in RemoveTestCaseAction()
619 ImageFactory.getSingleton().FILE16 : in getListCellRendererComponent()
620 ImageFactory.getSingleton().EDIT16); in getListCellRendererComponent()
/external/llvm-project/llvm/tools/llvm-exegesis/lib/
DParallelSnippetGenerator.cpp172 return getSingleton(std::move(CT)); in generateCodeTemplates()
178 return getSingleton(std::move(CT)); in generateCodeTemplates()
186 return getSingleton(std::move(CT)); in generateCodeTemplates()
217 return getSingleton(std::move(CT)); in generateCodeTemplates()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMimeTypeMap.java19 protected static MimeTypeMap getSingleton() { in getSingleton() method in ShadowMimeTypeMap
34 ShadowMimeTypeMap shadowMimeTypeMap = Shadow.extract(getSingleton()); in reset()
/external/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/
Dguarded_pool_allocator_posix.cpp102 if (auto *S = getSingleton()) in installAtFork()
106 if (auto *S = getSingleton()) in installAtFork()
/external/deqp/framework/common/
DtcuTestPackage.cpp63 TestPackageRegistry* TestPackageRegistry::getSingleton (void) in getSingleton() function in tcu::TestPackageRegistry
128 TestPackageRegistry::getSingleton()->registerPackage(name, createFunc); in TestPackageDescriptor()
DtcuTestPackage.hpp98 static TestPackageRegistry* getSingleton (void);
/external/gwp_asan/gwp_asan/platform_specific/
Dguarded_pool_allocator_posix.cpp102 if (auto *S = getSingleton()) in installAtFork()
106 if (auto *S = getSingleton()) in installAtFork()
/external/slf4j/slf4j-api/src/main/java/org/slf4j/
DLoggerFactory.java141 StaticLoggerBinder.getSingleton(); in bind()
271 …Util.report("Actual binding is of type [" + StaticLoggerBinder.getSingleton().getLoggerFactoryClas… in reportActualBinding()
335 return StaticLoggerBinder.getSingleton().getLoggerFactory(); in getILoggerFactory()
/external/guice/extensions/spring/src/com/google/inject/spring/
DSpringIntegration.java105 return singleton ? getSingleton() : type.cast(beanFactory.getBean(name)); in get()
110 private T getSingleton() { in getSingleton() method in SpringIntegration.SpringProvider
/external/slf4j/slf4j-api/src/main/java/org/slf4j/impl/
DStaticLoggerBinder.java51 public static final StaticLoggerBinder getSingleton() { in getSingleton() method in StaticLoggerBinder
/external/slf4j/slf4j-android/src/main/java/org/slf4j/impl/
DStaticLoggerBinder.java50 public static StaticLoggerBinder getSingleton() { in getSingleton() method in StaticLoggerBinder
/external/slf4j/slf4j-simple/src/main/java/org/slf4j/impl/
DStaticLoggerBinder.java51 public static final StaticLoggerBinder getSingleton() { in getSingleton() method in StaticLoggerBinder
/external/slf4j/slf4j-jcl/src/main/java/org/slf4j/impl/
DStaticLoggerBinder.java49 public static final StaticLoggerBinder getSingleton() { in getSingleton() method in StaticLoggerBinder
/external/slf4j/slf4j-nop/src/main/java/org/slf4j/impl/
DStaticLoggerBinder.java51 public static final StaticLoggerBinder getSingleton() { in getSingleton() method in StaticLoggerBinder
/external/slf4j/slf4j-jdk14/src/main/java/org/slf4j/impl/
DStaticLoggerBinder.java50 public static final StaticLoggerBinder getSingleton() { in getSingleton() method in StaticLoggerBinder
/external/slf4j/slf4j-log4j12/src/main/java/org/slf4j/impl/
DStaticLoggerBinder.java52 public static final StaticLoggerBinder getSingleton() { in getSingleton() method in StaticLoggerBinder
/external/angle/src/tests/deqp_support/
DglcTestPackageEntry_override.cpp114 tcu::TestPackageRegistry *registry = tcu::TestPackageRegistry::getSingleton(); in registerPackages()
/external/emma/core/java13/com/vladium/util/exit/
DExitHookManager.java32 public static synchronized ExitHookManager getSingleton () in getSingleton() method in ExitHookManager
/external/icu/icu4c/source/common/
Dloclikelysubtags.h47 static const XLikelySubtags *getSingleton(UErrorCode &errorCode);
/external/icu/libicu/cts_headers/
Dloclikelysubtags.h47 static const XLikelySubtags *getSingleton(UErrorCode &errorCode);
/external/llvm-project/compiler-rt/lib/gwp_asan/
Dguarded_pool_allocator.h175 static GuardedPoolAllocator *getSingleton();

12