/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/ |
RawContactModifierTests.java | 84 mContext = getContext(); [all...] |
ContactsUtilsTests.java | 90 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im); 112 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im); 131 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im); 153 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im); 178 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im);
|
/packages/services/Telephony/src/com/android/phone/ |
EmergencyActionGroup.java | 142 button.setText(info.loadLabel(getContext().getPackageManager())); 154 PackageManager packageManager = getContext().getPackageManager(); 178 Settings.Secure.putString(getContext().getContentResolver(), 192 getContext().getContentResolver(), 199 infos = getContext().getPackageManager().queryIntentActivities(queryIntent, 0); 224 getContext().startActivity(intent); 231 getContext().startActivity(intent);
|
/external/clang/lib/CodeGen/ |
CGObjCRuntime.cpp | 43 RL = &CGM.getContext().getASTObjCImplementationLayout(ID); 45 RL = &CGM.getContext().getASTObjCInterfaceLayout(Container); 69 CGM.getContext().getCharWidth(); 76 CGM.getContext().getCharWidth(); 120 uint64_t BitOffset = FieldBitOffset % CGF.CGM.getContext().getCharWidth(); 122 uint64_t BitFieldSize = Ivar->getBitWidthValue(CGF.getContext()); 124 CGF.CGM.getContext().toCharUnitsFromBits( 126 CharUnits Alignment = CGF.CGM.getContext().toCharUnitsFromBits(AlignmentBits); 134 CGBitFieldInfo *Info = new (CGF.CGM.getContext()) CGBitFieldInfo( 136 CGF.CGM.getContext().toBits(StorageSize) [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
WinCodeViewLineTables.cpp | 97 MCSymbol *MCL = Asm->MMI->getContext().CreateTempSymbol(); 173 MCContext &Context = Streamer.getContext(); 204 MCSymbol *SymbolsBegin = Asm->MMI->getContext().CreateTempSymbol(), 205 *SymbolsEnd = Asm->MMI->getContext().CreateTempSymbol(); 211 MCSymbol *ProcSegmentBegin = Asm->MMI->getContext().CreateTempSymbol(), 212 *ProcSegmentEnd = Asm->MMI->getContext().CreateTempSymbol(); 259 MCSymbol *LineTableBegin = Asm->MMI->getContext().CreateTempSymbol(), 260 *LineTableEnd = Asm->MMI->getContext().CreateTempSymbol(); 291 MCSymbol *FileSegmentBegin = Asm->MMI->getContext().CreateTempSymbol(); 301 FileSegmentEnd = Asm->MMI->getContext().CreateTempSymbol() [all...] |
/external/llvm/lib/CodeGen/ |
ShadowStackGCLowering.cpp | 100 : F(F), CleanupBBName(N), State(0), Builder(F.getContext()) {} 143 LLVMContext &C = F.getContext(); 193 Type *VoidPtr = Type::getInt8PtrTy(F.getContext()); 206 Type *Int32Ty = Type::getInt32Ty(F.getContext()); 240 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0), 241 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0)}; 275 EltTys.push_back(Type::getInt32Ty(M.getContext())); 277 EltTys.push_back(Type::getInt32Ty(M.getContext())); 287 StackEntryTy = StructType::create(M.getContext(), "gc_stackentry"); 379 LLVMContext &Context = F.getContext(); [all...] |
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
StubProvider.java | 91 final File cacheDir = getContext().getCacheDir(); 95 mPrefs = getContext().getSharedPreferences( 180 getContext().getContentResolver().notifyChange( 198 getContext().getContentResolver().notifyChange( 212 result.setNotificationUri(getContext().getContentResolver(), 316 getContext().getContentResolver().notifyChange( 355 getContext().getContentResolver().notifyChange( 358 getContext().getContentResolver().notifyChange(DocumentsContract.buildRootsUri(mAuthority), 400 getContext().getContentResolver().notifyChange( 465 File rootDir = new File(getContext().getCacheDir(), name) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
TestResultsProvider.java | 86 mOpenHelper = new TestResultsOpenHelper(getContext()); 87 mBackupManager = new BackupManager(getContext()); 154 getContext().getContentResolver().notifyChange(uri, null); 192 getContext().getContentResolver().notifyChange(uri, null); 203 getContext().getContentResolver().notifyChange(uri, null);
|
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/ |
LauncherAppsTests.java | 83 UserManager userManager = (UserManager) mInstrumentation.getContext().getSystemService( 86 mLauncherApps = (LauncherApps) mInstrumentation.getContext().getSystemService( 94 mInstrumentation.getContext().bindService(intent, mConnection, Context.BIND_AUTO_CREATE); 176 mInstrumentation.getContext().registerReceiver(receiver, filter); 182 mInstrumentation.getContext().unregisterReceiver(receiver);
|
/cts/tests/tests/calllog/src/android/calllog/cts/ |
CallLogBackupTest.java | 215 ContentResolver resolver = getContext().getContentResolver(); 228 getContext().getContentResolver().insert(Calls.CONTENT_URI, values); 234 ContentResolver resolver = getContext().getContentResolver(); 260 private Context getContext() { 261 return getInstrumentation().getContext();
|
/cts/tests/tests/netlegacy22/api/src/android/net/cts/legacy/api22/ |
ConnectivityManagerLegacyTest.java | 65 mCm = (ConnectivityManager) getContext().getSystemService(Context.CONNECTIVITY_SERVICE); 66 mWifiManager = (WifiManager) getContext().getSystemService(Context.WIFI_SERVICE); 67 mPackageManager = getContext().getPackageManager(); 70 int resId = getContext().getResources().getIdentifier("config_protectedNetworks", "array", "android"); 71 int[] protectedNetworks = getContext().getResources().getIntArray(resId);
|
/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
RSColorMatrixTest.java | 67 colorMatrixTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, nativeByteAlloc, coeffs, 0); 97 colorMatrixTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, nativeByteAlloc, coeffs, 1); 132 colorMatrixTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, nativeByteAlloc, coeffs, 2); 163 colorMatrixTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, nativeByteAlloc, coeffs, 3); 194 colorMatrixTest(this.getContext().getCacheDir().toString(), X, Y, byteAlloc, nativeByteAlloc, coeffs, 4);
|
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/ |
FeedProvider.java | 65 mDatabaseHelper = new FeedDatabase(getContext()); 109 Context ctx = getContext(); 138 Context ctx = getContext(); 170 Context ctx = getContext(); 201 Context ctx = getContext();
|
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/ |
FeedProvider.java | 65 mDatabaseHelper = new FeedDatabase(getContext()); 109 Context ctx = getContext(); 138 Context ctx = getContext(); 170 Context ctx = getContext(); 201 Context ctx = getContext();
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/ |
FeedProvider.java | 65 mDatabaseHelper = new FeedDatabase(getContext()); 109 Context ctx = getContext(); 138 Context ctx = getContext(); 170 Context ctx = getContext(); 201 Context ctx = getContext();
|
/frameworks/base/core/jni/ |
android_hardware_camera2_legacy_PerfMeasurement.cpp | 225 PerfMeasurementContext* getContext(jlong context) { 239 PerfMeasurementContext *context = getContext(contextHandle); 252 PerfMeasurementContext *context = getContext(contextHandle); 277 PerfMeasurementContext *context = getContext(contextHandle); 296 PerfMeasurementContext *context = getContext(contextHandle);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardSimPinView.java | 108 displayMessage = getContext().getString(R.string.kg_password_wrong_pin_code_pukked); 110 displayMessage = getContext().getResources() 114 displayMessage = getContext().getString(R.string.kg_password_pin_failed); 263 KeyguardUpdateMonitor.getInstance(getContext()) 279 mSecurityMessageDisplay.setMessage(getContext().getString(
|
KeyguardSimPukView.java | 153 displayMessage = getContext().getString(R.string.kg_password_wrong_puk_code_dead); 155 displayMessage = getContext().getResources() 159 displayMessage = getContext().getString(R.string.kg_password_puk_failed); 327 KeyguardUpdateMonitor.getInstance(getContext()) 341 mSecurityMessageDisplay.setMessage(getContext().getString(
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
StatusBarIconView.java | 144 if (icon.number > 0 && getContext().getResources().getBoolean( 147 mNumberBackground = getContext().getResources().getDrawable( 184 return getIcon(getContext(), icon); 247 final int tooBig = getContext().getResources().getInteger( 250 str = getContext().getResources().getString(
|
/frameworks/base/services/core/java/com/android/server/ |
DockObserver.java | 135 || Settings.Global.getInt(getContext().getContentResolver(), 158 final ContentResolver cr = getContext().getContentResolver(); 199 getContext(), soundUri); 212 getContext().sendStickyBroadcastAsUser(intent, UserHandle.ALL); 248 if (getContext().checkCallingOrSelfPermission(android.Manifest.permission.DUMP)
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
CustomBar.java | 130 BitmapDrawable drawable = new BitmapDrawable(getContext().getResources(), 161 BridgeContext bridgeContext = getContext(); 222 public BridgeContext getContext() { 241 RenderResources renderResources = getContext().getRenderResources(); 282 RenderResources res = getContext().getRenderResources();
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
VCardParserTests.java | 94 InputStream inputStream = getContext().getResources().openRawResource(R.raw.v21_simple_1); 112 InputStream inputStream = getContext().getResources().openRawResource(R.raw.v21_nest); 146 InputStream inputStream = getContext().getResources().openRawResource(R.raw.v30_ios_613_multiline); 178 getContext().getResources().openRawResource(R.raw.v21_multiple_entry); 219 inputStream = getContext().getResources().openRawResource(R.raw.v21_multiple_entry);
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
DialogPreference.java | 114 setDialogTitle(getContext().getString(dialogTitleResId)); 144 setDialogMessage(getContext().getString(dialogMessageResId)); 171 mDialogIcon = ContextCompat.getDrawable(getContext(), dialogIconRes); 197 setPositiveButtonText(getContext().getString(positiveButtonTextResId)); 225 setNegativeButtonText(getContext().getString(negativeButtonTextResId));
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
RawContactReadOnlyEditorView.java | 84 mInflater = (LayoutInflater)getContext().getSystemService( 118 final Pair<String,String> accountInfo = EditorUiUtils.getAccountInfo(getContext(), 153 getContext().getString(R.string.missing_name)); 161 final Resources res = getContext().getResources(); 175 GeoUtil.getCurrentCountryIso(getContext()));
|
StructuredNameEditorView.java | 127 getContext(), displayName); 149 String displayName = NameConverter.structuredNameToDisplayName(getContext(), 178 String displayName = NameConverter.structuredNameToDisplayName(getContext(), 192 getContext(), displayName); 219 getContext(), structuredNameMap);
|