Searched refs:get (Results 1 - 25 of 3905) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/src/com/android/multidexlegacytestapp/
H A DReferenced.java20 public static int get(int i) { method in class:Referenced
H A DReferencedByAnnotationWithOtherReferences.java24 public int get() {
31 public int get() {
37 public abstract int get(); method in class:ReferencedByAnnotationWithOtherReferences
H A DReferencedByClassInAnnotation.java24 public int get() {
31 public int get() {
37 public abstract int get(); method in class:ReferencedByClassInAnnotation
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
H A DInputMethodSubtypeArrayTest.java36 assertEquals(subtypes.get(0), array.get(0));
37 assertEquals(subtypes.get(1), array.get(1));
38 assertEquals(subtypes.get(2), array.get(2));
42 assertEquals(subtypes.get(0), clonedArray.get(0));
43 assertEquals(subtypes.get(1), clonedArray.get(
[all...]
/frameworks/base/core/java/android/service/notification/
H A DIStatusBarNotificationHolder.aidl24 StatusBarNotification get();
/frameworks/base/core/java/android/view/
H A DIAppTransitionAnimationSpecsFuture.aidl27 AppTransitionAnimationSpec[] get();
/frameworks/minikin/tests/unittest/
H A DHbFontCacheTest.cpp53 EXPECT_NE(nullptr, getHbFontLocked(fontA.get()));
54 EXPECT_NE(nullptr, getHbFontLocked(fontB.get()));
55 EXPECT_NE(nullptr, getHbFontLocked(fontC.get()));
60 EXPECT_EQ(getHbFontLocked(fontA.get()), getHbFontLocked(fontA.get()));
61 EXPECT_EQ(getHbFontLocked(fontB.get()), getHbFontLocked(fontB.get()));
62 EXPECT_EQ(getHbFontLocked(fontC.get()), getHbFontLocked(fontC.get()));
65 EXPECT_NE(getHbFontLocked(fontA.get()), getHbFontLocke
[all...]
/frameworks/base/tools/aapt2/optimize/
H A DVersionCollapser_test.cpp45 ASSERT_TRUE(collapser.Consume(context.get(), table.get()));
49 test::GetValueForConfig<Id>(table.get(), res_name,
52 test::GetValueForConfig<Id>(table.get(), res_name,
57 test::GetValueForConfig<Id>(table.get(), res_name,
62 test::GetValueForConfig<Id>(table.get(), res_name,
67 test::GetValueForConfig<Id>(table.get(), res_name,
70 test::GetValueForConfig<Id>(table.get(), res_name,
73 test::GetValueForConfig<Id>(table.get(), res_name,
87 ASSERT_TRUE(collapser.Consume(context.get(), tabl
[all...]
H A DResourceDeduper_test.cpp49 ASSERT_TRUE(ResourceDeduper().Consume(context.get(), table.get()));
51 table.get(), "android:string/dedupe", en_config));
53 table.get(), "android:string/dedupe", land_config));
55 table.get(), "android:string/dedupe2", en_config));
57 table.get(), "android:string/dedupe2", en_v21_config));
78 ASSERT_TRUE(ResourceDeduper().Consume(context.get(), table.get()));
80 table.get(), "android:string/keep", en_config));
82 table.get(), "androi
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DGapWorkerTest.java89 list.get(0).view = null;
90 list.get(1).view = new RecyclerView(getContext());
91 list.get(2).view = null;
95 assertNotNull(list.get(0).view);
96 assertNull(list.get(1).view);
97 assertNull(list.get(2).view);
106 list.get(0).immediate = true;
107 list.get(1).immediate = false;
108 list.get(2).immediate = true;
112 assertTrue(list.get(
[all...]
/frameworks/base/libs/hwui/tests/common/scenes/
H A DOpPropAnimation.cpp57 canvas.drawRoundRect(mRoundRectLeft.get(), mRoundRectTop.get(),
58 mRoundRectRight.get(), mRoundRectBottom.get(),
59 mRoundRectRx.get(), mRoundRectRy.get(), mPaint.get());
60 canvas.drawCircle(mCircleX.get(), mCircleY.get(), mCircleRadius.get(), mPain
[all...]
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
H A DPluginDependency.java24 public static <T> T get(Plugin p, Class<T> cls) { method in class:PluginDependency
25 return sProvider.get(p, cls);
29 abstract <T> T get(Plugin p, Class<T> cls); method in class:PluginDependency.DependencyProvider
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/
H A DOuterClass.java31 // Outer.get returns 1 + a + b
34 public int get(int a, long b) { method in class:OuterClass
42 // Inner.get returns 2 + 1 + a + b
43 public int get(int a, long b) { method in class:OuterClass.InnerClass
52 // StaticInnerClass.get returns 100 + a + b
53 public int get(int a, long b) { method in class:OuterClass.StaticInnerClass
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DUnmodifiableSparseIntArray.java37 public int get(int key) { method in class:UnmodifiableSparseIntArray
38 return mArray.get(key);
41 public int get(int key, int valueIfKeyNotFound) { method in class:UnmodifiableSparseIntArray
42 return mArray.get(key, valueIfKeyNotFound);
/frameworks/rs/rsov/compiler/spirit/
H A Dpass_queue_test.cpp98 EXPECT_EQ(1, countEntity<IAddInst>(m.get()));
99 EXPECT_EQ(1, countEntity<IMulInst>(m.get()));
103 auto m1 = passes.run(m.get());
118 EXPECT_EQ(1, countEntity<IAddInst>(m.get()));
119 EXPECT_EQ(1, countEntity<IMulInst>(m.get()));
120 EXPECT_EQ(1, countEntity<TypeFloatInst>(m.get()));
124 auto m1 = passes.run(m.get());
138 ASSERT_NE(nullptr, m.get());
140 EXPECT_EQ(1, countEntity<IMulInst>(m.get()));
144 auto m1 = passes.run(m.get());
[all...]
H A Dtransformer_test.cpp83 EXPECT_EQ(1, countEntity<IAddInst>(m.get()));
84 EXPECT_EQ(1, countEntity<IMulInst>(m.get()));
87 std::unique_ptr<Module> m1(trans.run(m.get()));
93 EXPECT_EQ(2, countEntity<IAddInst>(m1.get()));
94 EXPECT_EQ(0, countEntity<IMulInst>(m1.get()));
100 ASSERT_NE(nullptr, m.get());
102 EXPECT_EQ(1, countEntity<IMulInst>(m.get()));
105 std::unique_ptr<Module> m1(trans.run(m.get()));
107 ASSERT_NE(nullptr, m1.get());
109 EXPECT_EQ(1, countEntity<IAddInst>(m1.get()));
[all...]
/frameworks/av/media/libstagefright/http/
H A DHTTPHelper.cpp43 CHECK(clazz.get() != NULL);
45 jmethodID constructID = env->GetMethodID(clazz.get(), "<init>", "()V");
49 env, env->NewObject(clazz.get(), constructID));
52 if (httpServiceObj.get() != NULL) {
54 env->GetMethodID(clazz.get(), "asBinder", "()Landroid/os/IBinder;");
58 env, env->CallObjectMethod(httpServiceObj.get(), asBinderID));
59 CHECK(httpServiceBinderObj.get() != NULL);
62 ibinderForJavaObject(env, httpServiceBinderObj.get());
/frameworks/base/core/java/android/database/
H A DDataSetObservable.java37 mObservers.get(i).onChanged();
50 mObservers.get(i).onInvalidated();
/frameworks/base/libs/hwui/debug/
H A Dwrap_gles.cpp26 #define CALL_GL_API(api, ...) GlesDriver::get()->api##_(__VA_ARGS__)
27 #define CALL_GL_API_RETURN(api, ...) return GlesDriver::get()->api##_(__VA_ARGS__)
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowList.java32 return size() > 0 ? get(size() - 1) : null;
36 return size() > 0 ? get(0) : null;
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DNameMappingTest.java40 return f1.get();
45 return f2.get();
53 if (f1New != f1.get()) {
57 if (f2New != f2.get()) {
62 assertEquals(f2.get(), mBinder.textView.isEnabled());
63 assertEquals(f2.get(), mBinder.textView2.isEnabled());
66 assertEquals(f1.get(), mBinder.textView.isFocusable());
67 assertEquals(f1.get(), mBinder.textView2.isFocusable());
/frameworks/native/libs/gui/tests/
H A DSurfaceTextureClient_test.cpp135 int err = mANW->query(mANW.get(), NATIVE_WINDOW_QUEUES_TO_WINDOW_COMPOSER,
143 int err = mANW->query(mANW.get(), NATIVE_WINDOW_CONCRETE_TYPE, &result);
174 EGLSurface eglSurface = eglCreateWindowSurface(dpy, myConfig, mANW.get(),
188 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, mEglConfig, mANW.get(), NULL);
215 EXPECT_GT(OK, native_window_set_buffers_dimensions(mANW.get(), 0, 8));
216 EXPECT_GT(OK, native_window_set_buffers_dimensions(mANW.get(), 8, 0));
220 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CPU));
222 ASSERT_EQ(OK, native_window_dequeue_buffer_and_wait(mANW.get(), &buf));
226 ASSERT_EQ(OK, mANW->cancelBuffer(mANW.get(), buf, -1));
230 ASSERT_EQ(OK, native_window_api_connect(mANW.get(), NATIVE_WINDOW_API_CP
[all...]
H A DSurfaceTextureGL_test.cpp31 ASSERT_EQ(NO_ERROR, native_window_api_connect(mANW.get(),
33 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(),
35 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(),
37 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(),
41 ASSERT_EQ(NO_ERROR, native_window_dequeue_buffer_and_wait(mANW.get(),
52 ASSERT_EQ(NO_ERROR, mANW->queueBuffer(mANW.get(), buf->getNativeBuffer(),
81 ASSERT_EQ(NO_ERROR, native_window_api_connect(mANW.get(),
83 ASSERT_EQ(NO_ERROR, native_window_set_buffers_dimensions(mANW.get(),
85 ASSERT_EQ(NO_ERROR, native_window_set_buffers_format(mANW.get(),
87 ASSERT_EQ(NO_ERROR, native_window_set_usage(mANW.get(),
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DLayerUpdateQueueTests.cpp45 queue.enqueueLayerWithDamage(a.get(), Rect(25, 25, 75, 75));
46 queue.enqueueLayerWithDamage(b.get(), Rect(100, 100, 300, 300));
47 queue.enqueueLayerWithDamage(c.get(), Rect(.5, .5, .5, .5));
51 EXPECT_EQ(a.get(), queue.entries()[0].renderNode.get());
53 EXPECT_EQ(b.get(), queue.entries()[1].renderNode.get());
55 EXPECT_EQ(c.get(), queue.entries()[2].renderNode.get());
63 queue.enqueueLayerWithDamage(a.get(), Rec
[all...]
/frameworks/base/core/tests/coretests/src/android/os/
H A DSystemPropertiesTest.java33 value = SystemProperties.get(KEY, "default");
37 value = SystemProperties.get(KEY, "default");
40 value = SystemProperties.get(KEY);
44 value = SystemProperties.get(KEY, "default");
47 value = SystemProperties.get(KEY);

Completed in 593 milliseconds

1234567891011>>