Searched refs:ComponentName (Results 176 - 200 of 592) sorted by relevance

1234567891011>>

/frameworks/base/services/core/java/com/android/server/firewall/
H A DPortFilter.java19 import android.content.ComponentName;
44 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent,
H A DIntentFirewall.java20 import android.content.ComponentName;
133 public boolean checkService(ComponentName resolvedService, Intent intent, int callerUid,
145 public boolean checkIntent(FirewallIntentResolver resolver, ComponentName resolvedComponent,
187 ComponentName cn = intent.getComponent();
423 private final ArrayList<ComponentName> mComponentFilters = new ArrayList<ComponentName>(0);
451 ComponentName componentName = ComponentName.unflattenFromString(componentStr);
474 public ComponentName getComponentFilter(int index) {
522 public void queryByComponent(ComponentName componentNam
[all...]
/frameworks/base/services/core/java/com/android/server/security/
H A DKeyChainSystemService.java20 import android.content.ComponentName;
81 ComponentName service =
/frameworks/base/services/core/java/com/android/server/telecom/
H A DTelecomLoaderService.java20 import android.content.ComponentName;
59 public void onServiceConnected(ComponentName name, IBinder service) {
79 ComponentName smsComponent = SmsApplication.getDefaultSmsApplication(
130 public void onServiceDisconnected(ComponentName name) {
135 private static final ComponentName SERVICE_COMPONENT = new ComponentName(
216 ComponentName smsComponent = SmsApplication.getDefaultSmsApplication(
287 ComponentName smsComponent = SmsApplication.getDefaultSmsApplication(
/frameworks/support/customtabs/src/android/support/customtabs/
H A DICustomTabsService.aidl19 import android.content.ComponentName;
/frameworks/base/services/print/java/com/android/server/print/
H A DUserState.java26 import android.content.ComponentName;
109 private final ArrayMap<ComponentName, RemotePrintService> mActiveServices =
110 new ArrayMap<ComponentName, RemotePrintService>();
115 private final Set<ComponentName> mDisabledServices =
116 new ArraySet<ComponentName>();
181 ComponentName printServiceName = printJob.getPrinterId().getServiceName();
195 public void onAllPrintJobsForServiceHandled(ComponentName printService) {
351 ComponentName printServiceName = printerId.getServiceName();
383 ComponentName componentName = new ComponentName(
[all...]
/frameworks/base/core/java/android/app/backup/
H A DIBackupManager.aidl26 import android.content.ComponentName;
236 ComponentName[] listAllTransportComponents();
265 * @param transport ComponentName of the service hosting the transport. This is different from
271 void selectBackupTransportAsync(in ComponentName transport, ISelectBackupTransportCallback listener);
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DPluginFragment.java18 import android.content.ComponentName;
158 ComponentName componentName = new ComponentName(mInfo.packageName,
173 ComponentName componentName = new ComponentName(mInfo.packageName,
198 new ComponentName(result.activityInfo.packageName,
/frameworks/base/services/core/java/com/android/server/notification/
H A DZenLog.java19 import android.content.ComponentName;
107 public static void traceExitCondition(Condition c, ComponentName component, String reason) {
130 public static void traceEffectsSuppressorChanged(List<ComponentName> oldSuppressors,
131 List<ComponentName> newSuppressors, long suppressedEffects) {
194 private static String componentToString(ComponentName component) {
198 private static String componentListToString(List<ComponentName> components) {
H A DConditionProviders.java21 import android.content.ComponentName;
221 private ConditionRecord getRecordLocked(Uri id, ComponentName component, boolean create) {
261 public IConditionProvider findConditionProvider(ComponentName component) {
271 public Condition findCondition(ComponentName component, Uri conditionId) {
279 public void ensureRecordExists(ComponentName component, Uri conditionId,
289 public boolean subscribeIfNecessary(ComponentName component, Uri conditionId) {
302 public void unsubscribeIfNecessary(ComponentName component, Uri conditionId) {
371 public final ComponentName component;
376 private ConditionRecord(Uri id, ComponentName component) {
392 void onServiceAdded(ComponentName componen
[all...]
H A DZenModeConditions.java19 import android.content.ComponentName;
39 private final ArrayMap<Uri, ComponentName> mSubscriptions = new ArrayMap<>();
80 final ComponentName component = mSubscriptions.valueAt(i);
103 public void onServiceAdded(ComponentName component) {
166 private boolean isAutomaticActive(ComponentName component) {
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkScorerAppManagerTest.java35 import android.content.ComponentName;
70 private static final ComponentName RECO_COMPONENT = new ComponentName("package1", "class1");
194 final ComponentName enableUseOpenWifiComponent = new ComponentName("package2", "class2");
277 final ComponentName recoComponent = new ComponentName(newPackage, "class1");
332 final ComponentName recoComponent = new ComponentName(defaultPackage, "class1");
442 final ComponentName enableUseOpenWifiComponen
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DResolverComparator.java22 import android.content.ComponentName;
98 private final LinkedHashMap<ComponentName, ResolverTarget> mTargetsDict = new LinkedHashMap<>();
105 private ComponentName mResolvedRankerName;
106 private ComponentName mRankerServiceName;
186 mRankerServiceName = new ComponentName(mContext, this.getClass());
335 final ResolverTarget lhsTarget = mTargetsDict.get(new ComponentName(
337 final ResolverTarget rhsTarget = mTargetsDict.get(new ComponentName(
359 public float getScore(ComponentName name) {
374 public void updateModel(ComponentName componentName) {
378 int selectedPos = new ArrayList<ComponentName>(mTargetsDic
[all...]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java90 import android.content.ComponentName;
499 final ArrayMap<ComponentName, ActiveAdmin> mAdminMap = new ArrayMap<>();
501 final ArrayList<ComponentName> mRemovingAdmins = new ArrayList<>();
511 ComponentName mRestrictionsProvider;
1502 final ComponentName owner = getOwnerComponent(userHandle);
2055 final ComponentName doComponentName = mOwners.getDeviceOwnerComponent();
2061 final ComponentName doComponent = findAdminComponentWithPackageLocked(
2184 private ComponentName findAdminComponentWithPackageLocked(String packageName, int userId) {
2187 ComponentName found = null;
2247 ActiveAdmin getActiveAdminUncheckedLocked(ComponentName wh
[all...]
/frameworks/base/media/java/android/media/session/
H A DMediaSessionManager.java24 import android.content.ComponentName;
110 * {@link ComponentName} of your enabled listener.
117 @Nullable ComponentName notificationListener) {
135 @Nullable ComponentName notificationListener, int userId) {
158 * {@link ComponentName} of your enabled listener. Updates will be posted to
167 @Nullable ComponentName notificationListener) {
178 * {@link ComponentName} of your enabled listener. Updates will be posted to
188 @Nullable ComponentName notificationListener, @Nullable Handler handler) {
200 * {@link ComponentName} of your enabled listener.
211 @Nullable ComponentName notificationListene
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest3.java21 import android.content.ComponentName;
36 private static final ComponentName A1 = new ComponentName(CALLING_PACKAGE,
39 private static final ComponentName A2 = new ComponentName(CALLING_PACKAGE,
42 private static final ComponentName A3 = new ComponentName(CALLING_PACKAGE,
45 private ShortcutInfo shortcut(String id, ComponentName activity, int rank) {
49 private ShortcutInfo shortcut(String id, ComponentName activity) {
66 private void publishManifestShortcuts(ComponentName activit
[all...]
/frameworks/base/core/java/android/widget/
H A DActivityChooserModel.java20 import android.content.ComponentName;
480 ComponentName chosenName = new ComponentName(
561 ComponentName defaultName = new ComponentName(
788 public final ComponentName activity;
808 this(ComponentName.unflattenFromString(activityName), time, weight);
818 public HistoricalRecord(ComponentName activityName, long time, float weight) {
942 private final Map<ComponentName, ActivityResolveInfo> mPackageNameToActivityMap =
943 new HashMap<ComponentName, ActivityResolveInf
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActivityChooserModel.java19 import android.content.ComponentName;
466 ComponentName chosenName = new ComponentName(
547 ComponentName defaultName = new ComponentName(
763 public final ComponentName activity;
783 this(ComponentName.unflattenFromString(activityName), time, weight);
793 public HistoricalRecord(ComponentName activityName, long time, float weight) {
918 private final Map<ComponentName, ActivityResolveInfo> mPackageNameToActivityMap =
919 new HashMap<ComponentName, ActivityResolveInf
[all...]
/frameworks/base/core/java/android/speech/
H A DSpeechRecognizer.java19 import android.content.ComponentName;
123 private final ComponentName mServiceComponent;
159 private SpeechRecognizer(final Context context, final ComponentName serviceComponent) {
170 public void onServiceConnected(final ComponentName name, final IBinder service) {
179 public void onServiceDisconnected(final ComponentName name) {
227 * @param serviceComponent the {@link ComponentName} of a specific service to direct this
232 final ComponentName serviceComponent) {
282 serviceIntent.setComponent(ComponentName.unflattenFromString(serviceComponent));
/frameworks/base/services/core/java/com/android/server/search/
H A DSearchManagerService.java24 import android.content.ComponentName;
228 public SearchableInfo getSearchableInfo(final ComponentName launchActivity) {
253 public ComponentName getGlobalSearchActivity() {
261 public ComponentName getWebSearchActivity() {
275 private ComponentName getLegacyAssistComponent(int userHandle) {
288 return new ComponentName(
301 ComponentName comp = getLegacyAssistComponent(userHandle);
/frameworks/base/test-runner/src/android/test/mock/
H A DMockPackageManager.java22 import android.content.ComponentName;
183 public ActivityInfo getActivityInfo(ComponentName className, int flags)
189 public ActivityInfo getReceiverInfo(ComponentName className, int flags)
195 public ServiceInfo getServiceInfo(ComponentName className, int flags)
201 public ProviderInfo getProviderInfo(ComponentName className, int flags)
439 public List<ResolveInfo> queryIntentActivityOptions(ComponentName caller,
500 public InstrumentationInfo getInstrumentationInfo(ComponentName className, int flags)
517 public Drawable getActivityIcon(ComponentName activityName)
533 public Drawable getActivityBanner(ComponentName activityName)
564 public Drawable getActivityLogo(ComponentName activityNam
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DOwnersTest.java21 import android.content.ComponentName;
176 assertEquals(new ComponentName("com.google.android.testdpc",
182 assertEquals(new ComponentName("com.google.android.testdpc1", ""),
204 assertEquals(new ComponentName("com.google.android.testdpc",
210 assertEquals(new ComponentName("com.google.android.testdpc1", ""),
258 assertEquals(new ComponentName("com.google.android.testdpc",
264 assertEquals(new ComponentName("com.google.android.testdpc1", ""),
290 assertEquals(new ComponentName("com.google.android.testdpc",
296 assertEquals(new ComponentName("com.google.android.testdpc1", ""),
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
H A DImsServiceController.java19 import android.content.ComponentName;
60 private ComponentName mComponentName;
62 ImsDeathRecipient(ComponentName name) {
78 public void onServiceConnected(ComponentName name, IBinder service) {
110 public void onServiceDisconnected(ComponentName name) {
154 private final ComponentName mComponentName;
228 public ImsServiceController(Context context, ComponentName componentName,
241 public ImsServiceController(Context context, ComponentName componentName,
251 * Sends request to bind to ImsService designated by the {@ComponentName} with the feature set
346 public ComponentName getComponentNam
[all...]
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProviderInfo.java28 import android.content.ComponentName;
79 public ComponentName provider;
155 public ComponentName configure;
225 this.provider = new ComponentName(in);
235 this.configure = new ComponentName(in);
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
H A DRestrictionsManagerService.java21 import android.content.ComponentName;
102 ComponentName restrictionsProvider =
135 ComponentName restrictionsProvider =
148 intent.setComponent(new ComponentName(ri.activityInfo.packageName,
168 ComponentName permProvider = mDpm.getRestrictionsProvider(userHandle);

Completed in 691 milliseconds

1234567891011>>