/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
StorageVolumePreferenceCategory.java | 134 return new StorageItemPreference(getContext(), titleRes, colorRes); 138 final Context context = getContext(); 189 getContext(), info.name, colorRes, info.id); 399 return Formatter.formatFileSize(getContext(), size); 428 intent.setClass(getContext(), com.android.settings.MediaFormat.class); 432 intent.setClass(getContext(), 446 Context context = getContext().getApplicationContext();
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
ContactLoader.java | 306 final ContentResolver resolver = getContext().getContentResolver(); 421 AssetFileDescriptor fd = getContext().getContentResolver() 472 AccountTypeManager.getInstance(getContext()).getUsableInvitableAccountTypes(); 621 Cursor cursor = getContext().getContentResolver().query( 637 PackageManager pm = getContext().getPackageManager(); 686 final Cursor cursor = getContext().getContentResolver().query(Groups.CONTENT_URI, 717 final Cursor cursor = getContext().getContentResolver().query( 738 streamItem.decodeHtml(getContext()); [all...] |
/external/clang/lib/CodeGen/ |
CGExprCXX.cpp | 43 CallLoc, This, getContext().getRecordType(MD->getParent())); 48 Args.add(RValue::get(This), MD->getThisType(getContext())); 192 return EmitCall(getContext().getPointerType(MD->getType()), Callee, 202 canDevirtualizeMemberFunctionCalls(getContext(), Base, MD)) { 365 getContext().getPointerType(getContext().getTagDeclType(RD)); 414 const ASTRecordLayout &Layout = CGF.getContext().getASTRecordLayout(Base); 480 assert(getContext().hasSameUnqualifiedType(E->getType(), 482 if (E->getArg(0)->isTemporaryObject(getContext(), CD->getParent())) { 489 = getContext().getAsConstantArrayType(E->getType())) [all...] |
CGExprConstant.cpp | 111 const ASTContext &Context = CGM.getContext(); 164 const ASTContext &Context = CGM.getContext(); 377 const ASTRecordLayout &Layout = CGM.getContext().getASTRecordLayout(RD); 382 bool IsMsStruct = RD->isMsStruct(CGM.getContext()); 389 if (CGM.getContext().ZeroBitfieldFollowsNonBitfield(*Field, LastFD)) { 449 const ASTRecordLayout &Layout = CGM.getContext().getASTRecordLayout(RD); 481 bool IsMsStruct = RD->isMsStruct(CGM.getContext()); 482 uint64_t OffsetBits = CGM.getContext().toBits(Offset); 489 if (CGM.getContext().ZeroBitfieldFollowsNonBitfield(*Field, LastFD)) { 526 const ASTRecordLayout &Layout = CGM.getContext().getASTRecordLayout(RD) [all...] |
CGExpr.cpp | 71 CharUnits Align = getContext().getTypeAlignInChars(Ty); 80 CharUnits Align = getContext().getTypeAlignInChars(Ty); 93 QualType BoolTy = getContext().BoolTy; 156 CharUnits Alignment = getContext().getTypeAlignInChars(E->getType()); 307 CharUnits Alignment = CGF.getContext().getTypeAlignInChars(E->getType()); 533 uint64_t Size = getContext().getTypeSizeInChars(Ty).getQuantity(); 552 AlignVal = getContext().getTypeAlignInChars(Ty).getQuantity(); 737 llvm::APFloat FVal(getContext().getFloatTypeSemantics(ElemTy), 1); [all...] |
CodeGenFunction.cpp | 34 Target(CGM.getContext().getTargetInfo()), 35 Builder(cgm.getModule().getContext()), 430 getContext().getFunctionType(RetTy, ArgTypes, 479 getContext().getTagDeclType(LambdaThisCaptureField->getParent()); 703 if (!Cond->EvaluateAsInt(Int, getContext())) 845 = CGF.getContext().getTypeInfoInChars(baseType); [all...] |
ItaniumCXXABI.cpp | 45 QualType T = getContext().getPointerDiffType(); 192 switch (CGM.getContext().getTargetInfo().getCXXABI().getKind()) { 517 const ASTContext &Context = getContext(); 581 getContext().getASTRecordLayout(Derived).getBaseClassOffset(Base); 591 getContext().toCharUnitsFromBits(getContext().getFieldOffset(MPD)); 738 ASTContext &Context = getContext(); 762 ASTContext &Context = getContext(); 794 ASTContext &Context = getContext(); [all...] |
CGRTTI.cpp | 66 VMContext(CGM.getModule().getContext()) { } 257 ASTContext &Context = CGM.getContext(); 497 CGM.getTypes().ConvertType(CGM.getContext().getPointerDiffType()); 563 Ty = CGM.getContext().getCanonicalType(Ty); 754 QualType SuperTy = CGM.getContext().getObjCInterfaceType(Super); 839 CGM.getTypes().ConvertType(CGM.getContext().UnsignedIntTy); 857 CGM.getTypes().ConvertType(CGM.getContext().LongTy); 897 const ASTRecordLayout &Layout = CGM.getContext().getASTRecordLayout(RD); 919 CGM.getContext().getUnqualifiedArrayType(PointeeTy, Quals); 933 CGM.getTypes().ConvertType(CGM.getContext().UnsignedIntTy) [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCalls.cpp | 32 return Type::getInt32Ty(Ty->getContext()); 91 IntegerType* IntType = IntegerType::get(MI->getContext(), Size<<3); 173 Type *ITy = IntegerType::get(MI->getContext(), Len*8); // n=1 -> i8. 373 ConstantInt::getTrue(II->getContext()) 387 ConstantInt::getFalse(II->getContext()) 415 ConstantInt::getFalse(II->getContext()) 436 ConstantInt::getFalse(II->getContext()) 496 ConstantInt::getFalse(II->getContext()) 649 ConstantInt::get(Type::getInt32Ty(II->getContext()), [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeIntegerTypes.cpp | 168 EVT ResVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 209 EVT NInVT = TLI.getTypeToTransformTo(*DAG.getContext(), InVT); 211 EVT NOutVT = TLI.getTypeToTransformTo(*DAG.getContext(), OutVT); 246 EVT::getIntegerVT(*DAG.getContext(), 278 TLI.getTypeToTransformTo(*DAG.getContext(), 291 TLI.getTypeToTransformTo(*DAG.getContext(), VT), 303 EVT OutVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 346 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 352 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 376 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)) [all...] |
LegalizeVectorTypes.cpp | 655 EVT LoIntVT = EVT::getIntegerVT(*DAG.getContext(), LoVT.getSizeInBits()); 656 EVT HiIntVT = EVT::getIntegerVT(*DAG.getContext(), HiVT.getSizeInBits()); 770 Type *VecType = VecVT.getTypeForEVT(*DAG.getContext()); 852 EVT InNVT = EVT::getVectorVT(*DAG.getContext(), InVT.getVectorElementType() [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadProvider.java | 432 mSystemFacade = new RealSystemFacade(getContext()); 435 mOpenHelper = new DatabaseHelper(getContext()); 442 appInfo = getContext().getPackageManager(). 452 Context context = getContext(); 454 mDownloadsDataDir = StorageManager.getDownloadDataDirectory(getContext()); 530 if (getContext().checkCallingPermission(Downloads.Impl.PERMISSION_ACCESS_ADVANCED) 541 getContext().checkCallingPermission( 549 getContext().enforcePermission( 555 getContext().enforcePermission( 627 if (getContext().checkCallingPermission(Downloads.Impl.PERMISSION_ACCESS_ADVANCED [all...] |
/external/llvm/include/llvm/ |
DebugInfo.h | 244 DIScope getContext() const { return getFieldAs<DIScope>(1); } 384 DIScope getContext() const { return getFieldAs<DIScope>(1); } 403 DIScope getContext() const { return getFieldAs<DIScope>(1); } 425 DIScope getContext() const { return getFieldAs<DIScope>(2); } 526 DIScope getContext() const { return getFieldAs<DIScope>(2); } 562 DIScope getContext() const { return getFieldAs<DIScope>(1); } 617 DIScope getContext() const { return getFieldAs<DIScope>(1); } 634 DIScope getContext() const { if (getScope().isSubprogram()) return getScope(); return getScope().getContext(); } 651 DIScope getContext() const { return getFieldAs<DIScope>(1); [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...] |
ShadowStackGC.cpp | 99 : F(F), CleanupBBName(N), State(0), Builder(F.getContext()) {} 143 LLVMContext &C = F.getContext(); 204 Type *VoidPtr = Type::getInt8PtrTy(F.getContext()); 217 Type *Int32Ty = Type::getInt32Ty(F.getContext()); 252 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0), 253 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0) 278 EltTys.push_back(Type::getInt32Ty(M.getContext())); 280 EltTys.push_back(Type::getInt32Ty(M.getContext())); 290 StackEntryTy = StructType::create(M.getContext(), "gc_stackentry"); 375 LLVMContext &Context = F.getContext(); [all...] |
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatteryHistoryChart.java | 343 String durationString = Utils.formatElapsedTime(getContext(), mStatsPeriod / 1000); 344 mDurationString = getContext().getString(R.string.battery_stats_on_battery, 346 mChargingLabel = getContext().getString(R.string.battery_stats_charging_label); 347 mScreenOnLabel = getContext().getString(R.string.battery_stats_screen_on_label); 348 mGpsOnLabel = getContext().getString(R.string.battery_stats_gps_on_label); 349 mWifiRunningLabel = getContext().getString(R.string.battery_stats_wifi_running_label); 350 mWakeLockLabel = getContext().getString(R.string.battery_stats_wake_lock_label); 351 mPhoneSignalLabel = getContext().getString(R.string.battery_stats_phone_signal_label); 381 if (!com.android.settings.Utils.isWifiOnly(getContext())) { 385 mTotalDurationString = Utils.formatElapsedTime(getContext(), mHistEnd - mHistStart) [all...] |
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
TelephonyProvider.java | 404 mOpenHelper = new DatabaseHelper(getContext()); 435 SharedPreferences sp = getContext().getSharedPreferences(PREF_FILE, Context.MODE_PRIVATE); 442 SharedPreferences sp = getContext().getSharedPreferences(PREF_FILE, Context.MODE_PRIVATE); 447 SharedPreferences sp = getContext().getSharedPreferences(PREF_FILE, Context.MODE_PRIVATE); 452 SharedPreferences sp = getContext().getSharedPreferences(PREF_FILE, Context.MODE_PRIVATE); 522 ret.setNotificationUri(getContext().getContentResolver(), url); 663 getContext().getContentResolver().notifyChange(Telephony.Carriers.CONTENT_URI, null); 719 getContext().getContentResolver().notifyChange(Telephony.Carriers.CONTENT_URI, null); 777 getContext().getContentResolver().notifyChange(Telephony.Carriers.CONTENT_URI, null); 784 getContext().enforceCallingOrSelfPermission("android.permission.WRITE_APN_SETTINGS" [all...] |
/external/llvm/lib/IR/ |
DebugInfo.cpp | 439 if (getContext() && !getContext().Verify()) 471 if (getContext() && !getContext().Verify()) 482 if (getContext() && !getContext().Verify()) 499 if (getContext() && !getContext().Verify()) 517 if (getContext() && !getContext().Verify() [all...] |
/packages/apps/Email/src/com/android/email/activity/ |
MessageListItem.java | 282 mWideReadSelector = getContext().getResources() 288 mReadSelector = getContext().getResources() 296 mWideUnreadSelector = getContext().getResources().getDrawable( 302 mUnreadSelector = getContext().getResources() 539 initializeSlop(getContext()); 587 event.setPackageName(getContext().getPackageName());
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteCursorTest.java | 49 getContext().deleteDatabase(DATABASE_FILE); 50 mDatabase = getContext().openOrCreateDatabase(DATABASE_FILE, Context.MODE_PRIVATE, null); 58 getContext().deleteDatabase(DATABASE_FILE);
|
SQLiteStatementTest.java | 57 getContext().deleteDatabase(DATABASE_NAME); 58 mDatabase = getContext().openOrCreateDatabase(DATABASE_NAME, Context.MODE_PRIVATE, null); 66 getContext().deleteDatabase(DATABASE_NAME);
|
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
SampleMediaRouteProvider.java | 121 Resources r = getContext().getResources(); 226 Toast.makeText(getContext(), "Route rejected play request: uri=" + uri 232 Toast.makeText(getContext(), "Route received play request: uri=" + uri,
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
MallocSizeofChecker.cpp | 178 CastedAllocFinder Finder(&BR.getContext()); 201 if (typesCompatible(BR.getContext(), PointeeType, SizeofType)) 206 if (compatibleWithArrayType(BR.getContext(), PointeeType, SizeofType))
|
/external/llvm/lib/Target/ARM/ |
ARMSelectionDAGInfo.cpp | 158 Type *IntPtrTy = TLI.getDataLayout()->getIntPtrType(*DAG.getContext()); 177 Entry.Ty = Type::getInt32Ty(*DAG.getContext()); 183 Type::getVoidTy(*DAG.getContext()), // return type
|
/external/llvm/lib/Transforms/Instrumentation/ |
BoundsChecking.cpp | 84 TrapBB = BasicBlock::Create(Fn->getContext(), "trap", Fn); 174 BuilderTy TheBuilder(F.getContext(), TargetFolder(TD)); 176 ObjectSizeOffsetEvaluator TheObjSizeEval(TD, TLI, F.getContext());
|