/frameworks/wilhelm/src/ |
H A D | sync.c | 64 IObject *instance = (IObject *) thiz->mEngine.mInstances[i]; local 66 if (NULL == instance) { 70 object_lock_exclusive(instance); 71 unsigned attributesMask = instance->mAttributesMask; 72 instance->mAttributesMask = 0; 74 switch (IObjectToObjectID(instance)) { 77 object_unlock_exclusive(instance); 80 CAudioPlayer *audioPlayer = (CAudioPlayer *) instance; 87 object_unlock_exclusive(instance);
|
/frameworks/support/v4/java/android/support/v4/hardware/display/ |
H A D | DisplayManagerCompat.java | 51 * Gets an instance of the display manager given the context. 55 DisplayManagerCompat instance = sInstances.get(context); 56 if (instance == null) { 59 instance = new JellybeanMr1Impl(context); 61 instance = new LegacyImpl(context); 63 sInstances.put(context, instance); 65 return instance;
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | Pools.java | 30 * MyPooledClass instance = sPool.acquire(); 31 * return (instance != null) ? instance : new MyPooledClass(); 54 * @return An instance from the pool if such, null otherwise. 59 * Release an instance to the pool. 61 * @param instance The instance to release. 62 * @return Whether the instance was put in the pool. 64 * @throws IllegalStateException If the instance is already in the pool. 66 public boolean release(T instance); argument 111 release(T instance) argument 123 isInPool(T instance) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SmsBroadcastUndelivered.java | 66 private static SmsBroadcastUndelivered instance; field in class:SmsBroadcastUndelivered 106 if (instance == null) { 107 instance = new SmsBroadcastUndelivered(
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
H A D | PasspointManagementObjectManager.java | 282 * Add an SP sub-tree. mo must be PPS with an immediate instance child (e.g. Cred01) and an 300 OMANode instance = null; 302 instance = getInstanceNode((OMAConstructed) node); 304 instance = node; 306 if (instance != null) { 307 String nodeFqdn = getString(instance.getListValue(FQDNPath.iterator())); 323 throw new OMAException("Cannot find instance node"); 341 OMAConstructed instance = getInstanceNode(targetTree); 362 tailPath.removeFirst(); // Drop the instance 363 OMANode current = instance 587 getInstanceString(int instance) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/ |
H A D | 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 [all...] |
H A D | SubscriptionParameters.java | 37 for (OMANode instance : ulNode.getChildren()) { 38 if (instance.isLeaf()) { 42 mLimits.add(new Limit(instance));
|
/frameworks/opt/setupwizard/tools/docs/ |
H A D | doclava.jar | META-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ... |
H A D | jsilver.jar | META-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ... |
/frameworks/native/cmds/flatland/ |
H A D | Main.cpp | 380 BenchmarkRunner(const BenchmarkDesc& desc, size_t instance) : argument 382 mInstance(instance),
|
/frameworks/native/include/android/ |
H A D | native_activity.h | 78 * NativeActivity instance created by the system for you. 101 * This is the native instance of the application. It is not used by 102 * the framework, but can be set by the application to its own instance 105 void* instance; member in struct:ANativeActivity 108 * Pointer to the Asset Manager instance for the application. The application 141 * Framework is asking NativeActivity to save its current instance state. 240 * application's native activity. It is called with the activity instance (see 241 * above); if the code is being instantiated from a previously saved instance,
|
/frameworks/native/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 78 ComposerService& instance = ComposerService::getInstance(); local 79 Mutex::Autolock _l(instance.mLock); 80 if (instance.mComposerService == NULL) { 82 assert(instance.mComposerService != NULL); 85 return instance.mComposerService;
|
/frameworks/native/services/surfaceflinger/ |
H A D | GpuService.cpp | 116 VkInstance instance; local 117 result = vkCreateInstance(&instance_info, nullptr, &instance); 124 result = vkEnumeratePhysicalDevices(instance, &ngpu, nullptr); 130 result = vkEnumeratePhysicalDevices(instance, &ngpu, gpus.data()); 145 vkDestroyInstance(instance, nullptr);
|
/frameworks/native/vulkan/include/vulkan/ |
H A D | vk_layer_interface.h | 44 typedef VkResult(VKAPI_PTR* PFN_vkSetInstanceLoaderData)(VkInstance instance,
|
H A D | vulkan.h | 2234 typedef void (VKAPI_PTR *PFN_vkDestroyInstance)(VkInstance instance, const VkAllocationCallbacks* pAllocator); 2235 typedef VkResult (VKAPI_PTR *PFN_vkEnumeratePhysicalDevices)(VkInstance instance, uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices); 2242 typedef PFN_vkVoidFunction (VKAPI_PTR *PFN_vkGetInstanceProcAddr)(VkInstance instance, const char* pName); 2378 VkInstance instance, 2382 VkInstance instance, 2418 VkInstance instance, 3240 typedef void (VKAPI_PTR *PFN_vkDestroySurfaceKHR)(VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* pAllocator); 3248 VkInstance instance, 3437 typedef VkResult (VKAPI_PTR *PFN_vkCreateDisplayPlaneSurfaceKHR)(VkInstance instance, const VkDisplaySurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface); 3476 VkInstance instance, [all...] |
/frameworks/native/vulkan/libvulkan/ |
H A D | api.cpp | 387 static void DestroyInstance(VkInstance instance, 444 static VKAPI_ATTR VkResult SetInstanceLoaderData(VkInstance instance, 557 // exact match of the instance layer array. 572 "Device layers disagree with instance layers and are " 573 "overridden by instance layers"); 777 VkInstance instance; local 778 result = create_instance(create_info, allocator, &instance); 783 InstanceData& data = GetData(instance); 785 if (!InitDispatchTable(instance, get_instance_proc_addr_, 788 data.dispatch.DestroyInstance(instance, allocato 998 SetInstanceLoaderData(VkInstance instance, void* object) argument 1098 DestroyInstance(VkInstance instance, const VkAllocationCallbacks* allocator) argument 1160 DestroyInstance(VkInstance instance, const VkAllocationCallbacks* pAllocator) argument [all...] |
H A D | api.h | 29 VKAPI_ATTR void DestroyInstance(VkInstance instance, const VkAllocationCallbacks* pAllocator); 38 inline InstanceData& GetData(VkInstance instance) { argument 39 return driver::GetData(instance).opaque_api_data;
|
H A D | api_gen.cpp | 56 VKAPI_ATTR void disabledDestroySurfaceKHR(VkInstance instance, VkSurfaceKHR, const VkAllocationCallbacks*) { argument 57 driver::Logger(instance).Err(instance, "VK_KHR_surface not enabled. Exported vkDestroySurfaceKHR not executed."); 104 VKAPI_ATTR VkResult disabledCreateAndroidSurfaceKHR(VkInstance instance, const VkAndroidSurfaceCreateInfoKHR*, const VkAllocationCallbacks*, VkSurfaceKHR*) { argument 105 driver::Logger(instance).Err(instance, "VK_KHR_android_surface not enabled. Exported vkCreateAndroidSurfaceKHR not executed."); 114 VkInstance instance, 117 auto& data = GetData(instance); 121 INIT_PROC(instance, DestroyInstance); 122 INIT_PROC(instance, EnumeratePhysicalDevice 113 InitDispatchTable( VkInstance instance, PFN_vkGetInstanceProcAddr get_proc, const std::bitset<driver::ProcHook::EXTENSION_COUNT>& extensions) argument 429 EnumeratePhysicalDevices(VkInstance instance, uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices) argument 486 GetInstanceProcAddr(VkInstance instance, const char* pName) argument 1158 DestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* pAllocator) argument 1198 CreateAndroidSurfaceKHR(VkInstance instance, const VkAndroidSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) argument 1218 vkDestroyInstance(VkInstance instance, const VkAllocationCallbacks* pAllocator) argument 1223 vkEnumeratePhysicalDevices(VkInstance instance, uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices) argument 1233 vkGetInstanceProcAddr(VkInstance instance, const char* pName) argument 1898 vkDestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* pAllocator) argument 1948 vkCreateAndroidSurfaceKHR(VkInstance instance, const VkAndroidSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) argument [all...] |
H A D | api_gen.h | 184 VkInstance instance,
|
H A D | debug_report.cpp | 117 VkInstance instance, 121 const auto& driver = GetData(instance).driver; 125 instance, create_info, allocator, &driver_handle); 130 auto& callbacks = GetData(instance).debug_report_callbacks; 133 (allocator) ? *allocator : GetData(instance).allocator); 136 driver.DestroyDebugReportCallbackEXT(instance, driver_handle, 148 void DestroyDebugReportCallbackEXT(VkInstance instance, argument 154 auto& callbacks = GetData(instance).debug_report_callbacks; 159 node, (allocator) ? *allocator : GetData(instance).allocator); 162 GetData(instance) 116 CreateDebugReportCallbackEXT( VkInstance instance, const VkDebugReportCallbackCreateInfoEXT* create_info, const VkAllocationCallbacks* allocator, VkDebugReportCallbackEXT* callback) argument 167 DebugReportMessageEXT(VkInstance instance, VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT object_type, uint64_t object, size_t location, int32_t message_code, const char* layer_prefix, const char* message) argument [all...] |
H A D | debug_report.h | 28 VKAPI_ATTR VkResult CreateDebugReportCallbackEXT(VkInstance instance, const VkDebugReportCallbackCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDebugReportCallbackEXT* pCallback); 29 VKAPI_ATTR void DestroyDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackEXT callback, const VkAllocationCallbacks* pAllocator); 30 VKAPI_ATTR void DebugReportMessageEXT(VkInstance instance, VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType, uint64_t object, size_t location, int32_t messageCode, const char* pLayerPrefix, const char* pMessage);
|
H A D | driver.cpp | 162 ALOGE("failed to get HAL instance extension count"); 169 ALOGE("failed to allocate HAL instance extension array"); 175 ALOGE("failed to enumerate HAL instance extensions"); 395 ALOGW("Ignored invalid instance extension %s", name); 534 PFN_vkVoidFunction GetInstanceProcAddr(VkInstance instance, const char* pName) { argument 537 return Hal::Device().GetInstanceProcAddr(instance, pName); 539 if (!instance) { 552 "internal vkGetInstanceProcAddr called for %s without an instance", 562 proc = (GetData(instance).hook_extensions[hook->extension]) 573 "internal vkGetInstanceProcAddr called for %s with an instance", 706 VkInstance instance; local 743 DestroyInstance(VkInstance instance, const VkAllocationCallbacks* pAllocator) argument 820 EnumeratePhysicalDevices(VkInstance instance, uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices) argument [all...] |
H A D | driver.h | 110 VKAPI_ATTR PFN_vkVoidFunction GetInstanceProcAddr(VkInstance instance, const char* pName); 117 VKAPI_ATTR void DestroyInstance(VkInstance instance, const VkAllocationCallbacks* pAllocator); 121 VKAPI_ATTR VkResult EnumeratePhysicalDevices(VkInstance instance, uint32_t* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices); 166 inline bool SetData(VkInstance instance, const InstanceData& data) { argument 167 return SetDataInternal(instance, &data); 195 inline InstanceData& GetData(VkInstance instance) { argument 196 return *reinterpret_cast<InstanceData*>(GetDataInternal(instance));
|
H A D | driver_gen.cpp | 320 bool InitDriverTable(VkInstance instance, argument 323 auto& data = GetData(instance); 327 INIT_PROC(instance, DestroyInstance); 328 INIT_PROC(instance, EnumeratePhysicalDevices); 329 INIT_PROC(instance, GetInstanceProcAddr); 330 INIT_PROC(instance, CreateDevice); 331 INIT_PROC(instance, EnumerateDeviceExtensionProperties); 332 INIT_PROC_EXT(EXT_debug_report, instance, CreateDebugReportCallbackEXT); 333 INIT_PROC_EXT(EXT_debug_report, instance, DestroyDebugReportCallbackEXT); 334 INIT_PROC_EXT(EXT_debug_report, instance, DebugReportMessageEX [all...] |
H A D | driver_gen.h | 85 bool InitDriverTable(VkInstance instance,
|