/external/conscrypt/benchmark-jmh/src/jmh/java/org/conscrypt/ |
NettyBufferAllocator.java | 28 private static final NettyBufferAllocator instance = new NettyBufferAllocator(); field in class:NettyBufferAllocator 31 return instance;
|
/external/easymock/src/org/easymock/internal/ |
EasyMockProperties.java | 39 private static volatile EasyMockProperties instance;
field in class:EasyMockProperties 44 if (instance == null) {
47 if (instance == null) {
49 instance = new EasyMockProperties();
53 return instance;
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/ |
ControlFlowLogic.java | 26 private static ControlFlowLogic instance = new ControlFlowLogic(); field in class:ControlFlowLogic 29 return instance; 190 // The block that is the body of a constructor, method, instance initializer, or static initializer is
|
/external/jmdns/src/javax/jmdns/ |
NetworkTopologyDiscovery.java | 54 * NetworkTopologyDiscovery.Factory enable the creation of new instance of NetworkTopologyDiscovery. 104 * Returns a new instance of NetworkTopologyDiscovery using the class delegate if it exists. 106 * @return new instance of NetworkTopologyDiscovery 109 NetworkTopologyDiscovery instance = null; local 112 instance = delegate.newNetworkTopologyDiscovery(); 114 return (instance != null ? instance : new NetworkTopologyDiscoveryImpl()); 118 * Return the instance of the Multihommed Multicast DNS.
|
/external/libdrm/amdgpu/ |
amdgpu_gpu_info.c | 67 unsigned count, uint32_t instance, uint32_t flags, 78 request.read_mmr_reg.instance = instance; 173 unsigned instance = (i << AMDGPU_INFO_MMR_SE_INDEX_SHIFT) | local 177 r = amdgpu_read_mm_registers(dev, 0x263d, 1, instance, 0, 185 r = amdgpu_read_mm_registers(dev, 0xa0d4, 1, instance, 0, 191 r = amdgpu_read_mm_registers(dev, 0xa0d5, 1, instance, 0,
|
/external/libphonenumber/carrier/src/com/google/i18n/phonenumbers/ |
PhoneNumberToCarrierMapper.java | 32 private static PhoneNumberToCarrierMapper instance = null; field in class:PhoneNumberToCarrierMapper 45 * Gets a {@link PhoneNumberToCarrierMapper} instance to carry out international carrier lookup. 48 * this method multiple times will only result in one instance being created. 50 * @return a {@link PhoneNumberToCarrierMapper} instance 53 if (instance == null) { 54 instance = new PhoneNumberToCarrierMapper(MAPPING_DATA_DIRECTORY); 56 return instance;
|
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/scanner/ |
MockScanner.java | 21 private final Object instance; field in class:MockScanner 27 * @param instance The test instance 28 * @param clazz The class in the type hierarchy of this instance. 30 public MockScanner(Object instance, Class<?> clazz) { 31 this.instance = instance; 36 * Add the scanned and prepared mock instance to the given collection. 57 FieldReader fieldReader = new FieldReader(instance, field); 67 private Object preparedMock(Object instance, Field field) [all...] |
/external/mockito/src/test/java/org/mockito/internal/verification/ |
DescriptionTest.java | 45 Description instance = new Description(mockVerificationMode, failureMessage); local 48 instance.verify(mockVerificationData);
|
/external/oj-libjdwp/src/share/back/ |
invoker.h | 46 jobject instance; /* for INVOKE_INSTANCE only */ member in struct:InvokeRequest 65 jobject instance,
|
/external/okhttp/android/main/java/com/squareup/okhttp/ |
ConfigAwareConnectionPool.java | 50 private static final ConfigAwareConnectionPool instance = new ConfigAwareConnectionPool(); field in class:ConfigAwareConnectionPool 72 return instance;
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
Internal.java | 42 // Needed in tests to ensure that the instance is actually pointing to something. 46 public static Internal instance; field in class:Internal
|
/external/perfetto/src/ftrace_reader/ |
ftrace_config_muxer_unittest.cc | 60 static MockRunAtrace* instance; local 61 instance = this; 63 return instance->RunAtrace(args);
|
/external/vulkan-validation-layers/libs/vkjson/ |
vkjson_unittest.cc | 48 VkJsonInstance instance; local 49 instance.devices.resize(1); 50 VkJsonDevice& device = instance.devices[0]; 66 std::string json = VkJsonInstanceToJson(instance);
|
/external/webrtc/webrtc/system_wrappers/include/ |
static_instance.h | 40 static T* volatile instance = NULL; local 70 instance = T::CreateInstance(); 72 T* old_instance = instance; 73 instance = NULL; 96 // The instance has been destroyed by some other thread. Rollback. 102 if (instance == NULL) { 113 // updated just yet (that's done when the instance is created). 126 // Create instance and let whichever thread finishes first assign its 127 // local copy to the global instance. All other threads reclaim their 131 InterlockedExchangePointer(reinterpret_cast<void * volatile*>(&instance), [all...] |
/external/webrtc/webrtc/test/channel_transport/ |
traffic_control_win.cc | 20 TrafficControlWindows* TrafficControlWindows::instance = NULL; member in class:webrtc::test::TrafficControlWindows 30 if(instance != NULL) 38 return instance; 43 instance = new TrafficControlWindows(id); 44 if(instance == NULL) 51 instance->tcRegister = NULL; 52 instance->tcDeregister = NULL; 54 instance->tcEnumerate = NULL; 55 instance->tcOpenInterface = NULL; 56 instance->tcCloseInterface = NULL [all...] |
/frameworks/base/core/java/android/app/servertransaction/ |
ConfigurationChangeItem.java | 50 /** Obtain an instance initialized with provided params. */ 52 ConfigurationChangeItem instance = ObjectPool.obtain(ConfigurationChangeItem.class); local 53 if (instance == null) { 54 instance = new ConfigurationChangeItem(); 56 instance.mConfiguration = config; 58 return instance;
|
/frameworks/base/core/java/android/text/method/ |
DateKeyListener.java | 91 * Returns an instance of DateKeyListener appropriate for the given locale. 95 DateKeyListener instance; local 97 instance = sInstanceCache.get(locale); 98 if (instance == null) { 99 instance = new DateKeyListener(locale); 100 sInstanceCache.put(locale, instance); 103 return instance;
|
DateTimeKeyListener.java | 103 * Returns an instance of DateTimeKeyListener appropriate for the given locale. 107 DateTimeKeyListener instance; local 109 instance = sInstanceCache.get(locale); 110 if (instance == null) { 111 instance = new DateTimeKeyListener(locale); 112 sInstanceCache.put(locale, instance); 115 return instance;
|
TimeKeyListener.java | 103 * Returns an instance of TimeKeyListener appropriate for the given locale. 107 TimeKeyListener instance; local 109 instance = sInstanceCache.get(locale); 110 if (instance == null) { 111 instance = new TimeKeyListener(locale); 112 sInstanceCache.put(locale, instance); 115 return instance;
|
/frameworks/native/vulkan/vkjson/ |
vkjson_unittest.cc | 48 VkJsonInstance instance; local 49 instance.devices.resize(1); 50 VkJsonDevice& device = instance.devices[0]; 66 std::string json = VkJsonInstanceToJson(instance);
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/ |
Hwcomposer.h | 86 Hwcomposer *instance = sInstance; local 87 if (instance == 0) { 88 instance = createHwcomposer(); 89 sInstance = instance;
|
/hardware/interfaces/light/2.0/vts/functional/ |
VtsHalLightV2_0TargetTest.cpp | 80 static LightHidlEnvironment* Instance() { 81 static LightHidlEnvironment* instance = new LightHidlEnvironment; local 82 return instance; 94 LightHidlEnvironment::Instance()->getServiceName<ILight>()); 168 ::testing::AddGlobalTestEnvironment(LightHidlEnvironment::Instance()); 170 LightHidlEnvironment::Instance()->init(&argc, argv);
|
/hardware/interfaces/nfc/1.1/vts/functional/ |
VtsHalNfcV1_1TargetTest.cpp | 90 static NfcHidlEnvironment* Instance() { 91 static NfcHidlEnvironment* instance = new NfcHidlEnvironment; local 92 return instance; 228 ::testing::AddGlobalTestEnvironment(NfcHidlEnvironment::Instance()); 230 NfcHidlEnvironment::Instance()->init(&argc, argv);
|
/hardware/interfaces/oemlock/1.0/vts/functional/ |
VtsHalOemLockV1_0TargetTest.cpp | 32 static OemLockHidlEnvironment* Instance() { 33 static OemLockHidlEnvironment* instance = new OemLockHidlEnvironment; local 34 return instance; 43 OemLockHidlEnvironment::Instance()->getServiceName<IOemLock>()); 205 ::testing::AddGlobalTestEnvironment(OemLockHidlEnvironment::Instance()); 207 OemLockHidlEnvironment::Instance()->init(&argc, argv);
|
/hardware/interfaces/power/1.1/vts/functional/ |
VtsHalPowerV1_1TargetTest.cpp | 36 static PowerHidlEnvironment* Instance() { 37 static PowerHidlEnvironment* instance = new PowerHidlEnvironment; local 38 return instance; 48 PowerHidlEnvironment::Instance()->getServiceName<IPower>()); 108 ::testing::AddGlobalTestEnvironment(PowerHidlEnvironment::Instance()); 110 PowerHidlEnvironment::Instance()->init(&argc, argv);
|