/frameworks/base/tests/FlickerTests/test-apps/app-helpers/src/com/android/server/wm/flicker/helpers/ |
D | AssistantAppHelper.kt | 32 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()
|
D | SimpleAppHelper.kt | 28 instr: Instrumentation, 31 ) : StandardAppHelper(instr, launcherName, component)
|
D | FixedOrientationAppHelper.kt | 28 instr: Instrumentation, 32 ) : StandardAppHelper(instr, launcherName, component)
|
D | ShowWhenLockedAppHelper.kt | 28 instr: Instrumentation, 32 ) : StandardAppHelper(instr, launcherName, component)
|
D | SeamlessRotationAppHelper.kt | 28 instr: Instrumentation, 32 ) : StandardAppHelper(instr, launcherName, component)
|
D | TransferSplashscreenAppHelper.kt | 28 instr: Instrumentation, 32 ) : StandardAppHelper(instr, launcherName, component)
|
D | NonResizeableAppHelper.kt | 28 instr: Instrumentation, 32 ) : StandardAppHelper(instr, launcherName, component)
|
D | ImeStateInitializeHelper.kt | 28 instr: Instrumentation, 32 ) : StandardAppHelper(instr, launcherName, component)
|
D | NewTasksAppHelper.kt | 33 instr: Instrumentation, 36 ) : StandardAppHelper(instr, launcherName, component) {
|
D | NotificationAppHelper.kt | 32 instr: Instrumentation, 35 ) : StandardAppHelper(instr, launcherName, component) {
|
D | ImeAppHelper.kt | 32 instr: Instrumentation, 35 ) : StandardAppHelper(instr, launcherName, component) {
|
D | ImeEditorPopupDialogAppHelper.kt | 31 instr: Instrumentation, 35 ) : ImeAppHelper(instr, launcherName, component) {
|
D | TwoActivitiesAppHelper.kt | 33 instr: Instrumentation, 37 ) : StandardAppHelper(instr, launcherName, component) {
|
D | MailAppHelper.kt | 33 instr: Instrumentation, 36 ) : StandardAppHelper(instr, launcherName, component) {
|
D | GameAppHelper.kt | 32 instr: Instrumentation, 35 ) : StandardAppHelper(instr, launcherName, component) {
|
D | ImeShownOnAppStartHelper.kt | 38 instr: Instrumentation, 44 ) : ImeAppHelper(instr, launcherName, component) {
|
D | LetterboxAppHelper.kt | 35 instr: Instrumentation, 39 ) : StandardAppHelper(instr, launcherName, component) {
|
D | ActivityEmbeddingAppHelper.kt | 38 instr: Instrumentation, 41 ) : StandardAppHelper(instr, launcherName, component) {
|
/frameworks/base/test-base/src/android/test/ |
D | InstrumentationTestSuite.java | 43 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/ |
D | AccessCheckDelegateHelper.java | 86 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()
|
D | ProcessRecord.java | 991 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()
|
D | AppProfiler.java | 2397 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()
|
D | ActivityManagerService.java | 4063 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 …]
|
D | ActiveServices.java | 8459 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/ |
D | Activity.java | 8861 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;
|