Home
last modified time | relevance | path

Searched refs:RunningServiceInfo (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/externalservice/common/src/android/externalservice/common/
DRunningServiceInfo.java33 public class RunningServiceInfo implements Parcelable { class
60 public static final Parcelable.Creator<RunningServiceInfo> CREATOR
61 = new Parcelable.Creator<RunningServiceInfo>() {
62 public RunningServiceInfo createFromParcel(Parcel source) {
63 RunningServiceInfo info = new RunningServiceInfo();
71 public RunningServiceInfo[] newArray(int size) {
72 return new RunningServiceInfo[size];
90 RunningServiceInfo mInfo;
97 msg.getData().setClassLoader(RunningServiceInfo.class.getClassLoader()); in handleMessage()
106 public static RunningServiceInfo identifyService( in identifyService()
/cts/tests/app/src/android/app/cts/
DActivityManager_RunningServiceInfoTest.java25 private ActivityManager.RunningServiceInfo mRunningServiceInfo;
32 mRunningServiceInfo = new ActivityManager.RunningServiceInfo(); in setUp()
48 new ActivityManager.RunningServiceInfo(); in testConstructor()
60 ActivityManager.RunningServiceInfo values = in testWriteToParcel()
61 ActivityManager.RunningServiceInfo.CREATOR.createFromParcel(parcel); in testWriteToParcel()
79 ActivityManager.RunningServiceInfo values = in testReadFromParcel()
80 new ActivityManager.RunningServiceInfo(); in testReadFromParcel()
DActivityManagerTest.java57 import android.app.ActivityManager.RunningServiceInfo;
475 List<RunningServiceInfo> runningServiceInfo;
493 for (RunningServiceInfo rs : runningServiceInfo) {
DServiceTest.java1125 … List<ActivityManager.RunningServiceInfo> services = am.getRunningServices(maxReturnedServices); in testRunningServices()
/cts/tests/tests/externalservice/src/android/externalservice/cts/
DSharedIsolatedServiceTest.java23 import android.externalservice.common.RunningServiceInfo;
62 assertTrue(mCondition.block(RunningServiceInfo.CONDITION_TIMEOUT)); in testBasicConnection()
98 assertTrue(mCondition.block(RunningServiceInfo.CONDITION_TIMEOUT)); in testMultipleServicesWithSingleInstance()
102 RunningServiceInfo serviceInfo1 = identifyService(new Messenger(mConnection.mService)); in testMultipleServicesWithSingleInstance()
119 assertTrue(mCondition.block(RunningServiceInfo.CONDITION_TIMEOUT)); in testMultipleServicesWithSingleInstance()
123 RunningServiceInfo serviceInfo2 = identifyService(new Messenger(connection2.mService)); in testMultipleServicesWithSingleInstance()
145 assertTrue(mCondition.block(RunningServiceInfo.CONDITION_TIMEOUT)); in testMultipleServicesWithMultiInstance()
149 RunningServiceInfo serviceInfo1 = identifyService(new Messenger(mConnection.mService)); in testMultipleServicesWithMultiInstance()
166 assertTrue(mCondition.block(RunningServiceInfo.CONDITION_TIMEOUT)); in testMultipleServicesWithMultiInstance()
170 RunningServiceInfo serviceInfo2 = identifyService(new Messenger(connection2.mService)); in testMultipleServicesWithMultiInstance()
[all …]
DPackagePrivateIsolatedServiceTest.java34 import android.externalservice.common.RunningServiceInfo;
108 assertTrue(mCondition.block(RunningServiceInfo.CONDITION_TIMEOUT)); in testBasicConnection()
137 assertTrue(mCondition.block(RunningServiceInfo.CONDITION_TIMEOUT)); in testBindExportedServiceSharedProcessNotAllowed()
164 assertTrue(mCondition.block(RunningServiceInfo.CONDITION_TIMEOUT)); in testBindMultipleExportedServiceS()
168 RunningServiceInfo serviceInfo1 = identifyService(new Messenger(mConnection.mService)); in testBindMultipleExportedServiceS()
189 assertTrue(mCondition.block(RunningServiceInfo.CONDITION_TIMEOUT)); in testBindMultipleExportedServiceS()
193 RunningServiceInfo serviceInfo2 = identifyService(new Messenger(connection2.mService)); in testBindMultipleExportedServiceS()
473 private RunningServiceInfo identifyService(Messenger service) { in identifyService()
475 return RunningServiceInfo.identifyService(service, TAG, mCondition); in identifyService()
DExternalServiceTest.java23 import android.externalservice.common.RunningServiceInfo;
141 RunningServiceInfo id = identifyService(remote); in testBindExternalService()
165 RunningServiceInfo creatorId = identifyService(remoteCreator); in testBindExternalServiceWithRunningOwn()
199 RunningServiceInfo creatorServiceId = identifyService(remoteCreatorService); in testBindExternalServiceWithRunningOwn()
211 RunningServiceInfo serviceId = identifyService(new Messenger(mConnection.service)); in testBindExternalServiceWithRunningOwn()
261 RunningServiceInfo idOne = identifyService(new Messenger(initialConn.service)); in testBindExternalAboveClient()
274 RunningServiceInfo idTwo = identifyService(new Messenger(prioConn.service)); in testBindExternalAboveClient()
306 RunningServiceInfo id = identifyService(remote); in testBindExternalServiceWithZygote()
362 RunningServiceInfo creatorServiceId = identifyService(remoteCreatorService); in testBindExternalServiceWithZygoteWithRunningOwn()
375 RunningServiceInfo serviceId = identifyService(new Messenger(mConnection.service)); in testBindExternalServiceWithZygoteWithRunningOwn()
[all …]
/cts/tests/tests/externalservice/service/src/android/externalservice/service/
DBaseService.java30 import android.externalservice.common.RunningServiceInfo;
58 RunningServiceInfo serviceInfo = new RunningServiceInfo(); in handleMessage()
/cts/tests/app/AppExitTest/src/android/app/cts/
DActivityManagerAppExitInfoTest.java45 import android.externalservice.common.RunningServiceInfo;
761 RunningServiceInfo id = identifyService(remote); in testOther()
1154 private RunningServiceInfo identifyService(Messenger service) throws Exception { in identifyService()
1161 RunningServiceInfo mInfo; in identifyService()
1168 msg.getData().setClassLoader(RunningServiceInfo.class.getClassLoader()); in identifyService()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java29 import android.app.ActivityManager.RunningServiceInfo;
411 for (RunningServiceInfo service : manager.getRunningServices(Integer.MAX_VALUE)) { in checkIfServiceRunning()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt4726 …method @Deprecated public java.util.List<android.app.ActivityManager.RunningServiceInfo> getRunnin…
4843 public static class ActivityManager.RunningServiceInfo implements android.os.Parcelable {
4844 ctor public ActivityManager.RunningServiceInfo();
4848 …static final android.os.Parcelable.Creator<android.app.ActivityManager.RunningServiceInfo> CREATOR;
5234 field public android.app.ApplicationErrorReport.RunningServiceInfo runningServiceInfo;
5276 public static class ApplicationErrorReport.RunningServiceInfo {
5277 ctor public ApplicationErrorReport.RunningServiceInfo();
5278 ctor public ApplicationErrorReport.RunningServiceInfo(android.os.Parcel);