/aosp14/frameworks/base/telephony/java/android/telephony/ims/stub/ |
H A D | ImsUtImplBase.java | 201 enable, serviceClass), "updateCallWaiting"); 257 public int queryCallBarringForServiceClass(int cbType, int serviceClass) 260 .queryCallBarringForServiceClass(cbType, serviceClass), 266 String[] barrList, int serviceClass) throws RemoteException { 274 int serviceClass, String password) throws RemoteException { 276 .updateCallBarringWithPassword(cbType, action, barrList, serviceClass, 326 public int queryCallBarringForServiceClass(int cbType, int serviceClass) { in queryCallBarringForServiceClass() argument 422 String[] barrList, int serviceClass) { in updateCallBarringForServiceClass() argument 431 int serviceClass, @NonNull String password) { in updateCallBarringWithPassword() argument 438 public int updateCallForward(int action, int condition, String number, int serviceClass, in updateCallForward() argument [all …]
|
/aosp14/frameworks/base/telephony/java/com/android/ims/internal/ |
H A D | IImsUt.aidl | 83 int serviceClass, int timeSeconds); in updateCallForward() argument 88 int updateCallWaiting(boolean enable, int serviceClass); in updateCallWaiting() argument 118 int queryCallBarringForServiceClass(int cbType, int serviceClass); in queryCallBarringForServiceClass() argument 124 int serviceClass); in updateCallBarringForServiceClass() argument 130 int serviceClass, String password); in updateCallBarringWithPassword() argument
|
H A D | IImsRegistrationListener.aidl | 91 void registrationServiceCapabilityChanged(int serviceClass, int event); in registrationServiceCapabilityChanged() argument 102 void registrationFeatureCapabilityChanged(int serviceClass, in registrationFeatureCapabilityChanged() argument
|
H A D | IImsService.aidl | 36 int open(int phoneId, int serviceClass, in PendingIntent incomingCallIntent, in open() argument 51 void addRegistrationListener(int phoneId, int serviceClass, in addRegistrationListener() argument
|
/aosp14/frameworks/base/tests/TrustTests/src/android/trust/test/lib/ |
H A D | TrustAgentRule.kt | 40 private val serviceClass: KClass<T> 46 val agent get() = BaseTrustAgentService.instance(serviceClass) as T 73 val componentName = ComponentName(context, serviceClass.java) 84 BaseTrustAgentService.instance(serviceClass) != null 89 val componentName = ComponentName(context, serviceClass.java)
|
/aosp14/frameworks/base/telephony/java/com/android/ims/ |
H A D | ImsUtInterface.java | 122 public void queryCallBarring(int cbType, Message result, int serviceClass); in queryCallBarring() argument 167 String[] barrList, int serviceClass); in updateCallBarring() argument 173 String[] barrList, int serviceClass, String password); in updateCallBarring() argument 179 int serviceClass, int timeSeconds, Message result); in updateCallForward() argument 184 public void updateCallWaiting(boolean enable, int serviceClass, Message result); in updateCallWaiting() argument
|
/aosp14/frameworks/base/telephony/java/android/telephony/ims/ |
H A D | ImsSsData.java | 256 public final @ServiceClassFlags int serviceClass; field in ImsSsData 300 @ServiceClassFlags int serviceClass, int result) { in Builder() argument 301 mImsSsData = new ImsSsData(serviceType, requestType, teleserviceType, serviceClass, in Builder() 353 @ServiceClassFlags int serviceClass, int result) { in ImsSsData() argument 357 this.serviceClass = serviceClass; in ImsSsData() 365 serviceClass = in.readInt(); in ImsSsData() 489 return serviceClass; in getServiceClass()
|
H A D | ImsCallForwardInfo.java | 159 @TypeOfAddress int toA, @ImsSsData.ServiceClassFlags int serviceClass, in ImsCallForwardInfo() argument 164 mServiceClass = serviceClass; in ImsCallForwardInfo()
|
/aosp14/frameworks/base/tests/TrustTests/src/android/trust/ |
H A D | BaseTrustAgentService.kt | 43 fun instance(serviceClass: KClass<out BaseTrustAgentService>): BaseTrustAgentService? { 44 return instances[serviceClass]
|
/aosp14/frameworks/base/tests/vcn/java/com/android/server/vcn/ |
H A D | VcnTestUtils.java | 29 Context mockContext, Object service, String name, Class<?> serviceClass) { in setupSystemService() argument 30 doReturn(name).when(mockContext).getSystemServiceName(serviceClass); in setupSystemService()
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/devicepolicy/ |
H A D | FactoryResetterTest.java | 80 Class<?> serviceClass = (Class<?>) inv.getArguments()[0]; in startSession() 81 if (serviceClass.equals(PersistentDataBlockManager.class)) return mPdbm; in startSession() 82 if (serviceClass.equals(StorageManager.class)) return mSm; in startSession() 83 if (serviceClass.equals(UserManager.class)) return mUm; in startSession() 84 throw new IllegalArgumentException("Not expecting call for " + serviceClass); in startSession()
|
/aosp14/frameworks/base/services/core/java/com/android/server/ |
H A D | SystemServiceManager.java | 140 final Class<SystemService> serviceClass = loadClassFromLoader(className, in startService() local 142 return startService(serviceClass); in startService() 154 final Class<SystemService> serviceClass = loadClassFromLoader(className, pathClassLoader); in startServiceFromJar() local 155 return startService(serviceClass); in startServiceFromJar() 204 public <T extends SystemService> T startService(Class<T> serviceClass) { in startService() argument 206 final String name = serviceClass.getName(); in startService() 211 if (!SystemService.class.isAssignableFrom(serviceClass)) { in startService() 217 Constructor<T> constructor = serviceClass.getConstructor(Context.class); in startService()
|
/aosp14/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
H A D | BugreportProgressServiceTest.java | 80 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() argument 81 if (UserManager.class.equals(serviceClass)) { in getSystemServiceName() 84 if (AccountManager.class.equals(serviceClass)) { in getSystemServiceName() 87 return super.getSystemServiceName(serviceClass); in getSystemServiceName()
|
/aosp14/frameworks/base/test-runner/src/android/test/ |
H A D | ServiceTestCase.java | 114 public ServiceTestCase(Class<T> serviceClass) { in ServiceTestCase() argument 115 mServiceClass = serviceClass; in ServiceTestCase()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/ |
H A D | BatteryExternalStatsWorkerTest.java | 202 public <T> T getSystemService(Class<T> serviceClass) { in getSystemService() argument 206 public <T> T getLocalService(Class<T> serviceClass) { in getLocalService() argument 207 if (serviceClass == PowerStatsInternal.class) { in getLocalService()
|
/aosp14/frameworks/base/services/core/java/com/android/server/power/stats/ |
H A D | BatteryExternalStatsWorker.java | 189 public <T> T getSystemService(Class<T> serviceClass) { in getSystemService() argument 190 return mContext.getSystemService(serviceClass); in getSystemService() 193 public <T> T getLocalService(Class<T> serviceClass) { in getLocalService() argument 194 return LocalServices.getService(serviceClass); in getLocalService()
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
H A D | UserManagerServiceTest.java | 440 private <T> void mockGetLocalService(Class<T> serviceClass, T service) { in mockGetLocalService() argument 441 doReturn(service).when(() -> LocalServices.getService(serviceClass)); in mockGetLocalService()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | DpmMockContext.java | 259 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() argument 260 return realTestContext.getSystemServiceName(serviceClass); in getSystemServiceName()
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | SystemServiceRegistry.java | 1657 public static String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() argument 1658 if (serviceClass == null) { in getSystemServiceName() 1661 final String serviceName = SYSTEM_SERVICE_NAMES.get(serviceClass); in getSystemServiceName() 1664 Slog.wtf(TAG, "Unknown manager requested: " + serviceClass.getCanonicalName()); in getSystemServiceName() 1674 @NonNull Class<T> serviceClass, @NonNull ServiceFetcher<T> serviceFetcher) { in registerService() argument 1675 SYSTEM_SERVICE_NAMES.put(serviceClass, serviceName); in registerService() 1677 SYSTEM_SERVICE_CLASS_NAMES.put(serviceName, serviceClass.getSimpleName()); in registerService()
|
H A D | ContextImpl.java | 2216 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() argument 2217 return SystemServiceRegistry.getSystemServiceName(serviceClass); in getSystemServiceName()
|
/aosp14/frameworks/base/core/java/android/content/ |
H A D | Context.java | 4415 public final @Nullable <T> T getSystemService(@NonNull Class<T> serviceClass) { in getSystemService() argument 4419 String serviceName = getSystemServiceName(serviceClass); in getSystemService() 4429 public abstract @Nullable String getSystemServiceName(@NonNull Class<?> serviceClass); in getSystemServiceName() argument
|
H A D | ContextWrapper.java | 938 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() argument 939 return mBase.getSystemServiceName(serviceClass); in getSystemServiceName()
|
/aosp14/frameworks/base/test-mock/src/android/test/mock/ |
H A D | MockContext.java | 680 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() argument
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | BaseShortcutManagerTest.java | 173 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() argument 174 return getTestContext().getSystemServiceName(serviceClass); in getSystemServiceName()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
H A D | AccountManagerServiceTest.java | 3515 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() argument 3516 return mMockContext.getSystemServiceName(serviceClass); in getSystemServiceName()
|