HomeSort by relevance Sort by last modified time
    Searched refs:instance (Results 26 - 50 of 1940) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/webrtc/talk/media/devices/
linuxdeviceinfo.cc 49 LibUDevSymbolTable* instance() { return &libudev_; } function in class:cricket::ScopedLibUdev
71 udev* instance() { return udev_; } function in class:cricket::ScopedUdev
88 udev_enumerate* instance() { return enumerate_; } function in class:cricket::ScopedUdevEnumerate
101 ScopedUdev udev_context(libudev_context->instance());
102 if (!udev_context.instance()) {
105 ScopedUdevEnumerate enumerate_context(libudev_context->instance(),
106 udev_context.instance());
107 if (!enumerate_context.instance()) {
110 libudev_context->instance()->udev_enumerate_add_match_subsystem()(
111 enumerate_context.instance(), "video4linux")
    [all...]
  /external/droiddriver/src/io/appium/droiddriver/helpers/
DroidDriversInitializer.java 26 private static DroidDriversInitializer instance; field in class:DroidDriversInitializer
39 if (instance == null) {
40 instance = new DroidDriversInitializer(driver);
43 if (instance.driver != driver) {
47 return instance;
  /external/okhttp/android/test/java/com/squareup/okhttp/
ConfigAwareConnectionPoolTest.java 40 ConfigAwareConnectionPool instance = new ConfigAwareConnectionPool(networkEventDispatcher) {}; local
41 assertSame(instance.get(), instance.get());
43 ConnectionPool beforeEventInstance = instance.get();
46 assertNotSame(beforeEventInstance, instance.get());
  /frameworks/base/core/java/android/gesture/
Learner.java 25 private final ArrayList<Instance> mInstances = new ArrayList<Instance>();
28 * Add an instance to the learner
30 * @param instance
32 void addInstance(Instance instance) {
33 mInstances.add(instance);
41 ArrayList<Instance> getInstances() {
46 * Remove an instance based on its id
51 ArrayList<Instance> instances = mInstances
54 Instance instance = instances.get(i); local
73 final Instance instance = instances.get(i); local
    [all...]
  /external/mockito/src/org/mockito/internal/configuration/injection/scanner/
MockScanner.java 23 private final Object instance; field in class:MockScanner
29 * @param instance The test instance
30 * @param clazz The class in the type hierarchy of this instance.
32 public MockScanner(Object instance, Class<?> clazz) {
33 this.instance = instance;
38 * Add the scanned and prepared mock instance to the given collection.
59 FieldReader fieldReader = new FieldReader(instance, field);
69 private Object preparedMock(Object instance, Field field)
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/alarms/
AlarmStateManager.java 65 * is in charge of changing the alarm instance state to a LOW_NOTIFICATION_STATE.
83 * also increments the alarm time in the instance to reflect the new snooze time.
92 * it. At this point the alarm instance is dead and we check the parent alarm to see if we need
98 * This is really a transient state that will properly delete the alarm instance. Use this state,
99 * whenever you want to get rid of the alarm instance. This state will also check the alarm
100 * parent to see if it should disable or schedule a new alarm instance.
106 // Intent action to trigger an instance state change.
109 // Intent action to show the alarm and dismiss the instance
188 * Returns an alarm instance of an alarm that's going to fire next.
190 * @return an alarm instance that will fire earliest relative to current time
494 AlarmInstance.updateInstance(context.getContentResolver(), instance); local
899 AlarmInstance instance = AlarmInstance.getInstance(context.getContentResolver(), local
935 AlarmInstance instance = AlarmInstance.getInstance(context.getContentResolver(), local
    [all...]
AlarmNotifications.java 37 public static void showLowPriorityNotification(Context context, AlarmInstance instance) {
38 LogUtils.v("Displaying low priority notification for alarm instance: " + instance.mId);
43 .setContentText(AlarmUtils.getAlarmText(context, instance,
54 AlarmStateManager.ALARM_DELETE_TAG, instance,
56 notification.setDeleteIntent(PendingIntent.getService(context, instance.hashCode(),
61 AlarmStateManager.ALARM_DISMISS_TAG, instance, AlarmInstance.PREDISMISSED_STATE);
64 PendingIntent.getService(context, instance.hashCode(),
67 // Setup content action if instance is owned by alarm
68 Intent viewAlarmIntent = createViewAlarmIntent(context, instance);
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/internal/
AppSingletonizer.java 20 T instance = get(shadowApplication); local
21 if (instance == null) {
22 instance = createInstance(applicationContext);
23 set(shadowApplication, instance);
25 return instance;
30 protected abstract void set(ShadowApplication shadowApplication, T instance);
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
PopupManager.java 54 PopupManager instance = sMap.get(context); local
55 if (instance == null) {
56 instance = new PopupManager();
57 sMap.put(context, instance);
59 return instance;
63 PopupManager instance = sMap.get(context); local
  /device/google/dragon/audio/hal/
cras_dsp_pipeline.c 26 * struct plugin struct instance
46 /* This represents an audio port on an instance. */
49 struct plugin *plugin; /* the plugin corresponds to the instance */
54 /* This represents a control port on an instance. */
57 struct plugin *plugin; /* the plugin corresponds to the instance */
65 /* An instance is a dynamic representation of a plugin. We only create
66 * an instance when a plugin is needed (data actually flows through it
67 * and it is not disabled). An instance also contains a pointer to a
69 struct instance { struct
70 /* The plugin this instance corresponds to *
151 struct instance *instance; local
233 struct instance *instance; local
253 struct instance *instance; local
286 struct instance *instance; local
504 struct instance *instance; local
597 struct instance *instance; local
615 struct instance *instance; local
639 struct instance *instance; local
716 struct instance *instance; local
784 struct instance *instance; local
868 struct instance *instance; local
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
ProgressTransformState.java 38 ProgressTransformState instance = sInstancePool.acquire(); local
39 if (instance != null) {
40 return instance;
  /external/chromium-trace/catapult/tracing/tracing/ui/extras/system_stats/
system_stats_instance_track.css 6 .tr-ui-e-system-stats-instance-track {
10 .tr-ui-e-system-stats-instance-track ul {
  /external/guice/extensions/grapher/src/com/google/inject/grapher/
InstanceNode.java 23 * Node for instances. Used when a type is bound to an instance.
29 private final Object instance; field in class:InstanceNode
32 public InstanceNode(NodeId id, Object source, Object instance, Iterable<Member> members) {
34 this.instance = instance;
39 return instance;
51 return super.equals(other) && Objects.equal(instance, other.instance)
56 return 31 * super.hashCode() + Objects.hashCode(instance, members);
60 return "InstanceNode{id=" + getId() + " source=" + getSource() + " instance=" + instanc
    [all...]
  /external/mockito/src/org/mockito/internal/util/reflection/
InstanceField.java 13 * Represents an accessible instance field.
15 * Contains the instance reference on which the field can be read adn write.
19 private final Object instance; field in class:InstanceField
26 * the field belong to this instance class.
27 * @param instance The instance from which the field shall be accessed.
29 public InstanceField(Field field, Object instance) {
31 this.instance = Checks.checkNotNull(instance, "instance");
    [all...]
Fields.java 26 * Instance fields declared in the class and superclasses of the given instance.
28 * @param instance Instance from which declared fields will be retrieved.
29 * @return InstanceFields of this object instance.
31 public static InstanceFields allDeclaredFieldsOf(Object instance) {
33 for (Class<?> clazz = instance.getClass(); clazz != Object.class; clazz = clazz.getSuperclass()) {
34 instanceFields.addAll(instanceFieldsIn(instance, clazz.getDeclaredFields()));
36 return new InstanceFields(instance, instanceFields);
40 * Instance fields declared in the class of the given instance
    [all...]
  /external/testng/src/main/java/org/testng/junit/
JUnitTestMethod.java 14 protected JUnitTestMethod(JUnitTestClass owner, Method method, Object instance) {
15 this(owner, method.getName(), method, instance);
18 protected JUnitTestMethod(JUnitTestClass owner, String methodName, Method method, Object instance) {
19 super(methodName, method, null, instance);
  /external/testng/src/test/java/test/pholser/
Saboteur.java 17 Captor.instance().capture( "Saboteur.setUpFixture" );
22 Captor.instance().capture( "Saboteur.setUp" );
27 Captor.instance().capture( "Saboteur.tearDown" );
32 Captor.instance().capture( "Saboteur.tearDownFixture" );
  /frameworks/wilhelm/src/
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);
  /packages/apps/Camera2/src_pd/com/android/camera/debug/
LogHelper.java 20 private static final LogHelper INSTANCE = new LogHelper();
23 public static LogHelper instance() { method in class:LogHelper
24 return Singleton.INSTANCE;
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
LocalBroadcastManagerTest.java 21 LocalBroadcastManager instance = LocalBroadcastManager.getInstance(Robolectric.application); local
22 assertNotNull(instance);
23 assertSame(instance, LocalBroadcastManager.getInstance(Robolectric.application));
28 LocalBroadcastManager instance = LocalBroadcastManager.getInstance(Robolectric.application); local
37 instance.registerReceiver(receiver, new IntentFilter("com.foo"));
39 instance.sendBroadcast(new Intent("com.bar"));
41 instance.sendBroadcast(new Intent("com.foo"));
48 LocalBroadcastManager instance = LocalBroadcastManager.getInstance(Robolectric.application); local
57 instance.registerReceiver(receiver, new IntentFilter("com.foo"));
58 instance.unregisterReceiver(receiver)
    [all...]
  /external/v8/test/mjsunit/harmony/
simd.js 15 // Creates an instance that has been zeroed, so it can be used for equality
69 var instance = createInstance(type);
75 assertSame(simdFn, instance.__proto__.constructor)
76 assertSame(simdFn, Object(instance).__proto__.constructor)
77 assertSame(simdFn.prototype, instance.__proto__)
78 assertSame(simdFn.prototype, Object(instance).__proto__)
84 var instance = createInstance(type);
87 assertEquals(typeofString, typeof instance)
88 assertTrue(typeof instance === typeofString)
89 assertTrue(typeof Object(instance) === 'object'
    [all...]
  /art/test/034-call-null/src/
Main.java 25 Main instance = null; local
26 instance.doStuff(0, null, null, null);
  /developers/build/prebuilts/gradle/BasicMultitouch/Application/src/main/java/com/example/android/basicmultitouch/
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);
101 T instance = (T) mPool[lastPooledIndex]; local
    [all...]
  /developers/samples/android/common/src/java/com/example/android/common/util/
Pools.java 53 * MyPooledClass instance = sPool.acquire();
54 * return (instance != null) ? instance : new MyPooledClass();
79 * @return An instance from the pool if available, null otherwise.
84 * Releases an instance to the pool. This marks the object as reusable
88 * @param instance The instance to release.
89 * @return True if the instance was put in the pool.
90 * @throws IllegalStateException If the instance is already in the pool.
92 public boolean release(T instance);
135 T instance = (T) mPool[lastPooledIndex]; local
    [all...]
  /developers/samples/android/input/multitouch/BasicMultitouch/Application/src/main/java/com/example/android/basicmultitouch/
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);
101 T instance = (T) mPool[lastPooledIndex]; local
    [all...]

Completed in 2411 milliseconds

12 3 4 5 6 7 8 91011>>