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

<<11121314151617181920>>

  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
VoiceSearch.java 43 protected Context getContext() {
96 return getContext().getPackageManager().getPackageInfo(ci.packageName, 0).versionCode;
104 return createVoiceSearchIntent().resolveActivity(getContext().getPackageManager());
  /packages/apps/Settings/src/com/android/settings/display/
DensityPreference.java 47 setSummary(getContext().getString(R.string.density_pixel_summary,dpValue));
51 final Resources res = getContext().getResources();
75 final Resources res = getContext().getResources();
  /packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
PhotosDeletionPreference.java 52 Context context = getContext();
71 new Handler(getContext().getMainLooper()).post(new Runnable() {
83 MetricsLogger.action(getContext(), MetricsEvent.ACTION_DELETION_SELECTION_PHOTOS, checked);
  /packages/apps/TV/src/com/android/tv/dvr/ui/
DvrFutureProgramInfoFragment.java 43 .append(Utils.getDurationString(getContext(), startTime, startTime, false));
56 TvSingletons.getSingletons(getContext())
77 DvrUiHelper.startSchedulesActivity(getContext(), mScheduledRecording);
  /packages/apps/TV/src/com/android/tv/dvr/ui/browse/
ScheduledRecordingDetailsFragment.java 42 mDvrManager = TvSingletons.getSingletons(getContext()).getDvrManager();
64 getContext(), getScheduledRecording(), mFailedMessage));
98 DvrUiHelper.startSchedulesActivity(getContext(), getRecording());
  /packages/apps/TV/src/com/android/tv/menu/
ActionCardView.java 62 Log.d(TAG, "onBind: action=" + action.getActionName(getContext()));
64 mIconView.setImageDrawable(action.getDrawable(getContext()));
65 mLabelView.setText(action.getActionName(getContext()));
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
AboutFragment.java 142 .setSummary(DeviceInfoUtils.getFormattedKernelVersion(getContext()));
211 LocalBroadcastManager.getInstance(getContext()).registerReceiver(mDeviceNameReceiver,
218 mDevHitCountdown = DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(getContext())
227 LocalBroadcastManager.getInstance(getContext()).unregisterReceiver(mDeviceNameReceiver);
276 mMetricsFeatureProvider.action(getContext(),
282 mMetricsFeatureProvider.action(getContext(),
291 .setDevelopmentSettingsEnabled(getContext(), true);
303 getContext(), MetricsEvent.ACTION_SETTINGS_BUILD_NUMBER_PREF,
320 getContext(), MetricsEvent.ACTION_SETTINGS_BUILD_NUMBER_PREF,
332 getContext(), MetricsEvent.ACTION_SETTINGS_BUILD_NUMBER_PREF
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
ForgetPrivateConfirmFragment.java 49 actions.add(new GuidedAction.Builder(getContext())
52 actions.add(new GuidedAction.Builder(getContext())
65 getContext().getSystemService(StorageManager.class)
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/
InputMethodAndSubtypeEnablerFragment.java 49 getPreferenceManager().createPreferenceScreen(getPreferenceManager().getContext());
89 mManager.refresh(getContext(), this);
95 mManager.save(getContext(), this);
  /packages/apps/UnifiedEmail/tests/src/com/android/mail/utils/
UtilsTest.java 35 getContext(), entire, sub, appearance);
37 expected.setSpan(new TextAppearanceSpan(getContext(), appearance), 6, 11, 0);
47 getContext(), entire, sub, appearance);
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
ImportantNoticeUtilsTests.java 103 mImportantNoticePreferences = new ImportantNoticePreferences(getContext());
120 ImportantNoticeUtils.shouldShowImportantNotice(getContext(), mMockSettingsValues));
125 ImportantNoticeUtils.shouldShowImportantNotice(getContext(), mMockSettingsValues));
  /system/hwservicemanager/
AccessControl.cpp 59 return checkPermission(getContext(pid), pid, kPermissionGet, checkName.c_str());
63 return checkPermission(getContext(pid), pid, mSeContext, kPermissionList, nullptr);
66 Context AccessControl::getContext(pid_t sourcePid) {
  /external/swiftshader/third_party/subzero/src/
IceInst.cpp 429 Srcs[I] = Target->getCfg()->getContext()->getConstantZero(Ty);
598 auto *Ctx = Func->getContext();
648 Ostream &Str = Func->getContext()->getStrDump();
669 Ostream &Str = Func->getContext()->getStrDump();
678 Ostream &Str = Func->getContext()->getStrDump();
701 Ostream &Str = Func->getContext()->getStrDump();
712 Ostream &Str = Func->getContext()->getStrEmit();
730 Ostream &Str = Func->getContext()->getStrDump();
741 Ostream &Str = Func->getContext()->getStrDump();
750 Ostream &Str = Func->getContext()->getStrDump()
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/
StorageStatsTest.java 72 private Context getContext() {
73 return getInstrumentation().getContext();
83 final StorageStatsManager stats = getContext()
97 final StorageStatsManager stats = getContext().getSystemService(StorageStatsManager.class);
109 final StorageStatsManager stats = getContext().getSystemService(StorageStatsManager.class);
116 useSpace(getContext());
135 final PackageManager pm = getContext().getPackageManager();
136 final StorageStatsManager stats = getContext().getSystemService(StorageStatsManager.class);
166 final StorageStatsManager stats = getContext().getSystemService(StorageStatsManager.class);
181 getContext().getExternalFilesDir(Environment.DIRECTORY_PICTURES), "test.jpg")
    [all...]
  /frameworks/base/apct-tests/perftests/core/src/android/widget/
TextViewPrecomputedTextPerfTest.java 96 private static Context getContext() {
107 final TextView textView = new TextView(getContext());
126 final TextView textView = new TextView(getContext());
150 final TextView textView = new TextView(getContext());
172 final TextView textView = new TextView(getContext());
191 final TextView textView = new TextView(getContext());
208 final TextView textView = new TextView(getContext());
230 final TextView textView = new TextView(getContext());
250 final TextView textView = new TextView(getContext());
268 final TestableTextView textView = new TestableTextView(getContext());
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/callcomposer/
CameraComposerFragment.java 110 if (!PermissionsUtil.hasCameraPermissions(getContext())) {
112 Logger.get(getContext()).logImpression(DialerImpression.Type.CAMERA_PERMISSION_DISPLAYED);
121 ContextCompat.getColor(getContext(), R.color.dialer_theme_color));
134 if (!PermissionsUtil.hasCameraPrivacyToastShown(getContext())) {
135 PermissionsUtil.showCameraPermissionToast(getContext());
197 if (PermissionsUtil.isFirstRequest(getContext(), permissions[0])
199 Logger.get(getContext()).logImpression(DialerImpression.Type.CAMERA_PERMISSION_REQUESTED);
203 Logger.get(getContext()).logImpression(DialerImpression.Type.CAMERA_PERMISSION_SETTINGS);
208 intent.setData(Uri.parse("package:" + getContext().getPackageName()));
241 Toast.makeText(getContext(), R.string.camera_media_failure, Toast.LENGTH_LONG).show()
    [all...]
  /external/swiftshader/src/OpenGL/libGL/
libGL.cpp 133 gl::Context *context = gl::getContext();
155 gl::Context *context = gl::getContext();
211 gl::Context *context = gl::getContext();
233 gl::Context *context = gl::getContext();
264 gl::Context *context = gl::getContext();
291 gl::Context *context = gl::getContext();
321 gl::Context *context = gl::getContext();
338 gl::Context *context = gl::getContext();
373 gl::Context* context = gl::getContext();
419 gl::Context *context = gl::getContext();
    [all...]
  /frameworks/rs/cpp/
Allocation.cpp 144 const void *typeID = RS::dispatch->AllocationGetType(mRS->getContext(), getID());
165 tryDispatch(mRS, RS::dispatch->AllocationSyncAll(mRS->getContext(), getIDSafe(), srcLocation));
181 p = RS::dispatch->AllocationGetPointer(mRS->getContext(), getIDSafe(), 0,
232 tryDispatch(mRS, RS::dispatch->Allocation1DData(mRS->getContext(), getIDSafe(), off, mSelectedLOD,
236 tryDispatch(mRS, RS::dispatch->Allocation1DData(mRS->getContext(), getIDSafe(), off, mSelectedLOD,
254 tryDispatch(mRS, RS::dispatch->Allocation1DRead(mRS->getContext(), getIDSafe(), off, mSelectedLOD,
259 tryDispatch(mRS, RS::dispatch->Allocation1DRead(mRS->getContext(), getIDSafe(), off, mSelectedLOD,
267 tryDispatch(mRS, RS::dispatch->AllocationCopy2DRange(mRS->getContext(), getIDSafe(), off, 0,
299 tryDispatch(mRS, RS::dispatch->Allocation2DData(mRS->getContext(), getIDSafe(), xoff,
305 tryDispatch(mRS, RS::dispatch->Allocation2DData(mRS->getContext(), getIDSafe(), xoff
    [all...]
  /cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DeviceInfo.java 113 activities = getContext().getPackageManager().getPackageInfo(
114 getContext().getPackageName(), PackageManager.GET_ACTIVITIES).activities;
130 protected Context getContext() {
131 return getInstrumentation().getContext();
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
CallbackAsserter.java 103 InstrumentationRegistry.getContext().registerReceiver(mReceiver, filter);
108 InstrumentationRegistry.getContext().unregisterReceiver(mReceiver);
126 InstrumentationRegistry.getContext().getContentResolver().registerContentObserver(
132 InstrumentationRegistry.getContext().getContentResolver().unregisterContentObserver(
  /cts/hostsidetests/dumpsys/apps/ProcStatsTestApp/src/com/android/server/cts/procstats/
ProcStatsTest.java 62 InstrumentationRegistry.getContext().startActivity(
67 InstrumentationRegistry.getContext().startService(
75 InstrumentationRegistry.getContext().startActivity(
80 InstrumentationRegistry.getContext().startService(
  /cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/
SharedUidTest.java 47 final JobScheduler js = getContext().getSystemService(JobScheduler.class);
51 new ComponentName(getContext(), MockJobService.class))
71 getContext().registerReceiver(new BroadcastReceiver() {
82 final PackageManager pm = getContext().getPackageManager();
  /cts/tests/app/src/android/app/cts/
UiModeManagerTest.java 33 mUiModeManager = (UiModeManager) getContext().getSystemService(Context.UI_MODE_SERVICE);
69 return getContext().getPackageManager().hasSystemFeature(
74 PackageManager pm = getContext().getPackageManager();
80 return getContext().getPackageManager().hasSystemFeature(
  /cts/tests/framework/base/activitymanager/util/src/android/server/am/
UiDeviceUtils.java 20 import static android.support.test.InstrumentationRegistry.getContext;
86 final PowerManager pm = getContext().getSystemService(PowerManager.class);
93 final PowerManager pm = getContext().getSystemService(PowerManager.class);
100 final KeyguardManager kgm = getContext().getSystemService(KeyguardManager.class);
  /cts/tests/tests/content/src/android/content/pm/cts/
FeatureTest.java 49 mPackageManager = getContext().getPackageManager();
50 mActivityManager = (ActivityManager)getContext().getSystemService(Context.ACTIVITY_SERVICE);
51 mWindowManager = (WindowManager) getContext().getSystemService(Context.WINDOW_SERVICE);
112 final Intent batteryInfo = getContext().registerReceiver(null,

Completed in 1116 milliseconds

<<11121314151617181920>>