/external/mockito/src/org/mockito/internal/configuration/injection/ |
SpyOnInjectedFieldsHandler.java | 37 Object instance = fieldReader.read(); local 38 if (new MockUtil().isMock(instance)) { 39 // A. instance has been spied earlier 41 Mockito.reset(instance); 44 Mockito.mock(instance.getClass(), withSettings() 45 .spiedInstance(instance)
|
/external/opencv3/modules/flann/include/opencv2/flann/ |
logger.h | 54 static Logger& instance() function in class:cvflann::Logger 85 static void setLevel(int level) { instance().logLevel = level; } 91 static void setDestination(const char* name) { instance()._setDestination(name); } 103 int ret = instance()._log(level,fmt,arglist); 113 int ret = instance()._log(LEVEL, fmt, ap); \
|
/external/testng/src/test/java/test/pholser/ |
Demo.java | 20 Captor.instance().capture( "Demo.setUpFixture" ); 25 Captor.instance().capture( "Demo.setUp" ); 30 Captor.instance().capture( "Demo.tearDown" ); 36 final List<String> actual = Captor.instance().captives(); 43 final List<String> actual = Captor.instance().captives();
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
VeiledAddressMatcher.java | 118 final VeiledAddressMatcher instance = new VeiledAddressMatcher(); local 119 instance.mVeiledMatchingEnabled = resources.getBoolean(VEILED_MATCHING_ENABLED); 120 if (instance.mVeiledMatchingEnabled) { 121 instance.loadPattern(resources.getString(VEILED_RESOURCE)); 123 return instance;
|
/external/v8/test/mjsunit/wasm/ |
test-wasm-module-builder.js | 20 var instance = Wasm.instantiateModule(buffer); variable 21 assertEquals(11, instance.exports.blarg()); 32 var instance = Wasm.instantiateModule(buffer, {print: print}); variable 34 instance.exports.main(); 45 var instance = Wasm.instantiateModule(buffer); variable 46 assertEquals(19, instance.exports.main(19)); 47 assertEquals(27777, instance.exports.main(27777)); 67 var instance = Wasm.instantiateModule(buffer); 68 assertEquals(19, instance.exports.main(19)); 69 assertEquals(27777, instance.exports.main(27777)) 81 var instance = module.instantiate(); variable 96 var instance = module.instantiate(); variable 111 var instance = Wasm.instantiateModule(buffer); variable 125 var instance = Wasm.instantiateModule(array); variable 138 var instance = Wasm.instantiateModule(array2); variable 150 var instance = Wasm.instantiateModule(buffer, {mod: {print: print}}); variable [all...] |
/external/vulkan-validation-layers/loader/ |
debug_report.c | 99 VkInstance instance, VkDebugReportCallbackCreateInfoEXT *pCreateInfo, 101 struct loader_instance *inst = loader_get_instance(instance); 104 instance, pCreateInfo, pAllocator, pCallback); 160 debug_report_DestroyDebugReportCallback(VkInstance instance, 163 struct loader_instance *inst = loader_get_instance(instance); 166 inst->disp->DestroyDebugReportCallbackEXT(instance, callback, pAllocator); 174 VkInstance instance, VkDebugReportFlagsEXT flags, 177 struct loader_instance *inst = loader_get_instance(instance); 179 inst->disp->DebugReportMessageEXT(instance, flags, objType, object, 184 * This is the instance chain terminator functio [all...] |
/external/guava/guava-gwt/src/com/google/common/base/ |
PairwiseEquivalence_CustomFieldSerializer.java | 33 PairwiseEquivalence<?> instance) {} 44 public static void serialize(SerializationStreamWriter writer, PairwiseEquivalence<?> instance) 46 writer.writeObject(instance.elementEquivalence);
|
Present_CustomFieldSerializer.java | 31 public static void deserialize(SerializationStreamReader reader, Present<?> instance) {} 38 public static void serialize(SerializationStreamWriter writer, Present<?> instance) 40 writer.writeObject(instance.get());
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
ComparatorOrdering_CustomFieldSerializer.java | 33 ComparatorOrdering<?> instance) { 44 ComparatorOrdering<?> instance) throws SerializationException { 45 writer.writeObject(instance.comparator);
|
CompoundOrdering_CustomFieldSerializer.java | 33 CompoundOrdering<?> instance) { 44 CompoundOrdering<?> instance) throws SerializationException { 45 writer.writeObject(instance.comparators);
|
EmptyImmutableSortedSet_CustomFieldSerializer.java | 33 EmptyImmutableSortedSet<?> instance) { 56 EmptyImmutableSortedSet<?> instance) throws SerializationException { 57 writer.writeObject(instance.comparator());
|
ImmutableEnumMap_CustomFieldSerializer.java | 34 ImmutableEnumMap<?, ?> instance) { 50 ImmutableEnumMap<?, ?> instance) throws SerializationException { 51 Map_CustomFieldSerializerBase.serialize(writer, instance);
|
ImmutableEnumSet_CustomFieldSerializer.java | 34 ImmutableEnumSet<?> instance) { 50 ImmutableEnumSet<?> instance) throws SerializationException { 51 Collection_CustomFieldSerializerBase.serialize(writer, instance);
|
Multiset_CustomFieldSerializerBase.java | 45 static void serialize(SerializationStreamWriter writer, Multiset<?> instance) 47 int entryCount = instance.entrySet().size(); 49 for (Multiset.Entry<?> entry : instance.entrySet()) {
|
RegularImmutableBiMap_CustomFieldSerializer.java | 35 RegularImmutableBiMap<?, ?> instance) { 53 RegularImmutableBiMap<?, ?> instance) throws SerializationException { 54 Map_CustomFieldSerializerBase.serialize(writer, instance);
|
RegularImmutableList_CustomFieldSerializer.java | 36 RegularImmutableList<?> instance) { 53 RegularImmutableList<?> instance) throws SerializationException { 54 Collection_CustomFieldSerializerBase.serialize(writer, instance);
|
RegularImmutableMap_CustomFieldSerializer.java | 35 RegularImmutableMap<?, ?> instance) { 52 RegularImmutableMap<?, ?> instance) throws SerializationException { 53 Map_CustomFieldSerializerBase.serialize(writer, instance);
|
RegularImmutableMultiset_CustomFieldSerializer.java | 33 RegularImmutableMultiset<?> instance) { 51 RegularImmutableMultiset<?> instance) throws SerializationException { 52 Collection_CustomFieldSerializerBase.serialize(writer, instance);
|
RegularImmutableSet_CustomFieldSerializer.java | 34 RegularImmutableSet<?> instance) { 51 RegularImmutableSet<?> instance) throws SerializationException { 52 Collection_CustomFieldSerializerBase.serialize(writer, instance);
|
/external/guice/core/test/com/google/inject/example/ |
ClientServiceWithFactories.java | 42 private static Service instance = new ServiceImpl(); field in class:ClientServiceWithFactories.ServiceFactory 45 return instance; 49 instance = service;
|
/external/mockito/src/org/mockito/internal/progress/ |
HandyReturnValues.java | 55 public <T> T returnFor(T instance) {
56 return instance == null ? null : (T) returnFor(instance.getClass());
|
/external/opencv3/samples/gpu/performance/ |
performance.h | 31 static TestSystem& instance() function in class:TestSystem 149 TestSystem::instance().addInit(this); \ 159 TestSystem::instance().addTest(this); \ 165 #define SUBTEST TestSystem::instance().startNewSubtest() 168 while (!TestSystem::instance().stop()) { \ 169 TestSystem::instance().cpuOn() 171 TestSystem::instance().cpuOff(); \ 172 } TestSystem::instance().cpuComplete() 175 while (!TestSystem::instance().stop()) { \ 176 TestSystem::instance().gpuOn( [all...] |
/frameworks/base/location/lib/java/com/android/location/provider/ |
ActivityRecognitionProviderClient.java | 41 IActivityRecognitionHardware instance) { 49 provider = isSupported ? new ActivityRecognitionProvider(instance) : null; 70 * @param instance the available provider's instance 74 ActivityRecognitionProvider instance);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
ActionListTransformState.java | 39 ActionListTransformState instance = sInstancePool.acquire(); local 40 if (instance != null) { 41 return instance;
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
CertPathHelper.java | 51 protected static CertPathHelper instance; field in class:CertPathHelper 64 instance.implSetPathToNames(sel, names); 68 instance.implSetDateAndTime(sel, date, skew);
|