/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/sound/ |
SoundFragment.java | 120 Settings.Global.putInt(getContext().getContentResolver(), 125 final int value = Settings.Global.getInt(getContext().getContentResolver(),
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
CaptionSettingsFragment.java | 129 LocalBroadcastManager.getInstance(getContext()).registerReceiver(mRefreshReceiver, 138 LocalBroadcastManager.getInstance(getContext()).unregisterReceiver(mRefreshReceiver);
|
TtsEnginePreference.java | 92 AlertDialog.Builder builder = new AlertDialog.Builder(getContext()); 94 .setMessage(getContext().getString(
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
ColorModePreference.java | 43 mDisplayManager = getContext().getSystemService(DisplayManager.class); 81 Resources resources = getContext().getResources();
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
MessageAttachmentBar.java | 153 AttachmentUtils.convertToHumanReadableSize(getContext(), attachment.size)); 155 AttachmentUtils.getDisplayType(getContext(), attachment)); 225 mPopup = new PopupMenu(getContext(), v); 268 getContext(), mAttachment.contentUri, mAttachment.getContentType())) { 281 AlertDialog.Builder builder = new AlertDialog.Builder(getContext()); 347 intent.setPackage(getContext().getPackageName()); 353 getContext().startActivity(intent); 365 getContext().startActivity(previewIntent);
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
FromAddressSpinnerAdapter.java | 45 sFormatString = getContext().getString(R.string.formatted_email_address); 50 mInflater = (LayoutInflater) getContext().getSystemService(
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/ |
DumpFileProvider.java | 82 final File file = DataExporter.getOutputFile(getContext(), fileName); 111 final File file = DataExporter.getOutputFile(getContext(), fileName);
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/ |
InstrumentClusterFragment.java | 101 new AlertDialog.Builder(getContext()) 102 .setTitle(getContext().getApplicationInfo().name)
|
/packages/services/Car/tests/carservice_test/src/com/android/car/test/ |
MockedCarTestBase.java | 74 mSupportCar = Car.createCar(getContext(), mConnectionListener); 76 mCar = android.car.Car.createCar(getContext(), new ServiceConnection() {
|
/packages/services/Telephony/src/com/android/phone/ |
CdmaSubscriptionListPreference.java | 57 int cdmaSubscriptionMode = Settings.Global.getInt(mPhone.getContext().getContentResolver(), 124 Settings.Global.putInt(mPhone.getContext().getContentResolver(),
|
/platform_testing/tests/functional/settingstests/src/com/android/settings/functional/ |
MainSettingsLargeTests.java | 55 mContext = getInstrumentation().getContext(); 93 getInstrumentation().getContext().startActivity(settingIntent);
|
SettingsHelper.java | 27 mResolver = inst.getContext().getContentResolver(); 78 launchSettingsPage(mInst.getContext(), settingAction);
|
/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/ |
SystemAppJankTests.java | 112 PackageManager pm = getInstrumentation().getContext().getPackageManager(); 115 getInstrumentation().getContext().startActivity(appIntent);
|
/platform_testing/tests/jank/sysapp/src/com/android/sysapp/janktests/ |
ChromeJankTests.java | 78 PackageManager pm = getInstrumentation().getContext().getPackageManager(); 81 getInstrumentation().getContext().startActivity(appIntent);
|
/platform_testing/tests/smokefast/src/com/android/smokefast/ |
MediaCaptureTest.java | 86 getInstrumentation().getContext().getPackageManager()) != null) { 92 getInstrumentation().getContext().startActivity(intent);
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
IconEditor.java | 67 final FrameLayout imageViewHolder = new FrameLayout(v.getContext()); 69 final ImageView imageView = new ImageView(v.getContext());
|
/system/update_engine/common/ |
hash_calculator.h | 71 std::string GetContext() const; 74 // previous HashCalculator::GetContext method call. Returns true on success,
|
/external/clang/lib/CodeGen/ |
CodeGenModule.cpp | 89 VMContext(M.getContext()), TBAA(nullptr), TheTargetCodeGenInfo(nullptr), 102 llvm::LLVMContext &LLVMContext = M.getContext(); 715 GVALinkage Linkage = getContext().GetGVALinkageForFunction(D); 818 F->getContext(), 849 F->getContext(), llvm::AttributeSet::FunctionIndex, B)); [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
InstalledAppDetails.java | 288 getContext().getSystemService(Context.DEVICE_POLICY_SERVICE); 340 ChartDataLoader.buildArgs(getTemplate(getContext()), app), 424 ResolveInfo result = getContext().getPackageManager().resolveActivity(i, 0); 561 PermissionsSummaryHelper.getPermissionSummary(getContext(), [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/list/ |
ListPresentation.java | 58 listView.setAdapter(new ArrayAdapter<String>(getContext(),
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/video/ |
VideoPresentation.java | 55 String packageName = getContext().getPackageName();
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
PackageDeviceInfo.java | 38 PackageManager pm = getContext().getPackageManager();
|
/cts/hostsidetests/devicepolicy/app/ContactDirectoryProvider/src/com/android/cts/contactdirectoryprovider/ |
DirectoryProvider.java | 101 mSharedPrefs = getContext().getSharedPreferences(CONFIG_NAME, Context.MODE_PRIVATE); 114 final AccountManager am = getContext().getSystemService(AccountManager.class); 203 getContext().getContentResolver().update(Directory.CONTENT_URI, new ContentValues(), 236 return resId == 0 ? null : getContext().getResources().openRawResourceFd(resId);
|
/cts/tests/app/src/android/app/cts/ |
ActivityManager_RunningAppProcessInfoTest.java | 35 getContext().getSystemService(Context.ACTIVITY_SERVICE);
|
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/presenter/ |
GridItemPresenter.java | 40 TextView view = new TextView(parent.getContext());
|