/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
ResourceBasedPeriodFormatterDataServiceTest.java | 29 ResourceBasedPeriodFormatterDataService service = local 31 Collection locales = service.getAvailableLocales(); 34 PeriodFormatterData pfd = service.get(locale);
|
/frameworks/base/core/java/android/os/ |
ServiceManager.java | 106 // Find the service manager 113 * Returns a reference to a service with the given name. 115 * @param name the name of the service to get 116 * @return a reference to the service, or <code>null</code> if the service doesn't exist 120 IBinder service = sCache.get(name); local 121 if (service != null) { 122 return service; 133 * Returns a reference to a service with the given name, or throws 148 * Place a new @a service called @a name into the servic 196 IBinder service = sCache.get(name); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
ZenModeController.java | 21 import android.service.notification.Condition; 22 import android.service.notification.ZenModeConfig; 23 import android.service.notification.ZenModeConfig.ZenRule;
|
/frameworks/base/tests/Internal/src/android/service/wallpaper/ |
WallpaperServiceTest.java | 17 package android.service.wallpaper; 36 WallpaperService service = new WallpaperService() { local 47 WallpaperService.Engine engine = service.onCreateEngine();
|
/frameworks/support/compat/src/main/java/androidx/core/app/ |
ServiceCompat.java | 22 import android.app.Service; 33 * Helper for accessing features in {@link android.app.Service}. 42 * Constant to return from {@link android.app.Service#onStartCommand}: if this 43 * service's process is killed while it is started (after returning from 44 * {@link android.app.Service#onStartCommand}), then leave it in the started 46 * re-create the service. Because it is in the started state, it will 47 * guarantee to call {@link android.app.Service#onStartCommand} after creating 48 * the new service instance; if there are not any pending start commands to be 49 * delivered to the service, it will be called with a null intent 53 * and stopped to run for arbitrary periods of time, such as a service [all...] |
/hardware/interfaces/audio/common/all-versions/default/service/ |
Android.mk | 20 # Service 24 LOCAL_MODULE := android.hardware.audio@2.0-service 25 LOCAL_INIT_RC := android.hardware.audio@2.0-service.rc 29 service.cpp
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/utils/ |
TestUtils.java | 33 ResolveInfo service, String id, String parentId, int type, boolean isHardwareInput) 35 return createTvInputInfo(service, id, parentId, type, isHardwareInput, false, 0); 44 ResolveInfo service, 56 service, id, parentId, type, isHardwareInput, canRecord, tunerCount); 60 service, id, parentId, type, isHardwareInput, canRecord, tunerCount); 62 return createTvInputInfoForMnc(service, id, parentId, type, isHardwareInput); 66 * private TvInputInfo(ResolveInfo service, String id, int type, boolean isHardwareInput, 72 ResolveInfo service, 100 service, 119 * private TvInputInfo(ResolveInfo service, String id, int type, boolean isHardwareInput [all...] |
/system/core/adb/ |
adb_client.h | 26 // Connect to adb, connect to the named service, and return a valid fd for 27 // interacting with that service upon success or a negative number on failure. 28 int adb_connect(const std::string& service, std::string* _Nonnull error); 33 // Connect to adb, connect to the named service, returns true if the connection 34 // succeeded AND the service returned OKAY. Outputs any returned error otherwise. 35 bool adb_command(const std::string& service); 37 // Connects to the named adb service and fills 'result' with the response. 39 bool adb_query(const std::string& service, std::string* _Nonnull result,
|
/system/hwservicemanager/ |
ServiceManager.cpp | 35 forEachServiceEntry([f] (const HidlService *service) { 36 if (service->getService() == nullptr) { 39 f(service); 94 std::unique_ptr<HidlService> &&service) { 95 mInstanceMap.insert({service->getInstanceName(), std::move(service)}); 116 const std::unique_ptr<HidlService> &service = instanceMapping.second; local 118 if (service->getService() == nullptr) { 123 service->getInterfaceName(), 124 service->getInstanceName() 159 const std::unique_ptr<HidlService> &service = servicePair.second; local 203 sp<IBase> service = hidlService->getService(); local 350 const std::unique_ptr<HidlService> &service = serviceMapping.second; local 359 const std::unique_ptr<HidlService> &service = serviceMapping.second; local 393 HidlService *service = ifaceMap.lookup(name); local 439 HidlService *service = ifaceMap.lookup(name); local 498 HidlService *service = ifaceMap.lookup(name); local 520 const std::unique_ptr<HidlService> &service = servicePair.second; local [all...] |
/system/libhidl/transport/ |
HidlTransportSupport.cpp | 41 bool setMinSchedulerPolicy(const sp<::android::hidl::base::V1_0::IBase>& service, 43 if (service->isRemote()) { 44 ALOGE("Can't set scheduler policy on remote service."); 61 details::gServicePrioMap.set(service, { policy, priority });
|
/system/security/keystore/ |
keystore_get.cpp | 29 sp<android::security::IKeystoreService> service = local 32 if (service == NULL) { 37 auto ret = service->get(String16(key, keyLength), -1, &result);
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityVolumeTest.java | 62 assertEquals("Non accessibility service should not be able to change accessibility volume", 74 final InstrumentedAccessibilityService service = InstrumentedAccessibilityService local 77 service.runOnServiceSync(() -> 80 assertEquals("Accessibility service should be able to change accessibility volume", 82 service.runOnServiceSync(() -> mAudioManager.setStreamVolume( 85 if (service != null) { 86 service.runOnServiceSync(() -> service.disableSelf());
|
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/ |
FakeAutofillDataBuilder.java | 17 package com.example.android.autofill.service.data; 19 import com.example.android.autofill.service.AutofillHints; 20 import com.example.android.autofill.service.model.AutofillDataset; 21 import com.example.android.autofill.service.model.DatasetWithFilledAutofillFields; 22 import com.example.android.autofill.service.model.FieldTypeWithHeuristics; 23 import com.example.android.autofill.service.model.FilledAutofillField;
|
/external/freetype/src/base/ |
ftmm.c | 101 FT_Service_MultiMasters service; local 109 error = ft_face_get_mm_service( face, &service ); 113 if ( service->get_mm ) 114 error = service->get_mm( face, amaster ); 128 FT_Service_MultiMasters service; local 136 error = ft_face_get_mm_service( face, &service ); 140 if ( service->get_mm_var ) 141 error = service->get_mm_var( face, amaster ); 175 FT_Service_MultiMasters service; local 183 error = ft_face_get_mm_service( face, &service ); 258 FT_Service_MultiMasters service; local 385 FT_Service_MultiMasters service; local 416 FT_Service_MultiMasters service; local [all...] |
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/ |
service_registry.hpp | 20 template <typename Service, typename Arg> 22 asio::io_service& o, Service*, Arg arg) 24 first_service_(new Service(o, arg)) 26 asio::io_service::service::key key; 27 init_key(key, Service::id); 32 template <typename Service> 33 Service& service_registry::first_service() 35 return *static_cast<Service*>(first_service_); 38 template <typename Service> 39 Service& service_registry::use_service( [all...] |
/frameworks/base/core/java/android/service/carrier/ |
ICarrierMessagingService.aidl | 17 package android.service.carrier; 20 import android.service.carrier.ICarrierMessagingCallback; 21 import android.service.carrier.MessagePdu; 25 * This service can only be implemented by a carrier privileged app. 31 * The service will call callback.onFilterComplete with the filtering result. 45 * The service will call {@link ICarrierMessagingCallback#onSendSmsComplete} with the send 59 * The service will call {@link ICarrierMessagingCallback#onSendSmsComplete} with the send 74 * The service will call {@link ICarrierMessagingCallback#onSendMultipartSmsComplete} 88 * The service will call {@link ICarrierMessagingCallback#onSendMmsComplete} with the send 102 * The service will call {@link ICarrierMessagingCallback#onDownloadMmsComplete} with th [all...] |
/hardware/interfaces/graphics/composer/2.2/default/ |
Android.mk | 4 LOCAL_MODULE := android.hardware.graphics.composer@2.2-service 8 LOCAL_SRC_FILES := service.cpp 9 LOCAL_INIT_RC := android.hardware.graphics.composer@2.2-service.rc
|
/hardware/interfaces/keymaster/3.0/default/ |
Android.mk | 28 LOCAL_MODULE := android.hardware.keymaster@3.0-service 29 LOCAL_INIT_RC := android.hardware.keymaster@3.0-service.rc 31 service.cpp
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
Provider2Test.java | 131 // Regression Test for Provider.Service.getAlias(), which is an package 137 Provider.Service service = new Provider.Service(mockProvider, local 139 mockProvider.putService(service); 162 public void putService(Provider.Service service) { 163 super.putService(service); 166 public void removeService(Provider.Service service) { [all...] |
/system/connectivity/wificond/tests/integration/ |
service_test.cpp | 45 sp<IWificond> service = dev_mode.EnterDevModeOrDie(); local 48 EXPECT_TRUE(service->enableSupplicant(&supplicant_started).isOk()); 61 service = dev_mode.EnterDevModeOrDie(); 67 sp<IWificond> service = dev_mode.EnterDevModeOrDie(); local 71 EXPECT_TRUE(service->enableSupplicant(&supplicant_started).isOk()); 84 service->disableSupplicant(&supplicant_stopped).isOk());
|
/system/security/keystore-engine/ |
keystore_backend_binder.cpp | 43 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder); local 45 if (service == NULL) { 52 auto ret = service->sign(String16(key_id), inBlob, &reply_vec); 67 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder); local 69 if (service == NULL) { 75 auto ret = service->get_pubkey(String16(key_id), &pubkey_vec);
|
keystore_backend_hidl.cpp | 41 sp<IKeystore> service = IKeystore::tryGetService(); local 42 if (service == NULL) { 56 Return<void> ret = service->sign( 71 sp<IKeystore> service = IKeystore::tryGetService(); local 72 if (service == NULL) { 86 Return<void> ret = service->getPublicKey(key_id, cb);
|
/cts/tests/framework/base/activitymanager/app/src/android/server/am/ |
AssistantVoiceInteractionSessionService.java | 21 import android.service.voice.VoiceInteractionSession; 22 import android.service.voice.VoiceInteractionSessionService;
|
/cts/tests/tests/dreams/src/android/service/dreams/cts/ |
DreamServiceTest.java | 16 package android.service.dreams.cts; 18 import android.service.dreams.DreamService;
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
CarrierServiceTest.java | 21 import android.service.carrier.CarrierIdentifier; 22 import android.service.carrier.CarrierService;
|