/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
ClockProvider.java | 56 mOpenHelper = new ClockDatabaseHelper(getContext()); 103 ret.setNotificationUri(getContext().getContentResolver(), uri); 160 getContext().getContentResolver().notifyChange(uri, null); 183 getContext().getContentResolver().notifyChange(uriResult, null); 236 getContext().getContentResolver().notifyChange(uri, null);
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AuthenticationView.java | 144 final Credential cred = hostAuth.getCredential(getContext()); 161 getContext(), mOAuthProvider); 162 mOAuthLabel.setText(getContext().getString(R.string.signed_in_with_service_label, 242 getContext(), mOAuthProvider); 244 mOAuthLabel.setText(getContext().getString(R.string.signed_in_with_service_label,
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
InputMethodPreference.java | 164 final Context context = getContext(); 183 mImi, getContext()); 192 return (InputMethodManager)getContext().getSystemService(Context.INPUT_METHOD_SERVICE); 196 final Context context = getContext(); 216 final Context context = getContext();
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/ |
SuggestionSpanUtilsTest.java | 98 getContext(), ORIGINAL_TEXT, NONNULL_LOCALE); 113 getContext(), ORIGINAL_TEXT, Locale.ROOT); 159 SuggestionSpanUtils.getTextWithSuggestionSpan(getContext(), PICKED_WORD, 206 SuggestionSpanUtils.getTextWithSuggestionSpan(getContext(), PICKED_WORD, 216 SuggestionSpanUtils.getTextWithSuggestionSpan(getContext(), PICKED_WORD,
|
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
TargetControlPane.java | 196 mOutputSpinner.setAdapter(new ArrayAdapter<String>(getContext(), R.layout.spinner_item, 281 mCameraSpinner.setAdapter(new ArrayAdapter<String>(getContext(), R.layout.spinner_item, 297 newPane = new ImageReaderSubPane(getContext(), null); 305 newPane = new SurfaceViewSubPane(getContext(), null); 308 newPane = new TextureViewSubPane(getContext(), null);
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
UtilsTests.java | 155 timezoneUtils.setTimeZone(dbUtils.getContext(), tz); 510 false, dbUtils.getContext()); 517 false, dbUtils.getContext()); 527 false, dbUtils.getContext()); 537 false, dbUtils.getContext()); 547 false, dbUtils.getContext()); 557 false, dbUtils.getContext()); 567 false, dbUtils.getContext()); 577 false, dbUtils.getContext()); 587 true, dbUtils.getContext()); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
DictionaryProvider.java | 235 final Cursor c = MetadataDbHelper.queryDictionaries(getContext(), clientId); 242 if (!MetadataDbHelper.isClientKnown(getContext(), clientId)) return null; 249 DictionaryService.updateNowIfNotUpdatedInAVeryLongTime(getContext()); 271 final Context context = getContext(); 313 final AssetFileDescriptor afd = getContext().getResources().openRawResourceFd( 319 final File f = getContext().getFileStreamPath(localFilename); 344 final Context context = getContext(); 402 final File f = getContext().getFileStreamPath(wordListLocalFilename); 442 if (MetadataDbHelper.deleteClient(getContext(), getClientId(uri))) { 461 UpdateHandler.markAsDeleted(getContext(), clientId, wordlistId, version, status) [all...] |
/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeFloatTypes.cpp | 127 TLI.getTypeToTransformTo(*DAG.getContext(), 135 TLI.getTypeToTransformTo(*DAG.getContext(), 147 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 159 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 172 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 185 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 198 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 252 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 264 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 277 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)) [all...] |
/external/llvm/lib/Target/AArch64/AsmParser/ |
AArch64AsmParser.cpp | [all...] |
/external/clang/lib/CodeGen/ |
TargetInfo.cpp | 86 ASTContext &ABIInfo::getContext() const { 87 return CGT.getContext(); 586 return isX86VectorTypeForVectorCall(getContext(), Ty); 730 uint64_t RetWidth = CGF.getContext().getTypeSize(ReturnSlot.getType()); 832 uint64_t Size = getContext().getTypeSize(RetTy); 867 if (shouldReturnTypeInRegister(RetTy, getContext())) { 868 uint64_t Size = getContext().getTypeSize(RetTy); 875 if (const Type *SeltTy = isSingleElementStruct(RetTy, getContext())) 939 if (Align >= 16 && (isSSEVectorType(getContext(), Ty) || 940 isRecordWithSSEVectorType(getContext(), Ty)) [all...] |
CGClass.cpp | 67 ComputeNonVirtualBaseClassOffset(getContext(), ClassDecl, 73 Types.ConvertType(getContext().getPointerDiffType()); 95 const ASTRecordLayout &Layout = getContext().getASTRecordLayout(Derived); 162 ComputeNonVirtualBaseClassOffset(getContext(), VBase ? VBase : Derived, 169 const ASTRecordLayout &layout = getContext().getASTRecordLayout(Derived); 179 QualType DerivedTy = getContext().getRecordType(Derived); 180 CharUnits DerivedAlign = getContext().getTypeAlignInChars(DerivedTy); 251 getContext().getCanonicalType(getContext().getTagDeclType(Derived)); 326 const ASTRecordLayout &Layout = getContext().getASTRecordLayout(RD) [all...] |
/external/llvm/lib/IR/ |
Metadata.cpp | 38 getType()->getContext().pImpl->MetadataAsValues.erase(MD); 91 LLVMContext &Context = getContext(); 254 auto &Context = V->getContext(); 273 return V->getContext().pImpl->ValuesAsMetadata.lookup(V); 279 auto &Store = V->getType()->getContext().pImpl->ValuesAsMetadata; 301 LLVMContext &Context = From->getType()->getContext(); 666 return uniquifyImpl(SubclassThis, getContext().pImpl->CLASS##s); \ 678 getContext().pImpl->CLASS##s.erase(cast<CLASS>(this)); \ 725 getContext().pImpl->DistinctMDNodes.insert(this); 778 return getOrSelfReference(A->getContext(), MDs) [all...] |
Function.cpp | 190 AttributeSet::get(Parent->getContext(), 200 AttributeSet::get(Parent->getContext(), 214 LLVMContext &Function::getContext() const { 215 return getType()->getContext(); 259 setAttributes(Intrinsic::getAttributes(getContext(), Intrinsic::ID(IID))); 275 getContext().pImpl->IntrinsicIDCache.erase(this); 329 PAL = PAL.addAttribute(getContext(), i, attr); 335 PAL = PAL.addAttributes(getContext(), i, attrs); 341 PAL = PAL.removeAttributes(getContext(), i, attrs); 347 PAL = PAL.addDereferenceableAttr(getContext(), i, Bytes) [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadProvider.java | 442 mSystemFacade = new RealSystemFacade(getContext()); 450 mOpenHelper = new DatabaseHelper(getContext()); 457 appInfo = getContext().getPackageManager(). 467 Context context = getContext(); 539 if (getContext().checkCallingOrSelfPermission(Downloads.Impl.PERMISSION_ACCESS_ADVANCED) 550 getContext().checkCallingOrSelfPermission( 561 getContext().enforceCallingOrSelfPermission( 565 final AppOpsManager appOps = getContext().getSystemService(AppOpsManager.class); 572 getContext().enforcePermission( 645 if (getContext().checkCallingOrSelfPermission(Downloads.Impl.PERMISSION_ACCESS_ADVANCED [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactListItemView.java | 243 TypedArray a = getContext().obtainStyledAttributes(attrs, R.styleable.ContactListItemView); 291 a = getContext().obtainStyledAttributes(R.styleable.Theme); 770 mHeaderTextView = new TextView(getContext()); 771 mHeaderTextView.setTextAppearance(getContext(), R.style.SectionHeaderStyle); 796 mQuickContact = new QuickContactBadge(getContext()); 800 mQuickContact.setContentDescription(getContext().getString [all...] |
/cts/tests/tests/net/src/android/net/wifi/cts/ |
WifiManagerTest.java | 117 if (!WifiFeature.isWifiSupported(getContext())) { 133 mWifiManager = (WifiManager) getContext().getSystemService(Context.WIFI_SERVICE); 148 if (!WifiFeature.isWifiSupported(getContext())) { 232 if (!WifiFeature.isWifiSupported(getContext())) { 257 if (!WifiFeature.isWifiSupported(getContext())) { 277 if (!WifiFeature.isWifiSupported(getContext())) { 321 if (!WifiFeature.isWifiSupported(getContext())) { 405 if (!WifiFeature.isWifiSupported(getContext())) { 453 if (!WifiFeature.isWifiSupported(getContext())) {
|
/external/llvm/lib/Transforms/Instrumentation/ |
InstrProfiling.cpp | 203 LLVMContext &Ctx = M->getContext(); 250 auto *VoidTy = Type::getVoidTy(M->getContext()); 251 auto *VoidPtrTy = Type::getInt8PtrTy(M->getContext()); 264 IRBuilder<> IRB(BasicBlock::Create(M->getContext(), "", RegisterF)); 279 auto *Int32Ty = Type::getInt32Ty(M->getContext()); 293 IRBuilder<> IRB(BasicBlock::Create(M->getContext(), "", User)); 315 Type *i8PTy = Type::getInt8PtrTy(M->getContext()); 336 auto *VoidTy = Type::getVoidTy(M->getContext()); 346 IRBuilder<> IRB(BasicBlock::Create(M->getContext(), "", F));
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuItemImpl.java | 118 String lang = menu.getContext().getResources().getConfiguration().locale.toString(); 122 sPrependShortcutLabel = menu.getContext().getResources().getString( 124 sEnterShortcutLabel = menu.getContext().getResources().getString( 126 sDeleteShortcutLabel = menu.getContext().getResources().getString( 128 sSpaceShortcutLabel = menu.getContext().getResources().getString( 163 mMenu.getContext().startActivity(mIntent); 362 return setTitle(mMenu.getContext().getString(title)); 388 Drawable icon = mMenu.getContext().getDrawable(mIconResId); 573 final Context context = mMenu.getContext();
|
/frameworks/base/services/core/java/com/android/server/ |
UiModeManagerService.java | 159 final Context context = getContext(); 257 Settings.Secure.putInt(getContext().getContentResolver(), 277 if (getContext().checkCallingOrSelfPermission(android.Manifest.permission.DUMP) 418 getContext().sendBroadcastAsUser(new Intent(oldAction), UserHandle.ALL); 426 getContext().sendBroadcastAsUser(new Intent(oldAction), UserHandle.ALL); 452 getContext().sendOrderedBroadcastAsUser(intent, UserHandle.CURRENT, null, 551 if (Sandman.shouldStartDockApp(getContext(), homeIntent)) { 573 Sandman.startDreamWhenDockedIfAppropriate(getContext()); 578 final Context context = getContext();
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
WallpaperCropActivity.java | 134 new BitmapRegionTileSource.UriBitmapSource(getContext(), imageUri); 139 Toast.makeText(getContext(), R.string.wallpaper_load_fail, 206 req.result = new BitmapRegionTileSource(getContext(), req.src, mTempStorageForDecoding); 301 int rotation = BitmapUtils.getRotationFromExif(getContext(), uri); 303 getContext(), uri, null, rotation, 0, 0, true, false, null); 340 BitmapCropTask cropTask = new BitmapCropTask(getContext(), res, resId, 432 BitmapCropTask cropTask = new BitmapCropTask(getContext(), uri, 442 SharedPreferences sp = getContext().getSharedPreferences(spKey, Context.MODE_MULTI_PROCESS); 453 sp, getWindowManager(), WallpaperManager.getInstance(getContext()), true);
|
/frameworks/rs/cpu_ref/ |
rsCpuScript.cpp | 263 mCtx->getContext(), mScriptSO, 339 if (mCtx->getContext()->getContextType() == RS_CONTEXT_TYPE_DEBUG) { 412 if (!SharedLibraryUtils::createSharedLibrary(mCtx->getContext()->getDriverName(), 435 const char *nativeLibDir = mCtx->getContext()->getNativeLibDir(); 466 if (mCtx->getContext()->getContextType() == RS_CONTEXT_TYPE_DEBUG) { 531 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, 540 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, 555 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, 575 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT, 582 mCtx->getContext()->setError(RS_ERROR_BAD_SCRIPT [all...] |
/external/llvm/lib/MC/ |
MCWin64EH.cpp | 52 MCContext &Context = Streamer.getContext(); 128 MCContext &Context = streamer.getContext(); 140 MCContext &context = streamer.getContext(); 155 MCContext &context = streamer.getContext(); 223 MCContext &Context = Streamer.getContext(); 246 MCContext &context = Streamer.getContext();
|
/external/skia/src/gpu/ |
GrDrawTarget.h | 230 GrContext* getContext() { return fContext; } 231 const GrContext* getContext() const { return fContext; } 351 GrContext* getContext() { return INHERITED::getContext(); } 352 const GrContext* getContext() const { return INHERITED::getContext(); }
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
GroupMembershipView.java | 165 Resources resources = getContext().getResources(); 168 mNoGroupString = getContext().getString(R.string.group_edit_field_hint_text); 295 getContext(), R.layout.group_membership_list_item); 315 getContext().getString(R.string.create_group_item_label), false)); 317 mPopup = new ListPopupWindow(getContext(), null); 422 ((Activity) getContext()).getFragmentManager(),
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageCurves.java | 100 getContext().getString(R.string.curves_channel_rgb)); 102 getContext().getString(R.string.curves_channel_red)); 104 getContext().getString(R.string.curves_channel_green)); 106 getContext().getString(R.string.curves_channel_blue)); 120 ((FilterShowActivity)getContext()).onShowMenu(popupMenu); 125 Context context = accessoryViewList.getContext();
|