Searched refs:VendorServiceInfo (Results 1 – 3 of 3) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/ |
D | VendorServiceInfoTest.java | 36 assertThrows(IllegalArgumentException.class, () -> VendorServiceInfo.parse("")); in emptyString() 42 () -> VendorServiceInfo.parse(SERVICE_NAME + "#user=system#bind=bind")); in multipleHashTags() 48 () -> VendorServiceInfo.parse(SERVICE_NAME + "#user=system,unknownKey=blah")); in unknownArg() 54 () -> VendorServiceInfo.parse("invalidComponentName")); in invalidComponentName() 60 () -> VendorServiceInfo.parse(SERVICE_NAME + "#maxRetries=seven")); in testParse_maxRetriesValueNotANumber() 65 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME); in testServiceNameWithDefaults() 78 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#bind=start"); in startService() 88 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#bind=bind"); in bindService() 96 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#bind=startForeground"); in startServiceInForeground() 104 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#trigger=asap"); in triggerAsap() [all …]
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | VendorServiceController.java | 92 private final List<VendorServiceInfo> mVendorServiceInfos = new ArrayList<>(); 208 for (VendorServiceInfo info : mVendorServiceInfos) { in dump() 259 VendorServiceInfo serviceInfo = mVendorServiceInfos.get(i); in onPowerResumed() 295 VendorServiceInfo serviceInfo = mVendorServiceInfos.get(i); in startOrBindServiceForPackage() 305 private static boolean isUserInScope(@UserIdInt int userId, VendorServiceInfo serviceInfo, in isUserInScope() 350 VendorServiceInfo serviceInfo = connection.mVendorServiceInfo; in handleOnUserInvisible() 380 for (VendorServiceInfo service: mVendorServiceInfos) { in startOrBindServicesForUser() 409 private void startOrBindService(VendorServiceInfo service, UserHandle user) { in startOrBindService() 418 private void stopOrUnbindService(VendorServiceInfo service, UserHandle user) { in stopOrUnbindService() 460 VendorServiceInfo service = VendorServiceInfo.parse(rawServiceInfo); in loadXmlConfiguration() [all …]
|
D | VendorServiceInfo.java | 34 final class VendorServiceInfo { class 90 private VendorServiceInfo(@Nullable ComponentName componentName, @Bind int bind, in VendorServiceInfo() method in VendorServiceInfo 153 static VendorServiceInfo parse(String rawServiceInfo) { in parse() 252 return new VendorServiceInfo(cn, bind, userScope, trigger, maxRetries); in parse()
|