/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | RenderNodeAnimatorTest.java | 37 private Context getContext() { method in class:RenderNodeAnimatorTest 48 View view = new View(getContext());
|
H A D | ViewInvalidateTest.java | 62 mParent = new FrameLayout(getContext()); 63 mChild = new View(getContext()); 83 Context getContext() { method in class:ViewInvalidateTest
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
H A D | FragmentBase.java | 32 Context getContext(); method in interface:FragmentBase
|
H A D | PluginFragment.java | 33 return super.onGetLayoutInflater(savedInstanceState).cloneInContext(getContext()); 42 public Context getContext() { method in class:PluginFragment
|
/frameworks/base/services/tests/notification/src/com/android/server/notification/ |
H A D | NotificationTestCase.java | 28 new TestableContext(InstrumentationRegistry.getContext(), null); 30 protected TestableContext getContext() { method in class:NotificationTestCase
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | FragmentUtil.java | 27 return fragment.getContext(); 30 public static Context getContext(Fragment fragment) { method in class:FragmentUtil
|
/frameworks/base/apct-tests/perftests/core/src/android/database/ |
H A D | CursorWindowPerfTest.java | 42 private static Context getContext() { method in class:CursorWindowPerfTest 52 getContext().deleteDatabase(DB_NAME); 53 sDatabase = getContext().openOrCreateDatabase(DB_NAME, Context.MODE_PRIVATE, null); 67 getContext().deleteDatabase(DB_NAME);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/ |
H A D | MffEnvironment.java | 58 public FilterContext getContext() { method in class:MffEnvironment
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
H A D | SysuiBaseFragmentTest.java | 56 when(inst.getContext()).thenThrow(new RuntimeException( 57 "SysUI Tests should use SysuiTestCase#getContext or SysuiTestCase#mContext")); 59 "SysUI Tests should use SysuiTestCase#getContext or SysuiTestCase#mContext")); 70 protected SysuiTestableContext getContext() { method in class:SysuiBaseFragmentTest 71 return new SysuiTestableContext(InstrumentationRegistry.getContext(), mLeakCheck);
|
H A D | SysuiTestCase.java | 50 InstrumentationRegistry.getContext(), getLeakCheck()); 62 when(inst.getContext()).thenAnswer(invocation -> { 64 "SysUI Tests should use SysuiTestCase#getContext or SysuiTestCase#mContext"); 68 "SysUI Tests should use SysuiTestCase#getContext or SysuiTestCase#mContext"); 83 public Context getContext() { method in class:SysuiTestCase
|
/frameworks/compile/slang/ |
H A D | slang_rs_pragma_handler.h | 42 RSContext *getContext() const { function in class:slang::RSPragmaHandler
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | GapWorkerTest.java | 41 private Context getContext() { method in class:GapWorkerTest 42 return InstrumentationRegistry.getContext(); 90 list.get(1).view = new RecyclerView(getContext()); 175 RecyclerView recyclerView = new RecyclerView(getContext());
|
H A D | MultiRecyclerViewPrefetchTest.java | 74 RecyclerView rv = new RecyclerView(getContext()) { 101 private Context getContext() { method in class:MultiRecyclerViewPrefetchTest 102 return InstrumentationRegistry.getContext(); 123 return new RecyclerView.ViewHolder(new View(parent.getContext())) {};
|
H A D | RecycledViewPoolTest.java | 41 private Context getContext() { method in class:RecycledViewPoolTest 42 return InstrumentationRegistry.getContext(); 53 RecyclerView.ViewHolder holder = new MockViewHolder(getContext());
|
/frameworks/base/location/java/android/location/ |
H A D | LocalListenerHelper.java | 98 protected Context getContext() { method in class:LocalListenerHelper
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
H A D | MtpManagerTest.java | 46 mUsbManager = getContext().getSystemService(UsbManager.class); 47 mManager = new MtpManager(getContext()); 161 private Context getContext() { method in class:MtpManagerTest 162 return getInstrumentation().getContext();
|
/frameworks/compile/libbcc/include/bcc/ |
H A D | Source.h | 82 inline BCCContext &getContext() function in class:bcc::Source 84 inline const BCCContext &getContext() const function in class:bcc::Source
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
H A D | ReflectionInflater.java | 71 public Context getContext() { method in class:ReflectionInflater
|
/frameworks/base/legacy-test/src/android/test/ |
H A D | AndroidTestCase.java | 64 public Context getContext() { method in class:AndroidTestCase 106 getContext().startActivity(intent); 125 getContext().getContentResolver().query(uri, null, null, null, null); 144 getContext().getContentResolver().insert(uri, new ContentValues());
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | FilterFunction.java | 104 public FilterContext getContext() { method in class:FilterFunction
|
H A D | FrameManager.java | 53 public FilterContext getContext() { method in class:FrameManager
|
H A D | GraphRunner.java | 55 public FilterContext getContext() { method in class:GraphRunner
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSHost.java | 29 Context getContext(); method in interface:QSHost
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
H A D | CoreSettingsObserverTest.java | 97 final Context originalContext = InstrumentationRegistry.getContext(); 148 public Context getContext() { method in class:CoreSettingsObserverTest.TestInjector
|
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
H A D | Service.java | 44 public Context getContext() { method in class:Service
|