Home
last modified time | relevance | path

Searched refs:inst (Results 1 – 10 of 10) sorted by relevance

/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/
DDeviceReportTest.java80 TestInstrumentation inst = new TestInstrumentation(); in testSubmit() local
81 log.submit(inst); in testSubmit()
82 assertEquals("Incorrect result code", RESULT_CODE, inst.mResultCode); in testSubmit()
83 assertNotNull("Bundle missing", inst.mResults); in testSubmit()
84 String metrics = inst.mResults.getString(RESULT_KEY); in testSubmit()
102 TestInstrumentation inst = new TestInstrumentation(); in testFile() local
107 log1.submit(inst); in testFile()
112 log2.submit(inst); in testFile()
117 log3.submit(inst); in testFile()
122 log4.submit(inst); in testFile()
/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/
DDeviceReportTest.java80 TestInstrumentation inst = new TestInstrumentation(); in testSubmit() local
81 log.submit(inst); in testSubmit()
82 assertEquals("Incorrect result code", RESULT_CODE, inst.mResultCode); in testSubmit()
83 assertNotNull("Bundle missing", inst.mResults); in testSubmit()
84 String metrics = inst.mResults.getString(RESULT_KEY); in testSubmit()
102 TestInstrumentation inst = new TestInstrumentation(); in testFile() local
107 log1.submit(inst); in testFile()
112 log2.submit(inst); in testFile()
117 log3.submit(inst); in testFile()
122 log4.submit(inst); in testFile()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DSplitTests.java270 final InstallMultiple inst = new InstallMultiple(instant).addApk(APK); in testNativeAll() local
272 inst.addApk(apk); in testNativeAll()
274 inst.run(); in testNativeAll()
295 final InstallMultiple inst = new InstallMultiple(instant).useNaturalAbi().addApk(APK); in testNativeAllNatural() local
297 inst.addApk(apk); in testNativeAllNatural()
299 inst.run(); in testNativeAllNatural()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DMediaPlayerStressTest.java155 Instrumentation inst = getInstrumentation(); in doTestVideoPlayback() local
173 intent.setClass(inst.getTargetContext(), MediaFrameworkTest.class); in doTestVideoPlayback()
176 Activity act = inst.startActivitySync(intent); in doTestVideoPlayback()
/cts/tools/cts-media-preparer-app/src/android/mediastress/cts/preconditions/app/
DMediaPreparerAppTest.java113 Instrumentation inst = InstrumentationRegistry.getInstrumentation(); in testGetResolutions() local
116 inst.sendStatus(INST_STATUS_IN_PROGRESS, maxResBundle); in testGetResolutions()
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c966 u32 inst = r32(func + i * 4); in first_bl() local
967 if ((inst >> 26) == 0x25) { // bl in first_bl()
968 s64 off = inst & ((1u << 26) - 1); in first_bl()
978 int is_adrp(u32 inst) { in is_adrp() argument
979 return ((inst >> 24) & 0x9f) == 0x90; in is_adrp()
982 u64 parse_adrp(u64 p, u32 inst) { in parse_adrp() argument
983 s64 off = ((inst >> 5) & ((1u << 19) - 1)) << 2; in parse_adrp()
984 off |= (inst >> 29) & 3; in parse_adrp()
993 u32 inst = r32(addr); in find_adrp_add() local
994 if (is_adrp(inst)) { in find_adrp_add()
[all …]
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/
DMediaStorageTest.java372 final Instrumentation inst = InstrumentationRegistry.getInstrumentation(); in doEscalation() local
373 final Intent intent = new Intent(inst.getContext(), GetResultActivity.class); in doEscalation()
377 final UiDevice device = UiDevice.getInstance(inst); in doEscalation()
381 final GetResultActivity activity = (GetResultActivity) inst.startActivitySync(intent); in doEscalation()
/cts/tests/tests/media/src/android/media/cts/
DDecoderTestAacDrc.java52 final Instrumentation inst = InstrumentationRegistry.getInstrumentation(); in setUp() local
53 assertNotNull(inst); in setUp()
54 mResources = inst.getContext().getResources(); in setUp()
DDecoderTestXheAac.java59 final Instrumentation inst = InstrumentationRegistry.getInstrumentation(); in setUp() local
60 assertNotNull(inst); in setUp()
61 mResources = inst.getContext().getResources(); in setUp()
/cts/hostsidetests/media/bitstreams/app/src/android/media/cts/bitstreams/app/
DMediaBitstreamsDeviceSideTest.java359 Instrumentation inst = InstrumentationRegistry.getInstrumentation(); in generateReportFile() local
363 inst.sendStatus(INST_STATUS_IN_PROGRESS, bundle); in generateReportFile()