Home
last modified time | relevance | path

Searched refs:getService (Results 1 – 25 of 109) sorted by relevance

12345

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPendingIntentTest.java104 PendingIntent pendingIntent = PendingIntent.getService(context, 99, intent, 100); in getService_shouldCreateIntentForBroadcast()
385 PendingIntent pendingIntent = PendingIntent.getService(context, 99, intent, FLAG_NO_CREATE); in getService_withFlagNoCreate_shouldReturnNullIfNoPendingIntentExists()
392 PendingIntent.getService(context, 99, intent, 0); in getService_withFlagNoCreate_shouldReturnNullIfRequestCodeIsUnmatched()
393 assertThat(PendingIntent.getService(context, 98, intent, FLAG_NO_CREATE)).isNull(); in getService_withFlagNoCreate_shouldReturnNullIfRequestCodeIsUnmatched()
399 PendingIntent.getService(context, 99, intent, 100); in getService_withFlagNoCreate_shouldReturnExistingIntent()
402 PendingIntent saved = PendingIntent.getService(context, 99, identical, FLAG_NO_CREATE); in getService_withFlagNoCreate_shouldReturnExistingIntent()
410 PendingIntent.getService(context, 99, intent, 100); in getService_withNoFlags_shouldReturnExistingIntent()
413 PendingIntent saved = PendingIntent.getService(context, 99, identical, 0); in getService_withNoFlags_shouldReturnExistingIntent()
493 PendingIntent pendingIntent = PendingIntent.getService(context, 99, intent, 100); in cancel_shouldRemovePendingIntentForService()
497 assertThat(PendingIntent.getService(context, 99, intent, FLAG_NO_CREATE)).isNull(); in cancel_shouldRemovePendingIntentForService()
[all …]
DShadowServiceManagerTest.java17 assertThat(ServiceManager.getService(Context.INPUT_METHOD_SERVICE)).isNotNull(); in getService_available_shouldReturnNonNull()
23 assertThat(ServiceManager.getService(Context.INPUT_METHOD_SERVICE)).isNull(); in getService_unavailableService_shouldReturnNull()
DShadowAlarmManagerTest.java289 PendingIntent pI = PendingIntent.getService(context, 1, intent, 0); in schedule_useRequestCodeToMatchExistingPendingIntents()
292 PendingIntent pI2 = PendingIntent.getService(context, 2, intent, 0); in schedule_useRequestCodeToMatchExistingPendingIntents()
301 PendingIntent pI = PendingIntent.getService(context, 1, intent, 0); in cancel_useRequestCodeToMatchExistingPendingIntents()
304 PendingIntent pI2 = PendingIntent.getService(context, 2, intent, 0); in cancel_useRequestCodeToMatchExistingPendingIntents()
318 PendingIntent pI = PendingIntent.getService(context, 1, intent, 0); in cancel_removesMatchingListeners()
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/health/v1/
DHealthCheckRequest.java88 public java.lang.String getService() { in getService() method in HealthCheckRequest
159 result = result && getService() in equals()
160 .equals(other.getService()); in equals()
173 hash = (53 * hash) + getService().hashCode(); in hashCode()
369 if (!other.getService().isEmpty()) { in mergeFrom()
404 public java.lang.String getService() { in getService() method in HealthCheckRequest.Builder
450 service_ = getDefaultInstance().getService(); in clearService()
DHealthCheckRequestOrBuilder.java13 java.lang.String getService(); in getService() method
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DHealthServiceImpl.java42 ServingStatus status = getStatus(request.getService()); in check()
45 Status.NOT_FOUND.withDescription("unknown service " + request.getService()))); in check()
/external/icu/icu4c/source/common/
Dbrkiter.cpp309 getService(void) in getService() function
321 return !gInitOnceBrkiter.isReset() && getService() != NULL; in hasService()
329 ICULocaleService *service = getService(); in registerInstance()
356 ICULocaleService *service = getService(); in getAvailableLocales()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DVpnFacade.java52 mService = manager.getService(); in VpnFacade()
55 .asInterface(ServiceManager.getService(Context.CONNECTIVITY_SERVICE)); in VpnFacade()
DTextToSpeechFacade.java41 mTts = new TextToSpeech(manager.getService(), new OnInitListener() { in TextToSpeechFacade()
DNfcManagerFacade.java44 mService = manager.getService(); in NfcManagerFacade()
/external/slf4j/osgi-over-slf4j/src/main/java/org/slf4j/osgi/logservice/impl/
DLogServiceFactory.java52 public Object getService(Bundle bundle, ServiceRegistration arg1) { in getService() method in LogServiceFactory
/external/icu/icu4c/source/i18n/
Dcoll.cpp206 getService(void) in getService() function
217 UBool retVal = !gServiceInitOnce.isReset() && (getService() != NULL); in hasService()
687 return getService()->registerInstance(toAdopt, locale, status); in registerInstance()
781 return getService()->registerFactory(f, status); in registerFactory()
871 return getService()->getAvailableLocales(); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowActivityTaskManager.java16 protected static IActivityTaskManager getService() { in getService() method in ShadowActivityTaskManager
DShadowPlayerBase.java16 public static IAudioService getService() { in getService() method in ShadowPlayerBase
DShadowBluetoothDevice.java39 protected static IBluetooth getService() { in getService() method in ShadowBluetoothDevice
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/reflection/v1alpha/
DListServiceResponseOrBuilder.java28 io.grpc.reflection.v1alpha.ServiceResponse getService(int index); in getService() method
/external/setupcompat/main/java/com/google/android/setupcompat/internal/
DSetupCompatServiceProvider.java55 return getInstance(context).getService(waitTime, timeUnit); in get()
59 public ISetupCompatService getService(long timeout, TimeUnit timeUnit) in getService() method in SetupCompatServiceProvider
/external/perfetto/src/android_internal/
Dincident_service.cc54 android::defaultServiceManager()->getService( in StartIncidentReport()
Datrace_hal.cc36 g_atraceHal = IAtraceDevice::getService(); in GetService()
/external/nos/host/android/citadel/citadeld/
DCitadeldProxyClient.cpp43 _citadeld = ICitadeld::asInterface(defaultServiceManager()->getService(ICitadeld::descriptor)); in Open()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/
DAudioManagerFacade.java39 mService = manager.getService(); in AudioManagerFacade()
/external/grpc-grpc-java/gae-interop-testing/gae-jdk7/
Dbuild.gradle105 String getService(java.nio.file.Path projectPath) {
125 getService(project.getProjectDir().toPath()),
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothAvrcpFacade.java49 mService = manager.getService(); in BluetoothAvrcpFacade()
DBluetoothPanFacade.java49 mService = manager.getService(); in BluetoothPanFacade()
/external/deqp/android/package/src/com/drawelements/deqp/execserver/
DExecService.java54 ExecService getService () { in getService() method in ExecService.LocalBinder

12345