/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountManagerServiceTest.java | 128 private AccountManagerService mAms; field in AccountManagerServiceTest 168 mAms = new AccountManagerService(mTestInjector); in setUp() 175 mAms.mHandler.post(() -> { in tearDown() 206 mAms.addAccountExplicitly(a11, "p11", null); in testCheckAddAccount() 207 mAms.addAccountExplicitly(a12, "p12", null); in testCheckAddAccount() 208 mAms.addAccountExplicitly(a21, "p21", null); in testCheckAddAccount() 209 mAms.addAccountExplicitly(a22, "p22", null); in testCheckAddAccount() 210 mAms.addAccountExplicitly(a31, "p31", null); in testCheckAddAccount() 211 mAms.addAccountExplicitly(a32, "p32", null); in testCheckAddAccount() 215 Account[] accounts = mAms.getAccounts(null, mContext.getOpPackageName()); in testCheckAddAccount() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityManagerServiceTest.java | 122 private ActivityManagerService mAms; field in ActivityManagerServiceTest 134 mAms = new ActivityManagerService(mInjector); in setUp() 135 mAms.mWaitForNetworkTimeoutMs = 2000; in setUp() 136 mAms.mActivityTaskManager = new ActivityTaskManagerService(mContext); in setUp() 137 mAms.mActivityTaskManager.initialize(null, null, mHandler.getLooper()); in setUp() 173 mAms.mProcessList.mProcStateSeqCounter = 42; in incrementProcStateSeqAndNotifyAppsLocked() 216 mAms.mWaitForNetworkTimeoutMs = 0; in incrementProcStateSeqAndNotifyAppsLocked() 229 mAms.mWaitForNetworkTimeoutMs = 111; in incrementProcStateSeqAndNotifyAppsLocked() 256 mAms.mProcessList.mActiveUids.put(uid, uidRec); in addUidRecord() 258 final ProcessRecord appRec = new ProcessRecord(mAms, new ApplicationInfo(), TAG, uid); in addUidRecord() [all …]
|
D | ActivityManagerInternalTest.java | 48 private ActivityManagerService mAms; field in ActivityManagerInternalTest 55 mAms = new ActivityManagerService(mMockInjector); in setUp() 56 mAmi = mAms.new LocalService(); in setUp() 120 mAms.mProcessList.mActiveUids.clear(); in verifyNetworkUpdatedProcStateSeq() 129 mAms.mProcessList.mActiveUids.put(uid, record); in addActiveUidRecord()
|
D | CoreSettingsObserverTest.java | 64 private ActivityManagerService mAms; field in CoreSettingsObserverTest 93 mAms = new ActivityManagerService(new TestInjector()); in setUp() 94 mCoreSettingsObserver = new CoreSettingsObserver(mAms); in setUp()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | KeyboardInterceptor.java | 35 private final AccessibilityManagerService mAms; field in KeyboardInterceptor 47 mAms = service; in KeyboardInterceptor() 60 mAms = service; in KeyboardInterceptor() 80 mAms.notifyKeyEvent(event, policyFlags); in onKeyEvent() 128 mAms.notifyKeyEvent(mEventQueueEnd.event, mEventQueueEnd.policyFlags); in processQueuedEvents()
|
D | AccessibilityInputFilter.java | 108 private final AccessibilityManagerService mAms; field in AccessibilityInputFilter 143 mAms = service; in AccessibilityInputFilter() 379 final ArrayList<Display> displaysList = mAms.getValidDisplayList(); in enableFeatures() 390 TouchExplorer explorer = new TouchExplorer(mContext, mAms); in enableFeatures() 404 mAms.getMagnificationController(), in enableFeatures() 415 mAms.setMotionEventInjector(injector); in enableFeatures() 421 mKeyboardInterceptor = new KeyboardInterceptor(mAms, in enableFeatures() 467 mAms.setMotionEventInjector(null); in disableFeatures()
|
D | TouchExplorer.java | 142 private final AccessibilityManagerService mAms; field in TouchExplorer 188 mAms = service; in TouchExplorer() 272 mAms.onTouchInteractionEnd(); in clear() 397 mAms.onTouchInteractionEnd(); in onDoubleTap() 410 if (mAms.performActionOnAccessibilityFocusedItem( in onDoubleTap() 467 mAms.onGesture(gestureId); in onGestureCompleted() 508 mAms.onTouchInteractionStart(); in handleMotionEventStateTouchExploring() 638 mAms.onTouchInteractionEnd(); in handleMotionEventStateTouchExploring() 755 mAms.onTouchInteractionEnd(); in handleMotionEventStateDragging() 800 mAms.onTouchInteractionEnd(); in handleMotionEventStateDelegating() [all …]
|
D | MagnificationController.java | 1307 private final AccessibilityManagerService mAms; field in MagnificationController.ControllerContext 1321 mAms = ams; in ControllerContext() 1340 return mAms; in getAms()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityInputFilterTest.java | 85 private AccessibilityManagerService mAms; field in AccessibilityInputFilterTest 129 mAms = spy(new AccessibilityManagerService(context)); in setUp() 131 mA11yInputFilter = new AccessibilityInputFilter(context, mAms, mEventHandler); in setUp() 134 when(mAms.getValidDisplayList()).thenReturn(mDisplayList); in setUp() 135 when(mAms.getMagnificationController()).thenReturn(mMockMagnificationController); in setUp()
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | IntentFirewall.java | 71 private final AMSInterface mAms; field in IntentFirewall 112 mAms = ams; in IntentFirewall() 288 synchronized (mAms.getAMSLock()) { in readRulesDir() 598 return mAms.checkComponentPermission(permission, pid, uid, owningUid, exported) == in checkComponentPermission()
|