Searched refs:postMessage (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/core/java/android/webkit/
H A DWebMessagePort.java85 public abstract void postMessage(WebMessage message); method in class:WebMessagePort
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
H A DSoundTriggerTestService.java247 postMessage("Loading model: " + modelInfo.name);
268 postMessage("Unloading model: " + modelInfo.name);
293 postMessage("Reloading model: " + modelInfo.name);
319 postMessage("Creating SoundTriggerDetector for " + modelInfo.name);
324 postMessage("Starting recognition for " + modelInfo.name + ", UUID=" + modelInfo.modelUuid);
348 postMessage("Triggering stop recognition for " +
366 postMessage("Playing trigger audio for " + modelInfo.name);
369 postMessage("No trigger audio for " + modelInfo.name);
380 postMessage("Playing captured audio for " + modelInfo.name);
385 postMessage("N
698 private void postMessage(String msg) { method in class:SoundTriggerTestService
[all...]
/frameworks/support/customtabs/tests/src/android/support/customtabs/
H A DTestCustomTabsService.java70 protected int postMessage(CustomTabsSessionToken sessionToken, String message, Bundle extras) { method in class:TestCustomTabsService
H A DPostMessageServiceConnectionTest.java95 mConnection.postMessage("message1", null);
97 mConnection.postMessage("message2", null);
H A DPostMessageTest.java137 assertEquals(CustomTabsService.RESULT_SUCCESS, mSession.postMessage("", null));
/frameworks/support/customtabs/src/android/support/customtabs/
H A DICustomTabsService.aidl38 int postMessage(in ICustomTabsCallback callback, String message, in Bundle extras) = 7;
H A DCustomTabsService.java63 * Indicates that the postMessage request was accepted.
67 * Indicates that the postMessage request was not allowed due to a bad argument or requesting
72 * Indicates that the postMessage request has failed due to a {@link RemoteException} .
76 * Indicates that the postMessage request has failed due to an internal error on the browser
136 public int postMessage(ICustomTabsCallback callback, String message, Bundle extras) {
137 return CustomTabsService.this.postMessage(
242 * Sends a request to create a two way postMessage channel between the client and the browser
247 * during the postMessage communication.
256 * Sends a postMessage request using the origin communicated via
265 * @return An integer constant about the postMessage reques
269 protected abstract int postMessage( method in class:CustomTabsService
[all...]
H A DCustomTabsSession.java148 * Sends a request to create a two way postMessage channel between the client and the browser.
151 * during the postMessage communication.
166 * Sends a postMessage request using the origin communicated via
174 * @return An integer constant about the postMessage request result. Will return
178 public int postMessage(String message, Bundle extras) { method in class:CustomTabsSession
181 return mService.postMessage(mCallback, message, extras);
H A DPostMessageServiceConnection.java42 * After this, this {@link PostMessageServiceConnection} can be used for sending postMessage
75 * Notifies the client that the postMessage channel requested with
98 * {@link CustomTabsSession} has sent a postMessage. If postMessage() is called from a single
103 * @return Whether the postMessage was sent to the remote successfully.
105 public final boolean postMessage(String message, Bundle extras) { method in class:PostMessageServiceConnection
/frameworks/base/media/java/android/media/session/
H A DMediaController.java498 private final void postMessage(int what, Object obj, Bundle data) { method in class:MediaController
1001 controller.postMessage(MSG_DESTROYED, null, null);
1009 controller.postMessage(MSG_EVENT, event, extras);
1017 controller.postMessage(MSG_UPDATE_PLAYBACK_STATE, state, null);
1025 controller.postMessage(MSG_UPDATE_METADATA, metadata, null);
1035 controller.postMessage(MSG_UPDATE_QUEUE, queue, null);
1043 controller.postMessage(MSG_UPDATE_QUEUE_TITLE, title, null);
1051 controller.postMessage(MSG_UPDATE_EXTRAS, extras, null);
1061 controller.postMessage(MSG_UPDATE_VOLUME, info, null);
/frameworks/native/services/surfaceflinger/
H A DMessageQueue.h104 status_t postMessage(const sp<MessageBase>& message, nsecs_t reltime=0);
H A DMessageQueue.cpp123 status_t MessageQueue::postMessage( function in class:android::MessageQueue
H A DSurfaceFlinger.cpp1056 return mEventQueue.postMessage(msg, reltime);
1061 status_t res = mEventQueue.postMessage(msg, reltime);
H A DSurfaceFlinger_hwc1.cpp964 return mEventQueue.postMessage(msg, reltime);
969 status_t res = mEventQueue.postMessage(msg, reltime);

Completed in 1664 milliseconds