HomeSort by relevance Sort by last modified time
    Searched full:getcontext (Results 726 - 750 of 7204) sorted by null

<<21222324252627282930>>

  /frameworks/base/core/tests/coretests/src/android/os/
MessengerTest.java 96 getContext().bindService(new Intent(mContext, MessengerService.class),
111 getContext().unbindService(mConnection);
  /frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
PipeManagerTest.java 39 mtpManager = new TestMtpManager(getContext());
41 mDatabase = new MtpDatabase(getContext(), MtpDatabaseConstants.FLAG_DATABASE_IN_MEMORY);
TestResultInstrumentation.java 76 TestResultActivity.show(getContext(), " " + message);
85 getContext(), String.format("[%s] %s %s", tag, test.toString(), message));
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
InputMethodPreference.java 183 final Context context = getContext();
202 mImi, getContext());
212 RestrictedLockUtils.checkIfInputMethodDisallowed(getContext(),
225 return (InputMethodManager)getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
232 subtypes, getContext(), mImi);
245 final Context context = getContext();
272 return (getContext().getResources().getConfiguration().uiMode
280 final Context context = getContext();
  /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
RestrictedPreferenceHelperTest.java 61 when(summaryView.getContext().getText(R.string.disabled_by_admin_summary_text))
77 when(summaryView.getContext().getText(R.string.disabled_by_admin_summary_text))
  /frameworks/base/packages/SystemUI/shared/tests/src/com/android/systemui/shared/
SysuiSharedLibTestCase.java 36 private Context mContext = InstrumentationRegistry.getContext();
49 public Context getContext() {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
BatteryMeterView.java 138 getContext().getContentResolver().unregisterContentObserver(mSettingObserver);
139 getContext().getContentResolver().registerContentObserver(
213 getContext().getContentResolver().registerContentObserver(
227 getContext().getContentResolver().unregisterContentObserver(mSettingObserver);
239 getContext().getString(charging ? R.string.accessibility_battery_level_charging
249 return (TextView) LayoutInflater.from(getContext())
262 if (0 != Settings.System.getIntForUser(getContext().getContentResolver(),
290 Resources res = getContext().getResources();
ResizingSpace.java 46 int width = getContext().getResources().getDimensionPixelOffset(mWidth);
53 int height = getContext().getResources().getDimensionPixelOffset(mHeight);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
LockscreenFragment.java 106 RecyclerView v = (RecyclerView) LayoutInflater.from(getContext())
108 v.setLayoutManager(new LinearLayoutManager(getContext()));
109 AlertDialog dialog = new Builder(getContext())
112 Adapter adapter = new Adapter(getContext(), item -> {
126 Shortcut info = getShortcutInfo(getContext(), value);
129 ActivityInfo info = getActivityinfo(getContext(), value);
130 shortcut.setSummary(info != null ? info.loadLabel(getContext().getPackageManager())
273 return new Holder(LayoutInflater.from(parent.getContext())
  /frameworks/base/packages/SystemUI/src/com/android/systemui/util/
Utils.java 56 SysUiServiceProvider.getComponent(v.getContext(), CommandQueue.class)
62 SysUiServiceProvider.getComponent(mView.getContext(), CommandQueue.class)
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
AboveShelfObserverTest.java 49 mNotificationTestHelper = new NotificationTestHelper(getContext());
50 mHostLayout = new FrameLayout(getContext());
  /frameworks/base/services/core/java/com/android/server/media/
MediaResourceMonitorService.java 65 UserManager manager = (UserManager) getContext().getSystemService(
75 getContext().sendBroadcastAsUser(intent, UserHandle.of(userId),
  /frameworks/base/services/tests/servicestests/src/com/android/server/
CountryDetectorServiceTest.java 68 CountryDetectorServiceTester serviceTester = new CountryDetectorServiceTester(getContext());
79 CountryDetectorServiceTester serviceTester = new CountryDetectorServiceTester(getContext());
  /frameworks/base/services/tests/servicestests/src/com/android/server/am/
TaskPersisterTest.java 45 mUserManager = UserManager.get(getContext());
46 mTaskPersister = new TaskPersister(getContext().getFilesDir());
  /frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
NotificationChannelExtractorTest.java 58 final Notification.Builder builder = new Notification.Builder(getContext())
64 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel);
  /frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/
ServiceCrashTest.java 41 getInstrumentation().getContext().getContentResolver(),
65 Context ctx = getInstrumentation().getContext();
  /frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
IllustrationTest.java 42 final Illustration illustration = new Illustration(InstrumentationRegistry.getContext());
48 final Context context = InstrumentationRegistry.getContext();
ItemInflaterTest.java 40 ItemInflater inflater = new ItemInflater(InstrumentationRegistry.getContext());
47 ItemInflater inflater = new ItemInflater(InstrumentationRegistry.getContext());
ReflectionInflaterTest.java 44 final Context context = InstrumentationRegistry.getContext();
57 final Context context = InstrumentationRegistry.getContext();
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DcTesterDeactivateAll.java 81 phone.getContext().registerReceiver(sIntentReceiver, filter, null, handler);
87 mPhone.getContext().unregisterReceiver(sIntentReceiver);
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
PropertyNodesVerifier.java 47 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId), vcardType);
52 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId),
  /frameworks/support/compat/src/androidTest/java/androidx/core/graphics/drawable/
IconCompatTest.java 62 private Context mContext = InstrumentationRegistry.getContext();
108 Context context = InstrumentationRegistry.getContext();
122 Context context = InstrumentationRegistry.getContext();
147 Drawable d = compat.toIcon().loadDrawable(InstrumentationRegistry.getContext());
169 Drawable d = compat.toIcon().loadDrawable(InstrumentationRegistry.getContext());
196 Drawable d = compat.toIcon().loadDrawable(InstrumentationRegistry.getContext());
204 Context context = InstrumentationRegistry.getContext();
208 Drawable d = compat.toIcon().loadDrawable(InstrumentationRegistry.getContext());
  /frameworks/support/coordinatorlayout/src/androidTest/java/androidx/coordinatorlayout/widget/
CoordinatorLayoutTest.java 93 final View view = new View(col.getContext());
147 final View view = new View(col.getContext());
220 final View a = new View(col.getContext());
221 final View b = new View(col.getContext());
254 final View insetView = new View(col.getContext());
255 final View dodgeInsetView = new View(col.getContext());
308 final View viewA = new View(col.getContext());
313 final View viewB = new View(col.getContext());
354 final View viewA = new View(col.getContext());
355 final View viewB = new View(col.getContext());
    [all...]
  /frameworks/support/core/ktx/src/androidTest/java/androidx/core/os/
PersistableBundleTest.kt 78 persistableBundleOf("nope" to View(InstrumentationRegistry.getContext()))
82 persistableBundleOf("nopes" to arrayOf(View(InstrumentationRegistry.getContext())))
  /frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
GridWidgetPrefetchTest.java 30 private Context getContext() {
31 return InstrumentationRegistry.getContext();
62 View view = new View(getContext());
82 HorizontalGridView gridView = new HorizontalGridView(getContext());
132 HorizontalGridView gridView = new HorizontalGridView(getContext());
205 HorizontalGridView gridView = new HorizontalGridView(getContext());
246 VerticalGridView view = new VerticalGridView(getContext());
285 VerticalGridView gridView = new VerticalGridView(getContext());

Completed in 1388 milliseconds

<<21222324252627282930>>