/frameworks/base/core/jni/ |
com_google_android_gles_jni_EGLImpl.cpp | 59 static inline EGLContext getContext(JNIEnv* env, jobject o) { 150 EGLContext ctx = getContext(_env, context); 235 EGLContext shr = getContext(_env, share_context); 439 EGLContext ctx = getContext(_env, context); 474 EGLContext ctx = getContext(_env, context);
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/ |
XmlEditor.java | 105 if (tagAndContext.getContext() == layoutNode) { 124 Position start1 = toPosition(o1.getContext().getStart()); 125 Position start2 = toPosition(o2.getContext().getStart()); 134 ElementContext element = it.getContext(); 423 private ElementContext getContext() {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
IccProvider.java | 84 mSubscriptionManager = SubscriptionManager.from(getContext()); 232 getContext().getContentResolver().notifyChange(url, null); 235 getContext().getContentResolver().notifyInsert( 335 getContext().getContentResolver().notifyChange(url, null); 390 getContext().getContentResolver().notifyChange(url, null);
|
/frameworks/support/v4/java/android/support/v4/app/ |
ListFragment.java | 91 final Context context = getContext(); 291 getContext(), android.R.anim.fade_out)); 293 getContext(), android.R.anim.fade_in)); 303 getContext(), android.R.anim.fade_in)); 305 getContext(), android.R.anim.fade_out));
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
ToolbarActionBar.java | 100 final LayoutInflater inflater = LayoutInflater.from(mDecorToolbar.getContext()); 151 return mDecorToolbar.getContext(); 228 mDecorToolbar.setTitle(resId != 0 ? mDecorToolbar.getContext().getText(resId) : null); 253 mDecorToolbar.setSubtitle(resId != 0 ? mDecorToolbar.getContext().getText(resId) : null); 531 Context context = mDecorToolbar.getContext();
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppProvider.java | 271 Context context = getContext(); 291 mOpenHelper = new DatabaseHelper(getContext()); 365 ret.setNotificationUri(getContext().getContentResolver(), uri); 413 getContext().getContentResolver().notifyChange(uri, null); 450 getContext().getContentResolver().notifyChange(uri, null);
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
RawContactEditorView.java | 131 mInflater = (LayoutInflater)getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE); 207 ? EditorUiUtils.getLocalAccountInfo(getContext(), state.getAccountName(), type) 208 : EditorUiUtils.getAccountInfo(getContext(), state.getAccountName(), type); 229 mAccountIconImageView.setImageDrawable(state.getRawContactAccountType(getContext()) 230 .getDisplayIcon(getContext()));
|
/packages/apps/Dialer/src/com/android/dialer/compat/ |
FilteredNumberCompat.java | 132 .isNewBlockingEnabled(DialerApplication.getContext()); 148 return PreferenceManager.getDefaultSharedPreferences(DialerApplication.getContext()) 161 MoreObjects.firstNonNull(contextForTest, DialerApplication.getContext())).edit() 198 * getContext().getContentResolver().query( 272 DialerApplication.getContext().getContentResolver(), number, countryIso,
|
/packages/apps/Settings/src/com/android/settings/print/ |
PrintServiceSettingsFragment.java | 185 ((PrintManager)getContext().getSystemService(Context.PRINT_SERVICE)) 317 (PrintManager) getContext().getSystemService(Context.PRINT_SERVICE), getContext(), 609 return new PrintersLoader(getContext()); 738 PrintManager printManager = (PrintManager) getContext()
|
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/ |
PartnerBookmarksProvider.java | 212 Resources res = getContext().getResources(); 254 Resources res = getContext().getResources(); 348 mOpenHelper = new DatabaseHelper(getContext()); 354 mOpenHelper.prepareForConfiguration(getContext().getResources().getConfiguration()); 361 mOpenHelper.prepareForConfiguration(getContext().getResources().getConfiguration());
|
/external/clang/lib/CodeGen/ |
CGBlocks.cpp | 78 ASTContext &C = CGM.getContext(); 112 CGM.getContext().getObjCEncodingForBlock(blockInfo.getBlockExpr()); 318 ASTContext &C = CGM.getContext(); 351 = CGM.getContext().getTypeInfoInChars(thisType); [all...] |
CGVTables.cpp | 33 : CGM(CGM), VTContext(CGM.getContext().getVTableContext()) {} 218 QualType ThisType = MD->getThisType(getContext()); 223 ? CGM.getContext().VoidPtrTy 282 QualType ThisType = MD->getThisType(getContext()); 316 ? CGM.getContext().VoidPtrTy 535 CGM.getTypes().ConvertType(CGM.getContext().getPointerDiffType()); 702 CGM.getContext().getTagDeclType(Base.getBase())); [all...] |
CGException.cpp | 443 if (Proto->getNoexceptSpec(getContext()) == FunctionProtoType::NR_Nothrow) { 522 if (Proto->getNoexceptSpec(getContext()) == FunctionProtoType::NR_Nothrow) { 558 QualType CaughtType = CGM.getContext().getUnqualifiedArrayType( [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCalls.cpp | 37 return Type::getInt32Ty(Ty->getContext()); 95 IntegerType* IntType = IntegerType::get(MI->getContext(), Size<<3); 176 Type *ITy = IntegerType::get(MI->getContext(), Len*8); // n=1 -> i8. 390 Type *IntTy64 = Type::getInt64Ty(II.getContext()); 433 Type *IntTy8 = Type::getInt8Ty(II.getContext()); 434 Type *IntTy32 = Type::getInt32Ty(II.getContext()); 513 Type *IntTy8 = Type::getInt8Ty(II.getContext()); 514 Type *IntTy32 = Type::getInt32Ty(II.getContext()); 552 Type *IntTy64 = Type::getInt64Ty(II.getContext()); 561 Type *IntTy8 = Type::getInt8Ty(II.getContext()); [all...] |
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
MipsTargetStreamer.cpp | 440 Pic = MCA.getContext().getObjectFileInfo()->getRelocM() == Reloc::PIC_; 510 const MCObjectFileInfo &OFI = *MCA.getContext().getObjectFileInfo(); 610 MCContext &Context = MCA.getContext(); 715 MCContext &Context = getStreamer().getAssembler().getContext(); 757 MCSymbol *GP_Disp = MCA.getContext().getOrCreateSymbol(SymName); 764 "_gp_disp", MCSymbolRefExpr::VK_Mips_ABS_HI, MCA.getContext()); 774 "_gp_disp", MCSymbolRefExpr::VK_Mips_ABS_LO, MCA.getContext()); 836 &Sym, MCSymbolRefExpr::VK_Mips_GPOFF_HI, MCA.getContext()); 838 &Sym, MCSymbolRefExpr::VK_Mips_GPOFF_LO, MCA.getContext()); 891 MCContext &Context = MCA.getContext(); [all...] |
/external/llvm/lib/Transforms/Utils/ |
CodeExtractor.cpp | 305 case 1: RetTy = Type::getVoidTy(header->getContext()); break; 306 case 2: RetTy = Type::getInt1Ty(header->getContext()); break; 307 default: RetTy = Type::getInt16Ty(header->getContext()); break; 338 StructTy = StructType::get(M->getContext(), paramTy); 365 Idx[0] = Constant::getNullValue(Type::getInt32Ty(header->getContext())); 366 Idx[1] = ConstantInt::get(Type::getInt32Ty(header->getContext()), i); 429 LLVMContext &Context = newFunction->getContext(); 460 StructArgTy = StructType::get(newFunction->getContext(), ArgTypes); 710 BasicBlock *codeReplacer = BasicBlock::Create(header->getContext(), 716 BasicBlock *newFuncRoot = BasicBlock::Create(header->getContext(), [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
ContactLoader.java | 323 final ContentResolver resolver = getContext().getContentResolver(); 557 fd = getContext().getContentResolver().openAssetFileDescriptor(uri, "r"); 614 AccountTypeManager.getInstance(getContext()).getUsableInvitableAccountTypes(); 765 Cursor cursor = getContext().getContentResolver().query( [all...] |
/packages/apps/Email/provider_src/com/android/email/provider/ |
EmailProvider.java | 633 final Context context = getContext(); [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DcTracker.java | 698 mResolver = mPhone.getContext().getContentResolver(); 702 (AlarmManager) mPhone.getContext().getSystemService(Context.ALARM_SERVICE); 703 mCm = (ConnectivityManager) mPhone.getContext().getSystemService( 718 mPhone.getContext().registerReceiver(mIntentReceiver, filter, null, mPhone); 720 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(mPhone.getContext()); 723 mSubscriptionManager = SubscriptionManager.from(mPhone.getContext()); 736 phone.getContext().getContentResolver().registerContentObserver( 745 mPhone.getContext().registerReceiver(mIntentReceiver, filter, null, mPhone); 754 mSettingsObserver = new SettingsObserver(mPhone.getContext(), this); [all...] |
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
AppWidgetTest.java | 765 getInstrumentation().getContext(), firstAppWidgetId, provider); 779 getInstrumentation().getContext(), secondAppWidgetId, provider); 796 getInstrumentation().getContext().getPackageName(), [all...] |
/external/llvm/include/llvm/IR/ |
Metadata.h | 222 LLVMContext &getContext() const { return Context; } 265 : Metadata(ID, Uniqued), ReplaceableMetadataImpl(V->getContext()), V(V) { 289 LLVMContext &getContext() const { return V->getContext(); } 675 operator LLVMContext &() { return getContext(); } 681 LLVMContext &getContext() const { 683 return getReplaceableUses()->getContext(); 699 assert(&ReplaceableUses->getContext() == &getContext() && 712 Ptr = &ReplaceableUses->getContext(); [all...] |
/external/llvm/lib/IR/ |
Function.cpp | 197 AttributeSet::get(Parent->getContext(), 207 AttributeSet::get(Parent->getContext(), 223 LLVMContext &Function::getContext() const { 224 return getType()->getContext(); 270 setAttributes(Intrinsic::getAttributes(getContext(), IntID)); 341 PAL = PAL.addAttribute(getContext(), i, attr); 347 PAL = PAL.addAttributes(getContext(), i, attrs); 353 PAL = PAL.removeAttributes(getContext(), i, attrs); 359 PAL = PAL.addDereferenceableAttr(getContext(), i, Bytes); 365 PAL = PAL.addDereferenceableOrNullAttr(getContext(), i, Bytes) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
RenderSessionImpl.java | 182 BridgeContext context = getContext(); 193 IWindowManager iwm = new IWindowManagerImpl(getContext().getConfiguration(), 304 BridgeContext context = getContext(); 314 view = Preference_Delegate.inflatePreference(getContext(), mBlockParser, 489 render(getContext(), mViewRoot, NOP_CANVAS, mMeasuredScreenWidth, mMeasuredScreenHeight); 498 renderResult = render(getContext(), mViewRoot, mCanvas, mMeasuredScreenWidth, 561 BridgeContext context = getContext(); 619 BridgeContext context = getContext(); [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsProvider.java | 249 mUserManager = UserManager.get(getContext()); 603 getContext().registerReceiver(new BroadcastReceiver() { 636 monitor.register(getContext(), BackgroundThread.getHandler().getLooper(), [all...] |
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
SampleMediaRouteProvider.java | 169 Resources r = getContext().getResources(); 171 settingsIntent.setClass(getContext(), SampleMediaRouteSettingsActivity.class); 172 IntentSender is = PendingIntent.getActivity(getContext(), 99, settingsIntent, 246 mPlayer = Player.create(getContext(), null, null); 350 (AudioManager)getContext().getSystemService(Context.AUDIO_SERVICE); 593 receiver.send(getContext(), 0, intent); 609 mSessionReceiver.send(getContext(), 0, intent);
|