Home
last modified time | relevance | path

Searched refs:serviceClass (Results 1 – 25 of 28) sorted by relevance

12

/aosp14/frameworks/base/telephony/java/android/telephony/ims/stub/
H A DImsUtImplBase.java201 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 DIImsUt.aidl83 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 DIImsRegistrationListener.aidl91 void registrationServiceCapabilityChanged(int serviceClass, int event); in registrationServiceCapabilityChanged() argument
102 void registrationFeatureCapabilityChanged(int serviceClass, in registrationFeatureCapabilityChanged() argument
H A DIImsService.aidl36 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 DTrustAgentRule.kt40 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 DImsUtInterface.java122 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 DImsSsData.java256 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 DImsCallForwardInfo.java159 @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 DBaseTrustAgentService.kt43 fun instance(serviceClass: KClass<out BaseTrustAgentService>): BaseTrustAgentService? {
44 return instances[serviceClass]
/aosp14/frameworks/base/tests/vcn/java/com/android/server/vcn/
H A DVcnTestUtils.java29 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 DFactoryResetterTest.java80 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 DSystemServiceManager.java140 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 DBugreportProgressServiceTest.java80 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 DServiceTestCase.java114 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 DBatteryExternalStatsWorkerTest.java202 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 DBatteryExternalStatsWorker.java189 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 DUserManagerServiceTest.java440 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 DDpmMockContext.java259 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() argument
260 return realTestContext.getSystemServiceName(serviceClass); in getSystemServiceName()
/aosp14/frameworks/base/core/java/android/app/
H A DSystemServiceRegistry.java1657 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 DContextImpl.java2216 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() argument
2217 return SystemServiceRegistry.getSystemServiceName(serviceClass); in getSystemServiceName()
/aosp14/frameworks/base/core/java/android/content/
H A DContext.java4415 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 DContextWrapper.java938 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 DMockContext.java680 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() argument
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DBaseShortcutManagerTest.java173 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 DAccountManagerServiceTest.java3515 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() argument
3516 return mMockContext.getSystemServiceName(serviceClass); in getSystemServiceName()

12