Home
last modified time | relevance | path

Searched refs:instr (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/test-base/src/android/test/
DInstrumentationTestSuite.java43 public InstrumentationTestSuite(Instrumentation instr) { in InstrumentationTestSuite() argument
44 mInstrumentation = instr; in InstrumentationTestSuite()
48 public InstrumentationTestSuite(String name, Instrumentation instr) { in InstrumentationTestSuite() argument
50 mInstrumentation = instr; in InstrumentationTestSuite()
58 public InstrumentationTestSuite(final Class theClass, Instrumentation instr) { in InstrumentationTestSuite() argument
60 mInstrumentation = instr; in InstrumentationTestSuite()
/frameworks/libs/net/common/devicetests/com/android/testutils/
DConcurrentInterpreter.kt54 fun interpretMultiple(instr: String, r: T): Any? { in <lambda>()
55 return instr.split(";").map { interpret(it.trim(), r) }.last() in <lambda>()
59 fun interpret(instr: String, r: T): Any? { in <lambda>()
61 interpretTable.find { instr matches it.first } ?: throw SyntaxException(instr) in <lambda>()
62 val match = matcher.matchEntire(instr) ?: throw SyntaxException(instr) in <lambda>()
169 instr: String,
175 ) : RuntimeException("Failure: $instr", cause) {
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/helpers/
DImeAppHelper.java28 ImeAppHelper(Instrumentation instr, String launcherName) { in ImeAppHelper() argument
29 super(instr, launcherName); in ImeAppHelper()
32 public ImeAppHelper(Instrumentation instr) { in ImeAppHelper() argument
33 this(instr, "ImeApp"); in ImeAppHelper()
DImeAppAutoFocusHelper.java24 public ImeAppAutoFocusHelper(Instrumentation instr) { in ImeAppAutoFocusHelper() argument
25 super(instr, "ImeAppAutoFocus"); in ImeAppAutoFocusHelper()
DFlickerAppHelper.java28 public FlickerAppHelper(Instrumentation instr, String launcherName) { in FlickerAppHelper() argument
29 super(instr, sFlickerPackage, launcherName); in FlickerAppHelper()
DPipAppHelper.java29 public PipAppHelper(Instrumentation instr) { in PipAppHelper() argument
30 super(instr, "PipApp"); in PipAppHelper()
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java1239 void setActiveInstrumentation(ActiveInstrumentation instr) { in setActiveInstrumentation() argument
1240 mInstr = instr; in setActiveInstrumentation()
1241 boolean isInstrumenting = instr != null; in setActiveInstrumentation()
1243 isInstrumenting && instr.mHasBackgroundActivityStartsPermission); in setActiveInstrumentation()
DActivityManagerService.java4949 final ActiveInstrumentation instr = app.getActiveInstrumentation(); in attachApplicationLocked() local
4951 if (instr != null) { in attachApplicationLocked()
4952 notifyPackageUse(instr.mClass.getPackageName(), in attachApplicationLocked()
4958 ApplicationInfo appInfo = instr != null ? instr.mTargetInfo : app.info; in attachApplicationLocked()
4977 } else if (instr != null && instr.mProfileFile != null) { in attachApplicationLocked()
4978 profilerInfo = new ProfilerInfo(instr.mProfileFile, null, 0, false, false, in attachApplicationLocked()
5015 if (mActiveInstrumentation.size() > 0 && instr == null) { in attachApplicationLocked()
15928 final ActiveInstrumentation instr = app.getActiveInstrumentation(); in addInstrumentationResultsLocked() local
15929 if (instr == null) { in addInstrumentationResultsLocked()
15934 if (!instr.mFinished && results != null) { in addInstrumentationResultsLocked()
[all …]
/frameworks/base/core/java/android/app/
DActivity.java7724 Instrumentation instr, IBinder token, int ident, in attach() argument
7748 mInstrumentation = instr; in attach()