Home
last modified time | relevance | path

Searched refs:hasService (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DCardEmulationManagerTest.java402 when(mRegisteredServicesCache.hasService(eq(USER_ID), any())).thenReturn(true); in testIsServiceRegistered_serviceExists()
408 .hasService(eq(USER_ID),eq(WALLET_PAYMENT_SERVICE)); in testIsServiceRegistered_serviceExists()
413 when(mRegisteredServicesCache.hasService(eq(USER_ID), any())).thenReturn(false); in testIsServiceRegistered_serviceDoesNotExists()
420 .hasService(eq(USER_ID),eq(WALLET_PAYMENT_SERVICE)); in testIsServiceRegistered_serviceDoesNotExists()
425 when(mRegisteredNfcFServicesCache.hasService(eq(USER_ID), any())).thenReturn(true); in testIsNfcServiceInstalled_serviceExists()
431 .hasService(eq(USER_ID),eq(WALLET_PAYMENT_SERVICE)); in testIsNfcServiceInstalled_serviceExists()
436 when(mRegisteredNfcFServicesCache.hasService(eq(USER_ID), any())).thenReturn(false); in testIsNfcServiceInstalled_serviceDoesNotExists()
443 .hasService(eq(USER_ID),eq(WALLET_PAYMENT_SERVICE)); in testIsNfcServiceInstalled_serviceDoesNotExists()
460 when(mRegisteredServicesCache.hasService(eq(USER_ID), any())).thenReturn(true); in testCardEmulationIsDefaultServiceForCategory_serviceExistsWalletEnabled()
476 .hasService(eq(USER_ID),eq(WALLET_PAYMENT_SERVICE)); in testCardEmulationIsDefaultServiceForCategory_serviceExistsWalletEnabled()
[all …]
DRegisteredNfcFServicesCacheTest.java250 boolean result = cache.hasService(USER_ID, WALLET_COMPONENT); in testHasService_ReturnsFalse()
260 boolean result = cache.hasService(USER_ID, WALLET_COMPONENT); in testHasService_ReturnsTrue()
DRegisteredServicesCacheTest.java476 Assert.assertTrue(mRegisteredServicesCache.hasService(USER_ID, ANOTHER_SERVICE_COMPONENT)); in testHasService()
477 Assert.assertTrue(mRegisteredServicesCache.hasService(USER_ID, in testHasService()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothClass.java137 public boolean hasService(int service) { in hasService() method in BluetoothClass
315 if (hasService(Service.RENDER)) { in doesClassMatch()
331 if (hasService(Service.CAPTURE)) { in doesClassMatch()
348 if (hasService(Service.RENDER)) { in doesClassMatch()
361 if (hasService(Service.OBJECT_TRANSFER)) { in doesClassMatch()
387 if (hasService(Service.NETWORKING)) { in doesClassMatch()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DCardEmulationManager.java485 return mServiceCache.hasService(userId, service) ? service : null; in getDefaultServiceForCategory()
501 if (service == null || mServiceCache.hasService(userId, service)) { in setDefaultServiceForCategoryChecked()
513 boolean serviceFound = mServiceCache.hasService(userId, service); in isServiceRegistered()
523 return mServiceCache.hasService(userId, service); in isServiceRegistered()
527 boolean serviceFound = mNfcFServicesCache.hasService(userId, service); in isNfcFServiceInstalled()
537 return mNfcFServicesCache.hasService(userId, service); in isNfcFServiceInstalled()
DRegisteredNfcFServicesCache.java238 public boolean hasService(int userId, ComponentName componentName) { in hasService() method in RegisteredNfcFServicesCache
DRegisteredServicesCache.java376 public boolean hasService(int userId, ComponentName service) { in hasService() method in RegisteredServicesCache
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsRecordRepository.java266 final boolean hasService = !TextUtils.isEmpty(serviceInfo.getServiceType()); in ServiceRegistration()
267 final String[] serviceType = hasService ? splitServiceType(serviceInfo) : null; in ServiceRegistration()
269 hasService ? splitFullyQualifiedName(serviceInfo, serviceType) : null; in ServiceRegistration()
270 if (hasService && hasSrvRecord(serviceInfo)) { in ServiceRegistration()
352 if (hasKey && hasService) { in ServiceRegistration()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountRegistrar.java1521 boolean hasService = false; in maybeNotifyTelephonyForVoiceServiceState()
1531 hasService = in maybeNotifyTelephonyForVoiceServiceState()
1554 hasService = in maybeNotifyTelephonyForVoiceServiceState()
1570 hasService); in maybeNotifyTelephonyForVoiceServiceState()
1581 simTm.setVoiceServiceStateOverride(hasService); in maybeNotifyTelephonyForVoiceServiceState()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java12702 public void setVoiceServiceStateOverride(int subId, boolean hasService, String callingPackage) { in setVoiceServiceStateOverride() argument
12713 + ", hasService=" + hasService + ", callingPackage=" + callingPackage); in setVoiceServiceStateOverride()
12714 phone.setVoiceServiceStateOverride(hasService); in setVoiceServiceStateOverride()
/packages/modules/Bluetooth/framework/api/
Dcurrent.txt329 method public boolean hasService(int);
/packages/apps/TV/libs/m2/
Djavac-shaded-9-dev-r4023-3.jarorg/openjdk/tools/sjavac/server/log/LoggingOutputStream.class LoggingOutputStream.java package ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...