/frameworks/base/core/java/android/provider/ |
DocumentsProvider.java | 644 context.grantUriPermission(getCallingPackage(), narrowUri, modeFlags); 741 enforceReadPermissionInner(documentUri, getCallingPackage(), null); [all...] |
/frameworks/base/media/java/android/media/session/ |
ISession.aidl | 54 String getCallingPackage();
|
/frameworks/support/media-compat/api24/android/support/v4/media/session/ |
MediaSessionCompatApi24.java | 34 public static String getCallingPackage(Object sessionObj) { 37 Method getCallingPackageMethod = session.getClass().getMethod("getCallingPackage"); 40 Log.e(TAG, "Cannot execute MediaSession.getCallingPackage()", e);
|
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
UserCallActivity.java | 68 getCallingPackage(), true /* hasCallAppOp*/);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
VoicemailContentProvider.java | 256 if (!mVoicemailPermissions.callerHasWriteAccess(getCallingPackage())) { 297 if (mVoicemailPermissions.callerHasReadAccess(getCallingPackage())) { 354 if (!mVoicemailPermissions.callerHasWriteAccess(getCallingPackage())) { 424 return read ? mVoicemailPermissions.callerHasReadAccess(getCallingPackage()) : 425 mVoicemailPermissions.callerHasWriteAccess(getCallingPackage());
|
CallLogProvider.java | 333 mVoicemailPermissions.checkCallerHasWriteAccess(getCallingPackage()); 449 mVoicemailPermissions.checkCallerHasReadAccess(getCallingPackage()); 451 mVoicemailPermissions.checkCallerHasWriteAccess(getCallingPackage());
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
OpenExternalDirectoryActivity.java | 127 if (getScopedAccessPermissionStatus(getApplicationContext(), getCallingPackage(), 276 final String packageName = activity.getCallingPackage(); 348 final String packageName = activity.getCallingPackage(); 442 setScopedAccessPermissionStatus(context, mActivity.getCallingPackage(), 445 setScopedAccessPermissionStatus(context, mActivity.getCallingPackage(), 480 if (getScopedAccessPermissionStatus(context, mActivity.getCallingPackage(),
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiScanModeActivity.java | 48 mApp = getCallingPackage();
|
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
ManageDialog.java | 57 if (getCallingPackage() != null) { 58 Log.e(TAG, getCallingPackage() + " cannot start this activity");
|
ConfirmDialog.java | 50 mPackage = getCallingPackage();
|
/frameworks/base/core/java/com/android/internal/app/ |
ConfirmUserCreationActivity.java | 85 final String callingPackage = getCallingPackage();
|
/frameworks/support/compat/java/android/support/v4/app/ |
ShareCompat.java | 63 * (It is also provided by {@link Activity#getCallingPackage()}.) 65 * Instead of using this constant directly, consider using {@link #getCallingPackage(Activity)} 66 * or {@link IntentReader#getCallingPackage()}. 179 public static String getCallingPackage(Activity calledActivity) { 180 String result = calledActivity.getCallingPackage(); 685 mCallingPackage = ShareCompat.getCallingPackage(activity); [all...] |
/packages/apps/Settings/src/com/android/settings/ |
AllowBindAppWidgetActivity.java | 103 mCallingPackage = getCallingPackage();
|
CredentialStorage.java | 412 if (TextUtils.equals("com.android.certinstaller", getCallingPackage())) { 416 getCallingPackage(), getPackageName()) == PackageManager.SIGNATURE_MATCH;
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
SmsProvider.java | 117 getContext(), getCallingPackage(), Binder.getCallingUid()); 414 final String callerPkg = getCallingPackage(); 439 final String callerPkg = getCallingPackage(); 722 notifyChange(notifyIfNotDefault, url, getCallingPackage()); 753 final String callerPkg = getCallingPackage(); [all...] |
MmsProvider.java | 97 getContext(), getCallingPackage(), Binder.getCallingUid()); 314 final String callerPkg = getCallingPackage(); 744 final String callerPkg = getCallingPackage(); [all...] |
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
GrantPermissionsActivity.java | 352 return getPackageManager().getPackageInfo(getCallingPackage(), 355 Log.i(LOG_TAG, "No package: " + getCallingPackage(), e);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
MediaProjectionPermissionActivity.java | 63 mPackageName = getCallingPackage();
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
Compatibility.java | 63 log("Compatibility Activity called from " + getCallingPackage());
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
SQLiteContentProvider.java | 305 String callingPackage = getCallingPackage();
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsProvider.java | 825 name, value, getCallingPackage(), forceNotify); [all...] |
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
MediaSessionCompat.java | 525 public String getCallingPackage() { 526 return mImpl.getCallingPackage(); [all...] |
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/uiflows/ |
PreProvisioningActivity.java | 72 mController.initiateProvisioning(getIntent(), getCallingPackage());
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/ |
AppPermissionsFragmentWear.java | 79 Log.i(LOG_TAG, "No package:" + activity.getCallingPackage(), e);
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
UserDictionaryProvider.java | 321 String callingPackage = getCallingPackage();
|