/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...] |
H A D | Instance.java | 21 * An instance represents a sample if the label is available or a query if the 41 // the id of the instance 66 * create a learning instance for a single stroke gesture 70 * @return the instance 74 Instance instance; 77 instance = new Instance(gesture.getID(), pts, label); 78 instance.normalize(); 81 instance = new Instance(gesture.getID(), pts, label); 83 return instance;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | ProgressTransformState.java | 38 ProgressTransformState instance = sInstancePool.acquire(); 39 if (instance != null) { 40 return instance;
|
H A D | ActionListTransformState.java | 39 ActionListTransformState instance = sInstancePool.acquire(); 40 if (instance != null) { 41 return instance;
|
/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/enginedefault/src/ |
H A D | EngineInstance.cpp | 32 static EngineInstance instance; local 33 return &instance;
|
/frameworks/base/core/java/android/hardware/location/ |
H A D | IActivityRecognitionHardwareClient.aidl | 33 * @param instance the available instance to provide access to the feature 35 void onAvailabilityChanged(in boolean isSupported, in IActivityRecognitionHardware instance);
|
H A D | IActivityRecognitionHardwareWatcher.aidl | 33 void onInstanceChanged(in IActivityRecognitionHardware instance);
|
/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...] |
/frameworks/base/location/java/android/location/ |
H A D | IFusedProvider.aidl | 27 * Provides access to a FusedLocationHardware instance needed for the provider to work. 29 * @param instance The FusedLocationHardware available for the provider to use. 31 void onFusedLocationHardwareChange(in IFusedLocationHardware instance);
|
/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/av/media/libstagefright/omx/ |
H A D | OMX.cpp | 180 OMXNodeInstance *instance; local 193 instance = mLiveNodes.editValueAt(index); 196 index = mDispatchers.indexOfKey(instance->nodeID()); 200 invalidateNodeID_l(instance->nodeID()); 203 instance->onObserverDied(mMaster); 207 OMXNodeInstance *instance = findInstance(node); local 208 return (instance == NULL ? false : instance->isSecure()); 258 OMXNodeInstance *instance = new OMXNodeInstance(this, observer, name); local 263 instance, 278 mLiveNodes.add(IInterface::asBinder(observer), instance); local 285 OMXNodeInstance *instance = findInstance(node); local 318 OMXNodeInstance *instance = findInstance(node); local 331 OMXNodeInstance *instance = findInstance(node); local 345 OMXNodeInstance *instance = findInstance(node); local 358 OMXNodeInstance *instance = findInstance(node); local 371 OMXNodeInstance *instance = findInstance(node); local 383 OMXNodeInstance *instance = findInstance(node); local 395 OMXNodeInstance *instance = findInstance(node); local 406 OMXNodeInstance *instance = findInstance(node); local 417 OMXNodeInstance *instance = findInstance(node); local 429 OMXNodeInstance *instance = findInstance(node); local 442 OMXNodeInstance *instance = findInstance(node); local 455 OMXNodeInstance *instance = findInstance(node); local 468 OMXNodeInstance *instance = findInstance(node); local 481 OMXNodeInstance *instance = findInstance(node); local 494 OMXNodeInstance *instance = findInstance(node); local 507 OMXNodeInstance *instance = findInstance(node); local 527 OMXNodeInstance *instance = findInstance(node); local 538 OMXNodeInstance *instance = findInstance(node); local 550 OMXNodeInstance *instance = findInstance(node); local 563 OMXNodeInstance *instance = findInstance(node); local 574 OMXNodeInstance *instance = findInstance(node); local 585 OMXNodeInstance *instance = findInstance(node); local 599 OMXNodeInstance *instance = findInstance(node); local 613 OMXNodeInstance *instance = findInstance(node); local 629 OMXNodeInstance *instance = findInstance(node); local 645 OMXNodeInstance *instance = findInstance(node); local 724 makeNodeID_l(OMXNodeInstance *instance) argument [all...] |
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
H A D | EngineInstance.cpp | 35 static EngineInstance instance; local 36 return &instance;
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
H A D | FusedProvider.java | 35 public void onFusedLocationHardwareChange(IFusedLocationHardware instance) { 36 setFusedLocationHardware(new FusedLocationHardware(instance)); 45 * @return The IBinder instance associated with the provider. 52 * Sets the FusedLocationHardware instance in the provider.. 53 * @param value The instance to set. This can be null in cases where the service connection
|
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/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/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/native/vulkan/libvulkan/ |
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...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/ |
H A D | 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 [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...] |
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodSubtypeArray.java | 46 * Create a new instance of {@link InputMethodSubtypeArray} from an existing list of 62 * Unmarshall an instance of {@link InputMethodSubtypeArray} from a given {@link Parcel} 77 * Marshall the instance into a given {@link Parcel} object. 134 InputMethodSubtype[] instance = mInstance; 135 if (instance == null) { 137 instance = mInstance; 138 if (instance == null) { 145 instance = unmarshall(decompressedData); 148 instance = new InputMethodSubtype[mCount]; 150 mInstance = instance; [all...] |
/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/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...] |