Searched refs:exported (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/content/pm/
H A DComponentInfo.java62 * Comes from {@link android.R.attr#exported android:exported} of the
66 public boolean exported = false; field in class:ComponentInfo
88 exported = orig.exported;
166 pw.println(prefix + "enabled=" + enabled + " exported=" + exported
200 dest.writeInt(exported ? 1 : 0);
213 exported = (source.readInt() != 0);
H A DPackageParser.java3407 a.info.exported = sa.getBoolean(R.styleable.AndroidManifestActivity_exported, false);
3582 if (a.info.exported && (flags & PARSE_IS_PRIVILEGED) == 0) {
3583 Slog.w(TAG, "Activity exported request ignored due to singleUser: "
3586 a.info.exported = false;
3685 a.info.exported = a.intents.size() > 0;
3826 a.info.exported = sa.getBoolean(
3898 a.info.exported = a.intents.size() > 0;
3937 // should have their content providers exported by default, unless they
3942 p.info.exported = sa.getBoolean(
3996 if (p.info.exported
[all...]
/frameworks/base/core/java/android/provider/
H A DSearchIndexablesProvider.java47 * android:exported="true"
92 if (!info.exported) {
93 throw new SecurityException("Provider must be exported");
H A DDocumentsProvider.java75 * android:exported="true"
166 if (!info.exported) {
167 throw new SecurityException("Provider must be exported");
/frameworks/base/tools/aapt2/proto/
H A DTableProtoSerializer.cpp282 for (const SourcedResourceName& exported : file.exportedSymbols) {
284 pbSymbol->set_resource_name(util::utf16ToUtf8(exported.name.toString()));
285 pbSymbol->set_line_no(exported.line);
/frameworks/base/services/core/java/com/android/server/firewall/
H A DIntentFirewall.java582 int owningUid, boolean exported);
593 * @param exported Whether the component is exported
597 boolean exported) {
598 return mAms.checkComponentPermission(permission, pid, uid, owningUid, exported) ==
581 checkComponentPermission(String permission, int pid, int uid, int owningUid, boolean exported) argument
596 checkComponentPermission(String permission, int pid, int uid, int owningUid, boolean exported) argument
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
H A DRestrictionsManagerService.java147 if (ri != null && ri.activityInfo != null && ri.activityInfo.exported) {
/frameworks/base/services/core/java/com/android/server/am/
H A DServiceRecord.java79 final boolean exported; // from ServiceInfo.exported field in class:ServiceRecord
325 exported = sInfo.exported;
H A DBroadcastQueue.java982 info.activityInfo.exported);
984 if (!info.activityInfo.exported) {
989 + " is not exported from uid " + info.activityInfo.applicationInfo.uid
H A DActiveServices.java1287 if (!sInfo.exported) {
1289 " is not exported");
1358 callingPid, callingUid, r.appInfo.uid, r.exported)
1360 if (!r.exported) {
1364 + " that is not exported from uid " + r.appInfo.uid);
1365 return new ServiceLookupResult(null, "not exported from uid "
H A DActivityManagerService.java7642 int owningUid, boolean exported) {
7644 owningUid, exported);
7657 int owningUid, boolean exported) {
7662 owningUid, exported);
7751 } else if (!pi.exported) {
8031 boolean allowed = pi.exported;
10359 cpi.applicationInfo.uid, cpi.exported)
10364 cpi.applicationInfo.uid, cpi.exported)
10377 cpi.applicationInfo.uid, cpi.exported)
10383 cpi.applicationInfo.uid, cpi.exported)
7641 checkComponentPermission(String permission, int pid, int uid, int owningUid, boolean exported) argument
7656 checkComponentPermission(String permission, int pid, int uid, int owningUid, boolean exported) argument
[all...]
H A DActivityStackSupervisor.java1415 } else if (!aInfo.exported) {
1419 + " not exported from uid " + aInfo.applicationInfo.uid;
1474 callingPid, callingUid, activityInfo.applicationInfo.uid, activityInfo.exported)
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodInfo.java307 si.exported = true;
/frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/
H A DInputMethodSubtypeSwitchingControllerTest.java65 si.exported = true;
H A DInputMethodUtilsTest.java867 si.exported = true;
/frameworks/support/v4/java/android/support/v4/content/
H A DFileProvider.java87 * <code>com.mydomain.fileprovider</code>. Set the <code>android:exported</code> attribute to
100 * android:exported="false"
204 * android:exported="false"
346 if (info.exported) {
347 throw new SecurityException("Provider must not be exported");
/frameworks/base/core/java/android/widget/
H A DActivityChooserModel.java718 activityInfo.exported) == PackageManager.PERMISSION_GRANTED) {
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DAddPrinterActivity.java483 if (resolvedActivities.get(0).activityInfo.exported) {
H A DPrintActivity.java752 if (resolvedActivities.get(0).activityInfo.exported) {
/frameworks/base/core/java/android/app/
H A DActivityManager.java3312 int owningUid, boolean exported) {
3327 // If the target is not exported, then nobody else can get to it.
3328 if (!exported) {
3311 checkComponentPermission(String permission, int uid, int owningUid, boolean exported) argument
/frameworks/base/core/java/android/content/
H A DContentProvider.java607 : " requires the provider be exported, or grantUriPermission()";
681 : " requires the provider be exported, or grantUriPermission()";
1034 * write permissions, or is not exported, all applications can still call
1747 mExported = info.exported;
/frameworks/base/services/core/java/com/android/server/pm/
H A DLauncherAppsService.java455 // Note the target activity doesn't have to be exported.
510 if (!info.exported) {
511 throw new SecurityException("Cannot launch non-exported components "
/frameworks/base/tools/aapt/
H A DCommand.cpp1732 bool exported = AaptXml::getResolvedIntegerAttribute(res, tree, local
1736 "ERROR getting 'android:exported' attribute for provider:"
1758 hasRequiredSafAttributes |= exported && grantUriPermissions &&
/frameworks/base/core/java/com/android/internal/app/
H A DChooserActivity.java592 remove = !ai.exported || ai.permission != null;
727 // ChooserTargetService provide a non-exported or permission-guarded target
H A DResolverActivity.java1323 ai.applicationInfo.uid, ai.exported);

Completed in 1985 milliseconds

12