Home
last modified time | relevance | path

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

/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/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/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()
311 mCallingPackage).setResultListener(this); in onCreate()
315 mViewHandler = new GrantPermissionsAutoViewHandler(this, mCallingPackage, userHandle) in onCreate()
319 .GrantPermissionsViewHandlerImpl(this, mCallingPackage, userHandle) in onCreate()
439 if (pm.checkPermission(groupState.affectedPermissions[permNum], mCallingPackage) in updateIfPermissionsWereGranted()
478 mPackageRemovalMonitor = new PackageRemovalMonitor(this, mCallingPackage) { in onStart()
481 Log.w(LOG_TAG, mCallingPackage + " was uninstalled"); in onStart()
[all …]
/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/fakes/
DFakeTvProvider.java968 private String mCallingPackage = "com.android.tv"; field in FakeTvProvider
1465 return mCallingPackage; in getCallingPackage_()
1469 mCallingPackage = packageName; in setCallingPackage()