/external/valgrind/main/memcheck/tests/linux/ |
stack_changes.stdout.exp2 | 0 getcontext() doesn't seem to work
|
stack_changes.c | 31 if (getcontext(uc) == -1) { 32 //perror("getcontext"); 33 printf("getcontext() doesn't seem to work\n");
|
/cts/tests/tests/provider/src/android/provider/cts/ |
Contacts_PhonesTest.java | 37 String display = Phones.getDisplayLabel(getContext(), 41 CharSequence[] labels = getContext().getResources().getTextArray( 43 display = Phones.getDisplayLabel(getContext(), 47 display = Phones.getDisplayLabel(getContext(), 51 display = Phones.getDisplayLabel(getContext(), 55 display = Phones.getDisplayLabel(getContext(), 59 display = Phones.getDisplayLabel(getContext(), 63 display = Phones.getDisplayLabel(getContext(), 67 display = Phones.getDisplayLabel(getContext(), 90 String display = Phones.getDisplayLabel(getContext(), [all...] |
Contacts_ContactMethodsTest.java | 96 String display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_EMAIL, 100 CharSequence[] labels = getContext().getResources().getTextArray( 102 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_EMAIL, 106 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_EMAIL, 110 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_EMAIL, 114 String untitled = getContext().getString(R.string.untitled); 115 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_IM, 119 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_ORGANIZATION, 123 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_PHONE, 127 display = ContactMethods.getDisplayLabel(getContext(), Contacts.KIND_POSTAL [all...] |
Contacts_OrganizationsTest.java | 37 String display = Organizations.getDisplayLabel(getContext(), 41 CharSequence[] labels = getContext().getResources().getTextArray( 43 display = Organizations.getDisplayLabel(getContext(), 47 display = Organizations.getDisplayLabel(getContext(),
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
ServiceTest.java | 201 getContext().startService(new Intent(service).putExtras(bundle)); 205 getContext().startService(new Intent(service).putExtras(bundle)); 211 getContext().stopService(service); 219 getContext().stopService(service); 225 getContext().startService(service); 239 getContext().bindService(service, conn, 0); 240 getContext().startService(service); 244 getContext().bindService(service, conn2, 0); 247 getContext().unbindService(conn2); 252 getContext().stopService(service) [all...] |
SubActivityTest.java | 26 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); 32 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); 38 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); 45 new ComponentName(getContext(), RemoteSubActivityScreen.class)); 52 new ComponentName(getContext(), RemoteSubActivityScreen.class)); 59 new ComponentName(getContext(), RemoteSubActivityScreen.class)); 65 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); 72 new ComponentName(getContext(), RemoteSubActivityScreen.class)); 80 new ComponentName(getContext(), RemoteSubActivityScreen.class)); 87 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)) [all...] |
LaunchTest.java | 26 mIntent.putExtra("component", new ComponentName(getContext(), TestedActivity.class)); 32 mIntent.putExtra("component", new ComponentName(getContext(), LocalActivity.class)); 38 mIntent.putExtra("component", new ComponentName(getContext(), TestedScreen.class)); 44 mIntent.putExtra("component", new ComponentName(getContext(), LocalScreen.class)); 63 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); 69 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class));
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
UiUtilitiesTests.java | 33 assertEquals("0B", UiUtilities.formatSize(getContext(), 0)); 34 assertEquals("1B", UiUtilities.formatSize(getContext(), 1)); 35 assertEquals("1023B", UiUtilities.formatSize(getContext(), 1023)); 36 assertEquals("1KB", UiUtilities.formatSize(getContext(), 1024)); 37 assertEquals("1023KB", UiUtilities.formatSize(getContext(), 1024 * 1024 - 1)); 38 assertEquals("1MB", UiUtilities.formatSize(getContext(), 1024 * 1024)); 39 assertEquals("1023MB", UiUtilities.formatSize(getContext(), 1024 * 1024 * 1024 - 1)); 40 assertEquals("1GB", UiUtilities.formatSize(getContext(), 1024 * 1024 * 1024)); 41 assertEquals("5GB", UiUtilities.formatSize(getContext(), 5L * 1024 * 1024 * 1024)); 45 final Context c = getContext(); [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
ImageSwitcherTest.java | 67 new ImageSwitcher(getContext()); 69 new ImageSwitcher(getContext(), null); 71 XmlPullParser parser = getContext().getResources().getXml(R.layout.imageswitcher_test); 74 new ImageSwitcher(getContext(), attrs); 85 ImageSwitcher imageSwitcher = new ImageSwitcher(getContext()); 86 ImageView iv = new ImageView(getContext()); 88 ImageView iv1 = new ImageView(getContext()); 94 Resources resources = getContext().getResources(); 121 ImageSwitcher imageSwitcher = new ImageSwitcher(getContext()); 122 ImageView iv = new ImageView(getContext()); [all...] |
ViewSwitcherTest.java | 69 new ViewSwitcher(getContext()); 71 new ViewSwitcher(getContext(), null); 73 XmlPullParser parser = getContext().getResources().getXml(R.layout.viewswitcher_layout); 75 new ViewSwitcher(getContext(), attrs); 85 mViewSwitcher = new ViewSwitcher(getContext()); 99 mViewSwitcher = new ViewSwitcher(getContext()); 101 ListView lv1 = new ListView(getContext()); 102 ListView lv2 = new ListView(getContext()); 128 mViewSwitcher = new ViewSwitcher(getContext()); 130 ListView lv1 = new ListView(getContext()); [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
BinderTest.java | 231 getContext().bindService(mService, conn1, 0); 232 getContext().startService(mService); 236 getContext().bindService(mService, conn2, 0); 239 getContext().unbindService(conn2); 244 getContext().stopService(mService); 245 getContext().unbindService(conn1); 246 getContext().unbindService(conn2); 255 getContext().stopService(mService); 258 getContext().unbindService(conn1); 267 getContext().bindService(mService, conn1, 0) [all...] |
/libcore/luni/src/test/java/libcore/java/security/ |
AccessControllerTest.java | 52 assertEquals(null, AccessController.getContext().getDomainCombiner()); 53 AccessController.getContext().checkPermission(permission); 59 assertEquals(null, AccessController.getContext().getDomainCombiner()); 60 AccessController.getContext().checkPermission(permission);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
AbstractInternalSource.java | 48 return getContext().getPackageName(); 56 return getContext().getResources().getDrawable(getSourceIconResource()); 60 return Uri.parse("android.resource://" + getContext().getPackageName() 67 return QsbApplication.get(getContext()).getVersionCode();
|
AppsCorpus.java | 47 return getContext().getText(R.string.corpus_label_apps); 52 return getContext().getText(R.string.corpus_hint_apps); 57 return getContext().getResources().getDrawable(R.drawable.corpus_icon_apps); 62 return Util.getResourceUri(getContext(), R.drawable.corpus_icon_apps); 72 return getContext().getText(R.string.corpus_description_apps); 93 ComponentName name = getComponentName(getContext(), R.string.apps_search_activity); 97 ActivityInfo ai = intent.resolveActivityInfo(getContext().getPackageManager(), 0);
|
/external/llvm/lib/MC/ |
MCStreamer.cpp | 127 EmitValueImpl(MCSymbolRefExpr::Create(Sym, getContext()), Size, 139 const MCExpr *E = MCConstantExpr::Create(FillValue, getContext()); 147 return getContext().GetDwarfFile(Directory, Filename, FileNo) == 0; 155 getContext().setCurrentDwarfLoc(FileNo, Line, Column, Flags, Isa, 185 MCContext &Context = getContext(); 201 MCContext &Context = getContext(); 217 MCContext &Context = getContext(); 233 MCContext &Context = getContext(); 250 MCContext &Context = getContext(); 285 StringRef Prefix = getContext().getAsmInfo().getPrivateGlobalPrefix() [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/ |
DeviceTests.java | 29 (TelephonyManager) getContext().getSystemService(Context.TELEPHONY_SERVICE); 36 final String deviceId = Device.getConsistentDeviceId(getContext()); 37 final String deviceId2 = Device.getConsistentDeviceId(getContext());
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmPreference.java | 46 Settings.System.putString(getContext().getContentResolver(), 55 return RingtoneManager.getActualDefaultRingtoneUri(getContext(), 72 getContext(), params[0]); 74 r = RingtoneManager.getRingtone(getContext(), 78 return r.getTitle(getContext());
|
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
HtmlUtilsTest.java | 51 assertNull(HtmlUtils.postprocess(getContext(), null)); 57 HtmlUtils.postprocess(getContext(), new SpannedString(text)).toString()); 60 HtmlUtils.postprocess(getContext(), new SpannableStringBuilder(text)).toString()); 69 checkPostProcess(HtmlUtils.postprocess(getContext(), builder)); 72 checkPostProcess(HtmlUtils.postprocess(getContext(), new SpannedString(builder))); 85 checkPostProcess(HtmlUtils.postprocess(getContext(), builder)); 88 checkPostProcess(HtmlUtils.postprocess(getContext(), new SpannedString(builder)));
|
/cts/tests/tests/content/src/android/content/cts/ |
ContentProviderTest.java | 100 mockContentProvider.attachInfo(getContext(), info1); 101 assertSame(getContext(), mockContentProvider.getContext()); 109 assertSame(getContext(), mockContentProvider.getContext()); 115 assertNull(mockContentProvider.getContext()); 120 assertNull(mockContentProvider.getContext()); 124 mockContentProvider.attachInfo(getContext(), info1); 125 assertSame(getContext(), mockContentProvider.getContext()); [all...] |
/external/llvm/lib/Target/X86/ |
X86TargetObjectFile.cpp | 32 MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext()); 33 const MCExpr *Four = MCConstantExpr::Create(4, getContext()); 34 return MCBinaryExpr::CreateAdd(Res, Four, getContext());
|
/frameworks/base/core/tests/coretests/src/android/text/util/ |
LinkifyTest.java | 33 tv = new TextView(getContext()); 44 tv = new TextView(getContext()); 56 tv = new TextView(getContext());
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListHeterogeneous.java | 44 position, parent.getContext(), getValueAtPosition(position), desiredHeight); 47 position, parent.getContext(), getValueAtPosition(position), desiredHeight); 50 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
|
/packages/apps/Mms/tests/src/com/android/mms/util/ |
VerifyRecipientUnitTests.java | 42 Context context = getContext(); 53 Conversation.verifySingleRecipient(getContext(), mThreadId1, "(415) 232-4567"), 57 Conversation.verifySingleRecipient(getContext(), mThreadId1, " 232-4567"),
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
RenderScriptTest.java | 31 RenderScript mRS = RenderScript.create(getContext()); 33 getContext().getResources(), R.raw.passthrough); 48 RenderScript mRS = RenderScript.create(getContext()); 52 getContext().getApplicationContext());
|