Home
last modified time | relevance | path

Searched refs:mServiceThreadRule (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DAppErrorDialogTest.java66 public ServiceThreadRule mServiceThreadRule = new ServiceThreadRule(); field in AppErrorDialogTest
83 return mServiceThreadRule.getThread().getThreadHandler(); in setUp()
90 }, mServiceThreadRule.getThread()); in setUp()
DCoreSettingsObserverTest.java69 @Rule public ServiceThreadRule mServiceThreadRule = new ServiceThreadRule(); field in CoreSettingsObserverTest
111 mServiceThreadRule.getThread()); in setUp()
189 return mServiceThreadRule.getThread().getThreadHandler(); in getUiHandler()
DAnrHelperTest.java73 public ServiceThreadRule mServiceThreadRule = new ServiceThreadRule(); field in AnrHelperTest
95 return mServiceThreadRule.getThread().getThreadHandler(); in setUp()
97 }, mServiceThreadRule.getThread()); in setUp()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DActivityManagerInternalTest.java53 mServiceThreadRule = new ApplicationExitInfoTest.ServiceThreadRule(); field in ActivityManagerInternalTest
66 doReturn(mServiceThreadRule.getThread().getThreadHandler()).when(mMockInjector) in setUp()
70 mAms = new ActivityManagerService(mMockInjector, mServiceThreadRule.getThread()); in setUp()
DServiceTimeoutTest.java76 public final ServiceThreadRule mServiceThreadRule = new ServiceThreadRule(); field in ServiceTimeoutTest
110 new TestInjector(mContext), mServiceThreadRule.getThread()); in setUp()
DAsyncProcessStartTest.java81 mServiceThreadRule = new ApplicationExitInfoTest.ServiceThreadRule(); field in AsyncProcessStartTest
133 new TestInjector(mContext), mServiceThreadRule.getThread()); in setUp()
DProcessObserverTest.java80 mServiceThreadRule = new ApplicationExitInfoTest.ServiceThreadRule(); field in ProcessObserverTest
134 new TestInjector(mContext), mServiceThreadRule.getThread()); in setUp()
DBaseBroadcastQueueTest.java91 mServiceThreadRule = new ApplicationExitInfoTest.ServiceThreadRule(); field in BaseBroadcastQueueTest
163 new TestInjector(mContext), mServiceThreadRule.getThread()); in setUp()
DAppChildProcessTest.java68 @Rule public ServiceThreadRule mServiceThreadRule = new ServiceThreadRule(); field in AppChildProcessTest
103 mAms = new ActivityManagerService(mInjector, mServiceThreadRule.getThread()); in setUp()
DApplicationStartInfoTest.java86 @Rule public ServiceThreadRule mServiceThreadRule = new ServiceThreadRule(); field in ApplicationStartInfoTest
112 mAms = new ActivityManagerService(mInjector, mServiceThreadRule.getThread()); in setUp()
DServiceBindingOomAdjPolicyTest.java115 public final ServiceThreadRule mServiceThreadRule = new ServiceThreadRule(); field in ServiceBindingOomAdjPolicyTest
167 new TestInjector(mContext), mServiceThreadRule.getThread()); in setUp()
DCachedAppOptimizerTest.java90 mServiceThreadRule = new ApplicationExitInfoTest.ServiceThreadRule(); field in CachedAppOptimizerTest
108 new TestInjector(mContext), mServiceThreadRule.getThread()); in setUp()
999 mAms = new ActivityManagerService(mInjector, mServiceThreadRule.getThread()); in initActivityManagerService()
DCacheOomRankerTest.java92 mServiceThreadRule = new ApplicationExitInfoTest.ServiceThreadRule(); field in CacheOomRankerTest
115 new TestInjector(context), mServiceThreadRule.getThread()); in setUp()
DApplicationExitInfoTest.java100 @Rule public ServiceThreadRule mServiceThreadRule = new ServiceThreadRule(); field in ApplicationExitInfoTest
138 mAms = new ActivityManagerService(mInjector, mServiceThreadRule.getThread()); in setUp()
DActivityManagerServiceTest.java217 mServiceThreadRule = new ApplicationExitInfoTest.ServiceThreadRule(); field in ActivityManagerServiceTest
271 mAms = new ActivityManagerService(mInjector, mServiceThreadRule.getThread(), in setUp()