Home | History | Annotate | Download | only in appinfo

Lines Matching defs:packageName

89      * Sets whether the app associated with the given {@param packageName} is allowed to enter
92 static void setEnterPipStateForPackage(Context context, int uid, String packageName,
96 appOps.setMode(OP_PICTURE_IN_PICTURE, uid, packageName, newMode);
100 * @return whether the app associated with the given {@param packageName} is allowed to enter
103 static boolean getEnterPipStateForPackage(Context context, int uid, String packageName) {
105 return appOps.checkOpNoThrow(OP_PICTURE_IN_PICTURE, uid, packageName) == MODE_ALLOWED;
110 * {@param packageName} is allowed to enter picture-in-picture.
112 public static int getPreferenceSummary(Context context, int uid, String packageName) {
114 packageName);
120 void logSpecialPermissionChange(boolean newState, String packageName) {
125 .getMetricsFeatureProvider().action(getContext(), logCategory, packageName);