/external/clang/lib/CodeGen/ |
CGDeclCXX.cpp | 125 CharUnits WidthChars = CGF.getContext().getTypeSizeInChars(D.getType()); 154 unsigned ExpectedAddrSpace = getContext().getTargetAddressSpace(T); 162 ConstantAddress DeclAddr(DeclPtr, getContext().getDeclAlign(&D)); 204 CGF.StartFunction(&VD, CGM.getContext().VoidTy, fn, FI, FunctionArgList()); 486 StartFunction(GlobalDecl(D), getContext().VoidTy, Fn, 509 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, 560 StartFunction(GlobalDecl(), getContext().VoidTy, Fn, 586 ImplicitParamDecl dst(getContext(), nullptr, SourceLocation(), nullptr, 587 getContext().VoidPtrTy); 591 getContext().VoidTy, args, FunctionType::ExtInfo(), /*variadic=*/false) [all...] |
CodeGenFunction.cpp | 42 Builder(cgm, cgm.getModule().getContext(), llvm::ConstantFolder(), 114 return getContext().toCharUnitsFromBits(Align); 131 Alignment = getContext().getTypeAlignInChars(T); 138 !getContext().isAlignmentRequired(T)) 148 return LValue::MakeAddr(Address(V, Alignment), T, getContext(), AlignSource, 516 CGM.getContext().getTargetAddressSpace(LangAS::opencl_global); 586 getContext()); 750 getContext().getFunctionType(RetTy, ArgTypes, [all...] |
CGExprScalar.cpp | 209 S->dump(CGF.getContext().getSourceManager()); 323 if (E->getCallReturnType(CGF.getContext())->isReferenceType()) 614 APFloat::getLargest(CGF.getContext().getFloatTypeSemantics(DstType)); 635 CGF.getContext().getFloatTypeSemantics(OrigSrcType); 640 unsigned Width = CGF.getContext().getIntWidth(DstType); 671 CGF.getContext().getFloatTypeSemantics(SrcType); 698 if (CGF.getContext().getFloatingTypeOrder(OrigSrcType, DstType) != 1) 705 CGF.getContext().getFloatTypeSemantics(DstType); 742 SrcType = CGF.getContext().getCanonicalType(SrcType); 743 DstType = CGF.getContext().getCanonicalType(DstType) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
CallLogProvider.java | 183 final Context context = getContext(); 227 " User=" + UserUtils.getCurrentUserHandle(getContext())); 279 c.setNotificationUri(getContext().getContentResolver(), CallLog.CONTENT_URI); 361 " User=" + UserUtils.getCurrentUserHandle(getContext())); 398 " User=" + UserUtils.getCurrentUserHandle(getContext())); 426 return new DbModifierWithNotification(Tables.CALLS, db, getContext()); 434 return new DbModifierWithNotification(Tables.CALLS, insertHelper, getContext()); 505 final UserManager userManager = UserUtils.getUserManager(getContext()); 508 if (!Calls.shouldHaveSharedCallLogEntries(getContext(), userManager, 539 final ContentResolver cr = getContext().getContentResolver() [all...] |
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
CommonExternalStorageTest.java | 75 final File single = getContext().getExternalCacheDir(); 77 final File firstMultiple = getContext().getExternalCacheDirs()[0]; 85 final File single = getContext().getExternalFilesDir(Environment.DIRECTORY_PICTURES); 87 final File firstMultiple = getContext() 96 final File single = getContext().getObbDir(); 98 final File firstMultiple = getContext().getObbDirs()[0]; 106 final List<File> paths = getAllPackageSpecificPaths(getContext());
|
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
UiAutomationTest.java | 70 Intent intent = new Intent(getInstrumentation().getContext(), 128 Intent intent = new Intent(getInstrumentation().getContext(), 179 Intent firstIntent = new Intent(getInstrumentation().getContext(), 195 Intent secondIntent = new Intent(getInstrumentation().getContext(), 373 Context context = getInstrumentation().getContext(); 380 Context context = getInstrumentation().getContext(); 423 Context context = getInstrumentation().getContext();
|
/external/google-breakpad/src/common/android/ |
breakpad_getcontext.S | 30 // A minimalistic implementation of getcontext() to be used by 35 /* int getcontext (ucontext_t *ucp) */ 75 * Note that a real implementation of getcontext() would need to save 104 /* The saved context will return to the getcontext() call point 118 will pass back to the caller of getcontext(), we have 232 // This implementation is inspired by implementation of getcontext in glibc. 342 /* int getcontext (ucontext_t *ucp) */
|
/external/llvm/lib/Target/Hexagon/Disassembler/ |
HexagonDisassembler.cpp | 169 MCInst *Inst = new (getContext()) MCInst; 177 HexagonMCChecker Checker (*MCII, STI, MI, MI, *getContext().getRegisterInfo()); 188 return disassembler(Decoder).getContext(); 298 MCInst *MILow = new (getContext()) MCInst; 300 MCInst *MIHigh = new (getContext()) MCInst; 350 getContext().getRegisterInfo()->getEncodingValue(MCO.getReg()); 650 Disassembler.getContext()); 662 HexagonMCInstrInfo::addConstant(MI, FullValue, Disassembler.getContext()); 770 HexagonMCInstrInfo::addConstant(MI, Extended, Disassembler.getContext()); [all...] |
/frameworks/base/core/java/android/preference/ |
DialogPreference.java | 118 setDialogTitle(getContext().getString(dialogTitleResId)); 148 setDialogMessage(getContext().getString(dialogMessageResId)); 175 mDialogIcon = getContext().getDrawable(dialogIconRes); 201 setPositiveButtonText(getContext().getString(positiveButtonTextResId)); 229 setNegativeButtonText(getContext().getString(negativeButtonTextResId)); 288 Context context = getContext(); 353 LayoutInflater inflater = LayoutInflater.from(mBuilder.getContext());
|
/frameworks/base/docs/html/reference/android/support/test/ |
InstrumentationRegistry.html | 347 <a href="/reference/android/support/test/InstrumentationRegistry.html#getContext()">getContext</a>() 799 <A NAME="getContext()"></A> 802 <h3 class="api-name">getContext</h3> 810 Context getContext ()</pre> 816 <code><a href="/reference/android/content/Context.html">Context</a></code> representing <code><a href="/reference/android/app/Instrumentation.html#getContext()">getContext()</a></code> into your test.
|
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/ |
ProcessErrorsTest.java | 70 assertNotNull("getContext() returned null!", getContext()); 73 getContext().getSystemService(Context.ACTIVITY_SERVICE); 74 mPackageManager = getContext().getPackageManager(); 162 getContext().startActivity(intent); 170 getContext().startActivity(mHomeIntent); 252 if (getContext().getPackageManager().getComponentEnabledSetting(component) ==
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ScrollingTabContainerView.java | 200 final LinearLayoutCompat tabLayout = new LinearLayoutCompat(getContext(), null, 210 final Spinner spinner = new AppCompatSpinner(getContext(), null, 224 ActionBarPolicy abp = ActionBarPolicy.get(getContext()); 289 final TabView tabView = new TabView(getContext(), tab, forAdapter); 472 ImageView iconView = new ImageView(getContext()); 490 TextView textView = new AppCompatTextView(getContext(), null, 524 final Context context = getContext();
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
MediaRouteChooserDialog.java | 85 context = getContext(); 165 mAdapter = new RouteAdapter(getContext(), mRoutes); 178 getWindow().setLayout(MediaRouteDialogHelper.getDialogWidth(getContext()), 222 RouteComparator.getInstance(getContext()) 252 TypedArray styledAttributes = getContext().obtainStyledAttributes(new int[] { 319 RouteComparator.getInstance(getContext()) 337 InputStream is = getContext().getContentResolver().openInputStream(iconUri);
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
ContactRecipientAdapter.java | 125 .filterPhones(getContext(), searchText).performSynchronousQuery(); 127 .filterEmails(getContext(), searchText).performSynchronousQuery(); 135 getContext(), searchText).performSynchronousQuery(); 137 getContext(), searchText).performSynchronousQuery(); 146 .filterDestination(getContext(), searchText).performSynchronousQuery(); 152 .filterDestinationEnterprise(getContext(), searchText) 356 final Cursor cursor = ContactUtil.lookupDestination(getContext(), address)
|
/frameworks/base/core/java/com/android/internal/policy/ |
PhoneWindow.java | 367 getContext().getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH)) { 411 getContext()); 716 mDecor.onConfigurationChanged(getContext().getResources().getConfiguration()); 744 !ViewConfiguration.get(getContext()).hasPermanentMenuKey()) { 762 Context context = getContext(); 822 st.decorView.setWindowBackground(getContext().getDrawable( 876 !ViewConfiguration.get(getContext()).hasPermanentMenuKey()) { [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
IccSmsInterfaceManager.java | 129 mContext = phone.getContext(); 322 mPhone.getContext().enforceCallingOrSelfPermission( 335 mPhone.getContext().enforceCallingPermission( 390 mPhone.getContext().enforceCallingPermission( 403 mPhone.getContext().enforceCallingOrSelfPermission( 505 mPhone.getContext().enforceCallingPermission( 653 Context context = mPhone.getContext(); 679 Context context = mPhone.getContext(); 705 Context context = mPhone.getContext(); 731 Context context = mPhone.getContext(); [all...] |
/frameworks/base/services/core/java/com/android/server/ |
DeviceIdleController.java | 771 mHasWatch = getContext().getPackageManager().hasSystemFeature( [all...] |
UiModeManagerService.java | 165 final Context context = getContext(); 262 if (isNightModeLocked() && (getContext().checkCallingOrSelfPermission( 282 Settings.Secure.putInt(getContext().getContentResolver(), 316 if (getContext().checkCallingOrSelfPermission(android.Manifest.permission.DUMP) 462 getContext().sendBroadcastAsUser(new Intent(oldAction), UserHandle.ALL); 470 getContext().sendBroadcastAsUser(new Intent(oldAction), UserHandle.ALL); 496 getContext().sendOrderedBroadcastAsUser(intent, UserHandle.CURRENT, null, 595 if (Sandman.shouldStartDockApp(getContext(), homeIntent)) { 617 Sandman.startDreamWhenDockedIfAppropriate(getContext()); 622 final Context context = getContext(); [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherProvider.java | 85 final Context context = getContext(); 121 mOpenHelper = new DatabaseHelper(getContext()); 135 result.setNotificationUri(getContext().getContentResolver(), uri); 191 getContext().getContentResolver().notifyChange(uri, null); 273 Utilities.isAllowRotationPrefEnabled(getContext())); 276 Utilities.getPrefs(getContext()).getBoolean(arg, extras.getBoolean( 283 Utilities.getPrefs(getContext()).edit().putBoolean(arg, value).apply(); 288 LauncherBackupAgentHelper.dataChanged(getContext()); 339 LauncherBackupAgentHelper.dataChanged(getContext()); 365 Utilities.getPrefs(getContext()).edit().remove(EMPTY_DATABASE_CREATED).commit() [all...] |
/external/llvm/lib/CodeGen/ |
IntrinsicLowering.cpp | 45 Type::getFloatTy(M.getContext())); 49 Type::getDoubleTy(M.getContext())); 96 LLVMContext &Context = M.getContext(); 103 Type::getInt32Ty(M.getContext())); 107 Type::getVoidTy(M.getContext())); 111 Type::getVoidTy(M.getContext())); 131 Type::getInt32Ty(M.getContext()), 325 Type::getFloatTy(CI->getContext())); 329 Type::getDoubleTy(CI->getContext())); 342 LLVMContext &Context = CI->getContext(); [all...] |
/external/llvm/lib/MC/MCParser/ |
COFFAsmParser.cpp | 276 MCSymbol *Sym = getContext().getOrCreateSymbol(Name); 308 getStreamer().SwitchSection(getContext().getCOFFSection( 388 const Triple &T = getContext().getObjectFileInfo()->getTargetTriple(); 402 MCSymbol *Sym = getContext().getOrCreateSymbol(SymbolName); 450 MCSymbol *Symbol = getContext().getOrCreateSymbol(SymbolID); 465 MCSymbol *Symbol = getContext().getOrCreateSymbol(SymbolID); 480 MCSymbol *Symbol = getContext().getOrCreateSymbol(SymbolID); 543 MCSymbol *Symbol = getContext().getOrCreateSymbol(SymbolID); 587 MCSymbol *handler = getContext().getOrCreateSymbol(SymbolID); 753 const MCRegisterInfo *MRI = getContext().getRegisterInfo() [all...] |
/external/llvm/lib/Target/BPF/ |
BPFISelLowering.cpp | 205 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); 241 DAG.getContext()->diagnose(Err); 249 DAG.getContext()->diagnose(Err); 281 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); 290 DAG.getContext()->diagnose(Err); 300 DAG.getContext()->diagnose(Err); 398 CCState CCInfo(CallConv, IsVarArg, MF, RVLocs, *DAG.getContext()); 403 DAG.getContext()->diagnose(Err); 443 CCState CCInfo(CallConv, IsVarArg, MF, RVLocs, *DAG.getContext()); 448 DAG.getContext()->diagnose(Err) [all...] |
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
ExternalStorageProvider.java | 114 mStorageManager = (StorageManager) getContext().getSystemService(Context.STORAGE_SERVICE); 150 getContext().getContentResolver(), Settings.Global.DEVICE_NAME); 156 : getContext().getString(R.string.root_internal_storage); 229 root.title = getContext().getString(R.string.root_documents); 258 getContext().getContentResolver().notifyChange(BASE_URI, null, false); 495 final ContentResolver resolver = getContext().getContentResolver(); 619 getContext().sendBroadcast(intent); 667 getContext().enforceCallingPermission( 715 file, getContext().getContentResolver(), notifyUri); 779 setNotificationUri(getContext().getContentResolver(), notifyUri) [all...] |
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
FingerprintSettings.java | 307 TextView v = (TextView) LayoutInflater.from(view.getContext()).inflate( 355 FingerprintPreference pref = new FingerprintPreference(root.getContext()); 363 Preference addPreference = new Preference(root.getContext()); 374 final int max = getContext().getResources().getInteger( 378 getContext().getString(R.string.fingerprint_add_max, max) : ""; 595 MetricsLogger.action(getContext(), 640 MetricsLogger.action(getContext(), MetricsEvent.ACTION_FINGERPRINT_DELETE, 645 Utils.isManagedProfile(UserManager.get(getContext()), parent.mUserId); [all...] |
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
SmsProvider.java | 93 mDeOpenHelper = MmsSmsDatabaseHelper.getInstanceForDe(getContext()); 94 mCeOpenHelper = MmsSmsDatabaseHelper.getInstanceForCe(getContext()); 95 TelephonyBackupAgent.DeferredSmsMmsRestoreService.startIfFilesExist(getContext()); 117 getContext(), getCallingPackage(), Binder.getCallingUid()); 268 ret.setNotificationUri(getContext().getContentResolver(), 368 cursor.setNotificationUri(getContext().getContentResolver(), ICC_URI); 561 getContext(), address)); 582 cursor = getContext().getContentResolver().query( 743 ContentResolver cr = getContext().getContentResolver(); 835 final Context context = getContext(); [all...] |