HomeSort by relevance Sort by last modified time
    Searched refs:instance (Results 151 - 175 of 3014) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/dagger2/core/src/main/java/dagger/internal/
ScopedProvider.java 22 * A {@link Provider} implementation that memoizes the result of a {@link Factory} instance.
31 private volatile Object instance = UNINITIALIZED; field in class:ScopedProvider
42 Object result = instance;
45 result = instance;
47 instance = result = factory.get();
  /external/deqp/external/vulkancts/framework/vulkan/
vkPlatform.cpp 43 InstanceDriver::InstanceDriver (const PlatformInterface& platformInterface, VkInstance instance)
45 loadFunctions(platformInterface, instance);
48 void InstanceDriver::loadFunctions (const PlatformInterface& platformInterface, VkInstance instance)
50 #define GET_PROC_ADDR(NAME) platformInterface.getInstanceProcAddr(instance, NAME)
  /external/deqp/framework/platform/win32/
tcuWin32EGLNativeDisplayFactory.hpp 39 EGLNativeDisplayFactory (HINSTANCE instance);
  /external/guava/guava-gwt/src/com/google/common/collect/
ByFunctionOrdering_CustomFieldSerializer.java 32 ByFunctionOrdering<?, ?> instance) {
44 ByFunctionOrdering<?, ?> instance) throws SerializationException {
45 writer.writeObject(instance.function);
46 writer.writeObject(instance.ordering);
ImmutableEntry_CustomFieldSerializer.java 32 ImmutableEntry<?, ?> instance) {
43 ImmutableEntry<?, ?> instance) throws SerializationException {
44 writer.writeObject(instance.getKey());
45 writer.writeObject(instance.getValue());
RegularImmutableAsList_CustomFieldSerializer.java 34 RegularImmutableAsList<?> instance) {
46 RegularImmutableAsList<?> instance) throws SerializationException {
47 writer.writeObject(instance.delegateCollection());
48 writer.writeObject(instance.delegateList());
SingletonImmutableBiMap_CustomFieldSerializer.java 33 SingletonImmutableBiMap<?, ?> instance) {
44 SingletonImmutableBiMap<?, ?> instance) throws SerializationException {
45 writer.writeObject(instance.singleKey);
46 writer.writeObject(instance.singleValue);
  /external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
BasicPeriodFormatterService.java 24 private static BasicPeriodFormatterService instance; field in class:BasicPeriodFormatterService
28 * Return the default service instance. This uses the default data service.
33 if (instance == null) {
36 instance = new BasicPeriodFormatterService(ds);
38 return instance;
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
BasicPeriodFormatterService.java 22 private static BasicPeriodFormatterService instance; field in class:BasicPeriodFormatterService
26 * Return the default service instance. This uses the default data service.
31 if (instance == null) {
34 instance = new BasicPeriodFormatterService(ds);
36 return instance;
  /external/mockito/src/main/java/org/mockito/creation/instance/
InstantiationException.java 5 package org.mockito.creation.instance;
  /external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
MockMethodDispatcher.java 14 private static final ConcurrentMap<String, MockMethodDispatcher> INSTANCE = new ConcurrentHashMap<String, MockMethodDispatcher>();
17 if (mock == INSTANCE) { // Avoid endless loop if ConcurrentHashMap was redefined to check for being a mock.
20 return INSTANCE.get(identifier);
25 INSTANCE.putIfAbsent(identifier, dispatcher);
28 public abstract Callable<?> handle(Object instance, Method origin, Object[] arguments) throws Throwable;
30 public abstract boolean isMock(Object instance);
32 public abstract boolean isMocked(Object instance);
34 public abstract boolean isOverridden(Object instance, Method origin);
  /external/mockito/src/main/java/org/mockito/internal/creation/instance/
InstantiationException.java 5 package org.mockito.internal.creation.instance;
12 * Use {@link org.mockito.creation.instance.Instantiator} and {@link org.mockito.creation.instance.InstantiationException} types instead.
InstantiatorProviderAdapter.java 5 package org.mockito.internal.creation.instance;
7 import org.mockito.creation.instance.InstantiationException;
8 import org.mockito.creation.instance.Instantiator;
30 } catch (org.mockito.internal.creation.instance.InstantiationException e) {
  /external/mockito/src/main/java/org/mockito/plugins/
InstantiatorProvider.java 7 import org.mockito.internal.creation.instance.Instantiator;
16 * Mockito will invoke this interface in order to fetch an instance instantiator provider.
InstantiatorProvider2.java 7 import org.mockito.creation.instance.Instantiator;
12 * Mockito will invoke this interface in order to fetch an instance instantiator provider.
  /external/tensorflow/tensorflow/stream_executor/
multi_platform_manager.h 144 static PlatformMap* instance = new PlatformMap; local
145 return instance;
152 static PlatformIdMap* instance = new PlatformIdMap; local
153 return instance;
  /external/vulkan-validation-layers/libs/vkjson/
vkjson_info.cc 37 bool instance = false; member in struct:Options
46 if (arg == "--instance" || arg == "-i") {
47 options->instance = true;
74 if (options->instance && (options->device_index != unsignedNegOne ||
77 "the whole instance." << std::endl;
85 if (options->instance && options->output_file.empty()) {
86 std::cerr << "Must specify an output file when dumping the whole instance."
90 if (!options->output_file.empty() && !options->instance &&
92 std::cerr << "Must specify instance, device index, or device name when "
100 bool Dump(const VkJsonInstance& instance, const Options& options)
    [all...]
  /frameworks/base/core/java/android/app/servertransaction/
PauseActivityItem.java 74 /** Obtain an instance initialized with provided params. */
77 PauseActivityItem instance = ObjectPool.obtain(PauseActivityItem.class); local
78 if (instance == null) {
79 instance = new PauseActivityItem();
81 instance.mFinished = finished;
82 instance.mUserLeaving = userLeaving;
83 instance.mConfigChanges = configChanges;
84 instance.mDontReport = dontReport;
86 return instance;
89 /** Obtain an instance initialized with default params. *
91 PauseActivityItem instance = ObjectPool.obtain(PauseActivityItem.class); local
    [all...]
  /frameworks/native/vulkan/vkjson/
vkjson_info.cc 37 bool instance = false; member in struct:Options
46 if (arg == "--instance" || arg == "-i") {
47 options->instance = true;
74 if (options->instance && (options->device_index != unsignedNegOne ||
77 "the whole instance." << std::endl;
85 if (options->instance && options->output_file.empty()) {
86 std::cerr << "Must specify an output file when dumping the whole instance."
90 if (!options->output_file.empty() && !options->instance &&
92 std::cerr << "Must specify instance, device index, or device name when "
100 bool Dump(const VkJsonInstance& instance, const Options& options)
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/oem/
MotorolaHiddenMenuKeySequence.java 38 private static MotorolaHiddenMenuKeySequence instance = null; field in class:MotorolaHiddenMenuKeySequence
61 * Public interface to return the Singleton instance
64 * @return the MotorolaHiddenMenuKeySequence singleton instance
67 if (null == instance) {
68 instance = new MotorolaHiddenMenuKeySequence(context, new SystemPropertiesAccessor());
70 return instance;
119 MotorolaHiddenMenuKeySequence instance = getInstance(context); local
123 || instance.hiddenKeyPatterns == null
124 || instance.hiddenKeyPatternIntents == null) {
128 for (int i = 0; i < instance.hiddenKeyPatterns.size(); i++)
137 MotorolaHiddenMenuKeySequence instance = getInstance(context); local
    [all...]
  /platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/
IAutoMediaHelper.java 63 * This method is used to click on nth instance among the visible menu items
65 * @param - instance is the index of the menu item (starts from 0)
67 void clickMenuItem(int instance);
  /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...]
  /system/libvintf/
HalInterface.cpp 33 for (const auto& instance : mInstances) {
34 if (!func(mName, instance, false /* isRegex */)) {
38 for (const auto& instance : mRegexes) {
39 if (!func(mName, instance, true /* isRegex */)) {
  /prebuilts/ndk/r16/sources/third_party/vulkan/src/tests/layers/
test.cpp 32 VkInstance instance; member in struct:test::layer_data
35 layer_data() : instance(VK_NULL_HANDLE), instance_dispatch_table(nullptr) {};
64 instance_data->instance = *pInstance;
74 VKAPI_ATTR void VKAPI_CALL DestroyInstance(VkInstance instance, const VkAllocationCallbacks *pAllocator)
76 dispatch_key key = get_dispatch_key(instance);
78 instance_data->instance_dispatch_table->DestroyInstance(instance, pAllocator);
87 VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL GetInstanceProcAddr(VkInstance instance, const char* funcName)
110 layer_data *instance_data = get_my_data_ptr(get_dispatch_key(instance), layer_data_map);
117 return pTable->GetInstanceProcAddr(instance, funcName);
122 VK_LAYER_EXPORT VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL vkGetInstanceProcAddr(VkInstance instance, const char* funcName
    [all...]
  /art/test/435-new-instance/smali/
instance.smali 27 new-instance v1, LTestInterface;
35 new-instance v1, LTestClass;
43 new-instance v1, Lpkg/ProtectedClass;
51 new-instance v1, LUnknownClass;

Completed in 1908 milliseconds

1 2 3 4 5 67 8 91011>>