Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DPendingStartActivityUids.java92 synchronized void enqueuePendingTopAppIfNecessaryLocked(ActivityManagerService ams) { in enqueuePendingTopAppIfNecessaryLocked() argument
96 synchronized (ams.mPidsSelfLocked) { in enqueuePendingTopAppIfNecessaryLocked()
97 app = ams.mPidsSelfLocked.get(p.first); in enqueuePendingTopAppIfNecessaryLocked()
100 ams.enqueueOomAdjTargetLocked(app); in enqueuePendingTopAppIfNecessaryLocked()
DServiceRecord.java118 final ActivityManagerService ams; field in ServiceRecord
538 uriPermissions = new UriPermissionOwner(sr.ams.mUgmInternal, this); in getUriPermissionsLocked()
646 return mStartTime + ams.mConstants.mShortFgsTimeoutDuration; in getTimeoutTime()
651 return mStartTime + ams.mConstants.mShortFgsTimeoutDuration in getProcStateDemoteTime()
652 + ams.mConstants.mShortFgsProcStateExtraWaitDuration; in getProcStateDemoteTime()
657 return mStartTime + ams.mConstants.mShortFgsTimeoutDuration in getAnrTime()
658 + ams.mConstants.mShortFgsAnrExtraWaitDuration; in getAnrTime()
1108 private ServiceRecord(ActivityManagerService ams) { in ServiceRecord() argument
1109 this.ams = ams; in ServiceRecord()
1130 public static ServiceRecord newEmptyInstanceForTest(ActivityManagerService ams) { in newEmptyInstanceForTest() argument
[all …]
/frameworks/base/services/java/com/android/server/
DCommunalProfileInitializer.java37 public CommunalProfileInitializer(ActivityManagerService ams) { in CommunalProfileInitializer() argument
39 mAms = ams; in CommunalProfileInitializer()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityInputFilterInputTest.kt128 private lateinit var ams: AccessibilityManagerService variable in com.android.server.accessibility.AccessibilityInputFilterInputTest
148 ams = Mockito.spy(AccessibilityManagerService(context)) in setUp()
150 whenever(ams.validDisplayList).thenReturn(displayList) in setUp()
151 whenever(ams.magnificationProcessor).thenReturn(mockMagnificationProcessor) in setUp()
158 a11yInputFilter = AccessibilityInputFilter(context, ams) in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DFgsLoggerTest.java396 ActivityManagerService ams = mock(ActivityManagerService.class); in testMultipleFGS() local
397 ServiceRecord record2 = ServiceRecord.newEmptyInstanceForTest(ams); in testMultipleFGS()
469 ActivityManagerService ams = mock(ActivityManagerService.class); in testMultipleUid() local
470 ServiceRecord record2 = ServiceRecord.newEmptyInstanceForTest(ams); in testMultipleUid()
490 ServiceRecord recordUid22 = ServiceRecord.newEmptyInstanceForTest(ams); in testMultipleUid()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DTouchState.java100 public TouchState(int displayId, AccessibilityManagerService ams) { in TouchState() argument
102 mAms = ams; in TouchState()
DEventDispatcher.java68 AccessibilityManagerService ams, in EventDispatcher() argument
72 mAms = ams; in EventDispatcher()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationController.java147 public MagnificationController(AccessibilityManagerService ams, Object lock, in MagnificationController() argument
150 mAms = ams; in MagnificationController()
166 public MagnificationController(AccessibilityManagerService ams, Object lock, in MagnificationController() argument
170 this(ams, lock, context, scaleProvider, backgroundExecutor); in MagnificationController()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSystemServicesTestRule.java609 TestActivityTaskManagerService(Context context, ActivityManagerService ams) {
643 ams.mActivityTaskManager = this;
644 ams.mAtmInternal = mInternal;
/frameworks/base/services/core/java/com/android/server/firewall/
DIntentFirewall.java121 public IntentFirewall(AMSInterface ams, Handler handler) { in IntentFirewall() argument
122 mAms = ams; in IntentFirewall()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DApplicationStartInfoTest.java511 String processName, String packageName, ActivityManagerService ams) { in makeProcessRecord() argument
514 ProcessRecord app = new ProcessRecord(ams, ai, processName, uid); in makeProcessRecord()
DServiceBindingOomAdjPolicyTest.java574 String processName, String packageName, ActivityManagerService ams) { in makeProcessRecord() argument
576 definingUid, connectionGroup, procState, pss, rss, processName, packageName, ams); in makeProcessRecord()
DApplicationExitInfoTest.java998 String processName, String packageName, ActivityManagerService ams) { in makeProcessRecord() argument
1001 ProcessRecord app = new ProcessRecord(ams, ai, processName, uid); in makeProcessRecord()