/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountManagerServiceTest.java | 129 private AccountManagerService mAms; field in AccountManagerServiceTest 166 mAms = new AccountManagerService(mTestInjector); in setUp() 173 mAms.mHandler.post(() -> { in tearDown() 203 mAms.addAccountExplicitly(a11, "p11", null); in testCheckAddAccount() 204 mAms.addAccountExplicitly(a12, "p12", null); in testCheckAddAccount() 205 mAms.addAccountExplicitly(a21, "p21", null); in testCheckAddAccount() 206 mAms.addAccountExplicitly(a22, "p22", null); in testCheckAddAccount() 207 mAms.addAccountExplicitly(a31, "p31", null); in testCheckAddAccount() 208 mAms.addAccountExplicitly(a32, "p32", null); in testCheckAddAccount() 212 Account[] accounts = mAms.getAccounts(null, mContext.getOpPackageName()); in testCheckAddAccount() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityManagerServiceTest.java | 127 private ActivityManagerService mAms; field in ActivityManagerServiceTest 139 mAms = new ActivityManagerService(mInjector); in setUp() 140 mAms.mWaitForNetworkTimeoutMs = 2000; in setUp() 176 mAms.mProcStateSeqCounter = 42; in incrementProcStateSeqAndNotifyAppsLocked() 219 mAms.mWaitForNetworkTimeoutMs = 0; in incrementProcStateSeqAndNotifyAppsLocked() 232 mAms.mWaitForNetworkTimeoutMs = 111; in incrementProcStateSeqAndNotifyAppsLocked() 259 mAms.mActiveUids.put(uid, uidRec); in addUidRecord() 264 mAms.mLruProcesses.add(appRec); in addUidRecord() 277 mAms.incrementProcStateSeqAndNotifyAppsLocked(); in verifySeqCounterAndInteractions() 279 assertEquals(expectedGlobalCounter, mAms.mProcStateSeqCounter); in verifySeqCounterAndInteractions() [all …]
|
D | ActivityManagerInternalTest.java | 59 private ActivityManagerService mAms; field in ActivityManagerInternalTest 65 mAms = new ActivityManagerService(mMockInjector); in setUp() 66 mAmi = mAms.new LocalService(); in setUp() 130 mAms.mActiveUids.clear(); in verifyNetworkUpdatedProcStateSeq() 139 mAms.mActiveUids.put(uid, record); in addActiveUidRecord()
|
D | CoreSettingsObserverTest.java | 74 private ActivityManagerService mAms; field in CoreSettingsObserverTest 103 mAms = new ActivityManagerService(new TestInjector()); in setUp() 104 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 | TouchExplorer.java | 142 private final AccessibilityManagerService mAms; field in TouchExplorer 173 mAms = service; in TouchExplorer() 253 mAms.onTouchInteractionEnd(); in clear() 393 if (mAms.performActionOnAccessibilityFocusedItem( in onDoubleTap() 450 mAms.onGesture(gestureId); in onGestureCompleted() 491 mAms.onTouchInteractionStart(); in handleMotionEventStateTouchExploring() 613 mAms.onTouchInteractionEnd(); in handleMotionEventStateTouchExploring() 722 mAms.onTouchInteractionEnd(); in handleMotionEventStateDragging() 767 mAms.onTouchInteractionEnd(); in handleMotionEventStateDelegating() 780 mAms.onTouchInteractionEnd(); in endGestureDetection() [all …]
|
D | AccessibilityInputFilter.java | 128 private final AccessibilityManagerService mAms; field in AccessibilityInputFilter 161 mAms = service; in AccessibilityInputFilter() 426 mTouchExplorer = new TouchExplorer(mContext, mAms); in enableFeatures() 438 mContext, mAms.getMagnificationController(), in enableFeatures() 446 mAms.setMotionEventInjector(mMotionEventInjector); in enableFeatures() 450 mKeyboardInterceptor = new KeyboardInterceptor(mAms, in enableFeatures() 476 mAms.setMotionEventInjector(null); in disableFeatures()
|
D | MagnificationController.java | 92 private final AccessibilityManagerService mAms; field in MagnificationController 164 mAms = ams; in MagnificationController() 567 mAms.notifyMagnificationChanged(mMagnificationRegion, in onMagnificationChangedLocked()
|
/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()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppWarnings.java | 60 private final ActivityManagerService mAms; field in AppWarnings 92 mAms = ams; in AppWarnings() 107 final Configuration globalConfig = mAms.getGlobalConfiguration(); in showUnsupportedDisplaySizeDialogIfNeeded()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | MagnificationGestureHandlerTest.java | 104 private AccessibilityManagerService mAms; field in MagnificationGestureHandlerTest 115 mAms = new AccessibilityManagerService(mContext); in setUp() 117 mContext, mAms, /* lock */ new Object()) { in setUp()
|