Searched refs:caller (Results 1 - 25 of 93) sorted by path

1234

/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp920 pid_t caller = IPCThreadState::self()->getCallingPid(); local
921 if (uint32_t(stream) >= AUDIO_STREAM_PUBLIC_CNT && caller != getpid_cached) {
922 ALOGW("setStreamVolume() pid %d cannot use internal stream type %d", caller, stream);
2258 pid_t caller = IPCThreadState::self()->getCallingPid(); local
2259 ALOGV("acquiring %d from %d, for %d", audioSession, caller, pid);
2260 if (pid != -1 && (caller == getpid_cached)) {
2261 caller = pid;
2270 if (mNotificationClients.indexOfKey(caller) < 0) {
2271 ALOGW("acquireAudioSessionId() unknown client %d for session %d", caller, audioSession);
2279 if (ref->mSessionid == audioSession && ref->mPid == caller) {
2292 pid_t caller = IPCThreadState::self()->getCallingPid(); local
[all...]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DTracer.java171 String caller = getCaller();
172 if (caller == null) {
176 log(String.format("%s (%s)", caller, join(", ", arguments)));
231 * expected to be converted manually by the caller. If the array is not converter then
264 StackTraceElement caller = stackTrace[METHOD_TO_TRACE_LOCATION];
271 int indexOfDot = caller.getClassName().lastIndexOf('.');
276 if (indexOfDot + 1 >= caller.getClassName().length()) {
280 String shortClassName = caller.getClassName().substring(indexOfDot + 1);
281 return String.format("%s.%s from %s() at %s:%d", shortClassName, caller.getMethodName(),
/frameworks/base/core/java/android/app/
H A DActivityManagerNative.java2631 public int startActivity(IApplicationThread caller, String callingPackage, Intent intent, argument
2637 data.writeStrongBinder(caller != null ? caller.asBinder() : null);
2665 public int startActivityAsUser(IApplicationThread caller, String callingPackage, Intent intent, argument
2672 data.writeStrongBinder(caller != null ? caller.asBinder() : null);
2700 public int startActivityAsCaller(IApplicationThread caller, String callingPackage, argument
2707 data.writeStrongBinder(caller != null ? caller.asBinder() : null);
2736 public WaitResult startActivityAndWait(IApplicationThread caller, Strin argument
2771 startActivityWithConfig(IApplicationThread caller, String callingPackage, Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int startFlags, Configuration config, Bundle options, int userId) argument
2801 startActivityIntentSender(IApplicationThread caller, IntentSender intent, Intent fillInIntent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int flagsMask, int flagsValues, Bundle options) argument
2998 registerReceiver(IApplicationThread caller, String packageName, IIntentReceiver receiver, IntentFilter filter, String perm, int userId) argument
3033 broadcastIntent(IApplicationThread caller, Intent intent, String resolvedType, IIntentReceiver resultTo, int resultCode, String resultData, Bundle map, String[] requiredPermissions, int appOp, Bundle options, boolean serialized, boolean sticky, int userId) argument
3062 unbroadcastIntent(IApplicationThread caller, Intent intent, int userId) argument
3540 getContentProvider(IApplicationThread caller, String name, int userId, boolean stable) argument
3579 publishContentProviders(IApplicationThread caller, List<ContentProviderHolder> providers) argument
3670 startService(IApplicationThread caller, Intent service, String resolvedType, String callingPackage, int userId) argument
3688 stopService(IApplicationThread caller, Intent service, String resolvedType, int userId) argument
3740 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags, String callingPackage, int userId) argument
4177 grantUriPermission(IApplicationThread caller, String targetPkg, Uri uri, int mode, int userId) argument
4192 revokeUriPermission(IApplicationThread caller, Uri uri, int mode, int userId) argument
4927 startActivities(IApplicationThread caller, String callingPackage, Intent[] intents, String[] resolvedTypes, IBinder resultTo, Bundle options, int userId) argument
[all...]
H A DApplicationPackageManager.java663 ComponentName caller, Intent[] specifics, Intent intent,
685 return mPM.queryIntentActivityOptions(caller, specifics,
847 + ", caller scale=" + mContext.getResources()
662 queryIntentActivityOptions( ComponentName caller, Intent[] specifics, Intent intent, int flags) argument
H A DIActivityManager.java67 public int startActivity(IApplicationThread caller, String callingPackage, Intent intent, argument
70 public int startActivityAsUser(IApplicationThread caller, String callingPackage, Intent intent, argument
73 public int startActivityAsCaller(IApplicationThread caller, String callingPackage, argument
77 public WaitResult startActivityAndWait(IApplicationThread caller, String callingPackage, argument
81 public int startActivityWithConfig(IApplicationThread caller, String callingPackage, argument
85 public int startActivityIntentSender(IApplicationThread caller, argument
104 public Intent registerReceiver(IApplicationThread caller, String callerPackage, argument
108 public int broadcastIntent(IApplicationThread caller, Intent intent, argument
112 public void unbroadcastIntent(IApplicationThread caller, Intent intent, int userId) throws RemoteException; argument
149 public ContentProviderHolder getContentProvider(IApplicationThread caller, argument
155 publishContentProviders(IApplicationThread caller, List<ContentProviderHolder> providers) argument
163 startService(IApplicationThread caller, Intent service, String resolvedType, String callingPackage, int userId) argument
165 stopService(IApplicationThread caller, Intent service, String resolvedType, int userId) argument
171 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags, String callingPackage, int userId) argument
234 grantUriPermission(IApplicationThread caller, String targetPkg, Uri uri, int mode, int userId) argument
236 revokeUriPermission(IApplicationThread caller, Uri uri, int mode, int userId) argument
368 startActivities(IApplicationThread caller, String callingPackage, Intent[] intents, String[] resolvedTypes, IBinder resultTo, Bundle options, int userId) argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DIPackageManager.aidl144 in ComponentName caller, in Intent[] specifics,
H A DPackageManager.java576 * package and the caller has not supplied the {@link #INSTALL_ALLOW_TEST}
2895 * @param caller The class name of the activity that is making the
2917 ComponentName caller, Intent[] specifics, Intent intent, int flags);
3341 * target user is the caller and is itself a managed profile, then this
3360 * If the target user is a managed profile of the calling user or the caller
3363 * The caller can specify the location in the bounds of the drawable to be
3387 * If the target user is a managed profile of the calling user or the caller
3401 * If the target user is a managed profile of the calling user or the caller
3770 * @throws SecurityException if the caller does not have the
3804 * @throws SecurityException if the caller doe
2916 queryIntentActivityOptions( ComponentName caller, Intent[] specifics, Intent intent, int flags) argument
[all...]
/frameworks/base/core/java/android/os/
H A DDebug.java1547 * as the caller.
2077 * <p>Most services require the caller to hold android.permission.DUMP.
2112 * @return the String describing the caller at that depth.
2115 // callStack[4] is the caller of the method that called getCallers()
2119 StackTraceElement caller = callStack[4 + depth];
2120 return caller.getClassName() + "." + caller.getMethodName() + ":" + caller.getLineNumber();
2125 * @param depth the number of levels to return, starting with the immediate caller.
2140 * @param depth the number of levels to return, starting with the immediate caller
[all...]
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java1353 * @param resultRequestCode If resultTo is non-null, this is the caller's
1381 * @param caller The fragment that is asking to be finished.
1387 public void finishPreferencePanel(Fragment caller, int resultCode, Intent resultData) { argument
1394 if (caller != null) {
1395 if (caller.getTargetFragment() != null) {
1396 caller.getTargetFragment().onActivityResult(caller.getTargetRequestCode(),
1404 public boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref) { argument
H A DPreferenceFragment.java154 boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref); argument
/frameworks/base/core/java/android/speech/tts/
H A DITextToSpeechService.aidl154 * @param caller a binder representing the identity of the calling
166 int loadLanguage(in IBinder caller, in String lang, in String country, in String variant);
172 * @param caller Instance a binder representing the identity of the calling
176 void setCallback(in IBinder caller, ITextToSpeechCallback cb);
186 * @param caller a binder representing the identity of the calling
191 int loadVoice(in IBinder caller, in String voiceName);
H A DTextToSpeechService.java523 // The AudioPlaybackHandler will be destroyed by the caller.
744 public SpeechItem(Object caller, int callerUid, int callerPid) { argument
745 mCallerIdentity = caller;
820 public UtteranceSpeechItem(Object caller, int callerUid, int callerPid) { argument
821 super(caller, callerUid, callerPid);
1197 public int speak(IBinder caller, CharSequence text, int queueMode, Bundle params,
1199 if (!checkNonNull(caller, text, params)) {
1203 SpeechItem item = new SynthesisSpeechItemV1(caller,
1209 public int synthesizeToFileDescriptor(IBinder caller, CharSequence text, ParcelFileDescriptor
1211 if (!checkNonNull(caller, tex
1391 setCallback(IBinder caller, ITextToSpeechCallback cb) argument
1465 getCallbackFor(Object caller) argument
[all...]
/frameworks/base/core/java/android/view/
H A DInputEventConsistencyVerifier.java115 * @param caller The object to which the verifier is attached.
118 public InputEventConsistencyVerifier(Object caller, int flags) { argument
119 this(caller, flags, null);
124 * @param caller The object to which the verifier is attached.
128 public InputEventConsistencyVerifier(Object caller, int flags, String logTag) { argument
129 this.mCaller = caller;
H A DMenu.java256 * for more * details on the <var>caller</var>, <var>specifics</var>, and
279 * @param caller The current activity component name as defined by
297 ComponentName caller, Intent[] specifics,
296 addIntentOptions(int groupId, int itemId, int order, ComponentName caller, Intent[] specifics, Intent intent, int flags, MenuItem[] outSpecificItems) argument
/frameworks/base/core/java/com/android/internal/os/
H A DTransferPipe.java73 static void go(Caller caller, IInterface iface, FileDescriptor out, argument
75 go(caller, iface, out, prefix, args, DEFAULT_TIMEOUT);
78 static void go(Caller caller, IInterface iface, FileDescriptor out, argument
83 caller.go(iface, out, prefix, args);
91 caller.go(iface, tp.getWriteFd().getFileDescriptor(), prefix, args);
H A DWrapperInit.java84 } catch (ZygoteInit.MethodAndArgsCaller caller) {
85 caller.run();
H A DZygoteInit.java274 // (to derive the caller's class-loader). Use true to force initialization, and
615 } catch (MethodAndArgsCaller caller) {
616 caller.run();
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenu.java71 ComponentName caller, Intent[] specifics, Intent intent, int flags,
75 pm.queryIntentActivityOptions(caller, specifics, intent, 0);
70 addIntentOptions(int groupId, int itemId, int order, ComponentName caller, Intent[] specifics, Intent intent, int flags, MenuItem[] outSpecificItems) argument
H A DMenuBuilder.java465 public int addIntentOptions(int group, int id, int categoryOrder, ComponentName caller, argument
469 pm.queryIntentActivityOptions(caller, specifics, intent, 0);
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DAbortReceiver.java37 IBinder caller = intent.getIBinderExtra("caller");
41 caller.transact(LaunchpadActivity.GOT_RECEIVE_TRANSACTION, data, null, 0);
H A DLocalDeniedReceiver.java32 IBinder caller = intent.getIBinderExtra("caller");
36 caller.transact(BroadcastTest.GOT_RECEIVE_TRANSACTION, data, null, 0);
H A DLocalGrantedReceiver.java32 IBinder caller = intent.getIBinderExtra("caller");
36 caller.transact(BroadcastTest.GOT_RECEIVE_TRANSACTION, data, null, 0);
H A DLocalReceiver.java67 IBinder caller = intent.getIBinderExtra("caller");
71 caller.transact(LaunchpadActivity.GOT_RECEIVE_TRANSACTION, data, null, 0);
H A DRemoteDeniedReceiver.java32 IBinder caller = intent.getIBinderExtra("caller");
36 caller.transact(BroadcastTest.GOT_RECEIVE_TRANSACTION, data, null, 0);
H A DRemoteGrantedReceiver.java32 IBinder caller = intent.getIBinderExtra("caller");
36 caller.transact(BroadcastTest.GOT_RECEIVE_TRANSACTION, data, null, 0);

Completed in 555 milliseconds

1234