/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/testng/src/main/java/org/testng/ |
ClassMethodMap.java | 35 Object instance = m.getInstance(); local 36 List<ITestNGMethod> l = m_classMap.get(instance); 39 m_classMap.put(instance, l); 49 public synchronized boolean removeAndCheckIfLast(ITestNGMethod m, Object instance) { 50 List<ITestNGMethod> l = m_classMap.get(instance);
|
/external/testng/src/main/java/org/testng/internal/ |
ConfigurationMethod.java | 60 Object instance) 62 super(com.getName(), com, annotationFinder, instance); local 100 Object instance) 103 isBeforeClass, isAfterClass, isBeforeMethod, isAfterMethod, beforeGroups, afterGroups, instance); 118 Object instance) { 121 true, instance); 135 Object instance) 151 instance)); 159 IAnnotationFinder annotationFinder, boolean isBefore, Object instance) { 171 instance); [all...] |
/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...] |
/external/autotest/server/ |
site_linux_router.py | 205 self.stop_dhcp_server(instance=None) 247 """Start a hostapd instance described by conf. 324 instance=None, 330 |instance|). Wait |timeout_seconds| for |process| to die 335 @param instance: string fragment of the command line unique to 336 this instance of the remote process. 343 if instance is not None: 344 search_arg = '-f "^%s.*%s"' % (process, instance) 362 '' if instance is None else ' (instance=%s)' % instance) [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/ec2/vpc/ |
test_connection.py | 48 # Register the subnet to be deleted after instance termination 69 for instance in self.instances: 70 self.terminate_instance(instance) 73 def terminate_instance(self, instance): 74 instance.terminate() 76 instance.update() 77 if instance.state == 'terminated': 110 instance = reservation.instances[0] 111 self.addCleanup(self.terminate_instance, instance) 112 retrieved = self.api.get_all_reservations(instance_ids=[instance.id] [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
HandleMap.java | 40 int instance = 0; field in class:HandleMap.Entry 47 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance) { 52 this.instance = instance; 56 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance, 62 this.instance = instance; 99 void addService(int serverIf, int handle, UUID uuid, int serviceType, int instance, 101 mEntries.add(new Entry(serverIf, handle, uuid, serviceType, instance, advertisePreferred)); 134 int getServiceHandle(UUID uuid, int serviceType, int instance) { [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkConcreteInstanceInterface.inl | 4 virtual void destroyInstance (VkInstance instance, const VkAllocationCallbacks* pAllocator) const; 5 virtual VkResult enumeratePhysicalDevices (VkInstance instance, deUint32* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices) const; 17 virtual void destroySurfaceKHR (VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* pAllocator) const; 28 virtual VkResult createDisplayPlaneSurfaceKHR (VkInstance instance, const VkDisplaySurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const; 29 virtual VkResult createXlibSurfaceKHR (VkInstance instance, const VkXlibSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const; 31 virtual VkResult createXcbSurfaceKHR (VkInstance instance, const VkXcbSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const; 33 virtual VkResult createWaylandSurfaceKHR (VkInstance instance, const VkWaylandSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const; 35 virtual VkResult createMirSurfaceKHR (VkInstance instance, const VkMirSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const; 37 virtual VkResult createAndroidSurfaceKHR (VkInstance instance, const VkAndroidSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const; 38 virtual VkResult createWin32SurfaceKHR (VkInstance instance, const VkWin32SurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfac (…) [all...] |
vkVirtualInstanceInterface.inl | 4 virtual void destroyInstance (VkInstance instance, const VkAllocationCallbacks* pAllocator) const = 0; 5 virtual VkResult enumeratePhysicalDevices (VkInstance instance, deUint32* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices) const = 0; 17 virtual void destroySurfaceKHR (VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* pAllocator) const = 0; 28 virtual VkResult createDisplayPlaneSurfaceKHR (VkInstance instance, const VkDisplaySurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const = 0; 29 virtual VkResult createXlibSurfaceKHR (VkInstance instance, const VkXlibSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const = 0; 31 virtual VkResult createXcbSurfaceKHR (VkInstance instance, const VkXcbSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const = 0; 33 virtual VkResult createWaylandSurfaceKHR (VkInstance instance, const VkWaylandSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const = 0; 35 virtual VkResult createMirSurfaceKHR (VkInstance instance, const VkMirSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const = 0; 37 virtual VkResult createAndroidSurfaceKHR (VkInstance instance, const VkAndroidSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) const = 0; 38 virtual VkResult createWin32SurfaceKHR (VkInstance instance, const VkWin32SurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfac (…) [all...] |
/external/deqp/framework/platform/win32/ |
tcuWin32GLES3Platform.cpp | 61 Win32GLES3Context (const wgl::Core& wgl, HINSTANCE instance, const glu::RenderConfig& config); 84 Win32GLES3Context::Win32GLES3Context (const wgl::Core& wgl, HINSTANCE instance, const glu::RenderConfig& config) 88 , m_window (instance, m_renderTarget.getWidth(), m_renderTarget.getHeight()) 147 Win32GLES3ContextFactory (HINSTANCE instance); 157 Win32GLES3ContextFactory::Win32GLES3ContextFactory (HINSTANCE instance) 159 , m_instance (instance) 160 , m_wglCore (instance) 180 const HINSTANCE instance = GetModuleHandle(NULL); local 185 m_glContextFactoryRegistry.registerFactory(new Win32GLES3ContextFactory(instance));
|
/external/lzma/CPP/Windows/Control/ |
Window2.cpp | 51 HWND parentWindow, HMENU idOrHMenu, HINSTANCE instance)
54 if (!::GetClassInfo(instance, className, &wc))
61 wc.hInstance = instance;
71 x, y, width, height, parentWindow, idOrHMenu, instance, this);
78 HWND parentWindow, HMENU idOrHMenu, HINSTANCE instance)
84 needRegister = ::GetClassInfoW(instance, className, &wc) == 0;
98 needRegister = ::GetClassInfoA(instance, classNameP, &windowClassA) == 0;
108 wc.hInstance = instance;
118 x, y, width, height, parentWindow, idOrHMenu, instance, this);
|
/libcore/ojluni/src/main/java/javax/crypto/ |
ExemptionMechanism.java | 38 import sun.security.jca.GetInstance.Instance; 136 Instance instance = JceSecurity.getInstance("ExemptionMechanism", local 138 return new ExemptionMechanism((ExemptionMechanismSpi)instance.impl, 139 instance.provider, algorithm); 184 Instance instance = JceSecurity.getInstance("ExemptionMechanism", local 186 return new ExemptionMechanism((ExemptionMechanismSpi)instance.impl, 187 instance.provider, algorithm); 224 Instance instance = JceSecurity.getInstance("ExemptionMechanism" local [all...] |
/device/google/marlin/vr/ |
vr.c | 58 * Debug function for printing out a log instance 60 static void log_config_instance(struct config_instance *instance ){ 61 ALOGI("logging config_instance 0x%p", instance); 62 ALOGI("config_instance: cfg_desc = %s", instance->cfg_desc); 63 ALOGI("config_instance: algo_type = %s", instance->algo_type); 64 ALOGI("config_instance: fields_mask = 0x%x", instance->fields_mask); 65 ALOGI("config_instance: num_fields = %u", instance->num_fields); 66 for (uint32_t i = 0; i < instance->num_fields; i++) { 68 ALOGI("\tfield_name = %s", instance->fields[i].field_name); 69 ALOGI("\tdata_type = %u", instance->fields[i].data_type) [all...] |
/external/mesa3d/src/gallium/drivers/svga/svgadump/ |
svga_dump.py | 52 def __init__(self, instance = '', decl = None): 54 self._instance = instance 84 def dump_decl(instance, decl): 85 dumper = decl_dumper_t(instance, decl) 91 def __init__(self, instance, type_): 93 self.instance = instance 97 return type_dumper_t(self.instance, self.type) 146 dump_type(self.instance + '[%i]' % i, type_traits.base_type(self.type)) 154 dump_decl(self.instance, decl [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/ |
MockVrListenerService.java | 51 public final VrListenerService instance; field in class:MockVrListenerService.Event 56 instance = i; 61 public static Event build(VrListenerService instance, EventType type, Object argument1) { 62 return new Event(instance, type, argument1); 65 public static Event build(VrListenerService instance, EventType type) { 66 return new Event(instance, type, null);
|
/external/autotest/server/site_tests/network_WiFi_ConnectionIdentifier/ |
network_WiFi_ConnectionIdentifier.py | 65 # SSIDs. Each AP instance is connected to specific gateway. 69 ssid0 = self.context.router.get_ssid(instance=0) 70 ssid1 = self.context.router.get_ssid(instance=1) 82 # connection ID sticks with AP instance regardless of the SSID. 87 if (self.context.router.get_ssid(instance=0) == ssid0 or 88 self.context.router.get_ssid(instance=1) == ssid1): 93 # AP instance. 94 self._connect(self.context.router.get_ssid(instance=0), 96 self._connect(self.context.router.get_ssid(instance=1),
|
/external/e2fsprogs/tests/defaults/ |
e_script | 12 instance=`echo $test_name | sed -e 's/e_\([^_]*\)_\(.*\)/\2/'` 31 cat $SRCDIR/progs/test_data/$instance.setup $SRCDIR/progs/test_data/test.$class \ 47 unset EXPECT OUT class instance
|
/external/libgdx/extensions/gdx-bullet/jni/swig/collision/ |
btCollisionObjectWrapper.i | 13 /** Temporary instance, use by native methods that return a btCollisionObjectWrapper instance */ 23 /** Obtains a temporary instance, used for callback methods with one or more btManifoldPoint arguments */ 25 btCollisionObjectWrapper instance = argumentInstances[argumentIndex = (argumentIndex + 1) & 3]; 26 instance.reset(swigCPtr, owner); 27 return instance;
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/ |
ModelLoaderTest.java | 33 ModelInstance instance;
field in class:ModelLoaderTest 52 instance = new ModelInstance(assets.get("data/g3d/cube.g3dj", Model.class));
59 if ((instance != null) && ((counter += Gdx.graphics.getDeltaTime()) >= 1f)) {
61 instance = null;
75 if (instance != null) {
77 modelBatch.render(instance);
|
/external/vulkan-validation-layers/loader/ |
debug_report.h | 36 * What happens if a layer is enabled on both the instance chain 43 * the instance chain and once via the device chain. 47 * Since the instance chain requires us iterating over the available ICDs 54 * the MsgCallback object. That needs to be an instance thing. So, since 55 * we used an instance to create it, we need a custom Destroy that also 56 * takes an instance. That way we can iterate over the ICDs properly. 59 * Loader will create instance chain with enabled extensions. 61 * the instance chain. 62 * fn = GetProcAddr(INSTANCE, "vkCreateMsgCallback") -> point to loader's 65 * Have only established the instance chain so far. Loader will call th [all...] |
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
NetworkMonitor.java | 55 private static NetworkMonitor instance; field in class:NetworkMonitor 84 instance = new NetworkMonitor(context); 86 return instance; 90 return instance != null; 94 * Returns the singleton instance. 97 return instance; 221 instance = new NetworkMonitor(context);
|
/external/guice/core/src/com/google/inject/internal/ |
ProviderMethod.java | 61 static <T> ProviderMethod<T> create(Key<T> key, Method method, Object instance, 73 instance, 89 instance, 96 protected final Object instance; field in class:ProviderMethod 109 private ProviderMethod(Key<T> key, Method method, Object instance, 114 this.instance = instance; 134 return instance; 139 return instance; 217 && instance.equals(o.instance [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/ |
Policy.java | 44 for (OMANode instance : rpNode.getChildren()) { 45 if (instance.isLeaf()) { 49 mPreferredRoamingPartners.add(new PreferredRoamingPartner(instance)); 58 for (OMANode instance : bhtNode.getChildren()) { 59 if (instance.isLeaf()) { 63 mMinBackhaulThresholds.add(new MinBackhaul(instance)); 74 for (OMANode instance : sxNode.getChildren()) { 75 if (instance.isLeaf()) { 78 mSPExclusionList.add(MOManager.getString(instance, TAG_SSID)); 87 for (OMANode instance : rptNode.getChildren()) [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/ |
Policy.java | 45 for (OMANode instance : rpNode.getChildren()) { 46 if (instance.isLeaf()) { 50 mPreferredRoamingPartners.add(new PreferredRoamingPartner(instance)); 60 for (OMANode instance : bhtNode.getChildren()) { 61 if (instance.isLeaf()) { 65 mMinBackhaulThresholds.add(new MinBackhaul(instance)); 77 for (OMANode instance : sxNode.getChildren()) { 78 if (instance.isLeaf()) { 82 .add(PasspointManagementObjectManager.getString(instance, TAG_SSID)); 92 for (OMANode instance : rptNode.getChildren()) [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/mashups/ |
server.py | 99 instance_id = StringProperty(verbose_name="Instance ID") 106 instance_type = StringProperty(verbose_name="Instance Type") 125 instance = property(getInstance, setReadOnly, None, 'The Instance for the server') variable in class:Server 128 if self.instance: 129 return self.instance.image_id 134 if self.instance: 135 self.instance.update() 136 return self.instance.state 142 if self.instance [all...] |