Home
last modified time | relevance | path

Searched refs:caller (Results 1 – 25 of 164) sorted by relevance

1234567

/frameworks/base/media/apex/java/android/media/
DSession2Link.java112 public void connect(final Controller2Link caller, int seq, Bundle connectionRequest) { in connect() argument
114 mISession.connect(caller, seq, connectionRequest); in connect()
121 public void disconnect(final Controller2Link caller, int seq) { in disconnect() argument
123 mISession.disconnect(caller, seq); in disconnect()
130 public void sendSessionCommand(final Controller2Link caller, final int seq, in sendSessionCommand() argument
133 mISession.sendSessionCommand(caller, seq, command, args, resultReceiver); in sendSessionCommand()
140 public void cancelSessionCommand(final Controller2Link caller, final int seq) { in cancelSessionCommand() argument
142 mISession.cancelSessionCommand(caller, seq); in cancelSessionCommand()
149 public void onConnect(final Controller2Link caller, int pid, int uid, int seq, in onConnect() argument
151 mSession.onConnect(caller, pid, uid, seq, connectionRequest); in onConnect()
[all …]
DIMediaSession2.aidl33 void connect(in Controller2Link caller, int seq, in Bundle connectionRequest) = 0; in connect() argument
34 void disconnect(in Controller2Link caller, int seq) = 1; in disconnect() argument
35 void sendSessionCommand(in Controller2Link caller, int seq, in Session2Command sessionCommand, in sendSessionCommand() argument
37 void cancelSessionCommand(in Controller2Link caller, int seq) = 3; in cancelSessionCommand() argument
/frameworks/base/media/java/android/media/session/
DISessionCallback.aidl29 void onCommand(String packageName, int pid, int uid, ISessionControllerCallback caller, in onCommand() argument
34 ISessionControllerCallback caller, in Intent mediaButtonIntent); in onMediaButtonFromController() argument
37 void onPrepare(String packageName, int pid, int uid, ISessionControllerCallback caller); in onPrepare() argument
39 ISessionControllerCallback caller, String mediaId, in Bundle extras); in onPrepareFromMediaId() argument
41 ISessionControllerCallback caller, String query, in Bundle extras); in onPrepareFromSearch() argument
43 ISessionControllerCallback caller, in Uri uri, in Bundle extras); in onPrepareFromUri() argument
44 void onPlay(String packageName, int pid, int uid, ISessionControllerCallback caller); in onPlay() argument
46 ISessionControllerCallback caller, String mediaId, in Bundle extras); in onPlayFromMediaId() argument
48 ISessionControllerCallback caller, String query, in Bundle extras); in onPlayFromSearch() argument
49 void onPlayFromUri(String packageName, int pid, int uid, ISessionControllerCallback caller, in onPlayFromUri() argument
[all …]
DISessionController.aidl39 void sendCommand(String packageName, in ISessionControllerCallback caller, in sendCommand() argument
41 boolean sendMediaButton(String packageName, in ISessionControllerCallback caller, in sendMediaButton() argument
52 in ISessionControllerCallback caller, int direction, int flags); in adjustVolume() argument
53 void setVolumeTo(String packageName, String opPackageName, in ISessionControllerCallback caller, in setVolumeTo() argument
57 void prepare(String packageName, in ISessionControllerCallback caller); in prepare() argument
58 void prepareFromMediaId(String packageName, in ISessionControllerCallback caller, in prepareFromMediaId() argument
60 void prepareFromSearch(String packageName, in ISessionControllerCallback caller, in prepareFromSearch() argument
62 void prepareFromUri(String packageName, in ISessionControllerCallback caller, in prepareFromUri() argument
64 void play(String packageName, in ISessionControllerCallback caller); in play() argument
65 void playFromMediaId(String packageName, in ISessionControllerCallback caller, in playFromMediaId() argument
[all …]
DMediaSession.java640 void dispatchPrepare(RemoteUserInfo caller) { in dispatchPrepare() argument
641 postToCallback(caller, CallbackMessageHandler.MSG_PREPARE, null, null); in dispatchPrepare()
644 void dispatchPrepareFromMediaId(RemoteUserInfo caller, String mediaId, Bundle extras) { in dispatchPrepareFromMediaId() argument
645 postToCallback(caller, CallbackMessageHandler.MSG_PREPARE_MEDIA_ID, mediaId, extras); in dispatchPrepareFromMediaId()
648 void dispatchPrepareFromSearch(RemoteUserInfo caller, String query, Bundle extras) { in dispatchPrepareFromSearch() argument
649 postToCallback(caller, CallbackMessageHandler.MSG_PREPARE_SEARCH, query, extras); in dispatchPrepareFromSearch()
652 void dispatchPrepareFromUri(RemoteUserInfo caller, Uri uri, Bundle extras) { in dispatchPrepareFromUri() argument
653 postToCallback(caller, CallbackMessageHandler.MSG_PREPARE_URI, uri, extras); in dispatchPrepareFromUri()
656 void dispatchPlay(RemoteUserInfo caller) { in dispatchPlay() argument
657 postToCallback(caller, CallbackMessageHandler.MSG_PLAY, null, null); in dispatchPlay()
[all …]
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DOverrideMethod.java74 public static void invokeV(String signature, boolean isNative, Object caller) { in invokeV() argument
77 i.onInvokeV(signature, isNative, caller); in invokeV()
79 sDefaultListener.onInvokeV(signature, isNative, caller); in invokeV()
87 public static int invokeI(String signature, boolean isNative, Object caller) { in invokeI() argument
90 return i.onInvokeI(signature, isNative, caller); in invokeI()
92 return sDefaultListener.onInvokeI(signature, isNative, caller); in invokeI()
101 public static long invokeL(String signature, boolean isNative, Object caller) { in invokeL() argument
104 return i.onInvokeL(signature, isNative, caller); in invokeL()
106 return sDefaultListener.onInvokeL(signature, isNative, caller); in invokeL()
115 public static float invokeF(String signature, boolean isNative, Object caller) { in invokeF() argument
[all …]
DMethodAdapter.java39 public void onInvokeV(String signature, boolean isNative, Object caller) { in onInvokeV() argument
48 public int onInvokeI(String signature, boolean isNative, Object caller) { in onInvokeI() argument
49 onInvokeV(signature, isNative, caller); in onInvokeI()
59 public long onInvokeL(String signature, boolean isNative, Object caller) { in onInvokeL() argument
60 onInvokeV(signature, isNative, caller); in onInvokeL()
70 public float onInvokeF(String signature, boolean isNative, Object caller) { in onInvokeF() argument
71 onInvokeV(signature, isNative, caller); in onInvokeF()
81 public double onInvokeD(String signature, boolean isNative, Object caller) { in onInvokeD() argument
82 onInvokeV(signature, isNative, caller); in onInvokeD()
92 public Object onInvokeA(String signature, boolean isNative, Object caller) { in onInvokeA() argument
[all …]
DMethodListener.java39 void onInvokeV(String signature, boolean isNative, Object caller); in onInvokeV() argument
46 int onInvokeI(String signature, boolean isNative, Object caller); in onInvokeI() argument
53 long onInvokeL(String signature, boolean isNative, Object caller); in onInvokeL() argument
60 float onInvokeF(String signature, boolean isNative, Object caller); in onInvokeF() argument
67 double onInvokeD(String signature, boolean isNative, Object caller); in onInvokeD() argument
74 Object onInvokeA(String signature, boolean isNative, Object caller); in onInvokeA() argument
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionRecord.java268 ISessionControllerCallback caller, boolean asSystemService, int direction, int flags, in adjustVolume() argument
294 mSessionCb.adjustVolume(packageName, pid, uid, caller, asSystemService, direction); in adjustVolume()
314 ISessionControllerCallback caller, int value, int flags) { in setVolumeTo() argument
336 mSessionCb.setVolumeTo(packageName, pid, uid, caller, value); in setVolumeTo()
1012 ISessionControllerCallback caller, boolean asSystemService, in sendMediaButton() argument
1019 mCb.onMediaButtonFromController(packageName, pid, uid, caller, in sendMediaButton()
1030 ISessionControllerCallback caller, String command, Bundle args, ResultReceiver cb) { in sendCommand() argument
1032 mCb.onCommand(packageName, pid, uid, caller, command, args, cb); in sendCommand()
1039 ISessionControllerCallback caller, String action, in sendCustomAction() argument
1042 mCb.onCustomAction(packageName, pid, uid, caller, action, args); in sendCustomAction()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/transport/
DTransportClient.java116 String caller) { in TransportClient() argument
124 caller, in TransportClient()
136 String caller, in TransportClient() argument
144 mCreatorLogString = caller; in TransportClient()
206 public void connectAsync(TransportConnectionListener listener, String caller) { in connectAsync() argument
212 log(Priority.WARN, caller, "Async connect: UNUSABLE client"); in connectAsync()
213 notifyListener(listener, null, caller); in connectAsync()
226 log(Priority.DEBUG, caller, "Async connect: service bound, connecting"); in connectAsync()
228 mListeners.put(listener, caller); in connectAsync()
233 notifyListener(listener, null, caller); in connectAsync()
[all …]
DTransportClientManager.java66 public TransportClient getTransportClient(ComponentName transportComponent, String caller) { in getTransportClient() argument
70 return getTransportClient(transportComponent, caller, bindIntent); in getTransportClient()
85 ComponentName transportComponent, Bundle extras, String caller) { in getTransportClient() argument
90 return getTransportClient(transportComponent, caller, bindIntent); in getTransportClient()
94 ComponentName transportComponent, String caller, Intent bindIntent) { in getTransportClient() argument
104 caller); in getTransportClient()
105 mTransportClientsCallerMap.put(transportClient, caller); in getTransportClient()
110 formatMessage(null, caller, "Retrieving " + transportClient)); in getTransportClient()
123 public void disposeOfTransportClient(TransportClient transportClient, String caller) { in disposeOfTransportClient() argument
124 transportClient.unbind(caller); in disposeOfTransportClient()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatLog.java27 public static void d(Object caller, String msg) { in d() argument
32 String className = caller.getClass().getName(); in d()
38 public static void d(String caller, String msg) { in d() argument
43 Rlog.d("CAT", caller + ": " + msg); in d()
46 public static void e(Object caller, String msg) { in e() argument
47 String className = caller.getClass().getName(); in e()
52 public static void e(String caller, String msg) { in e() argument
53 Rlog.e("CAT", caller + ": " + msg); in e()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverLocationPlugin.java38 public void onBatterySaverChanged(BatterySaverController caller) { in onBatterySaverChanged() argument
42 updateLocationState(caller); in onBatterySaverChanged()
46 public void onSystemReady(BatterySaverController caller) { in onSystemReady() argument
50 updateLocationState(caller); in onSystemReady()
53 private void updateLocationState(BatterySaverController caller) { in updateLocationState() argument
55 (caller.getBatterySaverPolicy().getGpsMode() in updateLocationState()
57 && !caller.isInteractive(); in updateLocationState()
/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/
DRequestSync.java38 void invoke(RequestSync caller) { in invoke() argument
39 final int flag = caller.mExemptionFlag; in invoke()
40 caller.mExtras.putInt(ContentResolver.SYNC_VIRTUAL_EXTRAS_EXEMPTION_FLAG, flag); in invoke()
50 .setSyncAdapter(caller.mAccount, caller.mAuthority) in invoke()
51 .setExtras(caller.mExtras) in invoke()
59 void invoke(RequestSync caller) { in invoke() argument
60 ContentResolver.addPeriodicSync(caller.mAccount, caller.mAuthority, caller.mExtras, in invoke()
61 caller.mPeriodicIntervalSeconds); in invoke()
66 void invoke(RequestSync caller) { in invoke() argument
68 caller.mAccount, caller.mAuthority, caller.mExtras); in invoke()
[all …]
/frameworks/wilhelm/tests/sandbox/streamSource/
DslesTestPlayStream.cpp74 SLAndroidBufferQueueItf caller, in AndroidBufferQueueCallback() argument
90 (*caller)->GetState(caller, &state); in AndroidBufferQueueCallback()
96 (*caller)->Clear(caller); in AndroidBufferQueueCallback()
103 (*caller)->Enqueue(caller, (void*)&myDiscBufferContext /*pBufferContext*/, in AndroidBufferQueueCallback()
111 SLresult res = (*caller)->Enqueue(caller, NULL /*pBufferContext*/, in AndroidBufferQueueCallback()
122 (*caller)->Enqueue(caller, (void*)&myDiscBufferContext /*pBufferContext*/, in AndroidBufferQueueCallback()
152 (*caller)->Enqueue(caller, NULL /*pBufferContext*/, in AndroidBufferQueueCallback()
164 (*caller)->Enqueue(caller, NULL /*pBufferContext*/, in AndroidBufferQueueCallback()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java221 final long caller = Binder.clearCallingIdentity(); in startLocalVoiceInteraction() local
239 Binder.restoreCallingIdentity(caller); in startLocalVoiceInteraction()
246 final long caller = Binder.clearCallingIdentity(); in stopLocalVoiceInteraction() local
250 Binder.restoreCallingIdentity(caller); in stopLocalVoiceInteraction()
643 final long caller = Binder.clearCallingIdentity(); in showSession() local
647 Binder.restoreCallingIdentity(caller); in showSession()
660 final long caller = Binder.clearCallingIdentity(); in deliverNewSession() local
664 Binder.restoreCallingIdentity(caller); in deliverNewSession()
676 final long caller = Binder.clearCallingIdentity(); in showSessionFromSession() local
680 Binder.restoreCallingIdentity(caller); in showSessionFromSession()
[all …]
/frameworks/wilhelm/tests/mimeUri/
DslesTestGetPositionUri.cpp66 void PrefetchEventCallback( SLPrefetchStatusItf caller, void *pContext __unused, SLuint32 event) in PrefetchEventCallback() argument
69 SLresult res = (*caller)->GetFillLevel(caller, &level); CheckErr(res); in PrefetchEventCallback()
72 res = (*caller)->GetPrefetchStatus(caller, &status); CheckErr(res); in PrefetchEventCallback()
91 SLPlayItf caller, in PlayEventCallback() argument
100 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res); in PlayEventCallback()
113 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res); in PlayEventCallback()
118 res = (*caller)->GetPosition(caller, &posMsec); CheckErr(res); in PlayEventCallback()
DslesTestPlayUri.cpp72 void PrefetchEventCallback( SLPrefetchStatusItf caller, void *pContext __unused, SLuint32 event) in PrefetchEventCallback() argument
76 result = (*caller)->GetFillLevel(caller, &level); in PrefetchEventCallback()
80 result = (*caller)->GetPrefetchStatus(caller, &status); in PrefetchEventCallback()
99 SLPlayItf caller, in PlayEventCallback() argument
110 (*caller)->GetPosition(caller, &pMsec); in PlayEventCallback()
116 (*caller)->GetPosition(caller, &pMsec); in PlayEventCallback()
DslesTestManyPlayers.cpp74 void PrefetchEventCallback( SLPrefetchStatusItf caller, void *pContext, SLuint32 event) in PrefetchEventCallback() argument
79 res = (*caller)->GetFillLevel(caller, &level); CheckErrPlyr(res, *pPlayerId); in PrefetchEventCallback()
82 res = (*caller)->GetPrefetchStatus(caller, &status); CheckErrPlyr(res, *pPlayerId); in PrefetchEventCallback()
103 SLPlayItf caller, in PlayEventCallback() argument
116 res = (*caller)->GetPosition(caller, &pMsec); CheckErrPlyr(res, *pPlayerId); in PlayEventCallback()
123 res = (*caller)->GetPosition(caller, &pMsec); CheckErrPlyr(res, *pPlayerId); in PlayEventCallback()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DTracer.java171 String caller = getCaller(); in doTrace() local
172 if (caller == null) { in doTrace()
176 log(String.format("%s (%s)", caller, join(", ", arguments))); in doTrace()
264 StackTraceElement caller = stackTrace[METHOD_TO_TRACE_LOCATION]; in getCaller() local
271 int indexOfDot = caller.getClassName().lastIndexOf('.'); in getCaller()
276 if (indexOfDot + 1 >= caller.getClassName().length()) { in getCaller()
280 String shortClassName = caller.getClassName().substring(indexOfDot + 1); in getCaller()
281 return String.format("%s.%s from %s() at %s:%d", shortClassName, caller.getMethodName(), in getCaller()
/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java782 public SpeechItem(Object caller, int callerUid, int callerPid) { in SpeechItem() argument
783 mCallerIdentity = caller; in SpeechItem()
858 public UtteranceSpeechItem(Object caller, int callerUid, int callerPid) { in UtteranceSpeechItem() argument
859 super(caller, callerUid, callerPid); in UtteranceSpeechItem()
1277 IBinder caller,
1282 if (!checkNonNull(caller, text, params)) {
1288 caller,
1299 IBinder caller,
1304 if (!checkNonNull(caller, text, fileDescriptor, params)) {
1316 caller,
[all …]
/frameworks/wilhelm/tests/native-media/jni/
Dnative-media-jni.c85 void PlayCallback(XAPlayItf caller, void *pContext, XAuint32 event) { in PlayCallback() argument
93 XAAndroidBufferQueueItf caller, in AndroidBufferQueueCallback() argument
150 (*caller)->GetState(caller, &state); in AndroidBufferQueueCallback()
196 res = (*caller)->Enqueue(caller, NULL /*pBufferContext*/, in AndroidBufferQueueCallback()
209 res = (*caller)->Enqueue(caller, (void *)&kEosBufferCntxt /*pBufferContext*/, in AndroidBufferQueueCallback()
225 void StreamChangeCallback (XAStreamInformationItf caller, in StreamChangeCallback() argument
244 res = (*caller)->QueryStreamType(caller, streamIndex, &domain); in StreamChangeCallback()
249 res = (*caller)->QueryStreamInformation(caller, streamIndex, &videoInfo); in StreamChangeCallback()
/frameworks/base/media/java/android/media/
DAudioManagerInternal.java43 public abstract void setRingerModeInternal(int ringerMode, String caller); in setRingerModeInternal() argument
45 public abstract void silenceRingerModeInternal(String caller); in silenceRingerModeInternal() argument
53 int onSetRingerModeExternal(int ringerModeOld, int ringerModeNew, String caller, in onSetRingerModeExternal() argument
57 int onSetRingerModeInternal(int ringerModeOld, int ringerModeNew, String caller, in onSetRingerModeInternal() argument
/frameworks/base/core/java/com/android/internal/os/
DChildZygoteInit.java115 final Runnable caller; in runZygoteServer() local
125 caller = server.runSelectLoop(abiList); in runZygoteServer()
135 if (caller != null) { in runZygoteServer()
136 caller.run(); in runZygoteServer()
/frameworks/native/opengl/libs/EGL/
Degl_tls.h43 const char* caller, int line, EGLint error, bool quiet);
56 static T setErrorEtc(const char* caller,
58 setErrorEtcImpl(caller, line, error, quiet);

1234567