/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
ShortcutManagerNegativeTest.java | 50 private static Object readField(Object instance, String field) 52 final Field f = instance.getClass().getDeclaredField(field); 54 final Object ret = f.get(instance); 61 private static void callMethodExpectingSecurityException(Object instance, String name, 66 for (Method method : instance.getClass().getDeclaredMethods()) { 78 m.invoke(instance, args);
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineMultisampleBase.cpp | 36 void MultisampleInstanceBase::validateImageSize (const InstanceInterface& instance, 41 const VkPhysicalDeviceProperties deviceProperties = getPhysicalDeviceProperties(instance, physicalDevice); 93 void MultisampleInstanceBase::validateImageFeatureFlags (const InstanceInterface& instance, 98 const VkFormatProperties formatProperties = getPhysicalDeviceFormatProperties(instance, physicalDevice, format); 112 void MultisampleInstanceBase::validateImageInfo (const InstanceInterface& instance, 117 instance.getPhysicalDeviceImageFormatProperties(physicalDevice, imageInfo.format, imageInfo.imageType, imageInfo.tiling, imageInfo.usage, imageInfo.flags, &imageFormatProps);
|
/external/deqp/framework/platform/win32/ |
tcuWGLContextFactory.cpp | 68 WGLContext (HINSTANCE instance, const wgl::Core& wglCore, const glu::RenderConfig& config); 93 WGLContext::WGLContext (HINSTANCE instance, const wgl::Core& wglCore, const glu::RenderConfig& config) 95 , m_window (instance, 170 ContextFactory::ContextFactory (HINSTANCE instance) 172 , m_instance (instance) 173 , m_wglCore (instance)
|
tcuWin32VulkanPlatform.cpp | 72 VulkanDisplay (HINSTANCE instance) 73 : vk::wsi::Win32DisplayInterface (vk::pt::Win32InstanceHandle(instance)) 79 const HINSTANCE instance = (HINSTANCE)m_native.internal; local 83 return new VulkanWindow(MovePtr<win32::Window>(new win32::Window(instance, (int)width, (int)height))); 110 VulkanPlatform::VulkanPlatform (HINSTANCE instance) 111 : m_instance(instance)
|
/external/lzma/CPP/Windows/ |
Window.cpp | 53 HINSTANCE instance, LPVOID createParam)
59 idOrHMenu, instance, createParam);
64 idOrHMenu, instance, createParam);
71 HINSTANCE instance, LPVOID createParam)
77 idOrHMenu, instance, createParam);
100 idOrHMenu, instance, createParam);
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowDisplayManagerGlobal.java | 22 private static DisplayManagerGlobal instance; field in class:ShadowDisplayManagerGlobal 28 instance = null; 33 if (instance == null) { 36 instance = ReflectionHelpers.callConstructor(DisplayManagerGlobal.class, 38 ShadowDisplayManagerGlobal shadow = Shadow.extract(instance); 41 return instance;
|
/external/swiftshader/src/OpenGL/libGL/ |
main.cpp | 123 static void WaitForDebugger(HINSTANCE instance) 127 HRSRC dialog = FindResource(instance, MAKEINTRESOURCE(IDD_DIALOG1), RT_DIALOG); 128 DLGTEMPLATE *dialogTemplate = (DLGTEMPLATE*)LoadResource(instance, dialog); 129 DialogBoxIndirect(instance, dialogTemplate, NULL, DebuggerWaitDialogProc); 133 extern "C" BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved) 139 WaitForDebugger(instance);
|
/external/vulkan-validation-layers/layers/ |
vk_layer_table.cpp | 39 assert(it != tableInstanceMap.end() && "Not able to find instance dispatch entry"); 73 assert(it != map.end() && "Not able to find instance dispatch entry"); 98 * Instance -> PhysicalDevice 102 VkLayerInstanceDispatchTable *initInstanceTable(VkInstance instance, const PFN_vkGetInstanceProcAddr gpa, instance_table_map &map) { 104 dispatch_key key = get_dispatch_key(instance); 114 layer_init_instance_dispatch_table(instance, pTable, gpa); 116 // Setup func pointers that are required but not externally exposed. These won't be added to the instance dispatch table by 118 pTable->GetPhysicalDeviceProcAddr = (PFN_GetPhysicalDeviceProcAddr)gpa(instance, "vk_layerGetPhysicalDeviceProcAddr"); 123 VkLayerInstanceDispatchTable *initInstanceTable(VkInstance instance, const PFN_vkGetInstanceProcAddr gpa) { 124 return initInstanceTable(instance, gpa, tableInstanceMap) [all...] |
/external/vulkan-validation-layers/loader/ |
debug_report.h | 29 // What happens if a layer is enabled on both the instance chain 36 // the instance chain and once via the device chain. 40 // Since the instance chain requires us iterating over the available ICDs 47 // the MsgCallback object. That needs to be an instance thing. So, since 48 // we used an instance to create it, we need a custom Destroy that also 49 // takes an instance. That way we can iterate over the ICDs properly. 52 // Loader will create instance chain with enabled extensions. 54 // the instance chain. 55 // fn = GetProcAddr(INSTANCE, "vkCreateMsgCallback") -> point to loader's 58 // Have only established the instance chain so far. Loader will call th [all...] |
/frameworks/av/packages/MediaComponents/src/com/android/media/ |
MediaLibraryService2Impl.java | 46 public MediaLibraryService2Impl(MediaLibraryService2 instance) { 47 super(instance); 48 mInstance = instance; 136 public BuilderImpl(MediaLibraryService2 service, Builder instance, 154 public LibraryRootImpl(LibraryRoot instance, String rootId, Bundle extras) { 158 mInstance = instance;
|
/frameworks/base/core/java/android/app/servertransaction/ |
ClientTransaction.java | 137 /** Obtain an instance initialized with provided params. */ 139 ClientTransaction instance = ObjectPool.obtain(ClientTransaction.class); local 140 if (instance == null) { 141 instance = new ClientTransaction(); 143 instance.mClient = client; 144 instance.mActivityToken = activityToken; 146 return instance;
|
/libcore/ojluni/src/main/java/java/util/ |
Currency.java | 43 * <code>Currency</code> instance for any given currency. Therefore, there's 44 * no public constructor. You obtain a <code>Currency</code> instance using 61 // class data: instance map 71 * Constructs a <code>Currency</code> instance. The constructor is private 72 * so that we can insure that there's never more than one instance for a 81 * Returns the <code>Currency</code> instance for the given currency code. 84 * @return the <code>Currency</code> instance for the given currency code 91 Currency instance = instances.get(currencyCode); local 92 if (instance != null) { 93 return instance; [all...] |
/libcore/ojluni/src/main/java/javax/crypto/ |
SecretKeyFactory.java | 35 import sun.security.jca.GetInstance.Instance; 390 Instance instance = JceSecurity.getInstance("SecretKeyFactory", local 392 return new SecretKeyFactory((SecretKeyFactorySpi)instance.impl, 393 instance.provider, algorithm); 432 Instance instance = JceSecurity.getInstance("SecretKeyFactory", local 434 return new SecretKeyFactory((SecretKeyFactorySpi)instance.impl, 435 instance.provider, algorithm);
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
SimulatorConnectionService.java | 42 private static SimulatorConnectionService instance; field in class:SimulatorConnectionService 46 return instance; 60 instance = this; 67 instance = null; 97 SimulatorComponent.get(instance) 139 SimulatorComponent.get(instance)
|
/external/deqp/external/vulkancts/framework/vulkan/ |
vkRefUtilImpl.inl | 320 Move<VkSurfaceKHR> createDisplayPlaneSurfaceKHR (const InstanceInterface& vk, VkInstance instance, const VkDisplaySurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator) 323 VK_CHECK(vk.createDisplayPlaneSurfaceKHR(instance, pCreateInfo, pAllocator, &object)); 324 return Move<VkSurfaceKHR>(check<VkSurfaceKHR>(object), Deleter<VkSurfaceKHR>(vk, instance, pAllocator)); 334 Move<VkSurfaceKHR> createXlibSurfaceKHR (const InstanceInterface& vk, VkInstance instance, const VkXlibSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator) 337 VK_CHECK(vk.createXlibSurfaceKHR(instance, pCreateInfo, pAllocator, &object)); 338 return Move<VkSurfaceKHR>(check<VkSurfaceKHR>(object), Deleter<VkSurfaceKHR>(vk, instance, pAllocator)); 341 Move<VkSurfaceKHR> createXcbSurfaceKHR (const InstanceInterface& vk, VkInstance instance, const VkXcbSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator) 344 VK_CHECK(vk.createXcbSurfaceKHR(instance, pCreateInfo, pAllocator, &object)); 345 return Move<VkSurfaceKHR>(check<VkSurfaceKHR>(object), Deleter<VkSurfaceKHR>(vk, instance, pAllocator)); 348 Move<VkSurfaceKHR> createWaylandSurfaceKHR (const InstanceInterface& vk, VkInstance instance, const VkWaylandSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator [all...] |
/external/autotest/server/site_tests/network_WiFi_RoamEndToEnd/ |
network_WiFi_RoamEndToEnd.py | 54 ssid = self.context.router.get_ssid(instance=0) 61 ssid = self.context.router.get_ssid(instance=1) 64 self.context.router.deconfig_aps(instance=0)
|
/external/deqp/external/openglcts/modules/common/ |
glcConfigListWGL.cpp | 43 const HINSTANCE instance = GetModuleHandle(DE_NULL); local 44 const tcu::wgl::Core& wgl(instance); 45 const tcu::win32::Window tmpWindow(instance, 1, 1);
|
/external/desugar/java/com/google/devtools/common/options/ |
OptionsData.java | 83 ExpansionFunction instance; local 86 instance = (ExpansionFunction) constructor.newInstance(); 92 ImmutableList<String> expansion = instance.getExpansion(isolatedData);
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
Multimap_CustomFieldSerializerBase.java | 69 SerializationStreamWriter writer, Multimap<?, ?> instance) 71 writer.writeInt(instance.asMap().size()); 73 : instance.asMap().entrySet()) {
|
/external/libxml2/ |
check-relaxng-test-suite.py | 68 # handle a valid instance 75 instance = "" 79 instance = instance + child.serialize() 83 doc = libxml2.parseDoc(instance) 88 log.write("\nFailed to parse correct instance:\n-----\n") 89 log.write(instance) 100 log.write("\nFailed to validate correct instance:\n-----\n") 101 log.write(instance) 109 # handle an invalid instance [all...] |
/external/objenesis/tck/src/main/java/org/objenesis/tck/ |
TCK.java | 72 * Register an Objenesis instance to use when attempting to instantiate a class. 74 * @param objenesis Tested Objenesis instance 75 * @param description Description of the Objenesis instance 109 Object instance = objenesis.newInstance(candidate); local 110 boolean success = instance != null && instance.getClass() == candidate;
|
/external/python/cpython2/Demo/tkinter/guido/ |
switch.py | 26 instance = klass(frame) 27 self.panels[name] = (button, frame, instance) 32 (button, frame, instance) = self.panels[name]
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
dump_graph.cc | 37 static NameCounts& instance = *new NameCounts; local 49 mutex_lock lock(instance.counts_mutex); 50 count = instance.counts[name]++;
|
/external/webrtc/webrtc/modules/desktop_capture/win/ |
cursor_unittest.cc | 24 // Loads |left| from resources, converts it to a |MouseCursor| instance and 28 HMODULE instance = GetModuleHandle(NULL); local 32 LoadImage(instance, MAKEINTRESOURCE(left), IMAGE_CURSOR, 0, 0, 0))); 45 LoadImage(instance, MAKEINTRESOURCE(right), IMAGE_CURSOR, 0, 0, 0)));
|
/frameworks/av/services/audioflinger/ |
BufLog.h | 62 * BUFLOG_EXISTS returns true if there is an instance of BufLog 64 * BUFLOG_RESET If an instance of BufLog exists, it stops the capture and closes all 82 BufLogSingleton::instance()->write(STREAMID, TAG, FORMAT, CHANNELS, SAMPLINGRATE, MAXBYTES, \ 99 BufLogSingleton::instance()->reset(); } } while (0) 191 static BufLog *instance();
|