| /external/snakeyaml/src/test/java/org/pyyaml/ |
| PyRecursiveTest.java | 36 AnInstance instance = new AnInstance(value, value); local 37 value.put(instance, instance);
|
| /external/tensorflow/tensorflow/core/common_runtime/gpu/ |
| gpu_process_state.cc | 60 static GPUProcessState* instance = ps ? ps : new GPUProcessState; local 61 DCHECK((!ps) || (ps == instance)) 63 return instance;
|
| /external/tensorflow/tensorflow/core/common_runtime/sycl/ |
| sycl_device.h | 123 static const GSYCLInterface* instance() { function in class:tensorflow::GSYCLInterface 125 static const GSYCLInterface instance; local 126 return &instance;
|
| /external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
| TraceLogger.java | 35 private static TraceLogger instance; field in class:TraceLogger 41 if (instance == null) { 42 instance = new TraceLogger(); 44 return instance;
|
| /frameworks/av/media/codec2/hidl/1.0/vts/functional/common/ |
| media_c2_hidl_test_common.h | 125 void setInstance(const char* _instance) { instance = _instance; } 129 const hidl_string getInstance() const { return instance; } 137 {"instance", required_argument, 0, 'I'}, 169 "-I, --instance: software for C2 components, else default\n" 179 hidl_string instance; member in class:ComponentTestEnvironment
|
| /frameworks/av/media/libstagefright/omx/1.0/ |
| Omx.cpp | 92 sp<OMXNodeInstance> instance; 100 instance = new OMXNodeInstance( 106 instance.get(), &handle); 116 instance->setHandle(handle); 136 instance->setQuirks(quirks); 139 mLiveNodes.add(observer.get(), instance); 140 mNode2Observer.add(instance.get(), observer.get()); 144 _hidl_cb(toStatus(OK), new TWOmxNode(instance)); 166 sp<OMXNodeInstance> instance; local 178 instance = mLiveNodes.editValueAt(index) [all...] |
| /cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
| TestJournalProvider.java | 311 final TestJournalContainer instance = get(); local 312 synchronized (instance) { 313 instance.mContainer.clear(); 315 return instance;
|
| /external/jcommander/src/main/java/com/beust/jcommander/ |
| ParameterDescription.java | 302 IParameterValidator2 instance = (IParameterValidator2) validator.newInstance(); local 303 instance.validate(name, value, pd);
|
| /external/protobuf/java/core/src/test/java/com/google/protobuf/ |
| UnknownFieldSetLiteTest.java | 65 UnknownFieldSetLite instance = UnknownFieldSetLite.newInstance(); local 66 instance.mergeFieldFrom(input.readTag(), input); 68 assertEquals(foo.toByteString(), toByteString(instance)); 78 UnknownFieldSetLite instance = UnknownFieldSetLite.newInstance(); local 79 instance.mergeFieldFrom(input.readTag(), input); 81 assertEquals(foo.toByteString().size(), instance.getSerializedSize());
|
| /external/robolectric-shadows/sandbox/src/test/java/org/robolectric/ |
| ShadowWranglerIntegrationTest.java | 39 AClassWithDefaultConstructor instance = new AClassWithDefaultConstructor(); local 40 assertThat(Shadow.<Object>extract(instance)).isInstanceOf(ShadowForAClassWithDefaultConstructor_HavingNoConstructorDelegate.class); 41 assertThat(instance.initialized).isTrue(); 119 ThrowInShadowMethod instance = new ThrowInShadowMethod(); local 123 instance.method(); 163 ThrowInRealMethod instance = new ThrowInRealMethod(); local 167 instance.method();
|
| SandboxClassLoaderTest.java | 107 Object instance = defaultCtor.newInstance(); local 108 assertThat((Object) shadow.extract(instance)).isNotNull(); 118 Object instance = ctor.newInstance("new one"); local 124 assertNull(nameField.get(instance)); 345 Object instance = aClass.getConstructor(String.class).newInstance("horace"); local 356 assertEquals(null, directMethod.invoke(instance, uninstrumentedParentIn, "foo")); 359 assertEquals(null, getDeclaredFieldValue(aClass, instance, "name")); 360 Object uninstrumentedParentOut = getDeclaredFieldValue(aClass, instance, "uninstrumentedParent"); 364 assertEquals(null, directMethod2.invoke(instance, "hortense")); 367 assertEquals("hortense", getDeclaredFieldValue(aClass, instance, "name")) 385 Object instance = theClass.getDeclaredConstructor().newInstance(); local 423 Object instance = theClass.getDeclaredConstructor().newInstance(); local 445 Object instance = theClass.getDeclaredConstructor().newInstance(); local 457 Object instance = theClass.getDeclaredConstructor().newInstance(); local 558 Object instance = theClass.getDeclaredConstructor().newInstance(); local 585 Object instance = theClass.getDeclaredConstructor().newInstance(); local [all...] |
| /external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/tracking/ |
| ObjectTracker.java | 83 protected static ObjectTracker instance; field in class:ObjectTracker 215 if (instance == null) { 216 instance = new ObjectTracker(frameWidth, frameHeight, rowStride, alwaysTrack); 217 instance.init(); 222 return instance; 226 if (instance != null) { 227 instance.release(); 302 instance = null; 595 } else if (ObjectTracker.this != instance) {
|
| /external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/tracking/ |
| ObjectTracker.java | 83 protected static ObjectTracker instance; field in class:ObjectTracker 215 if (instance == null) { 216 instance = new ObjectTracker(frameWidth, frameHeight, rowStride, alwaysTrack); 217 instance.init(); 222 return instance; 226 if (instance != null) { 227 instance.release(); 302 instance = null; 595 } else if (ObjectTracker.this != instance) {
|
| /external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
| VideoRendererGui.java | 51 * and then for each video stream either create instance of VideoRenderer using 53 * Only one instance of the class can be created. 56 // |instance|, |instance.surface|, |eglContext|, and |eglContextReady| are synchronized on 58 private static VideoRendererGui instance = null; field in class:VideoRendererGui 417 instance = new VideoRendererGui(surface); 427 if (instance == null){ 431 synchronized (instance.yuvImageRenderers) { 432 for (YuvImageRenderer yuvImageRenderer : instance.yuvImageRenderers) { 435 instance.yuvImageRenderers.clear() [all...] |
| /external/grpc-grpc-java/protobuf/ |
| grpc-protobuf-1.14.0.jar | |
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
| AudioRecordHelper.java | 26 private static AudioRecordHelper instance; field in class:AudioRecordHelper 63 if (instance == null) { 64 instance = new AudioRecordHelper(); 66 return instance;
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/ |
| MockVrListenerService.java | 51 public final VrListenerService instance; field in class:MockVrListenerService.Event 56 instance = i; 61 public static Event build(VrListenerService instance, EventType type, Object argument1) { 62 return new Event(instance, type, argument1); 65 public static Event build(VrListenerService instance, EventType type) { 66 return new Event(instance, type, null);
|
| /cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
| ConditionProviderServiceTest.java | 335 PollableConditionProviderService instance = local 338 while (tries-- > 0 && (waitForConnection ? instance == null : instance != null)) { 344 instance = (PollableConditionProviderService) service.getMethod("getInstance") 348 if (waitForConnection && instance == null) { 351 } else if (!waitForConnection && instance != null) {
|
| /device/google/contexthub/contexthubhal/test/ |
| main.cpp | 160 static CHub instance; local 162 return &instance;
|
| /external/Reactive-Extensions/RxCpp/Ix/CPP/src/cpplinq/ |
| linq_cursor.hpp | 219 struct instance : cursor_interface<T> struct in class:cpplinq::dynamic_cursor 223 instance(Cur cursor) : innerCursor(std::move(cursor)) function in struct:cpplinq::dynamic_cursor::instance 240 return new instance(*this); 265 : myCur(new instance<Cursor>(std::move(cursor))) 298 struct instance : container_interface<T> struct in class:cpplinq::dynamic_collection 302 instance(Container c) : c(c) function in struct:cpplinq::dynamic_collection::instance 325 : container(new instance<Container>(c)) 332 : container(new instance< iter_cursor<Iterator> >(iter_cursor<Iterator>(begin, end)))
|
| /external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/schedulers/ |
| rx-currentthread.hpp | 264 static scheduler instance = make_scheduler<current_thread>(); local 265 return instance;
|
| /external/ant-glob/src/org/apache/tools/ant/types/selectors/ |
| SelectorUtils.java | 45 private static final SelectorUtils instance = new SelectorUtils(); field in class:SelectorUtils 55 * Retrieves the instance of the Singleton. 56 * @return singleton instance 59 return instance;
|
| /external/apache-xml/src/main/java/org/apache/xalan/xslt/ |
| ObjectFactory.java | 92 * @return instance of factory, never null 116 * @return instance of factory, never null 143 Object instance = factoryClass.newInstance(); local 144 debugPrintln("created new instance of factory " + factoryId); 145 return instance; 222 debugPrintln("created new instance of " + providerClass + 450 * Create an instance of a class using the specified ClassLoader 459 Object instance = providerClass.newInstance(); local 460 debugPrintln("created new instance of " + providerClass + 462 return instance; [all...] |
| /external/apache-xml/src/main/java/org/apache/xml/dtm/ |
| ObjectFactory.java | 92 * @return instance of factory, never null 116 * @return instance of factory, never null 143 Object instance = factoryClass.newInstance(); local 144 debugPrintln("created new instance of factory " + factoryId); 145 return instance; 222 debugPrintln("created new instance of " + providerClass + 450 * Create an instance of a class using the specified ClassLoader 459 Object instance = providerClass.newInstance(); local 460 debugPrintln("created new instance of " + providerClass + 462 return instance; [all...] |
| /external/apache-xml/src/main/java/org/apache/xml/serializer/ |
| ObjectFactory.java | 91 * @return instance of factory, never null 115 * @return instance of factory, never null 142 Object instance = factoryClass.newInstance(); local 143 debugPrintln("created new instance of factory " + factoryId); 144 return instance; 221 debugPrintln("created new instance of " + providerClass + 449 * Create an instance of a class using the specified ClassLoader 458 Object instance = providerClass.newInstance(); local 459 debugPrintln("created new instance of " + providerClass + 461 return instance; [all...] |