/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | BrickDeniedTest.java | 29 getContext().sendBroadcast(new Intent("SHES_A_BRICK_HOUSE")); 30 getContext().sendBroadcast(new Intent("android.intent.action.BRICK"));
|
H A D | MemoryFileProviderTest.java | 37 ContentResolver resolver = getContext().getContentResolver(); 52 ContentResolver resolver = getContext().getContentResolver(); 70 ContentResolver resolver = getContext().getContentResolver();
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | 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() [all...] |
H A D | 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(), SubActivityScree [all...] |
H A D | 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));
|
H A D | IntentSenderTest.java | 33 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, 54 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent, 0); 62 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, 81 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent, 0);
|
H A D | BroadcastTest.java | 180 getContext().registerReceiver(mReceiver, filter, permission, null); 192 getContext().unregisterReceiver(mReceiver); 279 getContext().sendOrderedBroadcast( 314 Intent sticky = getContext().registerReceiver(null, filter); 330 Intent sticky = getContext().registerReceiver(null, filter); 344 Intent sticky = getContext().registerReceiver(null, filter); 376 getContext().sendBroadcast(makeBroadcastIntent(BROADCAST_REGISTERED)); 391 getContext().sendOrderedBroadcast( 401 getContext().sendBroadcast( 418 getContext() [all...] |
/frameworks/base/keystore/tests/src/android/security/ |
H A D | AndroidKeyPairGeneratorSpecTest.java | 42 AndroidKeyPairGeneratorSpec spec = new AndroidKeyPairGeneratorSpec(getContext(), 45 assertEquals("Context should be the one specified", getContext(), spec.getContext()); 67 new AndroidKeyPairGeneratorSpec(getContext(), null, TEST_DN_1, SERIAL_1, NOW, 76 new AndroidKeyPairGeneratorSpec(getContext(), TEST_ALIAS_1, null, SERIAL_1, NOW, 85 new AndroidKeyPairGeneratorSpec(getContext(), TEST_ALIAS_1, TEST_DN_1, null, NOW, 94 new AndroidKeyPairGeneratorSpec(getContext(), TEST_ALIAS_1, TEST_DN_1, SERIAL_1, null, 103 new AndroidKeyPairGeneratorSpec(getContext(), TEST_ALIAS_1, TEST_DN_1, SERIAL_1, NOW, 112 new AndroidKeyPairGeneratorSpec(getContext(), TEST_ALIAS_1, TEST_DN_1, SERIAL_1,
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | PackageManagerSettingsTests.java | 63 writeFile(new File(getContext().getFilesDir(), "system/packages.xml"), 103 writeFile(new File(getContext().getFilesDir(), "system/packages-stopped.xml"), 113 writeFile(new File(getContext().getFilesDir(), "system/packages.list"), 141 Settings settings = new Settings(getContext(), getContext().getFilesDir()); 159 Settings settings = new Settings(getContext(), getContext().getFilesDir()); 163 settings = new Settings(getContext(), getContext().getFilesDir()); 174 Settings settings = new Settings(getContext(), getContex [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | SELinuxTest.java | 22 String mycon = SELinux.getContext(); 38 String mycon = SELinux.getContext();
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListItemFocusablesFarApart.java | 42 position, parent.getContext(), desiredHeight);
|
H A D | ListHeterogeneous.java | 44 position, parent.getContext(), getValueAtPosition(position), desiredHeight); 47 position, parent.getContext(), getValueAtPosition(position), desiredHeight); 50 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
|
H A D | ListItemFocusableAboveUnfocusable.java | 43 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
|
H A D | ListItemFocusablesClose.java | 52 position, parent.getContext(), desiredHeight);
|
/frameworks/base/core/tests/coretests/src/android/text/util/ |
H A D | LinkifyTest.java | 33 tv = new TextView(getContext()); 44 tv = new TextView(getContext()); 56 tv = new TextView(getContext());
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | ObscureSpeechDelegate.java | 56 host.announceForAccessibility(host.getContext().getString( 68 event.setContentDescription(host.getContext().getString( 78 final Context ctx = host.getContext();
|
/frameworks/base/core/java/android/test/ |
H A D | AndroidTestCase.java | 54 public Context getContext() { method in class:AndroidTestCase 96 getContext().startActivity(intent); 115 getContext().getContentResolver().query(uri, null, null, null, null); 134 getContext().getContentResolver().insert(uri, new ContentValues());
|
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/ |
H A D | ExternalSharedPermsFLTest.java | 33 LocationManager locationManager = (LocationManager)getInstrumentation().getContext(
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | EntropyMixerTest.java | 31 File dir = getContext().getDir("testInitialWrite", Context.MODE_PRIVATE);
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
H A D | TrackerProvider.java | 81 mOpenHelper = new DatabaseHelper(getContext()); 89 getContext().getContentResolver().notifyChange(uri, null); 104 getContext().getContentResolver().notifyChange(addedUri, null); 117 getContext().getContentResolver().notifyChange(uri, null);
|
/frameworks/compile/libbcc/lib/AndroidBitcode/ |
H A D | ABCExpandVAArgPass.cpp | 32 mContext = &pFunc.getContext();
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/ |
H A D | FilterFunctionEnvironment.java | 69 return new FilterFunction(getContext(), filter);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | GraphRunner.java | 55 public FilterContext getContext() { method in class:GraphRunner
|
/frameworks/base/test-runner/src/android/test/ |
H A D | ApplicationTestCase.java | 91 mSystemContext = getContext(); 100 mApplication = (T) Instrumentation.newApplication(mApplicationClass, getContext());
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | RotationActivity.java | 54 canvas.translate(dipToPx(getContext(), 400), dipToPx(getContext(), 200));
|