Searched refs:service (Results 1 - 25 of 271) sorted by relevance

1234567891011

/frameworks/base/core/java/android/service/notification/
H A DStatusBarNotification.aidl17 package android.service.notification;
H A DINotificationListener.aidl17 package android.service.notification;
19 import android.service.notification.StatusBarNotification;
/frameworks/native/libs/binder/
H A DAppOpsManager.cpp29 static const sp<IBinder>& getToken(const sp<IAppOpsService>& service) { argument
32 gToken = service->getToken(new BBinder());
46 sp<IAppOpsService> service = mService; local
47 while (service == NULL || !service->asBinder()->isBinderAlive()) {
50 // Wait for the app ops service to come back...
53 ALOGI("Waiting for app ops service");
55 ALOGW("Waiting too long for app ops service, giving up");
60 service = interface_cast<IAppOpsService>(binder);
61 mService = service;
70 sp<IAppOpsService> service = getService(); local
75 sp<IAppOpsService> service = getService(); local
80 sp<IAppOpsService> service = getService(); local
86 sp<IAppOpsService> service = getService(); local
94 sp<IAppOpsService> service = getService(); local
101 sp<IAppOpsService> service = getService(); local
[all...]
/frameworks/base/core/java/android/service/dreams/
H A DIDreamService.aidl17 package android.service.dreams;
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DWindowManagerGlobal_Delegate.java40 public static void setWindowManagerService(IWindowManager service) { argument
41 sService = service;
/frameworks/base/core/java/android/service/wallpaper/
H A DIWallpaperService.aidl17 package android.service.wallpaper;
19 import android.service.wallpaper.IWallpaperConnection;
H A DIWallpaperConnection.aidl17 package android.service.wallpaper;
20 import android.service.wallpaper.IWallpaperEngine;
/frameworks/base/services/common_time/
H A Dmain.cpp18 * A service that exchanges time synchronization information between
33 sp<CommonTimeServer> service = new CommonTimeServer();
34 if (service == NULL)
38 service->run("CommonTimeServer", ANDROID_PRIORITY_NORMAL);
/frameworks/base/core/java/android/content/
H A DServiceConnection.java22 * Interface for monitoring the state of an application service. See
34 * @param name The concrete component name of the service that has
37 * @param service The IBinder of the Service's communication channel,
40 public void onServiceConnected(ComponentName name, IBinder service); argument
44 * happens when the process hosting the service has crashed or been killed.
46 * binding to the service will remain active, and you will receive a call
49 * @param name The concrete component name of the service whose
/frameworks/native/cmds/service/
H A DAndroid.mk5 service.cpp
14 LOCAL_MODULE:= service
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardTouchDelegate.java53 public void onServiceConnected(ComponentName name, IBinder service) {
55 mService = IKeyguardService.Stub.asInterface(service);
88 final IKeyguardService service = mService;
89 if (service != null) {
91 return service.isSecure();
102 final IKeyguardService service = mService;
103 if (service != null) {
105 service.dispatch(event);
118 final IKeyguardService service = mService;
119 if (service !
[all...]
/frameworks/base/core/java/android/os/
H A DSystemService.java36 * State of a known {@code init} service.
62 /** Request that the init daemon start a named service. */
67 /** Request that the init daemon stop a named service. */
72 /** Request that the init daemon restart a named service. */
78 * Return current state of given service.
80 public static State getState(String service) { argument
81 final String rawState = SystemProperties.get("init.svc." + service);
91 * Check if given service is {@link State#STOPPED}.
93 public static boolean isStopped(String service) { argument
94 return State.STOPPED.equals(getState(service));
100 isRunning(String service) argument
107 waitForState(String service, State state, long timeoutMillis) argument
[all...]
H A DServiceManager.java38 // Find the service manager
44 * Returns a reference to a service with the given name.
46 * @param name the name of the service to get
47 * @return a reference to the service, or <code>null</code> if the service doesn't exist
51 IBinder service = sCache.get(name);
52 if (service != null) {
53 return service;
64 * Place a new @a service called @a name into the service
70 addService(String name, IBinder service) argument
87 addService(String name, IBinder service, boolean allowIsolated) argument
[all...]
/frameworks/base/media/java/android/media/
H A DAudioManager.java471 IAudioService service = getService();
473 service.dispatchMediaKeyEvent(keyEvent);
591 IAudioService service = getService();
594 service.adjustMasterVolume(direction, flags, mContext.getOpPackageName());
596 service.adjustStreamVolume(streamType, direction, flags,
622 IAudioService service = getService();
625 service.adjustMasterVolume(direction, flags, mContext.getOpPackageName());
627 service.adjustVolume(direction, flags, mContext.getOpPackageName());
652 IAudioService service = getService();
655 service
[all...]
/frameworks/base/core/java/android/app/
H A DIServiceConnection.aidl24 void connected(in ComponentName name, IBinder service);
/frameworks/base/core/java/android/nfc/
H A DINfcCardEmulation.aidl28 boolean isDefaultServiceForCategory(int userHandle, in ComponentName service, String category);
29 boolean isDefaultServiceForAid(int userHandle, in ComponentName service, String aid);
30 boolean setDefaultServiceForCategory(int userHandle, in ComponentName service, String category);
31 boolean setDefaultForNextTap(int userHandle, in ComponentName service);
/frameworks/base/core/java/com/android/internal/widget/
H A DIRemoteViewsAdapterConnection.aidl23 void onServiceConnected(IBinder service);
/frameworks/base/services/java/com/android/server/location/
H A DLocationProviderProxy.java94 * Remember we can switch the service that implements a providers
100 if (D) Log.d(TAG, "applying state to connected service");
106 ILocationProvider service;
111 service = getService();
114 if (service == null) return;
118 properties = service.getProperties();
124 // apply current state to new service
126 service.enable();
128 service.setRequest(request, source);
134 // never let remote service cras
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DServiceTest.java120 public void onServiceConnected(ComponentName name, IBinder service) { argument
143 public void onServiceConnected(ComponentName name, IBinder service) { argument
149 service.transact(SET_REPORTER_CODE, data, null, 0);
191 void startExpectResult(Intent service) { argument
192 startExpectResult(service, new Bundle());
195 void startExpectResult(Intent service, Bundle bundle) { argument
201 getContext().startService(new Intent(service).putExtras(bundle));
202 waitForResultOrThrow(5 * 1000, "service to start first time");
205 getContext().startService(new Intent(service).putExtras(bundle));
206 waitForResultOrThrow(5 * 1000, "service t
223 startExpectNoPermission(Intent service) argument
232 bindExpectResult(Intent service) argument
339 bindAutoExpectResult(Intent service) argument
363 bindExpectNoPermission(Intent service) argument
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCameraDeviceFactory.h33 static void registerService(wp<CameraService> service);
38 CameraDeviceFactory(wp<CameraService> service);
H A DCameraDeviceFactory.cpp35 ALOGE("%s: No service registered", __FUNCTION__);
64 void CameraDeviceFactory::registerService(wp<CameraService> service) { argument
65 ALOGV("%s: Registered service %p", __FUNCTION__,
66 service.promote().get());
68 sService = service;
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
H A DTransport.java55 // The list of callbacks indexed by service id.
103 * @param service The service to whom the message is addressed.
108 public boolean sendMessage(int service, int what, ByteBuffer content) { argument
109 checkServiceId(service);
122 mOutputBuffer.putShort((short)service);
174 * Registers a service and provides a callback to receive messages.
176 * @param service The service id.
179 public void registerService(int service, Callbac argument
195 unregisterService(int service) argument
203 dispatchMessageReceived(int service, int what, ByteBuffer content) argument
216 checkServiceId(int service) argument
247 onMessageReceived(int service, int what, ByteBuffer content) argument
[all...]
/frameworks/base/core/java/android/hardware/location/
H A DIGeofenceHardware.aidl26 void setGpsGeofenceHardware(in IGpsGeofenceHardware service);
27 void setFusedGeofenceHardware(in IFusedGeofenceHardware service);
/frameworks/base/core/java/android/nfc/cardemulation/
H A DCardEmulation.java53 * card emulation service for a certain category. This will
55 * replace the current default service with the service
72 * The service {@link ComponentName} object passed in as an
93 * <p>In this mode, the user has set a default service for this
99 * that the default service has registered in this category,
100 * that service will automatically be bound to to handle
110 * is selected, the user is asked which service he wants to use to handle
111 * the transaction, even if there is only one matching service.
119 * or {@link OffHostApduService}, the user will only be asked to select a service
132 CardEmulation(Context context, INfcCardEmulation service) argument
196 isDefaultServiceForCategory(ComponentName service, String category) argument
227 isDefaultServiceForAid(ComponentName service, String aid) argument
276 setDefaultServiceForCategory(ComponentName service, String category) argument
299 setDefaultForNextTap(ComponentName service) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DUrlInterceptHandler.java44 public CacheResult service(String url, Map<String, String> headers); method in interface:UrlInterceptHandler

Completed in 800 milliseconds

1234567891011