/frameworks/base/core/tests/FileSystemUtilsTest/apk_extract_native_libs/src/android/test/extract/ |
D | PunchExtractedLibTest.java | 45 IntentFilter intentFilter = new IntentFilter(MainActivity.INTENT_TYPE); in testPunchedNativeLibs_extractedLib() 51 int result = intent.getIntExtra(MainActivity.KEY_RESULT, 1000); in testPunchedNativeLibs_extractedLib() 59 launchIntent.putExtra(MainActivity.KEY_OPERAND_1, op1); in testPunchedNativeLibs_extractedLib() 60 launchIntent.putExtra(MainActivity.KEY_OPERAND_2, op2); in testPunchedNativeLibs_extractedLib()
|
/frameworks/base/core/tests/FileSystemUtilsTest/apk_embedded_native_libs/src/android/test/embedded/ |
D | PunchEmbeddedLibTest.java | 45 IntentFilter intentFilter = new IntentFilter(MainActivity.INTENT_TYPE); in testPunchedNativeLibs_embeddedLib() 51 int result = intent.getIntExtra(MainActivity.KEY_RESULT, 1000); in testPunchedNativeLibs_embeddedLib() 60 launchIntent.putExtra(MainActivity.KEY_OPERAND_1, op1); in testPunchedNativeLibs_embeddedLib() 61 launchIntent.putExtra(MainActivity.KEY_OPERAND_2, op2); in testPunchedNativeLibs_embeddedLib()
|
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/ |
D | ScreenRecordTestBase.kt | 36 var mActivityRule = ActivityTestRule(MainActivity::class.java) 38 private lateinit var mActivity: MainActivity 59 fun runOnUiThread(predicate: (it: MainActivity) -> Unit) { in runOnUiThread() 68 predicate: (it: MainActivity) -> Unit in withScreenRecording()
|
D | SurfaceTracingTestBase.kt | 39 var scenarioRule: ActivityScenarioRule<MainActivity> = in <lambda>() 40 ActivityScenarioRule<MainActivity>(MainActivity::class.java) in <lambda>() 55 fun withTrace(predicate: (it: MainActivity) -> Unit): LayersTrace { in <lambda>() 69 fun runOnUiThread(predicate: (it: MainActivity) -> Unit) { in <lambda>()
|
/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/ |
D | MainActivity.java | 73 public class MainActivity extends AppCompatActivity class 189 mOutputVideoPath = getVideoPath(MainActivity.this); in onClick() 199 private final WeakReference<MainActivity> activityReference; 201 MediaCodecSurfaceAsync(MainActivity context) { in MediaCodecSurfaceAsync() 207 MainActivity mainActivity = activityReference.get(); in doInBackground() 225 MainActivity mainActivity = activityReference.get(); in onPostExecute() 294 Activity activity = MainActivity.this; 338 final Activity activity = MainActivity.this; in openCamera() 423 if (ActivityCompat.checkSelfPermission(MainActivity.this, permission) != in hasPermissionGranted() 468 Toast.makeText(MainActivity.this, "Cannot start recording.", Toast.LENGTH_SHORT).show(); in startRecordingVideo() [all …]
|
D | NalUnitUtil.java | 23 import static com.android.media.samplevideoencoder.MainActivity.FRAME_TYPE_B; 24 import static com.android.media.samplevideoencoder.MainActivity.FRAME_TYPE_I; 25 import static com.android.media.samplevideoencoder.MainActivity.FRAME_TYPE_P;
|
/frameworks/base/tests/inputmethod/ConcurrentMultiSessionImeTest/src/com/android/server/inputmethod/multisessiontest/ |
D | ConcurrentMultiUserTest.java | 57 MainActivity.class.getName()); 59 private ActivityScenario<MainActivity> mActivityScenario; 60 private MainActivity mActivity; 70 mActivityScenario = ActivityScenario.launch(MainActivity.class); in setUp()
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyVersionedTestApp_v1/src/com/android/framework/multidexlegacyversionedtestapp/ |
D | MultiDexUpdateTest.java | 25 public class MultiDexUpdateTest extends ActivityInstrumentationTestCase2<MainActivity> 28 super(MainActivity.class); in MultiDexUpdateTest()
|
D | MainActivity.java | 22 public class MainActivity extends Activity { class
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyVersionedTestApp_v2/src/com/android/framework/multidexlegacyversionedtestapp/ |
D | MultiDexUpdateTest.java | 25 public class MultiDexUpdateTest extends ActivityInstrumentationTestCase2<MainActivity> 28 super(MainActivity.class); in MultiDexUpdateTest()
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyVersionedTestApp_v3/src/com/android/framework/multidexlegacyversionedtestapp/ |
D | MultiDexUpdateTest.java | 25 public class MultiDexUpdateTest extends ActivityInstrumentationTestCase2<MainActivity> 28 super(MainActivity.class); in MultiDexUpdateTest()
|
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/ |
D | TestJobService.java | 34 import com.android.demo.jobSchedulerApp.MainActivity; 72 m.what = MainActivity.MSG_SERVICE_OBJ; in onStartCommand() 112 MainActivity mActivity; 116 public void setUiCallback(MainActivity activity) { in setUiCallback()
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/src/com/android/multidexlegacyandexception/tests/ |
D | ActivityTest.java | 26 import com.android.multidexlegacyandexception.MainActivity; 39 public class ActivityTest extends android.test.ActivityInstrumentationTestCase2<MainActivity> { 41 super(MainActivity.class); in ActivityTest()
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyAndException/src/com/android/multidexlegacyandexception/ |
D | MainActivity.java | 21 public class MainActivity extends Activity { class 23 public MainActivity() { in MainActivity() method in MainActivity
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestAppWithCorruptedDex/src/com/android/framework/multidexlegacycorrupteddex/ |
D | CorruptedDexTest.java | 28 public class CorruptedDexTest extends ActivityInstrumentationTestCase2<MainActivity> 32 super(MainActivity.class); in CorruptedDexTest()
|
D | MainActivity.java | 22 public class MainActivity extends Activity { class
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/src/com/android/multidexlegacytestapp/ |
D | Test.java | 25 public class Test extends ActivityInstrumentationTestCase2<MainActivity> { 27 super(MainActivity.class); in Test()
|
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
D | MainActivityTest.java | 13 public class MainActivityTest extends ActivityInstrumentationTestCase2<MainActivity> { 14 private MainActivity mActivity; 19 super(MainActivity.class); in MainActivityTest()
|
/frameworks/base/tests/graphics/RenderThreadTest/src/com/example/renderthread/ |
D | SubActivity.java | 48 child.animate().translationX(0).setDuration(MainActivity.DURATION); in onResume() 52 bg.animate().alpha(1f).setDuration(MainActivity.DURATION); in onResume()
|
D | MainActivity.java | 20 public class MainActivity extends Activity implements OnItemClickListener { class 90 startActivity(new Intent(MainActivity.this, SubActivity.class));
|
/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/ |
D | ServiceCrashTest.java | 69 intent.setClass(ctx, MainActivity.class); in testCrashQuickly() 72 assertTrue(MainActivity.sBindingDiedLatch.await(200, TimeUnit.SECONDS)); in testCrashQuickly()
|
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/ |
D | MainActivity.java | 41 public class MainActivity extends Activity { class 112 mTestService.setUiCallback(MainActivity.this); 119 Toast.makeText(MainActivity.this, "Service null, never got callback?", in ensureTestService()
|
/frameworks/base/tests/RollbackTest/SampleRollbackApp/src/com/android/sample/rollbackapp/ |
D | MainActivity.java | 45 public class MainActivity extends Activity { class 51 static final String ACTION_NAME = MainActivity.class.getName(); 105 runOnUiThread(() -> Toast.makeText(MainActivity.this, message, Toast.LENGTH_LONG).show()); in makeToast()
|
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/ |
D | MainActivity.java | 35 public class MainActivity extends Activity { class 111 v = new BitmapView(MainActivity.this); in getView()
|
/frameworks/base/tests/MotionPrediction/src/test/motionprediction/ |
D | MainActivity.kt | 22 class MainActivity : Activity() { class
|