Home
last modified time | relevance | path

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

1234567

/frameworks/base/apex/media/framework/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 …]
/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/backup/backuplib/java/com/android/server/backup/transport/
DTransportClient.java117 String caller) { in TransportClient() argument
125 caller, in TransportClient()
137 String caller, in TransportClient() argument
145 mCreatorLogString = caller; in TransportClient()
207 public void connectAsync(TransportConnectionListener listener, String caller) { in connectAsync() argument
213 log(Priority.WARN, caller, "Async connect: UNUSABLE client"); in connectAsync()
214 notifyListener(listener, null, caller); in connectAsync()
227 log(Priority.DEBUG, caller, "Async connect: service bound, connecting"); in connectAsync()
229 mListeners.put(listener, caller); in connectAsync()
234 notifyListener(listener, null, caller); in connectAsync()
[all …]
DTransportClientManager.java127 public TransportClient getTransportClient(ComponentName transportComponent, String caller) { in getTransportClient() argument
128 return getTransportClient(transportComponent, null, caller); in getTransportClient()
143 ComponentName transportComponent, @Nullable Bundle extras, String caller) { in getTransportClient() argument
148 return getTransportClient(transportComponent, caller, bindIntent); in getTransportClient()
152 ComponentName transportComponent, String caller, Intent bindIntent) { in getTransportClient() argument
162 caller); in getTransportClient()
163 mTransportClientsCallerMap.put(transportClient, caller); in getTransportClient()
168 formatMessage(null, caller, "Retrieving " + transportClient)); in getTransportClient()
181 public void disposeOfTransportClient(TransportClient transportClient, String caller) { in disposeOfTransportClient() argument
182 transportClient.unbind(caller); in disposeOfTransportClient()
[all …]
DTransportUtils.java55 static String formatMessage(@Nullable String prefix, @Nullable String caller, String message) { in formatMessage() argument
60 if (caller != null) { in formatMessage()
61 string.append("[").append(caller).append("] "); in formatMessage()
/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/base/media/java/android/media/session/
DMediaSession.java648 void dispatchPrepare(RemoteUserInfo caller) { in dispatchPrepare() argument
649 postToCallback(caller, CallbackMessageHandler.MSG_PREPARE, null, null); in dispatchPrepare()
652 void dispatchPrepareFromMediaId(RemoteUserInfo caller, String mediaId, Bundle extras) { in dispatchPrepareFromMediaId() argument
653 postToCallback(caller, CallbackMessageHandler.MSG_PREPARE_MEDIA_ID, mediaId, extras); in dispatchPrepareFromMediaId()
656 void dispatchPrepareFromSearch(RemoteUserInfo caller, String query, Bundle extras) { in dispatchPrepareFromSearch() argument
657 postToCallback(caller, CallbackMessageHandler.MSG_PREPARE_SEARCH, query, extras); in dispatchPrepareFromSearch()
660 void dispatchPrepareFromUri(RemoteUserInfo caller, Uri uri, Bundle extras) { in dispatchPrepareFromUri() argument
661 postToCallback(caller, CallbackMessageHandler.MSG_PREPARE_URI, uri, extras); in dispatchPrepareFromUri()
664 void dispatchPlay(RemoteUserInfo caller) { in dispatchPlay() argument
665 postToCallback(caller, CallbackMessageHandler.MSG_PLAY, null, null); in dispatchPlay()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java249 final long caller = Binder.clearCallingIdentity(); in startLocalVoiceInteraction() local
267 Binder.restoreCallingIdentity(caller); in startLocalVoiceInteraction()
274 final long caller = Binder.clearCallingIdentity(); in stopLocalVoiceInteraction() local
278 Binder.restoreCallingIdentity(caller); in stopLocalVoiceInteraction()
702 final long caller = Binder.clearCallingIdentity(); in showSession() local
706 Binder.restoreCallingIdentity(caller); in showSession()
719 final long caller = Binder.clearCallingIdentity(); in deliverNewSession() local
723 Binder.restoreCallingIdentity(caller); in deliverNewSession()
735 final long caller = Binder.clearCallingIdentity(); in showSessionFromSession() local
739 Binder.restoreCallingIdentity(caller); in showSessionFromSession()
[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/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/apex/media/aidl/private/android/media/
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/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()
1278 IBinder caller,
1283 if (!checkNonNull(caller, text, params)) {
1289 caller,
1300 IBinder caller,
1305 if (!checkNonNull(caller, text, fileDescriptor, params)) {
1317 caller,
[all …]
/frameworks/base/media/java/android/media/
DAudioManagerInternal.java44 public abstract void setRingerModeInternal(int ringerMode, String caller); in setRingerModeInternal() argument
46 public abstract void silenceRingerModeInternal(String caller); in silenceRingerModeInternal() argument
66 int onSetRingerModeExternal(int ringerModeOld, int ringerModeNew, String caller, in onSetRingerModeExternal() argument
70 int onSetRingerModeInternal(int ringerModeOld, int ringerModeNew, String caller, in onSetRingerModeInternal() argument
/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/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);
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DOnTaskFinishedListener.java24 OnTaskFinishedListener NOP = caller -> {};
33 void onFinished(String caller); in onFinished() argument
/frameworks/base/core/java/android/app/
DIActivityManager.aidl109 int startActivity(in IApplicationThread caller, in String callingPackage, in Intent intent, in startActivity() argument
112 int startActivityWithFeature(in IApplicationThread caller, in String callingPackage, in startActivityWithFeature() argument
121 Intent registerReceiver(in IApplicationThread caller, in String callerPackage, in registerReceiver() argument
124 Intent registerReceiverWithFeature(in IApplicationThread caller, in String callerPackage, in registerReceiverWithFeature() argument
131 int broadcastIntent(in IApplicationThread caller, in Intent intent, in broadcastIntent() argument
135 int broadcastIntentWithFeature(in IApplicationThread caller, in String callingFeatureId, in broadcastIntentWithFeature() argument
139 void unbroadcastIntent(in IApplicationThread caller, in Intent intent, int userId); in unbroadcastIntent() argument
146 void moveTaskToFront(in IApplicationThread caller, in String callingPackage, int task, in moveTaskToFront() argument
150 ContentProviderHolder getContentProvider(in IApplicationThread caller, in String callingPackage, in getContentProvider() argument
153 void publishContentProviders(in IApplicationThread caller, in publishContentProviders() argument
[all …]

1234567