Home
last modified time | relevance | path

Searched refs:handlerApp (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/base/services/core/java/com/android/server/am/
H A DBugReportHandlerUtil.java83 if (isShellApp(handlerApp)) { in launchBugReportHandlerApp()
88 if (!isValidBugReportHandlerApp(handlerApp)) { in launchBugReportHandlerApp()
105 if (isShellApp(handlerApp) || !isValidBugReportHandlerApp(handlerApp) in launchBugReportHandlerApp()
120 intent.setPackage(handlerApp); in launchBugReportHandlerApp()
149 intent.setPackage(handlerApp); in launchBugReportHandlerApp()
194 String handlerApp, int handlerUser) { in getBugReportHandlerAppReceivers() argument
198 intent.setPackage(handlerApp); in getBugReportHandlerAppReceivers()
205 String handlerApp, int handlerUser) { in getBugReportHandlerAppResponseReceivers() argument
208 intent.setPackage(handlerApp); in getBugReportHandlerAppResponseReceivers()
233 private final String handlerApp; field in BugReportHandlerUtil.BugreportHandlerResponseBroadcastReceiver
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/bugreporthandler/
H A DBugReportHandlerUtil.java75 String handlerApp = getCustomBugReportHandlerApp(context); in getCurrentBugReportHandlerAppAndUser() local
79 if (!isBugreportAllowlistedApp(handlerApp)) { in getCurrentBugReportHandlerAppAndUser()
80 handlerApp = getDefaultBugReportHandlerApp(context); in getCurrentBugReportHandlerAppAndUser()
91 handlerApp = getDefaultBugReportHandlerApp(context); in getCurrentBugReportHandlerAppAndUser()
96 if (!isBugreportAllowlistedApp(handlerApp) in getCurrentBugReportHandlerAppAndUser()
101 handlerApp = SHELL_APP_PACKAGE; in getCurrentBugReportHandlerAppAndUser()
110 return Pair.create(handlerApp, handlerUser); in getCurrentBugReportHandlerAppAndUser()
139 if (!isBugreportAllowlistedApp(handlerApp)) { in setCurrentBugReportHandlerAppAndUser()
144 setBugreportHandlerAppAndUser(context, handlerApp, handlerUser); in setCurrentBugReportHandlerAppAndUser()
223 intent.setPackage(handlerApp); in getBugReportHandlerAppReceivers()
[all …]
H A DBugReportHandlerPicker.java60 String handlerApp = key.substring(0, index); in getHandlerApp() local
61 return handlerApp; in getHandlerApp()
76 static String getKey(String handlerApp, int handlerUser) { in getKey() argument
77 return handlerApp + "#" + handlerUser; in getKey()
185 private String getDescription(String handlerApp, int handlerUser) { in getDescription() argument
187 if (BugReportHandlerUtil.SHELL_APP_PACKAGE.equals(handlerApp)) { in getDescription()
/aosp12/packages/apps/Settings/src/com/android/settings/development/
H A DBugReportHandlerPreferenceController.java73 final String handlerApp = mBugReportHandlerUtil.getCurrentBugReportHandlerAppAndUser( in getCurrentBugReportHandlerAppLabel() local
75 if (BugReportHandlerUtil.SHELL_APP_PACKAGE.equals(handlerApp)) { in getCurrentBugReportHandlerAppLabel()
80 applicationInfo = mContext.getPackageManager().getApplicationInfo(handlerApp, in getCurrentBugReportHandlerAppLabel()