Home
last modified time | relevance | path

Searched refs:mCallingPackage (Results 1 – 5 of 5) sorted by relevance

/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DGrantPermissionsActivity.java122 private String mCallingPackage; field in GrantPermissionsActivity
236 + " callingPackage=" + mCallingPackage + " permission=" + permission in reportRequestResult()
241 mCallingUid, mCallingPackage, permission, isImplicit, result); in reportRequestResult()
269 mCallingPackage = getCallingPackage(); in onCreate()
271 SafetyNetLogger.logIfHasUndefinedPermissionGroup(getPackageManager(), mCallingPackage); in onCreate() local
313 mCallingPackage).setResultListener(this); in onCreate()
317 mViewHandler = new GrantPermissionsAutoViewHandler(this, mCallingPackage, userHandle) in onCreate()
321 .GrantPermissionsViewHandlerImpl(this, mCallingPackage, userHandle) in onCreate()
441 if (pm.checkPermission(groupState.affectedPermissions[permNum], mCallingPackage) in updateIfPermissionsWereGranted()
480 mPackageRemovalMonitor = new PackageRemovalMonitor(this, mCallingPackage) { in onStart()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DAllowBindAppWidgetActivity.java49 private String mCallingPackage; field in AllowBindAppWidgetActivity
58 if (mAppWidgetId != -1 && mComponentName != null && mCallingPackage != null) { in onClick()
74 mCallingPackage)) { in onClick()
75 mAppWidgetManager.setBindAppWidgetPermission(mCallingPackage, in onClick()
109 mCallingPackage = getCallingPackage(); in onCreate()
111 ApplicationInfo ai = pm.getApplicationInfo(mCallingPackage, 0); in onCreate()
116 mCallingPackage = null; in onCreate()
142 mAlwaysUse.setChecked(mAppWidgetManager.hasBindAppWidgetPermission(mCallingPackage, in onCreate()
/packages/apps/Settings/src/com/android/settings/
DAllowBindAppWidgetActivity.java49 private String mCallingPackage; field in AllowBindAppWidgetActivity
58 if (mAppWidgetId != -1 && mComponentName != null && mCallingPackage != null) { in onClick()
74 mCallingPackage)) { in onClick()
75 mAppWidgetManager.setBindAppWidgetPermission(mCallingPackage, in onClick()
109 mCallingPackage = getCallingPackage(); in onCreate()
111 ApplicationInfo ai = pm.getApplicationInfo(mCallingPackage, 0); in onCreate()
116 mCallingPackage = null; in onCreate()
142 mAlwaysUse.setChecked(mAppWidgetManager.hasBindAppWidgetPermission(mCallingPackage, in onCreate()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DSQLiteContentProvider.java281 private final ThreadLocal<String> mCallingPackage = new ThreadLocal<String>(); field in SQLiteContentProvider
291 return mCallingPackage.get(); in getCachedCallingPackage()
306 mCallingPackage.set(callingPackage); in clearCallingIdentityInternal()
328 mCallingPackage.set(null); in restoreCallingIdentityInternal()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DFakeTvProvider.java968 private String mCallingPackage = "com.android.tv"; field in FakeTvProvider
1465 return mCallingPackage; in getCallingPackage_()
1469 mCallingPackage = packageName; in setCallingPackage()