/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/support/leanback/src/main/java/androidx/leanback/app/ |
H A D | FragmentUtil.java | 23 static Context getContext(Fragment fragment) { method in class:FragmentUtil 25 return fragment.getContext();
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | RecyclerViewAutofillTest.java | 40 static Context getContext() { method in class:RecyclerViewAutofillTest 46 RecyclerView recyclerView = new RecyclerView(getContext()); 59 ViewGroup parent = (ViewGroup) LayoutInflater.from(getContext())
|
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 | 76 RecyclerView rv = new RecyclerView(getContext()) { 103 private Context getContext() { method in class:MultiRecyclerViewPrefetchTest 104 return InstrumentationRegistry.getContext(); 126 return new RecyclerView.ViewHolder(new View(parent.getContext())) {};
|
/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/core/tests/coretests/src/android/os/ |
H A D | EnvironmentTest.java | 42 private Context getContext() { method in class:EnvironmentTest 43 return InstrumentationRegistry.getContext(); 48 dir = getContext().getDir("testing", Context.MODE_PRIVATE);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/ |
H A D | MffEnvironment.java | 58 public FilterContext getContext() { method in class:MffEnvironment
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appops/ |
H A D | AppOpsActiveWatcherTest.java | 58 final AppOpsManager appOpsManager = getContext().getSystemService(AppOpsManager.class); 68 eq(Process.myUid()), eq(getContext().getPackageName()), eq(true)); 78 Process.myUid(), getContext().getPackageName())).isTrue(); 86 eq(Process.myUid()), eq(getContext().getPackageName()), eq(false)); 90 Process.myUid(), getContext().getPackageName())).isFalse(); 116 final AppOpsManager appOpsManager = getContext().getSystemService(AppOpsManager.class); 154 private static Context getContext() { method in class:AppOpsActiveWatcherTest 155 return InstrumentationRegistry.getContext();
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/ |
H A D | UiServiceTestCase.java | 38 new TestableContext(InstrumentationRegistry.getContext(), null); 40 protected TestableContext getContext() { method in class:UiServiceTestCase
|
/frameworks/compile/slang/ |
H A D | slang_rs_pragma_handler.h | 42 RSContext *getContext() const { function in class:slang::RSPragmaHandler
|
/frameworks/av/camera/ndk/impl/ |
H A D | ACaptureRequest.h | 53 camera_status_t getContext(void** ctx) const { function in struct:ACaptureRequest
|
/frameworks/base/location/java/android/location/ |
H A D | LocalListenerHelper.java | 103 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/base/packages/SystemUI/tests/src/com/android/systemui/ |
H A D | SysuiBaseFragmentTest.java | 60 when(inst.getContext()).thenThrow(new RuntimeException( 61 "SysUI Tests should use SysuiTestCase#getContext or SysuiTestCase#mContext")); 63 "SysUI Tests should use SysuiTestCase#getContext or SysuiTestCase#mContext")); 74 protected SysuiTestableContext getContext() { method in class:SysuiBaseFragmentTest 75 return new SysuiTestableContext(InstrumentationRegistry.getContext(), mLeakCheck);
|
/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/core/tests/coretests/src/com/android/internal/os/ |
H A D | KernelCpuProcReaderTest.java | 59 private Context getContext() { method in class:KernelCpuProcReaderTest 60 return InstrumentationRegistry.getContext(); 65 mTestDir = getContext().getDir("test", Context.MODE_PRIVATE); 66 mRoot = getContext().getFilesDir();
|
/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/shared/tests/src/com/android/systemui/shared/ |
H A D | SysuiSharedLibTestCase.java | 36 private Context mContext = InstrumentationRegistry.getContext(); 49 public Context getContext() { method in class:SysuiSharedLibTestCase
|