/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
AccountTypeTest.java | 37 final Context c = getContext(); 63 final Context c = getContext(); 107 return new AccountType.DisplayLabelComparator(getContext()).compare(lhs, rhs);
|
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
AttachmentUtilitiesTests.java | 107 type = AttachmentUtilities.inferMimeTypeForUri(getContext(), EmailContent.Body.CONTENT_URI); 111 type = AttachmentUtilities.inferMimeTypeForUri(getContext(), 115 type = AttachmentUtilities.inferMimeTypeForUri(getContext(),
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SearchableSource.java | 121 ProviderInfo provider = getContext().getPackageManager().resolveContentProvider( 134 if (getContext().checkPermission(readPermission, pid, uid) 150 && getContext().checkPermission(pathReadPermission, pid, uid) 187 mLabel = mActivityInfo.loadLabel(getContext().getPackageManager()); 208 icon = getContext().getResources().getDrawable(R.drawable.corpus_icon_default); 221 PackageManager pm = getContext().getPackageManager(); 229 return Util.getResourceUri(getContext(), R.drawable.corpus_icon_default); 231 return Util.getResourceUri(getContext(), mActivityInfo.applicationInfo, resourceId); 269 getContext(), 0, queryIntent, PendingIntent.FLAG_ONE_SHOT); 314 Cursor cursor = getSuggestions(getContext(), mSearchable, query, queryLimit) [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/preferences/ |
SearchableItemsController.java | 72 private Context getContext() { 77 return getContext().getResources(); 103 SearchableItemPreference sourcePref = new SearchableItemPreference(getContext());
|
/external/llvm/lib/MC/ |
MCDwarf.cpp | 71 if (!MCOS->getContext().getDwarfLocSeen()) 75 MCSymbol *LineSym = MCOS->getContext().CreateTempSymbol(); 80 const MCDwarfLoc &DwarfLoc = MCOS->getContext().getCurrentDwarfLoc(); 86 MCOS->getContext().ClearDwarfLocSeen(); 91 MCOS->getContext().getMCLineSections(); 99 MCOS->getContext().addMCLineSection(Section, LineSection); 115 MCSymbolRefExpr::Create(&End, Variant, MCOS.getContext()); 117 MCSymbolRefExpr::Create(&Start, Variant, MCOS.getContext()); 119 MCBinaryExpr::Create(MCBinaryExpr::Sub, Res, RHS, MCOS.getContext()); 121 MCConstantExpr::Create(IntVal, MCOS.getContext()); [all...] |
/external/llvm/lib/CodeGen/ |
TargetLoweringObjectFileImpl.cpp | 58 return getContext().GetOrCreateSymbol(StringRef("DW.ref.") + 69 MCSymbol *Label = getContext().GetOrCreateSymbol(NameData); 75 const MCSection *Sec = getContext().getELFSection(NameData, 84 const MCExpr *E = MCConstantExpr::Create(Size, getContext()); 181 return getContext().getELFSection(SectionName, 234 return getContext().getELFSection(Name.str(), 261 return getContext().getELFSection(Name, ELF::SHT_PROGBITS, 330 MCSymbol *SSym = getContext().GetOrCreateSymbol(Name.str()); 353 return getContext().getELFSection(Name, ELF::SHT_PROGBITS, 366 return getContext().getELFSection(Name, ELF::SHT_PROGBITS [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
MutableContextWrapperTest.java | 33 mContext = getContext();
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
ResolveInfo_DisplayNameComparatorTest.java | 31 PackageManager pm = getContext().getPackageManager();
|
/cts/tests/tests/holo/src/android/holo/cts/modifiers/ |
SearchViewModifier.java | 39 Context context = view.getContext();
|
/cts/tests/tests/location/src/android/location/cts/ |
GpsStatusTest.java | 35 (LocationManager) getContext().getSystemService(Context.LOCATION_SERVICE);
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
SupplicantStateTest.java | 25 if (!WifiFeature.isWifiSupported(getContext())) {
|
WifiConfigurationTest.java | 36 if (!WifiFeature.isWifiSupported(getContext())) {
|
WifiInfoTest.java | 67 if (!WifiFeature.isWifiSupported(getContext())) { 76 mWifiManager = (WifiManager) getContext().getSystemService(Context.WIFI_SERVICE); 89 if (!WifiFeature.isWifiSupported(getContext())) { 114 if (!WifiFeature.isWifiSupported(getContext())) {
|
/cts/tests/tests/os/src/android/os/cts/ |
PowerManagerTest.java | 37 PowerManager pm = (PowerManager)getContext().getSystemService(Context.POWER_SERVICE);
|
TokenWatcherTest.java | 84 getContext().startService(mIntent); 85 getContext().bindService(new Intent(IEmptyService.class.getName()), 102 getContext().unbindService(mServiceConnection); 105 getContext().stopService(mIntent);
|
/cts/tests/tests/permission/src/android/permission/cts/ |
DebuggableTest.java | 36 List<ApplicationInfo> apps = getContext()
|
PackageManagerRequiringPermissionsTest.java | 34 mPackageManager = getContext().getPackageManager();
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
NoReceiveSmsPermissionTest.java | 71 getContext().registerReceiver(receiver, filter); 87 PendingIntent sentIntent = PendingIntent.getBroadcast(getContext(), 0, 89 PendingIntent deliveryIntent = PendingIntent.getBroadcast(getContext(), 0, 93 getContext().getSystemService(Context.TELEPHONY_SERVICE);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Typefaces.java | 39 mFace = Typeface.createFromAsset(getContext().getAssets(),
|
/development/tools/emulator/test-apps/ConnectivityTest/src/com/android/emulator/connectivity/test/ |
ConnectivityTest.java | 41 connectivity = (ConnectivityManager) getContext().
|
/external/llvm/lib/Target/ARM/ |
Thumb2RegisterInfo.cpp | 45 Type::getInt32Ty(MBB.getParent()->getFunction()->getContext()), Val);
|
/frameworks/base/core/java/android/webkit/ |
SelectActionModeCallback.java | 56 final Context context = mWebView.getContext(); 108 Browser.sendString(mWebView.getContext(), selection); 126 if (!(mWebView.getContext() instanceof Activity)) { 129 mWebView.getContext().startActivity(i);
|
/frameworks/base/core/tests/coretests/src/android/preference/ |
ListPreferenceTest.java | 26 ListPreference lp = new ListPreference(getContext());
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListButtonsDiagonalAcrossItems.java | 55 parent.getContext(), desiredHeight, slot);
|
ListInterleaveFocusables.java | 46 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
|