/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainService.java | 222 final CallerIdentity caller = getCaller(); 223 if (!hasGrant(alias, caller)) { 227 final int granteeUid = caller.mUid; 260 final CallerIdentity caller = getCaller(); 261 if (!hasGrant(alias, caller) && !isSystemUid(caller)) { 279 final CallerIdentity caller = getCaller(); 280 if (!hasGrant(alias, caller) && !isSystemUid(caller)) { 429 private boolean hasGrant(String alias, CallerIdentity caller) { 430 return hasGrant(alias, caller.mUid); 447 final CallerIdentity caller = getCaller(); [all …]
|
/packages/modules/NetworkStack/src/com/android/server/util/ |
D | PermissionUtil.java | 46 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/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | RenderingRequest.java | 51 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 …]
|
D | ProcessingService.java | 95 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/ |
D | BaseSettingsFragment.java | 46 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/apps/Settings/src/com/android/settings/search/ |
D | SearchFeatureProviderImpl.java | 40 public void verifyLaunchSearchResultPageCaller(Context context, ComponentName caller) { in verifyLaunchSearchResultPageCaller() argument 41 if (caller == null) { in verifyLaunchSearchResultPageCaller() 45 final String packageName = caller.getPackageName(); in verifyLaunchSearchResultPageCaller() 49 isSignatureAllowlisted(context, caller.getPackageName()); in verifyLaunchSearchResultPageCaller()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | AppInfoDashboardFragmentTest.java | 351 final SettingsPreferenceFragment caller = mock(SettingsPreferenceFragment.class); in startAppInfoFragment_noCrashOnNullArgs() local 353 when(caller.getActivity()).thenReturn(sa); in startAppInfoFragment_noCrashOnNullArgs() 354 when(caller.getContext()).thenReturn(sa); in startAppInfoFragment_noCrashOnNullArgs() 359 caller, appEntry); in startAppInfoFragment_noCrashOnNullArgs() 364 final SettingsPreferenceFragment caller = mock(SettingsPreferenceFragment.class); in startAppInfoFragment_includesNewAndOldArgs() local 366 when(caller.getContext()).thenReturn(sa); in startAppInfoFragment_includesNewAndOldArgs() 374 caller, appEntry); in startAppInfoFragment_includesNewAndOldArgs() 378 verify(caller).startActivityForResult(intent.capture(), any(Integer.class)); in startAppInfoFragment_includesNewAndOldArgs()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | PermissionControlPreference.java | 74 @NonNull AppPermissionGroup group, @NonNull String caller) { in PermissionControlPreference() argument 75 this(context, group, caller, 0); in PermissionControlPreference() 79 @NonNull AppPermissionGroup group, @NonNull String caller, long sessionId) { in PermissionControlPreference() argument 80 this(context, group.getApp().packageName, group.getName(), group.getUser(), caller, in PermissionControlPreference() 86 @NonNull String caller, long sessionId, String granted, boolean hasNavGraph) { in PermissionControlPreference() argument 95 mCaller = caller; in PermissionControlPreference()
|
D | AppPermissionFragment.java | 142 @NonNull UserHandle userHandle, @Nullable String caller, long sessionId, @Nullable in createArgs() argument 152 arguments.putString(EXTRA_CALLER_NAME, caller); in createArgs() 217 String caller = getArguments().getString(EXTRA_CALLER_NAME); in onCreateView() local 222 setBottomLinkState(footer1Link, caller, Intent.ACTION_MANAGE_APP_PERMISSIONS); in onCreateView() 226 setBottomLinkState(footer2Link, caller, Intent.ACTION_MANAGE_PERMISSION_APPS); in onCreateView() 270 private void setBottomLinkState(TextView view, String caller, String action) { in setBottomLinkState() argument 271 if ((Objects.equals(caller, AppPermissionGroupsFragment.class.getName()) in setBottomLinkState() 273 || (Objects.equals(caller, PermissionAppsFragment.class.getName()) in setBottomLinkState()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | AdvancedPowerUsageDetail.java | 137 Activity caller, InstrumentedPreferenceFragment fragment, in startBatteryDetailPage() argument 155 startBatteryDetailPage(caller, fragment, launchArgs); in startBatteryDetailPage() 159 public static void startBatteryDetailPage(Activity caller, in startBatteryDetailPage() argument 173 startBatteryDetailPage(caller, fragment, launchArgs); in startBatteryDetailPage() 176 private static void startBatteryDetailPage(Activity caller, in startBatteryDetailPage() argument 198 new SubSettingLauncher(caller) in startBatteryDetailPage() 215 public static void startBatteryDetailPage(Activity caller, in startBatteryDetailPage() argument 218 final PackageManager packageManager = caller.getPackageManager(); in startBatteryDetailPage() 227 new SubSettingLauncher(caller) in startBatteryDetailPage()
|
D | HighPowerDetail.java | 190 public static void show(Fragment caller, int uid, String packageName, int requestCode) { in show() argument 196 fragment.setTargetFragment(caller, requestCode); in show() 197 fragment.show(caller.getFragmentManager(), HighPowerDetail.class.getSimpleName()); in show()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/overlay/ |
D | FeatureFactoryImplTwoPanel.java | 127 PreferenceFragmentCompat caller, PreferenceScreen pref) { in onPreferenceStartScreen() argument 132 public Fragment onCreatePreviewFragment(@NonNull Fragment caller, Preference pref) { in onCreatePreviewFragment() argument 140 f.setTargetFragment(caller, 0); in onCreatePreviewFragment() 143 return super.onCreatePreviewFragment(caller, pref); in onCreatePreviewFragment()
|
/packages/apps/Settings/src/com/android/settings/homepage/ |
D | TopLevelSettings.java | 87 public boolean onPreferenceStartFragment(PreferenceFragmentCompat caller, Preference pref) { in onPreferenceStartFragment() argument 91 .setSourceMetricsCategory(caller instanceof Instrumentable in onPreferenceStartFragment() 92 ? ((Instrumentable) caller).getMetricsCategory() in onPreferenceStartFragment()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | Assert.java | 206 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()
|
D | DebugUtils.java | 387 StackTraceElement caller = getCaller(1); 388 if (caller == null) { 391 String className = caller.getClassName(); 397 LogUtil.d(tag, className + "." + caller.getMethodName());
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilitySettingsForSetupWizardActivity.java | 81 public boolean onPreferenceStartFragment(PreferenceFragmentCompat caller, Preference pref) { in onPreferenceStartFragment() argument 91 .setSourceMetricsCategory(caller instanceof Instrumentable in onPreferenceStartFragment() 92 ? ((Instrumentable) caller).getMetricsCategory() in onPreferenceStartFragment()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | VoicemailNotifier.java | 124 int caller = Binder.getCallingUid(); in getCallingPackages() local 125 if (caller == 0) { in getCallingPackages() 128 return Lists.newArrayList(mContext.getPackageManager().getPackagesForUid(caller)); in getCallingPackages()
|
D | DbModifierWithNotification.java | 390 int caller = Binder.getCallingUid(); in getCallingPackages() local 391 if (caller == 0) { in getCallingPackages() 394 return Lists.newArrayList(mContext.getPackageManager().getPackagesForUid(caller)); in getCallingPackages()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
D | ParameterIconStyle.java | 30 public void getIcon(int index, BitmapCaller caller) { in getIcon() argument 31 caller.available(mBitmaps[index]); in getIcon()
|
D | BasicParameterStyle.java | 93 public void getIcon(int index, BitmapCaller caller) { in getIcon() argument 94 mEditor.computeIcon(index, caller); in getIcon()
|
/packages/apps/Dialer/java/com/android/dialer/logging/ |
D | contact_lookup_result.proto | 65 // via Cequint caller ID. 75 // Number was identified by manually-entered caller ID data 103 // Number was identified via Cequint caller ID.
|
/packages/apps/TV/src/com/android/tv/ |
D | MainActivityWrapper.java | 62 void notifyCurrentChannelChange(@NonNull MainActivity caller, @Nullable Channel channel) { in notifyCurrentChannelChange() argument 63 if (mActivity == caller) { in notifyCurrentChannelChange()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppInfoDashboardFragment.java | 518 SettingsPreferenceFragment caller, AppEntry appEntry) { in startAppInfoFragment() argument 525 new SubSettingLauncher(caller.getContext()) in startAppInfoFragment() 529 .setResultListener(caller, SUB_INFO_FRAGMENT) in startAppInfoFragment() 530 .setSourceMetricsCategory(caller.getMetricsCategory()) in startAppInfoFragment()
|
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/ |
D | TwoPanelSettingsFragment.java | 230 public boolean onPreferenceStartFragment(PreferenceFragmentCompat caller, Preference pref) { in onPreferenceStartFragment() argument 395 @NonNull PreferenceFragmentCompat caller, Preference pref) { in onPreferenceDisplayDialog() 402 if (caller == null) { in onPreferenceDisplayDialog() 1195 public Fragment onCreatePreviewFragment(Fragment caller, Preference preference) { in onCreatePreviewFragment() argument 1224 if (f != null && caller != null) { in onCreatePreviewFragment() 1225 f.setTargetFragment(caller, 0); in onCreatePreviewFragment()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
D | EditorDraw.java | 274 public void computeIcon(int index, BitmapCaller caller) { in computeIcon() argument 276 caller.available(bitmap); in computeIcon()
|