/packages/providers/ContactsKeysProvider/src/com/android/providers/contactkeys/ |
D | E2eeContactKeysProvider.java | 133 String callerPackageName = getCallingPackage(); in updateOrInsertE2eeContactKey() 158 String callerPackageName = getCallingPackage(); in getE2eeContactKey() 216 String callerPackageName = getCallingPackage(); in getOwnerE2eeContactKeys() 242 final String callerPackageName = getCallingPackage(); in updateE2eeContactKeyLocalVerificationState() 280 final String callerPackageName = getCallingPackage(); in updateE2eeContactKeyRemoteVerificationState() 313 String callerPackageName = getCallingPackage(); in removeE2eeContactKey() 337 String callerPackageName = getCallingPackage(); in updateOrInsertE2eeSelfKey() 365 final String callerPackageName = getCallingPackage(); in updateE2eeSelfKeyRemoteVerificationState() 397 String callerPackageName = getCallingPackage(); in getE2eeSelfKey() 451 String callerPackageName = getCallingPackage(); in getOwnerE2eeSelfKeys() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | VoicemailContentProvider.java | 375 if (!mVoicemailPermissions.callerHasWriteAccess(getCallingPackage())) { in checkAndAddSourcePackageIntoValues() 416 if (mVoicemailPermissions.callerHasReadAccess(getCallingPackage())) { in checkPermissionsAndCreateUriDataForRead() 473 if (!mVoicemailPermissions.callerHasWriteAccess(getCallingPackage())) { in checkPackagePermission() 489 return super.getCallingPackage(); in getInjectedCallingPackage() 513 return read ? mVoicemailPermissions.callerHasReadAccess(getCallingPackage()) : in hasReadWritePermission() 514 mVoicemailPermissions.callerHasWriteAccess(getCallingPackage()); in hasReadWritePermission()
|
D | CallLogProvider.java | 490 if (!mVoicemailPermissions.callerHasReadAccess(getCallingPackage())) { in queryInternal() 605 if (!getCallingPackage().equals(ALLOWED_PACKAGE_FOR_TESTING)) { in queryForTesting() 607 + getCallingPackage()); in queryForTesting() 745 mVoicemailPermissions.checkCallerHasWriteAccess(getCallingPackage()); in insertInternal() 956 getCallingPackage()); in updateInternal() 996 mVoicemailPermissions.callerHasReadAccess(getCallingPackage()); in deleteInternal() 1050 mVoicemailPermissions.checkCallerHasReadAccess(getCallingPackage()); in checkVoicemailPermissionAndAddRestriction() 1052 mVoicemailPermissions.checkCallerHasWriteAccess(getCallingPackage()); in checkVoicemailPermissionAndAddRestriction()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiDialogActivityTest.java | 260 when(mActivity.getCallingPackage()).thenReturn(null); in hasPermissionForResult_noCallingPackage_returnFalse() 269 when(mActivity.getCallingPackage()).thenReturn(null); in hasPermissionForResult_noPermission_returnFalse() 282 when(mActivity.getCallingPackage()).thenReturn(CALLING_PACKAGE); in hasPermissionForResult_hasCoarseLocationPermission_returnFalse() 296 when(mActivity.getCallingPackage()).thenReturn(CALLING_PACKAGE); in hasPermissionForResult_hasFineLocationPermission_returnTrue() 310 when(mActivity.getCallingPackage()).thenReturn(CALLING_PACKAGE); in hasPermissionForResult_haveBothLocationPermissions_returnTrue()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ |
D | PhotoPickerActivity.java | 257 mPickerViewModel.logPickerOpened(getCallingUid(), getCallingPackage(), intentAction); in onCreate() 262 final String callingPackage = getCallingPackage(); in getCallingUid() 292 if (getCallingPackage() != null) { in getOrCreateViewModel() 294 getPackageManager().getPackageUid(getCallingPackage(), 0)); in getOrCreateViewModel() 411 getCallingPackage()); in onOptionsItemSelected() 873 mPickerViewModel.logPickerConfirm(Binder.getCallingUid(), getCallingPackage(), in logPickerSelectionConfirmed() 878 mPickerViewModel.logPickerCancel(Binder.getCallingUid(), getCallingPackage()); in logPickerCancelled()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | SmsProvider.java | 140 String callingPackage = getCallingPackage(); in query() 149 getContext(), getCallingPackage(), callingUid); in query() 594 final String callerPkg = getCallingPackage(); in bulkInsert() 621 final String callerPkg = getCallingPackage(); in insert() 1010 String debugMessage = getCallingPackage() + ";SmsProvider.delete;" + url; in delete() 1166 notifyChange(notifyIfNotDefault, url, getCallingPackage()); in delete() 1229 final String callerPkg = getCallingPackage(); in update() 1497 notifyChange(true, uri, getCallingPackage());
|
D | MmsProvider.java | 129 String callingPackage = getCallingPackage(); in query() 135 getContext(), getCallingPackage(), callerUid); in query() 373 final String callerPkg = getCallingPackage(); in insert() 382 getContext(), getCallingPackage(), callerUid)) { in insert() 793 String debugMessage = getCallingPackage() + ";MmsProvider.delete;" + uri; in delete() 922 final String callerPkg = getCallingPackage(); in update() 1163 getCallingPackage(), context); in notifyChange()
|
D | MmsSmsProvider.java | 342 String callingPackage = getCallingPackage(); in query() 349 getContext(), getCallingPackage(), callerUid); in query() 1380 String debugMessage = getCallingPackage() + ";MmsSmsProvider.delete;" + uri; in delete() 1460 getCallingPackage() + ";MmsSmsProvider.insert;" + uri, false); in insert() 1482 callerUid, getCallingPackage()); in insert() 1506 final String callerPkg = getCallingPackage(); in update() 1660 getContext(), getCallingPackage(), Binder.getCallingUid())) { in call()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningActivity.java | 265 mController.initiateProvisioning(getIntent(), getCallingPackage()); 313 mController.initiateProvisioning(getIntent(), getCallingPackage()); 415 getCallingPackage()); 476 getCallingPackage()); 517 getCallingPackage()); 567 getCallingPackage());
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/ |
D | TestBluetoothRequestPermissionActivity.java | 32 public String getCallingPackage() { in getCallingPackage() method in TestBluetoothRequestPermissionActivity
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | PermissionActivity.java | 206 getCallingPackage(), null /* attributionTag */, verb, in onCreate() 213 getCallingPackage(), null /* attributionTag */, verb); in onCreate() 307 getCallingPackage(), uris.size()); in onPositiveAction() 312 grantUriPermission(getCallingPackage(), uri, in onPositiveAction() 379 Metrics.logPermissionDenied(volumeName, appInfo.uid, getCallingPackage(), in onNegativeAction() 532 final String callingPackage = getCallingPackage(); in resolveCallingAppInfo()
|
D | CacheClearingActivity.java | 55 final String packageName = getCallingPackage(); in onCreate()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/ |
D | TestPreProvisioningActivity.java | 37 public String getCallingPackage() { in getCallingPackage() method in TestPreProvisioningActivity
|
/packages/apps/Settings/src/com/android/settings/applications/credentials/ |
D | CredentialsPickerActivity.java | 57 final String packageName = getCallingPackage(); in onCreate()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/ |
D | AutoPermissionsUtils.java | 48 Log.i(LOG_TAG, "No package:" + activity.getCallingPackage(), e); in getPackageInfo()
|
/packages/apps/Settings/src/com/android/settings/security/ |
D | CredentialStorage.java | 339 if (TextUtils.equals("com.android.certinstaller", getCallingPackage())) { in checkCallerIsCertInstallerOrSelfInProfile() 343 getCallingPackage(), getPackageName()) == PackageManager.SIGNATURE_MATCH; in checkCallerIsCertInstallerOrSelfInProfile()
|
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
D | UserCallActivity.java | 84 .processIntent(new Intent(intent), getCallingPackage(), false, in onCreate()
|
/packages/apps/Car/Settings/src/com/android/car/settings/security/ |
D | CredentialStorageActivity.java | 145 if (TextUtils.equals(CERT_INSTALLER_PKG, getCallingPackage())) { in checkCallerIsCertInstallerOrSelfInProfile() 148 return getPackageManager().checkSignatures(getCallingPackage(), getPackageName()) in checkCallerIsCertInstallerOrSelfInProfile()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/ |
D | SettingsQCProviderTest.java | 50 ExtendedMockito.doReturn(mContext.getPackageName()).when(mProvider).getCallingPackage(); in setUp()
|
/packages/apps/Dialer/java/com/android/dialer/preferredsim/impl/ |
D | PreferredSimFallbackProvider.java | 117 if (!TextUtils.equals(getContext().getPackageName(), getCallingPackage())) { in delete()
|
/packages/apps/Settings/src/com/android/settings/panel/ |
D | SettingsPanelActivity.java | 122 mBundle.putString(KEY_CALLING_PACKAGE_NAME, getCallingPackage()); in createOrUpdatePanel()
|
/packages/apps/Car/systemlibs/car-qc-lib/src/com/android/car/qc/provider/ |
D | BaseQCProvider.java | 225 String callingPackage = getCallingPackage(); in enforceCallingPermissions()
|
/packages/services/Telephony/src/com/android/phone/ |
D | ServiceStateProvider.java | 417 getCallingPackage()) >= Build.VERSION_CODES.S; in query() 705 .setCallingPackage(getCallingPackage()) in hasLocationPermission()
|
/packages/apps/Settings/src/com/android/settings/ |
D | AllowBindAppWidgetActivity.java | 113 mCallingPackage = getCallingPackage(); in onCreate()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/ |
D | WearAppPermissionGroupsFragment.kt | 81 Log.i(LOG_TAG, "No package:" + activity.getCallingPackage(), e) in onCreateView()
|