Searched defs:service (Results 1 - 25 of 124) sorted by path

12345

/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp818 sp<IMediaPlayerService> service = local
821 CHECK(service.get() != NULL);
824 service->createMetadataRetriever(getpid());
880 sp<IMediaPlayerService> service = local
883 CHECK(service.get() != NULL);
885 sp<IOMX> omx = service->getOMX();
894 sp<IMediaPlayerService> service = interface_cast<IMediaPlayerService>(binder); local
896 CHECK(service.get() != NULL);
898 sp<IOMX> omx = service->getOMX();
H A Dstream.cpp340 sp<IMediaPlayerService> service = interface_cast<IMediaPlayerService>(binder); local
342 CHECK(service.get() != NULL);
373 service->create(getpid(), client, 0);
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewPlayer.cpp49 sp<IMediaPlayerService> service = interface_cast<IMediaPlayerService>(binder); local
50 CHECK(service.get() != NULL);
52 service->addBatteryData(params);
/frameworks/av/media/libmedia/
H A Dmediaplayer.cpp146 const sp<IMediaPlayerService>& service(getMediaPlayerService());
147 if (service != 0) {
148 sp<IMediaPlayer> player(service->create(getpid(), this, mAudioSessionId));
163 const sp<IMediaPlayerService>& service(getMediaPlayerService());
164 if (service != 0) {
165 sp<IMediaPlayer> player(service->create(getpid(), this, mAudioSessionId));
179 const sp<IMediaPlayerService>& service(getMediaPlayerService());
180 if (service != 0) {
181 sp<IMediaPlayer> player(service->create(getpid(), this, mAudioSessionId));
761 const sp<IMediaPlayerService>& service local
781 const sp<IMediaPlayerService>& service = getMediaPlayerService(); local
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp485 const sp<MediaPlayerService>& service, pid_t pid,
492 mService = service;
484 Client( const sp<MediaPlayerService>& service, pid_t pid, int32_t connId, const sp<IMediaPlayerClient>& client, int audioSessionId, uid_t uid) argument
H A DMediaRecorderClient.cpp303 MediaRecorderClient::MediaRecorderClient(const sp<MediaPlayerService>& service, pid_t pid) argument
308 mMediaPlayerService = service;
H A DStagefrightRecorder.cpp61 sp<IMediaPlayerService> service = interface_cast<IMediaPlayerService>(binder); local
62 CHECK(service.get() != NULL);
64 service->addBatteryData(params);
1097 // CAMCORDER_QUALITY_LOW profile; this is for the sake of MMS service.
/frameworks/av/media/libstagefright/
H A DAwesomePlayer.cpp175 sp<IMediaPlayerService> service = interface_cast<IMediaPlayerService>(binder); local
176 CHECK(service.get() != NULL);
178 service->addBatteryData(params);
H A DOMXClient.cpp322 sp<IMediaPlayerService> service = interface_cast<IMediaPlayerService>(binder); local
324 CHECK(service.get() != NULL);
326 mOMX = service->getOMX();
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.cpp59 sp<IMediaPlayerService> service = interface_cast<IMediaPlayerService>(binder); local
60 mOMX = service->getOMX();
/frameworks/av/media/libstagefright/wifi-display/sink/
H A DTunnelRenderer.cpp363 sp<IMediaPlayerService> service = interface_cast<IMediaPlayerService>(binder); local
364 CHECK(service.get() != NULL);
370 mPlayer = service->create(getpid(), mPlayerClient, 0);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp1460 sp<IMediaPlayerService> service = interface_cast<IMediaPlayerService>(binder); local
1461 CHECK(service != NULL);
1463 mHDCP = service->makeHDCP();
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp182 sp<IMediaPlayerService> service = IMediaDeathNotifier::getMediaPlayerService(); local
183 if (service == NULL) {
188 service->addBatteryData(params);
1350 // use checkService() to avoid blocking if power service is not up yet
1354 ALOGW("Thread %s cannot connect to the power manager service", mName);
1402 ALOGW("power manager service died !!!");
H A DAudioPolicyService.cpp1340 static audio_module_handle_t aps_load_hw_module(void *service, argument
1353 static audio_io_handle_t aps_open_output(void *service, argument
1371 static audio_io_handle_t aps_open_output_on_module(void *service, argument
1389 static audio_io_handle_t aps_open_dup_output(void *service, argument
1401 static int aps_close_output(void *service, audio_io_handle_t output) argument
1410 static int aps_suspend_output(void *service, audio_io_handle_t output) argument
1421 static int aps_restore_output(void *service, audio_io_handle_t output) argument
1433 static audio_io_handle_t aps_open_input(void *service, argument
1449 static audio_io_handle_t aps_open_input_on_module(void *service, argument
1465 static int aps_close_input(void *service, audio_io_handle_ argument
1474 aps_set_stream_output(void *service, audio_stream_type_t stream, audio_io_handle_t output) argument
1484 aps_move_effects(void *service, int session, audio_io_handle_t src_output, audio_io_handle_t dst_output) argument
1495 aps_get_parameters(void *service, audio_io_handle_t io_handle, const char *keys) argument
1502 aps_set_parameters(void *service, audio_io_handle_t io_handle, const char *kv_pairs, int delay_ms) argument
1510 aps_set_stream_volume(void *service, audio_stream_type_t stream, float volume, audio_io_handle_t output, int delay_ms) argument
1520 aps_start_tone(void *service, audio_policy_tone_t tone, audio_stream_type_t stream) argument
1528 aps_stop_tone(void *service) argument
1535 aps_set_voice_volume(void *service, float volume, int delay_ms) argument
[all...]
/frameworks/base/cmds/service/
H A Dservice.cpp33 static String16 get_interface_name(sp<IBinder> service) argument
35 if (service != NULL) {
37 status_t err = service->transact(IBinder::INTERFACE_TRANSACTION, data, &reply);
63 aerr << "service: Unable to get default service manager!" << endl;
81 aerr << "service: Unknown option -" << ic << endl;
94 sp<IBinder> service = sm->checkService(String16(argv[optind])); local
96 (service == NULL ? ": not found" : ": found") << endl;
98 aerr << "service: No service specifie
108 sp<IBinder> service = sm->checkService(name); local
118 sp<IBinder> service = sm->checkService(String16(argv[optind++])); local
[all...]
/frameworks/base/core/java/android/accounts/
H A DAccountManager.java101 * service you are accessing. The application may use whatever network and
243 public AccountManager(Context context, IAccountManager service) { argument
245 mService = service;
252 public AccountManager(Context context, IAccountManager service, Handler handler) { argument
254 mService = service;
350 * authenticator known to the AccountManager service. Empty (never
466 * whether Google accounts have a particular service (such as Google
H A DAccountManagerService.java81 * A system service that provides account, password, and authtoken management for all
83 * {@link IAccountAuthenticator} services. This service is not accessed by users directly,
202 * This should only be called by system code. One should only call this after the service
327 for (RegisteredServicesCache.ServiceInfo<AuthenticatorDescription> service :
329 knownAuth.add(service.type);
1759 public void onServiceConnected(ComponentName name, IBinder service) { argument
1760 mAuthenticator = IAccountAuthenticator.Stub.asInterface(service);
/frameworks/base/core/java/android/app/
H A DActivityManager.java933 * The service component.
935 public ComponentName service; field in class:ActivityManager.RunningServiceInfo
938 * If non-zero, this is the process the service is running in.
943 * The UID that owns this service.
948 * The name of the process this service runs in.
953 * Set to true if the service has asked to run as a foreground process.
958 * The time when the service was first made active, either by someone
965 * Set to true if this service has been explicitly started.
970 * Number of clients connected to the service.
975 * Number of times the service'
1119 getRunningServiceControlPanel(ComponentName service) argument
[all...]
H A DActivityManagerNative.java725 Intent service = Intent.CREATOR.createFromParcel(data);
728 ComponentName cn = startService(app, service, resolvedType, userId);
738 Intent service = Intent.CREATOR.createFromParcel(data);
741 int res = stopService(app, service, resolvedType, userId);
778 Intent service = Intent.CREATOR.createFromParcel(data);
784 int res = bindService(app, token, service, resolvedType, conn, fl, userId);
804 IBinder service = data.readStrongBinder();
805 publishService(token, intent, service);
1320 Intent service = Intent.CREATOR.createFromParcel(data);
1322 IBinder binder = peekService(service, resolvedTyp
2622 getRunningServiceControlPanel(ComponentName service) argument
2637 startService(IApplicationThread caller, Intent service, String resolvedType, int userId) argument
2654 stopService(IApplicationThread caller, Intent service, String resolvedType, int userId) argument
2706 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags, int userId) argument
2740 publishService(IBinder token, Intent intent, IBinder service) argument
2783 peekService(Intent service, String resolvedType) argument
[all...]
H A DAlarmManager.java37 * is possible that the phone will sleep before the requested service is launched.
40 * service becomes available.
88 AlarmManager(IAlarmManager service) { argument
89 mService = service;
H A DContextImpl.java160 public boolean bindService(Intent service, ServiceConnection conn, int flags) { argument
205 * Override this class when the system service constructor needs a
216 Object service;
227 service = cache.get(mContextCacheIndex);
228 if (service != null) {
229 return service;
232 service = createService(ctx);
233 cache.set(mContextCacheIndex, service);
234 return service;
240 * service
1351 startService(Intent service) argument
1357 stopService(Intent service) argument
1363 startServiceAsUser(Intent service, UserHandle user) argument
1387 stopServiceAsUser(Intent service, UserHandle user) argument
1404 bindService(Intent service, ServiceConnection conn, int flags) argument
1412 bindService(Intent service, ServiceConnection conn, int flags, int userHandle) argument
[all...]
H A DIActivityManager.java48 * System private API for talking with the activity manager service. This
130 public PendingIntent getRunningServiceControlPanel(ComponentName service) argument
132 public ComponentName startService(IApplicationThread caller, Intent service, argument
134 public int stopService(IApplicationThread caller, Intent service, argument
141 Intent service, String resolvedType,
145 Intent intent, IBinder service) throws RemoteException;
146 public void unbindFinished(IBinder token, Intent service, argument
151 public IBinder peekService(Intent service, String resolvedType) throws RemoteException; argument
140 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags, int userId) argument
144 publishService(IBinder token, Intent intent, IBinder service) argument
H A DLoadedApk.java951 public void connected(ComponentName name, IBinder service) throws RemoteException { argument
954 sd.connected(name, service);
1024 public void connected(ComponentName name, IBinder service) { argument
1026 mActivityThread.post(new RunConnection(name, service, 0));
1028 doConnected(name, service);
1032 public void death(ComponentName name, IBinder service) { argument
1038 if (old == null || old.binder != service) {
1047 mActivityThread.post(new RunConnection(name, service, 1));
1049 doDeath(name, service);
1053 public void doConnected(ComponentName name, IBinder service) { argument
1105 doDeath(ComponentName name, IBinder service) argument
1110 RunConnection(ComponentName name, IBinder service, int command) argument
1131 DeathMonitor(ComponentName name, IBinder service) argument
[all...]
H A DWallpaperInfo.java36 import android.service.wallpaper.WallpaperService;
44 * This class is used to specify meta information of a wallpaper service.
79 * @param service The ResolveInfo returned from the package manager about
82 public WallpaperInfo(Context context, ResolveInfo service) argument
84 mService = service;
85 ServiceInfo si = service.serviceInfo;
161 * Return the class name of the service component that implements
177 * Return the component of the service that implements this wallpaper.
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothClass.java28 * <p>Every Bluetooth class is composed of zero or more service classes, and
35 * service discovery is done through SDP requests, which are automatically
102 * Defines all service class constants.
103 * <p>Each {@link BluetoothClass} encodes zero or more service classes.
120 * Return true if the specified service class is supported by this
122 * <p>Valid service classes are the public constants in
126 * @param service valid service class
127 * @return true if the service class is supported
129 public boolean hasService(int service) { argument
[all...]

Completed in 231 milliseconds

12345