/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | TaskWindowContainerController.java | 65 TaskDescription taskDescription, WindowManagerService service) { 66 super(listener, service); 68 mHandler = new H(new WeakReference<>(this), service.mH.getLooper()); 61 TaskWindowContainerController(int taskId, TaskWindowContainerListener listener, StackWindowController stackController, int userId, Rect bounds, Configuration overrideConfig, int resizeMode, boolean supportsPictureInPicture, boolean homeTask, boolean toTop, boolean showForAllUsers, TaskDescription taskDescription, WindowManagerService service) argument
|
H A D | WindowAnimator.java | 94 WindowAnimator(final WindowManagerService service) { argument 95 mService = service; 96 mContext = service.mContext; 97 mPolicy = service.mPolicy; 98 mWindowPlacerLocked = service.mWindowPlacerLocked;
|
H A D | WindowToken.java | 104 WindowToken(WindowManagerService service, IBinder _token, int type, boolean persistOnEmpty, argument 106 mService = service;
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_fingerprint_FingerprintService.cpp | 73 // TODO: cache service? 76 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder); local 77 if (service != NULL) { 78 status_t ret = service->addAuthToken(auth_token, auth_token_length);
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | VoiceInteractionManagerServiceImpl.java | 42 import android.service.voice.IVoiceInteractionService; 43 import android.service.voice.IVoiceInteractionSession; 44 import android.service.voice.VoiceInteractionService; 45 import android.service.voice.VoiceInteractionServiceInfo; 102 public void onServiceConnected(ComponentName name, IBinder service) { 104 mService = IVoiceInteractionService.Stub.asInterface(service); 120 int userHandle, ComponentName service) { 125 mComponent = service; 129 info = new VoiceInteractionServiceInfo(context.getPackageManager(), service, mUser); 131 Slog.w(TAG, "Voice interaction service no 118 VoiceInteractionManagerServiceImpl(Context context, Handler handler, VoiceInteractionManagerService.VoiceInteractionManagerServiceStub stub, int userHandle, ComponentName service) argument [all...] |
/frameworks/base/test-runner/src/android/test/ |
H A D | IsolatedContext.java | 82 public boolean bindService(Intent service, ServiceConnection conn, int flags) { argument
|
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
H A D | Transport.java | 55 // 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/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
H A D | DisplaySourceService.java | 82 public void onMessageReceived(int service, int what, ByteBuffer content) { argument
|
/frameworks/base/tests/testables/src/android/testing/ |
H A D | TestableContext.java | 85 mService = check != null ? check.getTracker("service") : null; 106 public <T> void addMockSystemService(Class<T> service, T mock) { argument 107 addMockSystemService(getSystemServiceName(service), mock); 110 public void addMockSystemService(String name, Object service) { argument 112 mMockSystemServices.put(name, service); 115 public void addMockService(ComponentName component, IBinder service) { argument 117 mMockServices.put(component, service); 174 public boolean bindService(Intent service, ServiceConnection conn, int flags) { argument 176 if (checkMocks(service.getComponent(), conn)) return true; 177 return super.bindService(service, con 181 bindServiceAsUser(Intent service, ServiceConnection conn, int flags, Handler handler, UserHandle user) argument 189 bindServiceAsUser(Intent service, ServiceConnection conn, int flags, UserHandle user) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/accessibility/ |
H A D | AccessibilityManager.java | 30 * System level service that serves as an event dispatch for {@link AccessibilityEvent}s. 34 * events implement and register an accessibility service which extends 116 public AccessibilityManager(Context context, IAccessibilityManager service, int userId) { argument
|
/frameworks/native/cmds/cmd/ |
H A D | cmd.cpp | 138 ALOGW("Unable to get default service manager!"); 139 aerr << "cmd: Unable to get default service manager!" << endl; 144 aerr << "cmd: No service specified; use -l to list all services" << endl; 154 sp<IBinder> service = sm->checkService(services[i]); local 155 if (service != NULL) { 167 sp<IBinder> service = sm->checkService(cmd); local 168 if (service == NULL) { 169 ALOGW("Can't find service %s", argv[1]); 170 aerr << "cmd: Can't find service: " << argv[1] << endl; 183 status_t err = IBinder::shellCommand(service, STDIN_FILEN [all...] |
/frameworks/native/cmds/dumpsys/tests/ |
H A D | dumpsys_test.cpp | 130 for (auto& service : services) { 131 services16.add(String16(service.c_str())); 181 for (const std::string& service : services) { 182 expected.append(" ").append(service).append("\n"); 195 void AssertDumped(const std::string& service, const std::string& dump) { argument 196 EXPECT_THAT(stdout_, HasSubstr("DUMP OF SERVICE " + service + ":\n" + dump)); 203 void AssertStopped(const std::string& service) { argument 204 EXPECT_THAT(stderr_, HasSubstr("Can't find service: " + service + "\n")); 225 // Tests 'dumpsys -l' when a service i [all...] |
/frameworks/native/libs/vr/libvrflinger/ |
H A D | display_surface.cpp | 27 DisplaySurface::DisplaySurface(DisplayService* service, argument 31 : service_(service), 76 // Catch attributes that have significance to the display service. 126 service()->SurfaceUpdated(surface_type(), update_flags_); 160 return service()->AddEventHandler( 171 return service()->RemoveEventHandler(consumer_queue->queue_fd()); 420 DisplayService* service, int surface_id, int process_id, int user_id, 442 service, surface_id, process_id, user_id, attributes)}}; 452 service, surface_id, process_id, user_id, attributes)}}; 419 Create( DisplayService* service, int surface_id, int process_id, int user_id, const display::SurfaceAttributes& attributes) argument
|
/frameworks/native/services/vr/bufferhubd/ |
H A D | producer_channel.cpp | 27 ProducerChannel::ProducerChannel(BufferHubService* service, int channel_id, argument 32 : BufferHubChannel(service, channel_id, channel_id, kProducerType), 50 BufferHubService* service, int channel_id, uint32_t width, uint32_t height, 55 new ProducerChannel(service, channel_id, width, height, layer_count, 145 service(), buffer_id(), channel_id, shared_from_this()); 146 const auto channel_status = service()->SetChannel(channel_id, consumer); 303 if (service()->AddNamedBuffer(name, std::static_pointer_cast<ProducerChannel>( 325 if (service()->RemoveNamedBuffer(*this)) 49 Create( BufferHubService* service, int channel_id, uint32_t width, uint32_t height, uint32_t layer_count, uint32_t format, uint64_t usage, size_t meta_size_bytes) argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | CarrierServiceBindHelper.java | 34 import android.service.carrier.CarrierService; 187 // Look up the carrier service 201 // Only bind if the service wants it 203 !metadata.getBoolean("android.service.carrier.LONG_LIVED_BINDING", false)) { 210 // Unbind immediately if the carrier service component has changed. 316 public void onServiceConnected(ComponentName name, IBinder service) { argument
|
H A D | WapPushOverSms.java | 122 public void onServiceConnected(ComponentName name, IBinder service) { argument 123 mWapPushManager = IWapPushManager.Stub.asInterface(service);
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | MediaNotificationManager.java | 43 * MediaSession. Maintaining a visible notification (usually) guarantees that the music service 76 public MediaNotificationManager(MediaBrowserServiceSupport service) { argument 77 mService = service;
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
H A D | MediaNotificationManager.java | 43 * MediaSession. Maintaining a visible notification (usually) guarantees that the music service 76 public MediaNotificationManager(MediaBrowserServiceSupport service) { argument 77 mService = service;
|
/frameworks/av/cmds/stagefright/ |
H A D | stream.cpp | 348 sp<IMediaPlayerService> service = interface_cast<IMediaPlayerService>(binder); local 350 CHECK(service.get() != NULL); 379 service->create(client, AUDIO_SESSION_ALLOCATE);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaRecorderClient.cpp | 346 MediaRecorderClient::MediaRecorderClient(const sp<MediaPlayerService>& service, pid_t pid, argument 352 mMediaPlayerService = service; 362 const sp<IBinder>& service, 365 mService = service; 467 ALOGE("Unable to connect to media codec service"); 361 ServiceDeathNotifier( const sp<IBinder>& service, const sp<IMediaRecorderClient>& listener, int which) argument
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaExtractor.cpp | 86 jobject service = NULL; local 109 service = env->CallStaticObjectMethod(mediahttpclass, mediaHttpCreateMethod, jloc); 113 if (service != NULL) { 114 sp<IBinder> binder = ibinderForJavaObject(env, service);
|
/frameworks/av/services/mediaresourcemanager/ |
H A D | ResourceManagerService.cpp | 41 DeathNotifier(const wp<ResourceManagerService> &service, int pid, int64_t clientId) argument 42 : mService(service), mPid(pid), mClientId(clientId) {} 46 sp<ResourceManagerService> service = mService.promote(); variable 47 if (service == nullptr) { 51 service->removeResource(mPid, mClientId, false); 122 sp<IMediaResourceMonitor> service = interface_cast<IMediaResourceMonitor>(binder); local 125 service->notifyResourceGranted(pid, IMediaResourceMonitor::TYPE_AUDIO_CODEC); 127 service->notifyResourceGranted(pid, IMediaResourceMonitor::TYPE_VIDEO_CODEC);
|
/frameworks/av/services/mediaresourcemanager/test/ |
H A D | ResourceManagerService_test.cpp | 56 TestClient(int pid, sp<ResourceManagerService> service) argument 57 : mReclaimed(false), mPid(pid), mService(service) {}
|
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetManager.java | 478 * @param service The backing system service. 481 public AppWidgetManager(Context context, IAppWidgetService service) { argument 483 mService = service; 1056 * @param intent The intent of the service which will be providing the data to the 1081 * @param intent The intent of the service which will be providing the data to the 1169 * <p>Only apps with a foreground activity or a foreground service can call it. Otherwise 1191 * service or when the user is locked.
|
/frameworks/base/core/java/android/content/ |
H A D | BroadcastReceiver.java | 312 * If you wish to interact with a service that is already running and previously 372 * Provide a binder to an already-bound service. This method is synchronous 373 * and will not start the target service if it is not present, so it is safe 377 * the service must have published it before. In other words some component 381 * @param service Identifies the already-bound service you wish to use. See 385 public IBinder peekService(Context myContext, Intent service) { argument 389 service.prepareToLeaveProcess(myContext); 390 binder = am.peekService(service, service [all...] |