Home
last modified time | relevance | path

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

12

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DMimeTypeMapTest.java22 assertFalse(MimeTypeMap.getSingleton().hasExtension(VIDEO_EXTENSION)); in shouldResetStaticStateBetweenTests()
23 … shadowOf(MimeTypeMap.getSingleton()).addExtensionMimeTypMapping(VIDEO_EXTENSION, VIDEO_MIMETYPE); in shouldResetStaticStateBetweenTests()
28 assertFalse(MimeTypeMap.getSingleton().hasExtension(VIDEO_EXTENSION)); in shouldResetStaticStateBetweenTests_anotherTime()
29 … shadowOf(MimeTypeMap.getSingleton()).addExtensionMimeTypMapping(VIDEO_EXTENSION, VIDEO_MIMETYPE); in shouldResetStaticStateBetweenTests_anotherTime()
34 MimeTypeMap firstInstance = MimeTypeMap.getSingleton(); in getSingletonShouldAlwaysReturnSameInstance()
35 MimeTypeMap secondInstance = MimeTypeMap.getSingleton(); in getSingletonShouldAlwaysReturnSameInstance()
42 assertFalse(MimeTypeMap.getSingleton().hasExtension(VIDEO_EXTENSION)); in byDefaultThereShouldBeNoMapping()
43 assertFalse(MimeTypeMap.getSingleton().hasExtension(IMAGE_EXTENSION)); in byDefaultThereShouldBeNoMapping()
48 ShadowMimeTypeMap shadowMimeTypeMap = Robolectric.shadowOf(MimeTypeMap.getSingleton()); in addingMappingShouldWorkCorrectly()
52 assertTrue(MimeTypeMap.getSingleton().hasExtension(VIDEO_EXTENSION)); in addingMappingShouldWorkCorrectly()
[all …]
/external/antlr/antlr-3.4/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()
DImageFactory.java14 public static ImageFactory getSingleton() { in getSingleton() method in ImageFactory
DRuleListController.java126 setIcon(item.getNotEmpty() ? ImageFactory.getSingleton().FAV16 : null); in getListCellRendererComponent()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowMimeTypeMap.java26 public static MimeTypeMap getSingleton() { in getSingleton() method in ShadowMimeTypeMap
39 shadowOf(getSingleton()).clearMappings(); in reset()
/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/deqp/framework/common/
DtcuTestPackage.cpp63 TestPackageRegistry* TestPackageRegistry::getSingleton (void) in getSingleton() function in tcu::TestPackageRegistry
127 TestPackageRegistry::getSingleton()->registerPackage(name, createFunc); in TestPackageDescriptor()
DtcuTestPackage.hpp98 static TestPackageRegistry* getSingleton (void);
/external/guice/extensions/spring/src/com/google/inject/spring/
DSpringIntegration.java111 return singleton ? getSingleton() : type.cast(beanFactory.getBean(name)); in get()
116 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/slf4j/integration/lib/
Dslf4j-nop-1.5.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/slf4j/ org/ ...
Dslf4j-simple-1.5.11.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/slf4j/ org/ ...
Dslf4j-simple-1.6.99.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/slf4j/ org/ ...
/external/emma/core/java13/com/vladium/util/exit/
DExitHookManager.java32 public static synchronized ExitHookManager getSingleton () in getSingleton() method in ExitHookManager
/external/emma/core/java12/com/vladium/emma/rt/
DRT.java223 temp = ExitHookManager.getSingleton ();
/external/jetty/lib/
Dslf4j-jdk14-1.6.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/slf4j/ org/ ...

12