Home
last modified time | relevance | path

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

1234

/packages/modules/Media/apex/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 …]
DMediaSession2Service.java350 public void connect(Controller2Link caller, int seq, Bundle connectionRequest) { in connect() argument
357 if (caller == null || connectionRequest == null) { in connect()
359 Log.d(TAG, "Ignoring calls with illegal arguments, caller=" + caller in connect()
400 caller, in connect()
422 session.onConnect(caller, pid, uid, seq, connectionRequest); in connect()
433 caller.notifyDisconnected(0); in connect()
/packages/modules/NetworkStack/src/com/android/server/util/
DPermissionUtil.java46 final int caller = getCallingUid(); in enforceNetworkStackCallingPermission() local
47 if (caller == Process.SYSTEM_UID) { in enforceNetworkStackCallingPermission()
52 if (caller != Process.myUid() // apps with NETWORK_STACK_UID in enforceNetworkStackCallingPermission()
53 && UserHandle.getAppId(caller) != Process.BLUETOOTH_UID in enforceNetworkStackCallingPermission()
54 && !isTestUid(caller)) { in enforceNetworkStackCallingPermission()
55 throw new SecurityException("Invalid caller: " + caller); in enforceNetworkStackCallingPermission()
120 final int caller = getCallingUid(); in checkDumpPermission() local
121 if (caller != Process.myUid() && caller != Process.SYSTEM_UID && caller != Process.ROOT_UID in checkDumpPermission()
122 && caller != Process.SHELL_UID) { in checkDumpPermission()
123 throw new SecurityException("No dump permissions for caller: " + caller); in checkDumpPermission()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainService.java219 final CallerIdentity caller = getCaller();
220 if (!hasGrant(alias, caller)) {
224 final int granteeUid = caller.mUid;
257 final CallerIdentity caller = getCaller();
258 if (!hasGrant(alias, caller) && !isSystemUid(caller)) {
276 final CallerIdentity caller = getCaller();
277 if (!hasGrant(alias, caller) && !isSystemUid(caller)) {
426 private boolean hasGrant(String alias, CallerIdentity caller) {
427 return hasGrant(alias, caller.mUid);
444 final CallerIdentity caller = getCaller();
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DRenderingRequest.java51 int type, RenderingRequestCaller caller) { in post() argument
52 RenderingRequest.post(context, source, preset, type, caller, null, null); in post()
56 RenderingRequestCaller caller, Rect bounds, Rect destination) { in post() argument
59 || preset == null || caller == null) { in post()
61 + " or preset: " + preset + " or caller: " + caller); in post()
91 request.setCaller(caller); in post()
97 RenderingRequestCaller caller) { in postIconRequest() argument
98 if (preset == null || caller == null) { in postIconRequest()
100 + preset + " or caller: " + caller); in postIconRequest()
109 request.setCaller(caller); in postIconRequest()
[all …]
DProcessingService.java95 RenderingRequestCaller caller) { in postHighresRenderingRequest() argument
103 request.setCaller(caller); in postHighresRenderingRequest()
109 RenderingRequestCaller caller) { in postFullresRenderingRequest() argument
116 request.setCaller(caller); in postFullresRenderingRequest()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DBaseSettingsFragment.java46 public final boolean onPreferenceStartFragment(PreferenceFragmentCompat caller, in onPreferenceStartFragment() argument
61 f.setTargetFragment(caller, 0); in onPreferenceStartFragment()
85 public final boolean onPreferenceStartScreen(PreferenceFragmentCompat caller, in onPreferenceStartScreen() argument
99 public boolean onPreferenceDisplayDialog(@NonNull PreferenceFragmentCompat caller, in onPreferenceDisplayDialog() argument
108 f.setTargetFragment(caller, 0); in onPreferenceDisplayDialog()
112 return super.onPreferenceDisplayDialog(caller, pref); in onPreferenceDisplayDialog()
/packages/modules/Media/apex/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
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/viewmodel/
DFingerprintNavigationViewModel.kt104 fun update(action: FingerprintAction, caller: KClass<*>, debugStr: String) { in <lambda>()
105 Log.d(TAG, "$caller.update($action) $debugStr") in <lambda>()
107 val isUiStep = currentStep is UiStep && caller is UiStep in <lambda>()
111 if (isUiStep && currentStep::class != caller) { in <lambda>()
113 "Error $currentStep != $caller, $caller should not be sending any events at this time" in <lambda>()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DStateMachine.java46 public void onComplete(State caller, int event) {
48 if (state == caller) {
52 Log.w(TAG, "State is " + state + " expecting " + caller);
57 public void onComplete(Fragment caller, int event) {
59 if (state != null && state.getFragment() == caller) {
63 Log.w(TAG, "State is " + state + " expecting " + caller);
DState.java41 void onComplete(State caller, @StateMachine.Event int event); in onComplete() argument
43 void onComplete(Fragment caller, @StateMachine.Event int event); in onComplete() argument
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/domain/interactor/
DVibrationInteractor.kt43 fun vibrate(effect: FingerprintVibrationEffects, caller: String) in vibrate()
50 override fun vibrate(effect: FingerprintVibrationEffects, caller: String) { in vibrate()
51 val callerString = "$caller::$effect" in vibrate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/overlay/
DFeatureFactoryImplTwoPanel.java128 PreferenceFragmentCompat caller, PreferenceScreen pref) { in onPreferenceStartScreen() argument
133 public Fragment onCreatePreviewFragment(@NonNull Fragment caller, Preference pref) { in onCreatePreviewFragment() argument
141 f.setTargetFragment(caller, 0); in onCreatePreviewFragment()
144 return super.onCreatePreviewFragment(caller, pref); in onCreatePreviewFragment()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionControlPreference.java76 @NonNull AppPermissionGroup group, @NonNull String caller) { in PermissionControlPreference() argument
77 this(context, group, caller, 0); in PermissionControlPreference()
81 @NonNull AppPermissionGroup group, @NonNull String caller, long sessionId) { in PermissionControlPreference() argument
82 this(context, group.getApp().packageName, group.getName(), group.getUser(), caller, in PermissionControlPreference()
88 @NonNull String caller, long sessionId, String granted, boolean hasNavGraph) { in PermissionControlPreference() argument
97 mCaller = caller; in PermissionControlPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppInfoDashboardFragmentTest.java360 final SettingsPreferenceFragment caller = mock(SettingsPreferenceFragment.class); in startAppInfoFragment_noCrashOnNullArgs() local
362 when(caller.getActivity()).thenReturn(sa); in startAppInfoFragment_noCrashOnNullArgs()
363 when(caller.getContext()).thenReturn(sa); in startAppInfoFragment_noCrashOnNullArgs()
368 caller, appEntry); in startAppInfoFragment_noCrashOnNullArgs()
373 final SettingsPreferenceFragment caller = mock(SettingsPreferenceFragment.class); in startAppInfoFragment_includesNewAndOldArgs() local
375 when(caller.getContext()).thenReturn(sa); in startAppInfoFragment_includesNewAndOldArgs()
383 caller, appEntry); in startAppInfoFragment_includesNewAndOldArgs()
387 verify(caller).startActivityForResult(intent.capture(), any(Integer.class)); in startAppInfoFragment_includesNewAndOldArgs()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilitySettingsForSetupWizardActivity.java71 public boolean onPreferenceStartFragment(PreferenceFragmentCompat caller, Preference pref) { in onPreferenceStartFragment() argument
81 .setSourceMetricsCategory(caller instanceof Instrumentable in onPreferenceStartFragment()
82 ? ((Instrumentable) caller).getMetricsCategory() in onPreferenceStartFragment()
/packages/apps/Messaging/src/com/android/messaging/util/
DAssert.java206 StackTraceElement caller = DebugUtils.getCaller(2); in fail() local
207 if (caller != null) { in fail()
210 LogUtil.e(LogUtil.BUGLE_TAG, "\tat " + caller.toString()); in fail()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
DParameterIconStyle.java30 public void getIcon(int index, BitmapCaller caller) { in getIcon() argument
31 caller.available(mBitmaps[index]); in getIcon()
DBasicParameterStyle.java93 public void getIcon(int index, BitmapCaller caller) { in getIcon() argument
94 mEditor.computeIcon(index, caller); in getIcon()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DLogUtils.kt24 fun splitFailureMessage(caller: String, reason: String): String { in splitFailureMessage()
25 return "($caller) Splitscreen aborted: $reason" in splitFailureMessage()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowRotationPolicy.java33 protected static void setRotationLock(Context context, final boolean enabled, String caller) { in setRotationLock() argument
39 Context context, final boolean enabled, String caller) { in setRotationLockForAccessibility() argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/
DAccessibilityColorCorrectionSettingsFragment.java33 public boolean onPreferenceStartFragment(PreferenceFragmentCompat caller, Preference pref) { in onPreferenceStartFragment() argument
38 public boolean onPreferenceStartScreen(PreferenceFragmentCompat caller, PreferenceScreen pref) { in onPreferenceStartScreen() argument
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailNotifier.java124 int caller = Binder.getCallingUid(); in getCallingPackages() local
125 if (caller == 0) { in getCallingPackages()
128 return Lists.newArrayList(mContext.getPackageManager().getPackagesForUid(caller)); in getCallingPackages()
/packages/apps/TV/src/com/android/tv/
DMainActivityWrapper.java62 void notifyCurrentChannelChange(@NonNull MainActivity caller, @Nullable Channel channel) { in notifyCurrentChannelChange() argument
63 if (mActivity == caller) { in notifyCurrentChannelChange()
/packages/apps/Dialer/java/com/android/dialer/logging/
Dcontact_lookup_result.proto65 // via Cequint caller ID.
75 // Number was identified by manually-entered caller ID data
103 // Number was identified via Cequint caller ID.

1234