/frameworks/native/vulkan/libvulkan/ |
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 | stubhal.cpp | 67 VkInstance* instance) { 73 *instance = reinterpret_cast<VkInstance>(&g_instances[i]); 81 VKAPI_ATTR void DestroyInstance(VkInstance instance, argument 85 reinterpret_cast<hwvulkan_dispatch_t*>(instance) - &g_instances[0]; 87 "DestroyInstance: invalid instance handle"); 91 VKAPI_ATTR VkResult EnumeratePhysicalDevices(VkInstance /*instance*/, 98 VKAPI_ATTR PFN_vkVoidFunction GetInstanceProcAddr(VkInstance /*instance*/, 65 CreateInstance(const VkInstanceCreateInfo* , const VkAllocationCallbacks* , VkInstance* instance) argument
|
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 | 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...] |
/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/av/services/audiopolicy/engineconfigurable/src/ |
H A D | EngineInstance.cpp | 35 static EngineInstance instance; local 36 return &instance;
|
/frameworks/av/services/audiopolicy/enginedefault/src/ |
H A D | EngineInstance.cpp | 32 static EngineInstance instance; local 33 return &instance;
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiCollection.java | 29 * Constructs an instance as described by the selector 44 * The returned UiObject will point at the <code>childPattern</code> instance that matched the 49 * @return {@link UiObject} pointing at and instance of <code>childPattern</code> 78 * a child UI element anywhere within its sub hierarchy that is at the <code>instance</code> 83 * @param instance int the desired matched instance of this <code>childPattern</code> 84 * @return {@link UiObject} pointing at and instance of <code>childPattern</code> 87 public UiObject getChildByInstance(UiSelector childPattern, int instance) argument 89 Tracer.trace(childPattern, instance); 91 UiSelector.patternBuilder(childPattern).instance(instanc [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | Learner.java | 28 * Add an instance to the learner 30 * @param instance 32 void addInstance(Instance instance) { argument 33 mInstances.add(instance); 46 * Remove an instance based on its id 54 Instance instance = instances.get(i); 55 if (id == instance.id) { 56 instances.remove(instance); 73 final Instance instance = instances.get(i); 75 if ((instance [all...] |
/frameworks/base/core/java/android/util/ |
H A D | Pools.java | 28 * MyPooledClass instance = sPool.acquire(); 29 * return (instance != null) ? instance : new MyPooledClass(); 53 * @return An instance from the pool if such, null otherwise. 58 * Release an instance to the pool. 60 * @param instance The instance to release. 61 * @return Whether the instance was put in the pool. 63 * @throws IllegalStateException If the instance is already in the pool. 65 public boolean release(T instance); argument 110 release(T instance) argument 122 isInPool(T instance) argument [all...] |
H A D | Xml.java | 106 return XmlSerializerFactory.instance.newSerializer(); 116 static final XmlPullParserFactory instance; field in class:Xml.XmlSerializerFactory 119 instance = XmlPullParserFactory.newInstance(TYPE, null);
|
/frameworks/base/core/java/com/android/server/ |
H A D | AppWidgetBackupBridge.java | 30 public static void register(WidgetBackupProvider instance) { argument 31 sAppWidgetService = instance;
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
H A D | ActivityRecognitionProviderClient.java | 41 IActivityRecognitionHardware instance) { 49 provider = isSupported ? new ActivityRecognitionProvider(instance) : null; 70 * @param instance the available provider's instance 74 ActivityRecognitionProvider instance); 72 onProviderChanged( boolean isSupported, ActivityRecognitionProvider instance) argument
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/ |
H A D | ClassWithNative_Delegate.java | 27 public static int native_instance(ClassWithNative instance, int a, double d, Object[] o) { argument 29 o[0] = instance;
|
H A D | OuterClass_Delegate.java | 26 public static int get(OuterClass instance, int a, long b) { argument 30 public static String privateMethod(OuterClass instance) { argument
|
/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/base/media/java/android/media/ |
H A D | MiniThumbFile.java | 68 public static synchronized MiniThumbFile instance(Uri uri) { method in class:MiniThumbFile
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AttributeCache.java | 79 public static AttributeCache instance() { method in class:AttributeCache
|
/frameworks/minikin/libs/minikin/ |
H A D | FontLanguageListCache.cpp | 143 static FontLanguageListCache* instance = nullptr; local 144 if (instance == nullptr) { 145 instance = new FontLanguageListCache(); 149 instance->mLanguageLists.push_back(FontLanguages()); 150 instance->mLanguageListLookupTable.insert(std::make_pair("", kEmptyListId)); 152 return instance;
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothGattDescriptor.java | 140 int instance, int permissions) { 141 initDescriptor(characteristic, uuid, instance, permissions); 147 public BluetoothGattDescriptor(UUID uuid, int instance, int permissions) { argument 148 initDescriptor(null, uuid, instance, permissions); 152 int instance, int permissions) { 155 mInstance = instance; 215 * Returns the instance ID for this descriptor. 218 * the instance ID is used to distuinguish between descriptors. 139 BluetoothGattDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, int instance, int permissions) argument 151 initDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, int instance, int permissions) argument
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | ResourceModifiers.java | 59 public static ResourceModifiers instance() { return sInstance; } method in class:ResourceModifiers
|
/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/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/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(
|