/external/clang/lib/CodeGen/ |
CGDebugInfo.cpp | 103 CurLoc = CGM.getContext().getSourceManager().getExpansionLoc(Loc); 110 SourceManager &SM = CGM.getContext().getSourceManager(); 155 return getOrCreateType(CGM.getContext().getTypeDeclType(RDecl), 275 SourceManager &SM = CGM.getContext().getSourceManager(); 309 SourceManager &SM = CGM.getContext().getSourceManager(); 323 SourceManager &SM = CGM.getContext().getSourceManager(); 345 SourceManager &SM = CGM.getContext().getSourceManager(); 439 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); 481 CGM.getContext().getTypeSize(BT) [all...] |
CGObjC.cpp | 91 ASTContext &Context = CGM.getContext(); 240 CGF.getContext().hasSameType(ExpT, Method->getResultType()) || 451 CGF.getContext().VoidTy, 516 ASTContext &Context = CGF.getContext(); 532 CharUnits size = CGF.getContext().getTypeSizeInChars(ivar->getType()); 625 = CGM.getContext().getTypeInfoInChars(ivarType); 688 CGM.getContext().getObjCGCAttrKind(ivarType))) { 790 args.add(RValue::get(returnAddr), CGF.getContext().VoidPtrTy); 797 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); 800 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy) [all...] |
CGClass.cpp | 64 ComputeNonVirtualBaseClassOffset(getContext(), ClassDecl, 70 Types.ConvertType(getContext().getPointerDiffType()); 92 const ASTRecordLayout &Layout = getContext().getASTRecordLayout(Derived); 160 ComputeNonVirtualBaseClassOffset(getContext(), VBase ? VBase : Derived, 167 const ASTRecordLayout &layout = getContext().getASTRecordLayout(Derived); 237 getContext().getCanonicalType(getContext().getTagDeclType(Derived)); 312 const ASTRecordLayout &Layout = getContext().getASTRecordLayout(RD); 403 if (BaseInitializerUsesThis(CGF.getContext(), BaseInit->getInit())) 412 CharUnits Alignment = CGF.getContext().getTypeAlignInChars(BaseType) [all...] |
/packages/apps/Browser/src/com/android/browser/provider/ |
SnapshotProvider.java | 121 File dbPath = getContext().getDatabasePath(SnapshotDatabaseHelper.DATABASE_NAME); 123 File oldPath = getOldDatabasePath(getContext()); 138 mOpenHelper = new SnapshotDatabaseHelper(getContext()); 175 cursor.setNotificationUri(getContext().getContentResolver(), 207 getContext().getContentResolver().notifyChange(inserted, null, false); 218 final Context context = getContext(); 257 getContext().getContentResolver().notifyChange(uri, null, false);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
MediaLinearLayout.java | 126 final Activity activity = (Activity) getContext(); 235 ((Activity) getContext()).showDialog( 246 ((Activity) getContext()).showDialog( 254 ((Activity) getContext()).showDialog( 303 final Intent intent = new Intent(getContext(), KenBurnsActivity.class); 308 ((Activity) getContext()).startActivityForResult(intent, 333 final Activity activity = (Activity) getContext(); 360 ((Activity) getContext()).showDialog( 470 final View beginView = inflate(getContext(), R.layout.empty_left_timeline_item, null); 494 final View endView = inflate(getContext(), R.layout.empty_right_timeline_item, null) [all...] |
/cts/tests/src/android/content/cts/ |
MockContentProvider.java | 124 mOpenHelper = new DatabaseHelper(getContext(), mDbName); 125 if (android.provider.Settings.System.getInt(getContext().getContentResolver(), 130 android.provider.Settings.System.putInt(getContext().getContentResolver(), 176 getContext().getContentResolver().notifyChange(uri, null); 232 getContext().getContentResolver().notifyChange(url, null); 280 if (android.provider.Settings.System.getInt(getContext().getContentResolver(), 285 android.provider.Settings.System.putInt(getContext().getContentResolver(), 308 c.setNotificationUri(getContext().getContentResolver(), uri); 346 getContext().getContentResolver().notifyChange(uri, null); 354 if (android.provider.Settings.System.getInt(getContext().getContentResolver() [all...] |
DummyProvider.java | 71 mDbHelper = new DatabaseHelper(getContext()); 107 getContext().getContentResolver().notifyChange(uri, null); 126 c.setNotificationUri(getContext().getContentResolver(), uri); 172 getContext().getContentResolver().notifyChange(uri, null); 189 getContext().getContentResolver().notifyChange(uri, null);
|
/frameworks/compile/slang/ |
slang_rs_metadata_spec_encoder.cpp | 269 if (!EncodeInteger(mModule->getContext(), 279 if (!EncodeInteger(mModule->getContext(), 285 RecordInfoMetadata->addOperand(llvm::MDNode::get(mModule->getContext(), 320 if (!EncodeInteger(mModule->getContext(), VarName, VarInfo)) { 323 if (!EncodeInteger(mModule->getContext(), Type, VarInfo)) { 330 mVarInfoMetadata->addOperand(llvm::MDNode::get(mModule->getContext(), 349 if (!EncodeInteger(mModule->getContext(), FuncName, FuncInfo)) { 356 mFuncInfoMetadata->addOperand(llvm::MDNode::get(mModule->getContext(), 421 llvm::MDString::get(mModule->getContext(), StrTabData); 423 llvm::MDString::get(mModule->getContext(), StrIdxData) [all...] |
/frameworks/base/core/tests/coretests/src/android/provider/ |
SettingsProviderTest.java | 42 ContentResolver r = getContext().getContentResolver(); 67 ContentResolver r = getContext().getContentResolver(); 136 UserManager um = (UserManager) getContext().getSystemService(Context.USER_SERVICE); 137 ContentResolver r = getContext().getContentResolver(); 172 ContentResolver r = getContext().getContentResolver(); 195 ContentResolver r = getContext().getContentResolver(); 251 UserManager um = (UserManager) getContext().getSystemService(Context.USER_SERVICE); 252 ContentResolver r = getContext().getContentResolver(); 294 .setData(Uri.parse("package:" + getContext().getPackageName())));
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
MessageAttachmentBar.java | 136 mAttachmentSizeText = AttachmentUtils.convertToHumanReadableSize(getContext(), 138 mDisplayType = AttachmentUtils.getDisplayType(getContext(), attachment); 206 mPopup = new PopupMenu(getContext(), v); 237 AlertDialog.Builder builder = new AlertDialog.Builder(getContext()); 258 getContext(), mAttachment.contentUri, mAttachment.getContentType())) { 271 AlertDialog.Builder builder = new AlertDialog.Builder(getContext()); 331 intent.setClass(getContext(), EmlViewerActivity.class); 336 getContext().startActivity(intent); 347 getContext().startActivity(previewIntent);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadStorageProvider.java | 69 mDm = (DownloadManager) getContext().getSystemService(Context.DOWNLOAD_SERVICE); 83 result.setNotificationUri(getContext().getContentResolver(), cursor.getNotificationUri()); 99 row.add(Root.COLUMN_TITLE, getContext().getString(R.string.root_downloads)); 266 final ContentResolver resolver = getContext().getContentResolver(); 315 summary = getContext().getString(R.string.download_queued); 318 summary = getContext().getString(R.string.download_queued); 325 summary = getContext().getString(R.string.download_running_percent, percent); 327 summary = getContext().getString(R.string.download_running); 332 summary = getContext().getString(R.string.download_error);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
TestResultsProvider.java | 77 mOpenHelper = new TestResultsOpenHelper(getContext()); 78 mBackupManager = new BackupManager(getContext()); 144 getContext().getContentResolver().notifyChange(uri, null); 182 getContext().getContentResolver().notifyChange(uri, null); 193 getContext().getContentResolver().notifyChange(uri, null);
|
/cts/tests/tests/content/src/android/content/res/cts/ |
TypedArrayTest.java | 63 mTypedArray = getContext().getTheme().obtainStyledAttributes(R.style.Whatever, attrs); 145 assertEquals(getContext().getResources(), mTypedArray.getResources()); 154 final ContextThemeWrapper contextThemeWrapper = new ContextThemeWrapper(getContext(), 0); 162 final XmlResourceParser parser = getContext().getResources().getXml(R.xml.test_color); 166 final TypedArray ta = getContext().getResources().obtainAttributes(set,
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
ScanResultTest.java | 73 if (!WifiFeature.isWifiSupported(getContext())) { 89 mWifiManager = (WifiManager) getContext().getSystemService(Context.WIFI_SERVICE); 102 if (!WifiFeature.isWifiSupported(getContext())) { 131 if (!WifiFeature.isWifiSupported(getContext())) { 152 if (!WifiFeature.isWifiSupported(getContext())) {
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeTypesGeneric.cpp | 41 EVT NOutVT = TLI.getTypeToTransformTo(*DAG.getContext(), OutVT); 80 EVT InNVT = EVT::getVectorVT(*DAG.getContext(), InVT.getVectorElementType(), 100 EVT NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); 109 ElemVT = EVT::getIntegerVT(*DAG.getContext(), NewSizeInBits); 110 NVT = EVT::getVectorVT(*DAG.getContext(), ElemVT, NumElems); 135 *DAG.getContext(), 156 getTypeForEVT(*DAG.getContext())); 213 EVT NewVT = TLI.getTypeToTransformTo(*DAG.getContext(), OldVT); 220 EVT NVecVT = EVT::getVectorVT(*DAG.getContext(), OldVT, OldElts); 225 EVT::getVectorVT(*DAG.getContext(), [all...] |
/external/llvm/lib/IR/ |
Metadata.cpp | 134 LLVMContextImpl *pImpl = getType()->getContext().pImpl; 292 assert(!N->getContext().pImpl->MDNodeSet.RemoveNode(N) && 294 assert(!N->getContext().pImpl->NonUniquedMDNodes.erase(N) && 321 LLVMContextImpl *pImpl = getType()->getContext().pImpl; 357 LLVMContextImpl *pImpl = getType()->getContext().pImpl; 516 return MDNode::get(A->getContext(), EndPoints); 577 setMetadata(getContext().getMDKindID(Kind), Node); 581 return getMetadataImpl(getContext().getMDKindID(Kind)); 598 LLVMContextImpl::MDMapTy &Info = getContext().pImpl->MetadataStore[this]; 619 getContext().pImpl->MetadataStore.count(this)) & [all...] |
/external/llvm/lib/Transforms/Utils/ |
UnifyFunctionExitNodes.cpp | 66 UnreachableBlock = BasicBlock::Create(F.getContext(), 68 new UnreachableInst(F.getContext(), UnreachableBlock); 91 BasicBlock *NewRetBlock = BasicBlock::Create(F.getContext(), 96 ReturnInst::Create(F.getContext(), NULL, NewRetBlock); 102 ReturnInst::Create(F.getContext(), PN, NewRetBlock);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
AdapterViewBehavior.java | 118 View emptyView = new View(adapterView.getContext()); 128 View emptyView = new View(adapterView.getContext()); 138 View emptyView = new View(adapterView.getContext()); 149 View emptyView = new View(adapterView.getContext()); 167 View emptyView = new View(adapterView.getContext());
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
CarrierText.java | 139 getContext().getText(R.string.keyguard_missing_sim_message_short), 144 carrierText = getContext().getText( 150 getContext().getText(R.string.keyguard_missing_sim_message_short), 156 getContext().getText(R.string.keyguard_sim_locked_message), 162 getContext().getText(R.string.keyguard_sim_puk_locked_message),
|
/packages/apps/Browser/tests/src/com/android/browser/tests/utils/ |
ProviderTestCase3.java | 50 return getContext().getResources(); 57 return getContext().getDir("mockcontext2_" + name, mode); 62 return getContext().getPackageName(); 67 return getContext().getSharedPreferences("mockcontext2_" + name, mode); 121 getContext(), // The context that file methods are delegated to
|
/packages/apps/Calendar/tests/src/com/android/calendar/widget/ |
CalendarAppWidgetServiceTest.java | 99 CalendarAppWidgetModel expected = new CalendarAppWidgetModel(getContext(), Time 113 eventInfo.when = Utils.formatDateRange(getContext(), now + ONE_HOUR, now + TWO_HOURS, 121 getContext(), cursor, Time.getCurrentTimezone()); 128 Context context = getContext(); 129 CalendarAppWidgetModel expected = new CalendarAppWidgetModel(getContext(), Time
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
DirectoryListLoader.java | 103 getContext().getContentResolver(). 110 getContext().getContentResolver().unregisterContentObserver(mObserver); 120 Context context = getContext(); 181 getContext().getString(R.string.contactsList), 186 getContext().getString(R.string.local_invisible_directory),
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ActionableToastBar.java | 124 op.onActionClicked(getContext()); 126 listener.onActionClicked(getContext()); 173 mOperation.onToastBarTimeout(getContext()); 180 mShowAnimation = AnimatorInflater.loadAnimator(getContext(), 204 mHideAnimation = AnimatorInflater.loadAnimator(getContext(),
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
AccessPermissionWithDiffSigTest.java | 71 getContext().getContentResolver().query(uri, null, null, null, null); 80 getContext().getContentResolver().query(uri, null, null, null, null); 108 getContext().getContentResolver().openFileDescriptor(uri, mode).close(); 118 final ContentResolver resolver = getContext().getContentResolver(); 141 getContext().getContentResolver().openOutputStream(uri).close(); 157 final ContentResolver resolver = getContext().getContentResolver(); 311 grantIntent.setClass(getContext(), ReceiveUriActivity.class); 314 getContext().startActivity(grantIntent); 322 grantIntent.setClass(getContext(), ReceiveUriActivity.class); 325 getContext().startActivity(grantIntent) [all...] |
/development/samples/Support7Demos/src/com/example/android/supportv7/app/ |
ActionBarSettingsActionProviderActivity.java | 72 LayoutInflater layoutInflater = LayoutInflater.from(getContext()); 79 getContext().startActivity(sSettingsIntent); 89 getContext().startActivity(sSettingsIntent);
|