Home
last modified time | relevance | path

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

/frameworks/base/tests/FlickerTests/test-apps/app-helpers/src/com/android/server/wm/flicker/helpers/
DAssistantAppHelper.kt32 val instr: Instrumentation, constant in com.android.server.wm.flicker.helpers.AssistantAppHelper
35 private val uiDevice: UiDevice = UiDevice.getInstance(instr)
37 Settings.Secure.getString(instr.targetContext.contentResolver, Settings.Secure.ASSISTANT)
40 instr.targetContext.contentResolver,
46 instr.targetContext.contentResolver, in setDefaultAssistant()
51 instr.targetContext.contentResolver, in setDefaultAssistant()
59 instr.targetContext.contentResolver, in resetDefaultAssistant()
64 instr.targetContext.contentResolver, in resetDefaultAssistant()
DSimpleAppHelper.kt28 instr: Instrumentation,
31 ) : StandardAppHelper(instr, launcherName, component)
DFixedOrientationAppHelper.kt28 instr: Instrumentation,
32 ) : StandardAppHelper(instr, launcherName, component)
DShowWhenLockedAppHelper.kt28 instr: Instrumentation,
32 ) : StandardAppHelper(instr, launcherName, component)
DSeamlessRotationAppHelper.kt28 instr: Instrumentation,
32 ) : StandardAppHelper(instr, launcherName, component)
DTransferSplashscreenAppHelper.kt28 instr: Instrumentation,
32 ) : StandardAppHelper(instr, launcherName, component)
DNonResizeableAppHelper.kt28 instr: Instrumentation,
32 ) : StandardAppHelper(instr, launcherName, component)
DImeStateInitializeHelper.kt28 instr: Instrumentation,
32 ) : StandardAppHelper(instr, launcherName, component)
DNewTasksAppHelper.kt33 instr: Instrumentation,
36 ) : StandardAppHelper(instr, launcherName, component) {
DNotificationAppHelper.kt32 instr: Instrumentation,
35 ) : StandardAppHelper(instr, launcherName, component) {
DImeAppHelper.kt32 instr: Instrumentation,
35 ) : StandardAppHelper(instr, launcherName, component) {
DImeEditorPopupDialogAppHelper.kt31 instr: Instrumentation,
35 ) : ImeAppHelper(instr, launcherName, component) {
DTwoActivitiesAppHelper.kt33 instr: Instrumentation,
37 ) : StandardAppHelper(instr, launcherName, component) {
DMailAppHelper.kt33 instr: Instrumentation,
36 ) : StandardAppHelper(instr, launcherName, component) {
DGameAppHelper.kt32 instr: Instrumentation,
35 ) : StandardAppHelper(instr, launcherName, component) {
DImeShownOnAppStartHelper.kt38 instr: Instrumentation,
44 ) : ImeAppHelper(instr, launcherName, component) {
DLetterboxAppHelper.kt35 instr: Instrumentation,
39 ) : StandardAppHelper(instr, launcherName, component) {
DActivityEmbeddingAppHelper.kt38 instr: Instrumentation,
41 ) : StandardAppHelper(instr, launcherName, component) {
/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/base/services/core/java/com/android/server/am/
DAccessCheckDelegateHelper.java86 final ActiveInstrumentation instr = in startDelegateShellPermissionIdentity() local
88 if (instr.mTargetInfo.uid != delegateUid) { in startDelegateShellPermissionIdentity()
93 if (instr.mUiAutomationConnection == null) { in startDelegateShellPermissionIdentity()
98 final String packageName = instr.mTargetInfo.packageName; in startDelegateShellPermissionIdentity()
152 final ActiveInstrumentation instr = in addOverridePermissionState() local
154 if (instr.mTargetInfo.uid != originatingUid) { in addOverridePermissionState()
158 if (instr.mSourceUid != Process.ROOT_UID || instr.mUiAutomationConnection == null) { in addOverridePermissionState()
DProcessRecord.java991 void setActiveInstrumentation(ActiveInstrumentation instr) { in setActiveInstrumentation() argument
992 mInstr = instr; in setActiveInstrumentation()
993 boolean isInstrumenting = instr != null; in setActiveInstrumentation()
996 isInstrumenting ? instr.mSourceUid : -1, in setActiveInstrumentation()
997 isInstrumenting && instr.mHasBackgroundActivityStartsPermission); in setActiveInstrumentation()
DAppProfiler.java2397 ActiveInstrumentation instr) throws IOException, RemoteException { in setupProfilerInfoLocked() argument
2416 } else if (instr != null && instr.mProfileFile != null) { in setupProfilerInfoLocked()
2417 profilerInfo = new ProfilerInfo(instr.mProfileFile, null, 0, false, false, null, in setupProfilerInfoLocked()
2449 if (mService.mActiveInstrumentation.size() > 0 && instr == null) { in setupProfilerInfoLocked()
DActivityManagerService.java4063 final ActiveInstrumentation instr = caller.getActiveInstrumentation(); in getProcessMemoryInfo() local
4064 isCallerInstrumentedFromShell = instr != null in getProcessMemoryInfo()
4065 && (instr.mSourceUid == SHELL_UID || instr.mSourceUid == ROOT_UID); in getProcessMemoryInfo()
4751 final ActiveInstrumentation instr = app.getActiveInstrumentation(); in attachApplicationLocked() local
4753 if (instr != null) { in attachApplicationLocked()
4754 notifyPackageUse(instr.mClass.getPackageName(), in attachApplicationLocked()
4759 ApplicationInfo appInfo = instr != null ? instr.mTargetInfo : app.info; in attachApplicationLocked()
4762 ProfilerInfo profilerInfo = mAppProfiler.setupProfilerInfoLocked(thread, app, instr); in attachApplicationLocked()
16808 final ActiveInstrumentation instr = app.getActiveInstrumentation(); in addInstrumentationResultsLocked() local
16809 if (instr == null) { in addInstrumentationResultsLocked()
[all …]
DActiveServices.java8459 ActiveInstrumentation instr = targetProcess.getActiveInstrumentation(); in shouldAllowFgsWhileInUsePermissionLocked() local
8460 if (instr != null && instr.mHasBackgroundActivityStartsPermission) { in shouldAllowFgsWhileInUsePermissionLocked()
8724 final ActiveInstrumentation instr = app.getActiveInstrumentation(); in shouldAllowFgsStartForegroundNoBindingCheckLocked()
8725 if (instr != null in shouldAllowFgsStartForegroundNoBindingCheckLocked()
8726 && instr.mHasBackgroundForegroundServiceStartsPermission) { in shouldAllowFgsStartForegroundNoBindingCheckLocked()
/frameworks/base/core/java/android/app/
DActivity.java8861 Instrumentation instr, IBinder token, int ident,
8868 attach(context, aThread, instr, token, ident, application, intent, info, title, parent, id,
8874 Instrumentation instr, IBinder token, int ident,
8906 mInstrumentation = instr;