Home
last modified time | relevance | path

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

123456789

/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/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2902 final CallerIdentity caller = getCallerIdentity(); in getActiveAdminOrCheckPermissionsForCallerLocked() local
2904 ActiveAdmin result = getActiveAdminWithPolicyForUidLocked(who, reqPolicy, caller.getUid()); in getActiveAdminOrCheckPermissionsForCallerLocked()
2919 final DevicePolicyData policy = getUserData(caller.getUserId()); in getActiveAdminOrCheckPermissionsForCallerLocked()
2922 caller.getUserId()); in getActiveAdminOrCheckPermissionsForCallerLocked()
2924 caller.getUserId()); in getActiveAdminOrCheckPermissionsForCallerLocked()
2936 + caller.getUid() + " for policy #" + reqPolicy + (permissions.isEmpty() ? "" in getActiveAdminOrCheckPermissionsForCallerLocked()
3820 final CallerIdentity caller = getCallerIdentity();
3823 Preconditions.checkCallAuthorization(hasFullCrossUsersPermission(caller, userHandle));
3979 final CallerIdentity caller = getCallerIdentity();
3980 Preconditions.checkCallAuthorization(hasFullCrossUsersPermission(caller, userHandle));
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/transport/
DTransportConnection.java118 String caller) { in TransportConnection() argument
126 caller, in TransportConnection()
138 String caller, in TransportConnection() argument
146 mCreatorLogString = caller; in TransportConnection()
210 public void connectAsync(TransportConnectionListener listener, String caller) { in connectAsync() argument
216 log(Priority.WARN, caller, "Async connect: UNUSABLE client"); in connectAsync()
217 notifyListener(listener, null, caller); in connectAsync()
230 log(Priority.DEBUG, caller, "Async connect: service bound, connecting"); in connectAsync()
232 mListeners.put(listener, caller); in connectAsync()
237 notifyListener(listener, null, caller); in connectAsync()
[all …]
DTransportConnectionManager.java84 public TransportConnection getTransportClient(ComponentName transportComponent, String caller) { in getTransportClient() argument
85 return getTransportClient(transportComponent, null, caller); in getTransportClient()
100 ComponentName transportComponent, @Nullable Bundle extras, String caller) { in getTransportClient() argument
105 return getTransportClient(transportComponent, caller, bindIntent); in getTransportClient()
109 ComponentName transportComponent, String caller, Intent bindIntent) { in getTransportClient() argument
119 caller); in getTransportClient()
120 mTransportClientsCallerMap.put(transportConnection, caller); in getTransportClient()
125 formatMessage(null, caller, "Retrieving " + transportConnection)); in getTransportClient()
138 public void disposeOfTransportClient(TransportConnection transportConnection, String caller) { in disposeOfTransportClient() argument
139 transportConnection.unbind(caller); in disposeOfTransportClient()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatLog.java28 public static void d(Object caller, String msg) { in d() argument
33 String className = caller.getClass().getName(); in d()
39 public static void d(String caller, String msg) { in d() argument
44 Rlog.d("CAT", caller + ": " + msg); in d()
47 public static void e(Object caller, String msg) { in e() argument
48 String className = caller.getClass().getName(); in e()
53 public static void e(String caller, String msg) { in e() argument
54 Rlog.e("CAT", caller + ": " + msg); in e()
/frameworks/base/media/java/android/media/session/
DMediaSession.java684 void dispatchPrepare(RemoteUserInfo caller) { in dispatchPrepare() argument
685 postToCallback(caller, CallbackMessageHandler.MSG_PREPARE, null, null); in dispatchPrepare()
688 void dispatchPrepareFromMediaId(RemoteUserInfo caller, String mediaId, Bundle extras) { in dispatchPrepareFromMediaId() argument
689 postToCallback(caller, CallbackMessageHandler.MSG_PREPARE_MEDIA_ID, mediaId, extras); in dispatchPrepareFromMediaId()
692 void dispatchPrepareFromSearch(RemoteUserInfo caller, String query, Bundle extras) { in dispatchPrepareFromSearch() argument
693 postToCallback(caller, CallbackMessageHandler.MSG_PREPARE_SEARCH, query, extras); in dispatchPrepareFromSearch()
696 void dispatchPrepareFromUri(RemoteUserInfo caller, Uri uri, Bundle extras) { in dispatchPrepareFromUri() argument
697 postToCallback(caller, CallbackMessageHandler.MSG_PREPARE_URI, uri, extras); in dispatchPrepareFromUri()
700 void dispatchPlay(RemoteUserInfo caller) { in dispatchPlay() argument
701 postToCallback(caller, CallbackMessageHandler.MSG_PLAY, null, null); in dispatchPlay()
[all …]
/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/packages/SystemUI/src/com/android/systemui/util/wrapper/
DRotationPolicyWrapper.kt31 fun setRotationLock(enabled: Boolean, caller: String) in setRotationLock()
32 fun setRotationLockAtAngle(enabled: Boolean, rotation: Int, caller: String) in setRotationLock()
47 override fun setRotationLock(enabled: Boolean, caller: String) { in setRotationLock()
49 RotationPolicy.setRotationLock(context, enabled, caller) in setRotationLock()
53 override fun setRotationLockAtAngle(enabled: Boolean, rotation: Int, caller: String) { in setRotationLock()
54 RotationPolicy.setRotationLockAtAngle(context, enabled, rotation, caller) in setRotationLock()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java496 final long caller = Binder.clearCallingIdentity(); in startLocalVoiceInteraction() local
524 Binder.restoreCallingIdentity(caller); in startLocalVoiceInteraction()
531 final long caller = Binder.clearCallingIdentity(); in stopLocalVoiceInteraction() local
535 Binder.restoreCallingIdentity(caller); in stopLocalVoiceInteraction()
1019 final long caller = Binder.clearCallingIdentity(); in showSession() local
1023 Binder.restoreCallingIdentity(caller); in showSession()
1036 final long caller = Binder.clearCallingIdentity(); in deliverNewSession() local
1040 Binder.restoreCallingIdentity(caller); in deliverNewSession()
1062 final long caller = Binder.clearCallingIdentity(); in showSessionFromSession() local
1066 Binder.restoreCallingIdentity(caller); in showSessionFromSession()
[all …]
/frameworks/base/core/java/com/android/internal/view/
DRotationPolicy.java108 public static void setRotationLock(Context context, final boolean enabled, String caller) { in setRotationLock() argument
112 setRotationLockAtAngle(context, enabled, rotation, caller); in setRotationLock()
119 final int rotation, String caller) { in setRotationLockAtAngle() argument
124 setRotationLock(enabled, rotation, caller); in setRotationLockAtAngle()
133 String caller) { in setRotationLockForAccessibility() argument
138 setRotationLock(enabled, NATURAL_ROTATION, caller); in setRotationLockForAccessibility()
151 final String caller) { in setRotationLock() argument
158 wm.freezeRotation(rotation, caller); in setRotationLock()
160 wm.thawRotation(caller); in setRotationLock()
/frameworks/base/media/java/android/media/
DAudioManagerInternal.java35 public abstract void setRingerModeInternal(int ringerMode, String caller); in setRingerModeInternal() argument
37 public abstract void silenceRingerModeInternal(String caller); in silenceRingerModeInternal() argument
77 int onSetRingerModeExternal(int ringerModeOld, int ringerModeNew, String caller, in onSetRingerModeExternal() argument
81 int onSetRingerModeInternal(int ringerModeOld, int ringerModeNew, String caller, in onSetRingerModeInternal() 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/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/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/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/services/core/java/com/android/server/wm/
DImeInsetsSourceProvider.java232 protected boolean updateClientVisibility(InsetsControlTarget caller) { in updateClientVisibility() argument
234 if (caller != controlTarget) { in updateClientVisibility()
236 if (isImeInputTarget(caller)) { in updateClientVisibility()
241 boolean imeVisible = caller.isRequestedVisible(WindowInsets.Type.ime()); in updateClientVisibility()
249 controlTarget = mDisplayContent.getImeHostOrFallback(caller.getWindow()); in updateClientVisibility()
251 if (controlTarget != caller) { in updateClientVisibility()
256 WindowState windowState = caller.getWindow(); in updateClientVisibility()
262 boolean changed = super.updateClientVisibility(caller); in updateClientVisibility()
264 if (changed && caller.isRequestedVisible(mSource.getType())) { in updateClientVisibility()
265 reportImeDrawnForOrganizerIfNeeded(caller); in updateClientVisibility()
[all …]
/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.h39 static void setErrorEtcImpl(const char* caller, int line, EGLint error, bool quiet);
52 static T setErrorEtc(const char* caller, int line, EGLint error, T returnValue,
54 setErrorEtcImpl(caller, line, error, quiet);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRotationLockControllerImpl.java96 public void setRotationLocked(boolean locked, String caller) { in setRotationLocked() argument
97 mRotationPolicy.setRotationLock(locked, caller); in setRotationLocked()
100 public void setRotationLockedAtAngle(boolean locked, int rotation, String caller) { in setRotationLockedAtAngle() argument
101 mRotationPolicy.setRotationLockAtAngle(locked, rotation, caller); in setRotationLockedAtAngle()
/frameworks/base/services/credentials/java/com/android/server/credentials/
DNonCredentialProviderCallerException.java26 public NonCredentialProviderCallerException(String caller) { in NonCredentialProviderCallerException() argument
27 super(caller + MESSAGE); in NonCredentialProviderCallerException()

123456789