/hardware/qcom/display/msm8909/gralloc/ |
gr_device_impl.h | 54 static GrallocImpl *instance = new GrallocImpl(module); local 55 if (instance->IsInitialized()) { 56 return instance;
|
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
gr_device_impl.h | 54 static GrallocImpl *instance = new GrallocImpl(module); local 55 if (instance->IsInitialized()) { 56 return instance;
|
/hardware/qcom/display/msm8996/libgralloc1/ |
gr_device_impl.h | 54 static GrallocImpl *instance = new GrallocImpl(module); local 55 if (instance->IsInitialized()) { 56 return instance;
|
/hardware/qcom/display/msm8998/libgralloc1/ |
gr_device_impl.h | 54 static GrallocImpl *instance = new GrallocImpl(module); local 55 if (instance->IsInitialized()) { 56 return instance;
|
/libcore/luni/src/main/java/libcore/net/event/ |
NetworkEventDispatcher.java | 27 private static final NetworkEventDispatcher instance = new NetworkEventDispatcher(); field in class:NetworkEventDispatcher 33 * Returns the shared {@link NetworkEventDispatcher} instance. 36 return instance;
|
/libcore/luni/src/main/java/org/apache/harmony/luni/internal/util/ |
TimezoneGetter.java | 25 private static TimezoneGetter instance; field in class:TimezoneGetter 28 * Retrieves the singleton instance of this class. 30 * @return TimezoneGetter the single instance of this class. 33 return instance; 37 * Sets the singleton instance of this class. 39 * @param instance 40 * TimezoneGetter the single instance of this class. 43 if (instance != null) { 44 throw new UnsupportedOperationException("TimezoneGetter instance already set"); 46 instance = getter [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
DOMImplementationImpl.java | 36 // Singleton instance. 37 private static DOMImplementationImpl instance; field in class:DOMImplementationImpl 74 * Requests the singleton instance of the class. Creates it first, if 77 * @return The singleton Android DOMImplementationImpl instance. 80 if (instance == null) { 81 instance = new DOMImplementationImpl(); 84 return instance;
|
/libcore/ojluni/src/main/java/java/security/cert/ |
CertPathBuilder.java | 38 import sun.security.jca.GetInstance.Instance; 101 * access a single {@code CertPathBuilder} instance concurrently should 103 * threads each manipulating a different {@code CertPathBuilder} instance 173 Instance instance = GetInstance.getInstance("CertPathBuilder", local 175 return new CertPathBuilder((CertPathBuilderSpi)instance.impl, 176 instance.provider, algorithm); 216 Instance instance = GetInstance.getInstance("CertPathBuilder", local 218 return new CertPathBuilder((CertPathBuilderSpi)instance.impl 253 Instance instance = GetInstance.getInstance("CertPathBuilder", local [all...] |
CertPathValidator.java | 38 import sun.security.jca.GetInstance.Instance; 101 * access a single {@code CertPathValidator} instance concurrently should 104 * instance need not synchronize. 172 Instance instance = GetInstance.getInstance("CertPathValidator", local 174 return new CertPathValidator((CertPathValidatorSpi)instance.impl, 175 instance.provider, algorithm); 216 Instance instance = GetInstance.getInstance("CertPathValidator", local 218 return new CertPathValidator((CertPathValidatorSpi)instance.impl 253 Instance instance = GetInstance.getInstance("CertPathValidator", local [all...] |
/libcore/ojluni/src/main/java/javax/net/ssl/ |
TrustManagerFactory.java | 154 GetInstance.Instance instance = GetInstance.getInstance local 157 return new TrustManagerFactory((TrustManagerFactorySpi)instance.impl, 158 instance.provider, algorithm); 198 GetInstance.Instance instance = GetInstance.getInstance local 201 return new TrustManagerFactory((TrustManagerFactorySpi)instance.impl, 202 instance.provider, algorithm); 220 * @param provider an instance of the provider. 235 GetInstance.Instance instance = GetInstance.getInstanc local [all...] |
/packages/apps/Camera2/src/android/util/ |
Pools.java | 28 * MyPooledClass instance = sPool.acquire(); 29 * return (instance != null) ? instance : new MyPooledClass(); 53 * @return An instance from the pool if such, null otherwise. 58 * Release an instance to the pool. 60 * @param instance The instance to release. 61 * @return Whether the instance was put in the pool. 63 * @throws IllegalStateException If the instance is already in the pool. 65 public boolean release(T instance); 101 T instance = (T) mPool[lastPooledIndex]; local [all...] |
/packages/apps/Camera2/src_pd/com/android/camera/stats/ |
SessionStatsCollector.java | 8 public static SessionStatsCollector instance() { method in class:SessionStatsCollector
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
TouchPointManager.java | 30 private static TouchPointManager instance = new TouchPointManager(); field in class:TouchPointManager 34 /** Private constructor. Instance should only be acquired through getRunningInstance(). */ 38 return instance;
|
/packages/apps/Gallery2/src/android/util/ |
Pools.java | 28 * MyPooledClass instance = sPool.acquire(); 29 * return (instance != null) ? instance : new MyPooledClass(); 53 * @return An instance from the pool if such, null otherwise. 58 * Release an instance to the pool. 60 * @param instance The instance to release. 61 * @return Whether the instance was put in the pool. 63 * @throws IllegalStateException If the instance is already in the pool. 65 public boolean release(T instance); 101 T instance = (T) mPool[lastPooledIndex]; local [all...] |
/prebuilts/ndk/r16/sources/third_party/vulkan/src/libs/vkjson/ |
vkjson_info.cc | 34 bool instance = false; member in struct:Options 43 if (arg == "--instance" || arg == "-i") { 44 options->instance = true; 71 if (options->instance && (options->device_index != unsignedNegOne || 74 "the whole instance." << std::endl; 82 if (options->instance && options->output_file.empty()) { 83 std::cerr << "Must specify an output file when dumping the whole instance." 87 if (!options->output_file.empty() && !options->instance && 89 std::cerr << "Must specify instance, device index, or device name when " 97 bool Dump(const VkJsonInstance& instance, const Options& options) [all...] |
vkjson_instance.cc | 94 VkJsonInstance instance; local 107 instance.layers.reserve(count); 109 instance.layers.push_back(VkJsonLayer{layer, std::vector<VkExtensionProperties>()}); 111 &instance.layers.back().extensions)) 116 if (!EnumerateExtensions(nullptr, &instance.extensions)) 153 instance.devices.reserve(devices.size()); 155 instance.devices.emplace_back(VkJsonGetDevice(device)); 158 return instance;
|
/system/core/libutils/include/utils/ |
Singleton.h | 42 // DO NOT USE: Please use scoped static initialization. For instance: 53 TYPE* instance = sInstance; local 54 if (instance == 0) { 55 instance = new TYPE(); 56 sInstance = instance; 58 return *instance; 83 * (eg: <TYPE>.cpp) to create the static instance of Singleton<>'s attributes,
|
/system/hardware/interfaces/net/netd/1.0/vts/functional/ |
VtsHalNetNetdV1_0TargetTest.cpp | 33 static NetdHidlEnvironment* Instance() { 34 static NetdHidlEnvironment* instance = new NetdHidlEnvironment; local 35 return instance; 48 NetdHidlEnvironment::Instance()->getServiceName<INetd>()); 49 ASSERT_NE(netd, nullptr) << "Could not get HIDL instance"; 90 ::testing::AddGlobalTestEnvironment(NetdHidlEnvironment::Instance()); 92 NetdHidlEnvironment::Instance()->init(&argc, argv);
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
TestSuiteInfoTest.java | 35 /** Ensure that the instance default values are stubs. */ 38 TestSuiteInfo instance = TestSuiteInfo.getInstance(); local 39 if (instance.didLoadFromProperties()) { 44 assertEquals("[stub build number]", instance.getBuildNumber()); 45 assertEquals("[stub target arch]", instance.getTargetArch()); 46 assertEquals("[stub name]", instance.getName()); 47 assertEquals("[stub fullname]", instance.getFullName()); 48 assertEquals("[stub version]", instance.getVersion()); 67 TestSuiteInfo instance = TestSuiteInfo.getInstance(); local 69 Properties p = instance.loadSuiteInfo(stream) [all...] |
/dalvik/dx/tests/137-dexmerger-dex38/src/invokecustom/ |
InvokeCustom.java | 172 InvokeCustom instance = new InvokeCustom(); local 173 instance.checkFieldTest9(fieldGetter, fieldSetter); 176 instanceInvoke.invokeExact(instance);
|
/frameworks/base/core/java/android/gesture/ |
Instance.java | 21 * An instance represents a sample if the label is available or a query if the 24 class Instance { 41 // the id of the instance 44 private Instance(long id, float[] sample, String sampleName) { 66 * create a learning instance for a single stroke gesture 70 * @return the instance 72 static Instance createInstance(int sequenceType, int orientationType, Gesture gesture, String label) { 74 Instance instance; local 77 instance = new Instance(gesture.getID(), pts, label) [all...] |
/frameworks/support/compat/src/main/java/androidx/core/os/ |
LocaleListCompat.java | 180 * Creates a new instance of {@link LocaleListCompat} from the Locale list. 184 LocaleListCompat instance = new LocaleListCompat(); local 186 instance.setLocaleList((LocaleList) object); 189 return instance; 203 * Creates a new instance of {@link LocaleListCompat} from the {@link Locale} array. 206 LocaleListCompat instance = new LocaleListCompat(); local 207 instance.setLocaleListArray(localeList); 208 return instance; 272 * Retrieve an empty instance of {@link LocaleList}. 285 * @return A new instance with the {@link Locale} items identified by the given tags 299 LocaleListCompat instance = new LocaleListCompat(); local [all...] |
/developers/samples/android/common/src/java/com/example/android/common/util/ |
Pools.java | 53 * MyPooledClass instance = sPool.acquire(); 54 * return (instance != null) ? instance : new MyPooledClass(); 79 * @return An instance from the pool if available, null otherwise. 84 * Releases an instance to the pool. This marks the object as reusable 88 * @param instance The instance to release. 89 * @return True if the instance was put in the pool. 90 * @throws IllegalStateException If the instance is already in the pool. 92 public boolean release(T instance); 135 T instance = (T) mPool[lastPooledIndex]; local [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/ |
CommandLineSerializer.java | 59 WorkerSpec instance = (WorkerSpec) in.readObject(); local 63 return instance;
|
/external/clang/test/CodeGenCXX/ |
microsoft-abi-methods.cpp | 17 C instance; local 19 instance.simple_method(); 30 C instance; local 31 instance.cdecl_method(); 42 C instance; local 43 instance.vararg_method("Hello");
|