Home
last modified time | relevance | path

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

/frameworks/base/startop/scripts/trace_analyzer/
Dqueries_get_comm_and_pids.sql29 …SUBSTR(function_args, instr(function_args, "next_comm="), instr(function_args, "next_pid=") - inst…
30 …SUBSTR(function_args, instr(function_args, "next_pid="), instr(function_args, "next_prio=") - inst…
Dqueries_all.sql46 substr(rest, 0, instr(rest, '|')),
47 substr(rest, instr(rest, '|')+1),
/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/testutils/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/
DSeamlessRotationAppHelper.kt26 instr: Instrumentation,
30 .getInstance(instr)
32 ) : StandardAppHelper(instr, launcherName, component, launcherStrategy)
DSimpleAppHelper.kt26 instr: Instrumentation,
30 .getInstance(instr)
32 ) : StandardAppHelper(instr, launcherName, component, launcherStrategy)
DImeAppHelper.kt30 instr: Instrumentation,
34 .getInstance(instr)
36 ) : StandardAppHelper(instr, launcherName, component, launcherStrategy) {
DImeAppAutoFocusHelper.kt26 instr: Instrumentation,
31 ) : ImeAppHelper(instr, launcherName, component) {
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java758 void setActiveInstrumentation(ActiveInstrumentation instr) { in setActiveInstrumentation() argument
759 mInstr = instr; in setActiveInstrumentation()
760 boolean isInstrumenting = instr != null; in setActiveInstrumentation()
763 isInstrumenting ? instr.mSourceUid : -1, in setActiveInstrumentation()
764 isInstrumenting && instr.mHasBackgroundActivityStartsPermission); in setActiveInstrumentation()
DAppProfiler.java2036 ActiveInstrumentation instr) throws IOException, RemoteException { in setupProfilerInfoLocked() argument
2055 } else if (instr != null && instr.mProfileFile != null) { in setupProfilerInfoLocked()
2056 profilerInfo = new ProfilerInfo(instr.mProfileFile, null, 0, false, false, in setupProfilerInfoLocked()
2087 if (mService.mActiveInstrumentation.size() > 0 && instr == null) { in setupProfilerInfoLocked()
DActivityManagerService.java3826 final ActiveInstrumentation instr = caller.getActiveInstrumentation(); in getProcessMemoryInfo() local
3827 isCallerInstrumentedFromShell = instr != null in getProcessMemoryInfo()
3828 && (instr.mSourceUid == SHELL_UID || instr.mSourceUid == ROOT_UID); in getProcessMemoryInfo()
4442 final ActiveInstrumentation instr = app.getActiveInstrumentation(); in attachApplicationLocked() local
4444 if (instr != null) { in attachApplicationLocked()
4445 notifyPackageUse(instr.mClass.getPackageName(), in attachApplicationLocked()
4450 ApplicationInfo appInfo = instr != null ? instr.mTargetInfo : app.info; in attachApplicationLocked()
4453 ProfilerInfo profilerInfo = mAppProfiler.setupProfilerInfoLocked(thread, app, instr); in attachApplicationLocked()
13905 final ActiveInstrumentation instr = app.getActiveInstrumentation(); in addInstrumentationResultsLocked() local
13906 if (instr == null) { in addInstrumentationResultsLocked()
[all …]
DActiveServices.java5980 ActiveInstrumentation instr = targetService.app.getActiveInstrumentation(); in shouldAllowFgsWhileInUsePermissionLocked() local
5981 if (instr != null && instr.mHasBackgroundActivityStartsPermission) { in shouldAllowFgsWhileInUsePermissionLocked()
6145 final ActiveInstrumentation instr = app.getActiveInstrumentation(); in shouldAllowFgsStartForegroundLocked()
6146 if (instr != null in shouldAllowFgsStartForegroundLocked()
6147 && instr.mHasBackgroundForegroundServiceStartsPermission) { in shouldAllowFgsStartForegroundLocked()
/frameworks/base/core/java/android/app/
DActivity.java7933 Instrumentation instr, IBinder token, int ident,
7958 mInstrumentation = instr;