/frameworks/base/core/java/android/service/notification/ |
H A D | StatusBarNotification.aidl | 17 package android.service.notification;
|
H A D | INotificationListener.aidl | 17 package android.service.notification; 19 import android.service.notification.StatusBarNotification;
|
/frameworks/native/libs/binder/ |
H A D | AppOpsManager.cpp | 34 sp<IAppOpsService> service = mService; local 35 while (service == NULL || !service->asBinder()->isBinderAlive()) { 38 // Wait for the app ops service to come back... 41 ALOGI("Waiting for app ops service"); 43 ALOGW("Waiting too long for app ops service, giving up"); 48 service = interface_cast<IAppOpsService>(binder); 49 mService = service; 53 return service; 58 sp<IAppOpsService> service local 63 sp<IAppOpsService> service = getService(); local 68 sp<IAppOpsService> service = getService(); local 73 sp<IAppOpsService> service = getService(); local 81 sp<IAppOpsService> service = getService(); local 88 sp<IAppOpsService> service = getService(); local [all...] |
/frameworks/base/core/java/android/service/dreams/ |
H A D | IDreamService.aidl | 17 package android.service.dreams;
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | WindowManagerGlobal_Delegate.java | 40 public static void setWindowManagerService(IWindowManager service) { argument 41 sService = service;
|
/frameworks/base/core/java/android/service/wallpaper/ |
H A D | IWallpaperService.aidl | 17 package android.service.wallpaper; 19 import android.service.wallpaper.IWallpaperConnection;
|
H A D | IWallpaperConnection.aidl | 17 package android.service.wallpaper; 20 import android.service.wallpaper.IWallpaperEngine;
|
/frameworks/base/services/common_time/ |
H A D | main.cpp | 18 * 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 D | ServiceConnection.java | 22 * 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 D | Android.mk | 5 service.cpp 14 LOCAL_MODULE:= service
|
/frameworks/base/core/java/android/os/ |
H A D | SystemService.java | 36 * 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 D | ServiceManager.java | 38 // 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/core/java/android/app/ |
H A D | IServiceConnection.aidl | 24 void connected(in ComponentName name, IBinder service);
|
H A D | NotificationManager.java | 126 INotificationManager service = getService(); 136 service.enqueueNotificationWithTag(pkg, mContext.getBasePackageName(), tag, id, 151 INotificationManager service = getService(); 161 service.enqueueNotificationWithTag(pkg, mContext.getBasePackageName(), tag, id, 187 INotificationManager service = getService(); 191 service.cancelNotificationWithTag(pkg, tag, id, UserHandle.myUserId()); 201 INotificationManager service = getService(); 205 service.cancelNotificationWithTag(pkg, tag, id, user.getIdentifier()); 216 INotificationManager service = getService(); 220 service [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | IRemoteViewsAdapterConnection.aidl | 23 void onServiceConnected(IBinder service);
|
/frameworks/base/media/java/android/media/ |
H A D | AudioManager.java | 551 IAudioService service = getService(); 554 service.adjustMasterVolume(direction, flags); 556 service.adjustStreamVolume(streamType, direction, flags); 581 IAudioService service = getService(); 584 service.adjustMasterVolume(direction, flags); 586 service.adjustVolume(direction, flags); 611 IAudioService service = getService(); 614 service.adjustMasterVolume(direction, flags); 616 service.adjustSuggestedStreamVolume(direction, suggestedStreamType, flags); 633 IAudioService service [all...] |
/frameworks/base/services/java/com/android/server/location/ |
H A D | LocationProviderProxy.java | 94 * 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 D | ServiceTest.java | 120 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/base/core/java/android/webkit/ |
H A D | UrlInterceptHandler.java | 44 public CacheResult service(String url, Map<String, String> headers); method in interface:UrlInterceptHandler
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | AppBindRecord.java | 24 * An association between a service and one of its client applications. 27 final ServiceRecord service; // The running service. field in class:AppBindRecord 29 final ProcessRecord client; // Who has started/bound the service. 35 pw.println(prefix + "service=" + service); 53 service = _service; 61 + " " + service.shortName + ":" + client.processName + "}";
|
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
H A D | ServiceManager.java | 24 * Returns a reference to a service with the given name. 26 * @param name the name of the service to get 27 * @return a reference to the service, or <code>null</code> if the service doesn't exist 34 * Place a new @a service called @a name into the service 37 * @param name the name of the new service 38 * @param service the service object 40 public static void addService(String name, IBinder service) { argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | IccServiceTable.java | 38 * Returns if the specified service is available. 39 * @param service the service number as a zero-based offset (the enum ordinal) 40 * @return true if the service is available; false otherwise 42 protected boolean isAvailable(int service) { argument 43 int offset = service / 8; 45 // Note: Enums are zero-based, but the TS service numbering is one-based 46 Rlog.e(getTag(), "isAvailable for service " + (service + 1) + " fails, max service i [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothGattServer.java | 122 if (DBG) Log.d(TAG, "onServiceAdded() - service=" + srvcUuid 125 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType); 126 if (service == null) return; 129 mCallback.onServiceAdded((int)status, service); 145 + "service=" + srvcUuid + ", characteristic=" + charUuid); 148 BluetoothGattService service = getService(srvcUuid, srvcInstId, srvcType); 149 if (service == null) return; 151 BluetoothGattCharacteristic characteristic = service.getCharacteristic(charUuid); 173 + "service=" + srvcUuid + ", characteristic=" + charUuid 177 BluetoothGattService service 531 addService(BluetoothGattService service) argument 584 removeService(BluetoothGattService service) argument [all...] |
H A D | BluetoothGatt.java | 191 * A new GATT service has been discovered. 192 * The service is added to the internal list and the search 207 * An included service has been found durig GATT discovery. 208 * The included service is added to the respective parent. 221 BluetoothGattService service = getService(mDevice, 226 if (service != null && includedService != null) { 227 service.addIncludedService(includedService); 233 * Add the new characteristic to the relevant service and continue 247 BluetoothGattService service = getService(mDevice, srvcUuid.getUuid(), 249 if (service ! [all...] |
/frameworks/native/cmds/dumpsys/ |
H A D | dumpsys.cpp | 35 ALOGE("Unable to get default service manager!"); 36 aerr << "dumpsys: Unable to get default service manager!" << endl; 60 sp<IBinder> service = sm->checkService(services[i]); local 61 if (service != NULL) { 68 sp<IBinder> service = sm->checkService(services[i]); local 69 if (service != NULL) { 75 int err = service->dump(STDOUT_FILENO, args); 77 aerr << "Error dumping service info: (" << strerror(err) 81 aerr << "Can't find service: " << services[i] << endl;
|