Home
last modified time | relevance | path

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

/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/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/
DGrantPermissionsActivity.java153 private String mCallingPackage; field in GrantPermissionsActivity
271 + " callingPackage=" + mCallingPackage + " permission=" + permission in reportRequestResult()
276 mCallingUid, mCallingPackage, permission, isImplicit, result); in reportRequestResult()
304 mCallingPackage = getCallingPackage(); in onCreate()
306 mCouldHaveFgCapabilities = Utils.couldHaveForegroundCapabilities(this, mCallingPackage); in onCreate()
308 Log.e(LOG_TAG, "Calling package " + mCallingPackage + " not found", e); in onCreate()
353 mCallingPackage).setResultListener(this); in onCreate()
357 mViewHandler = new GrantPermissionsAutoViewHandler(this, mCallingPackage) in onCreate()
361 .GrantPermissionsViewHandlerImpl(this, mCallingPackage, userHandle) in onCreate()
490 if (pm.checkPermission(groupState.affectedPermissions[permNum], mCallingPackage) in updateIfPermissionsWereGranted()
[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()