HomeSort by relevance Sort by last modified time
    Searched full:getcontext (Results 26 - 50 of 2241) sorted by null

12 3 4 5 6 7 8 91011>>

  /cts/tests/tests/net/src/android/net/wifi/cts/
ConcurrencyTest.java 66 if (!WifiFeature.isWifiSupported(getContext()) &&
67 !WifiFeature.isP2pSupported(getContext())) {
76 mWifiManager = (WifiManager) getContext().getSystemService(Context.WIFI_SERVICE);
89 if (!WifiFeature.isWifiSupported(getContext()) &&
90 !WifiFeature.isP2pSupported(getContext())) {
119 if (!WifiFeature.isWifiSupported(getContext())) {
120 assertTrue(!WifiFeature.isP2pSupported(getContext()));
124 if (!WifiFeature.isP2pSupported(getContext())) {
  /external/chromium_org/content/test/data/gpu/functional_files/
context.js 11 gl_context = canvas.getContext("webgl") ||
12 canvas.getContext("experimental-webgl");
  /cts/tests/tests/content/src/android/content/cts/
ContentProviderTest.java 75 mockContentProvider.attachInfo(getContext(), info1);
76 assertSame(getContext(), mockContentProvider.getContext());
84 assertSame(getContext(), mockContentProvider.getContext());
90 assertNull(mockContentProvider.getContext());
95 assertNull(mockContentProvider.getContext());
99 mockContentProvider.attachInfo(getContext(), info1);
100 assertSame(getContext(), mockContentProvider.getContext());
    [all...]
  /external/clang/test/Sema/
builtins-gnu-mode.c 23 int getcontext; variable
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowContentProvider.java 14 public final Context getContext() {
  /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);
  /cts/tests/tests/keystore/src/android/keystore/cts/
KeyPairGeneratorSpecTest.java 43 KeyPairGeneratorSpec spec = new KeyPairGeneratorSpec.Builder(getContext())
51 assertEquals("Context should be the one specified", getContext(), spec.getContext());
65 KeyPairGeneratorSpec spec = new KeyPairGeneratorSpec.Builder(getContext())
74 assertEquals("Context should be the one specified", getContext(), spec.getContext());
97 new KeyPairGeneratorSpec.Builder(getContext())
110 new KeyPairGeneratorSpec.Builder(getContext())
123 new KeyPairGeneratorSpec.Builder(getContext())
136 new KeyPairGeneratorSpec.Builder(getContext())
    [all...]
  /external/llvm/lib/Transforms/Utils/
BuildLibCalls.cpp 42 AS[0] = AttributeSet::get(M->getContext(), 1, Attribute::NoCapture);
44 AS[1] = AttributeSet::get(M->getContext(), AttributeSet::FunctionIndex,
47 LLVMContext &Context = B.GetInsertBlock()->getContext();
49 AttributeSet::get(M->getContext(),
71 AS[0] = AttributeSet::get(M->getContext(), 1, Attribute::NoCapture);
73 AS[1] = AttributeSet::get(M->getContext(), AttributeSet::FunctionIndex,
76 LLVMContext &Context = B.GetInsertBlock()->getContext();
78 AttributeSet::get(M->getContext(),
102 AttributeSet::get(M->getContext(), AttributeSet::FunctionIndex,
108 AttributeSet::get(M->getContext(),
    [all...]
  /external/valgrind/main/memcheck/tests/linux/
stack_changes.c 31 if (getcontext(uc) == -1) {
32 //perror("getcontext");
33 printf("getcontext() doesn't seem to work\n");
  /packages/apps/Email/tests/src/com/android/emailcommon/
DeviceTests.java 28 (TelephonyManager) getContext().getSystemService(Context.TELEPHONY_SERVICE);
35 final String deviceId = Device.getConsistentDeviceId(getContext());
36 final String deviceId2 = Device.getConsistentDeviceId(getContext());
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
AbstractInternalSource.java 51 return getContext().getPackageName();
61 return getContext().getResources().getDrawable(getSourceIconResource());
66 return Uri.parse("android.resource://" + getContext().getPackageName()
QsbApplication.java 83 protected Context getContext() {
90 PackageManager pm = getContext().getPackageManager();
91 PackageInfo pkgInfo = pm.getPackageInfo(getContext().getPackageName(), 0);
163 return new Config(getContext());
175 return new SearchSettingsImpl(getContext(), getConfig());
260 return new DefaultSuggestionViewFactory(getContext());
276 return new GoogleSuggestClient(getContext(), getMainThreadHandler(),
292 return new VoiceSearch(getContext());
308 return new EventLogLogger(getContext(), getConfig());
330 return new TextAppearanceFactory(getContext());
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
ExternalStorageTest.java 50 final List<File> paths = getAllPackageSpecificPaths(getContext());
51 final String packageName = getContext().getPackageName();
76 final File none = buildGiftForPackage(getContext(), PACKAGE_NONE);
80 final File read = buildGiftForPackage(getContext(), PACKAGE_READ);
83 final File write = buildGiftForPackage(getContext(), PACKAGE_WRITE);
  /frameworks/rs/cpp/
Script.cpp 26 tryDispatch(mRS, RS::dispatch->ScriptInvokeV(mRS->getContext(), getID(), slot, v, len));
36 tryDispatch(mRS, RS::dispatch->ScriptForEach(mRS->getContext(), getID(), slot, in_id, out_id, usr, usrLen, NULL, 0));
45 tryDispatch(mRS, RS::dispatch->ScriptBindAllocation(mRS->getContext(), getID(), BaseObj::getObjID(va), slot));
50 tryDispatch(mRS, RS::dispatch->ScriptSetVarObj(mRS->getContext(), getID(), index, (o == NULL) ? 0 : o->getID()));
54 tryDispatch(mRS, RS::dispatch->ScriptSetVarV(mRS->getContext(), getID(), index, v, len));
Allocation.cpp 127 const void *typeID = RS::dispatch->AllocationGetType(mRS->getContext(), getID());
149 tryDispatch(mRS, RS::dispatch->AllocationSyncAll(mRS->getContext(), getIDSafe(), srcLocation));
158 tryDispatch(mRS, RS::dispatch->AllocationIoSend(mRS->getContext(), getID()));
168 tryDispatch(mRS, RS::dispatch->AllocationIoReceive(mRS->getContext(), getID()));
173 tryDispatch(mRS, RS::dispatch->AllocationGenerateMipmaps(mRS->getContext(), getID()));
188 tryDispatch(mRS, RS::dispatch->Allocation1DData(mRS->getContext(), getIDSafe(), off, mSelectedLOD,
203 tryDispatch(mRS, RS::dispatch->Allocation1DRead(mRS->getContext(), getIDSafe(), off, mSelectedLOD,
210 tryDispatch(mRS, RS::dispatch->AllocationCopy2DRange(mRS->getContext(), getIDSafe(), off, 0,
238 tryDispatch(mRS, RS::dispatch->Allocation2DData(mRS->getContext(), getIDSafe(), xoff,
247 tryDispatch(mRS, RS::dispatch->AllocationCopy2DRange(mRS->getContext(), getIDSafe(), xoff, yoff
    [all...]
  /frameworks/rs/cpu_ref/
rsCpuIntrinsic.cpp 35 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER,
40 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER,
46 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER,
51 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER,
58 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER,
63 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER,
68 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER,
  /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/view/src/android/view/cts/
ContextThemeWrapperTest.java 50 new ContextThemeWrapper(getContext(), R.style.TextAppearance);
54 Context context = getContext();
68 Context context = getContext();
89 attachBaseContext(new ContextThemeWrapper(getContext(),
109 Resources.Theme expected = getContext().getResources().newTheme();
110 expected.setTo(getContext().getTheme());
  /frameworks/testing/uiautomator/utils/SleepUtils/SleepHelper/src/com/android/testing/sleephelper/
SetAlarm.java 111 ComponentName cn = getContext().startService(mServceIntent);
115 if (!getContext().bindService(mServceIntent, mConn, Context.BIND_AUTO_CREATE)) {
126 getContext().unbindService(mConn);
136 getContext().unbindService(mConn);
140 getContext().stopService(mServceIntent);
149 getContext().unbindService(mConn);
  /libcore/crypto/src/main/java/org/conscrypt/
OpenSSLECPublicKey.java 57 NativeCrypto.get_EC_GROUP_type(group.getContext()), group, ecKeySpec.getW());
58 key = new OpenSSLKey(NativeCrypto.EVP_PKEY_new_EC_KEY(group.getContext(),
59 pubKey.getContext(), null));
70 NativeCrypto.get_EC_GROUP_type(group.getContext()), group, ecPublicKey.getW());
71 return new OpenSSLKey(NativeCrypto.EVP_PKEY_new_EC_KEY(group.getContext(),
72 pubKey.getContext(), null));
  /packages/apps/Settings/src/com/android/settings/
PointerSpeedPreference.java 52 mIm = (InputManager)getContext().getSystemService(Context.INPUT_SERVICE);
59 getContext().getContentResolver().registerContentObserver(
72 mOldSpeed = mIm.getPointerSpeed(getContext());
93 int speed = mIm.getPointerSpeed(getContext());
101 final ContentResolver resolver = getContext().getContentResolver();
104 mIm.setPointerSpeed(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/suite/pts/deviceTests/filesystemperf/src/com/android/pts/filesystemperf/
SequentialRWTest.java 42 FileUtil.removeFileOrDir(getContext(), DIR_SEQ_WR);
43 FileUtil.removeFileOrDir(getContext(), DIR_SEQ_UPDATE);
44 FileUtil.removeFileOrDir(getContext(), DIR_SEQ_RD);
50 final long fileSize = FileUtil.getFileSizeExceedingMemory(getContext(), BUFFER_SIZE);
58 final File[] files = FileUtil.createNewFiles(getContext(), DIR_SEQ_WR,
81 final long fileSize = FileUtil.getFileSizeExceedingMemory(getContext(), BUFFER_SIZE);
86 FileUtil.doSequentialUpdateTest(getContext(), DIR_SEQ_UPDATE, getReportLog(), fileSize,
92 final long fileSize = FileUtil.getFileSizeExceedingMemory(getContext(), BUFFER_SIZE);
97 final File file = FileUtil.createNewFilledFile(getContext(),

Completed in 558 milliseconds

12 3 4 5 6 7 8 91011>>