HomeSort by relevance Sort by last modified time
    Searched full:componentname (Results 426 - 450 of 2584) sorted by null

<<11121314151617181920>>

  /packages/apps/Launcher2/src/com/android/launcher2/
PagedViewIconCache.java 25 import android.content.ComponentName;
40 private final ComponentName mComponentName;
44 mComponentName = info.componentName;
50 mComponentName = new ComponentName(ci.packageName, ci.name);
58 private ComponentName getComponentName() {
  /packages/apps/Launcher3/src/com/android/launcher3/compat/
ShortcutConfigActivityInfo.java 22 import android.content.ComponentName;
47 private final ComponentName mCn;
50 protected ShortcutConfigActivityInfo(ComponentName cn, UserHandle user) {
55 public ComponentName getComponent() {
111 super(new ComponentName(info.packageName, info.name), Process.myUserHandle());
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
SetDevicePolicyTask.java 22 import android.content.ComponentName;
71 ComponentName adminComponent =
110 private void setActiveAdmin(ComponentName component, int userId) {
115 private boolean setDeviceOwner(ComponentName component, String owner, int userId) {
123 private boolean setProfileOwner(ComponentName component, int userId) {
  /packages/apps/Settings/src/com/android/settings/applications/assist/
AssistFlashScreenPreferenceController.java 19 import android.content.ComponentName;
114 ComponentName assistant = getCurrentAssist();
123 boolean willShowFlash(ComponentName assistant) {
128 boolean isPreInstalledAssistant(ComponentName assistant) {
137 private ComponentName getCurrentAssist() {
  /packages/apps/Settings/src/com/android/settings/applications/defaultapps/
DefaultHomePreferenceController.java 19 import android.content.ComponentName;
64 final ComponentName currentDefaultHome = mPackageManager.getHomeActivities(homeActivities);
98 if (info.componentName != null) {
99 packageName = info.componentName.getPackageName();
126 ComponentName def = pm.getHomeActivities(homeActivities);
DefaultAutofillPicker.java 21 import android.content.ComponentName;
197 candidates.add(new DefaultAppInfo(context, mPm, mUserId, new ComponentName(
205 candidates.add(new DefaultAppInfo(context, mPm, mUserId, new ComponentName(
215 ComponentName componentName = ComponentName.unflattenFromString(setting);
216 if (componentName != null) {
217 return componentName.flattenToString();
278 final String flattenKey = new ComponentName(
294 new ComponentName(serviceInfo.packageName, settingsActivity))
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
SwipeUpPreferenceControllerTest.java 23 import android.content.ComponentName;
74 final ComponentName recentsComponentName = ComponentName.unflattenFromString(
88 final ComponentName recentsComponentName = ComponentName.unflattenFromString(
  /packages/apps/Settings/tests/robotests/src/com/android/settings/suggestions/
SettingsSuggestionsTest.java 22 import android.content.ComponentName;
108 final ComponentName componentName = new ComponentName(context, activityName);
111 info = pm.getActivityInfo(componentName, PackageManager.GET_META_DATA);
  /packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
AccessibilityServiceResultTask.java 20 import android.content.ComponentName;
88 final String componentName = new ComponentName(serviceInfo.packageName,
91 ACCESSIBILITY_SETTINGS_CLASSNAME, componentName, screenTitle);
99 .setDataKey(componentName)
  /packages/apps/TV/tests/common/src/com/android/tv/testing/utils/
Utils.java 19 import android.content.ComponentName;
81 public static String getInputIdFromComponentName(Context context, ComponentName name) {
85 if (new ComponentName(si.packageName, si.name).equals(name)) {
111 ComponentName name =
112 new ComponentName(CommonConstants.BASE_PACKAGE, "com.android.tv.TvActivity");
  /packages/services/BuiltInPrintService/src/com/android/bips/ui/
AddPrintersFragment.java 20 import android.content.ComponentName;
92 public void onServiceConnected(ComponentName componentName, IBinder iBinder) {
108 public void onServiceDisconnected(ComponentName componentName) {
  /packages/services/Car/car-usb-handler/src/android/car/usb/handler/
UsbDeviceSettings.java 18 import android.content.ComponentName;
31 private ComponentName mHandler;
61 public void setHandler(ComponentName handler) {
65 public ComponentName getHandler() {
133 String deviceName, ComponentName handler, boolean aoap) {
  /frameworks/base/config/
hiddenapi-private-dex.txt 113 Landroid/accessibilityservice/AccessibilityServiceInfo;->getComponentName()Landroid/content/ComponentName;
117 Landroid/accessibilityservice/AccessibilityServiceInfo;->mComponentName:Landroid/content/ComponentName;
126 Landroid/accessibilityservice/AccessibilityServiceInfo;->setComponentName(Landroid/content/ComponentName;)V
    [all...]
  /frameworks/av/media/libstagefright/
MediaCodecList.cpp 293 bool MediaCodecList::isSoftwareCodec(const AString &componentName) {
294 return componentName.startsWithIgnoreCase("OMX.google.")
295 || componentName.startsWithIgnoreCase("c2.android.")
296 || (!componentName.startsWithIgnoreCase("OMX.")
297 && !componentName.startsWithIgnoreCase("c2."));
345 AString componentName = info->getCodecName();
347 if ((flags & kHardwareCodecsOnly) && isSoftwareCodec(componentName)) {
348 ALOGV("skipping SW codec '%s'", componentName.c_str());
350 matches->push(componentName);
351 ALOGV("matching '%s'", componentName.c_str())
    [all...]
  /frameworks/base/services/autofill/java/com/android/server/autofill/
FieldClassificationStrategy.java 27 import android.content.ComponentName;
102 private ComponentName getServiceComponentName() {
106 final ComponentName name = new ComponentName(serviceInfo.packageName, serviceInfo.name);
159 public void onServiceConnected(ComponentName name, IBinder service) {
183 public void onServiceDisconnected(ComponentName name) {
191 public void onBindingDied(ComponentName name) {
199 public void onNullBinding(ComponentName name) {
207 final ComponentName component = getServiceComponentName();
270 final ComponentName impl = getServiceComponentName()
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/am/
TaskStackChangedListenerTest.java 31 import android.content.ComponentName;
103 public void onTaskCreated(int taskId, ComponentName componentName)
155 public void onTaskCreated(int taskId, ComponentName componentName)
158 params[1] = componentName;
188 ComponentName componentName = (ComponentName) params[1];
189 assertEquals(ActivityTaskChangeCallbacks.class.getName(), componentName.getClassName())
    [all...]
  /frameworks/support/browser/src/main/java/androidx/browser/customtabs/
CustomTabsSession.java 20 import android.content.ComponentName;
46 private final ComponentName mComponentName;
52 * @param componentName The component the session should be created for.
58 @NonNull ComponentName componentName) {
60 null, new CustomTabsSessionToken.MockCallback(), componentName);
64 ICustomTabsService service, ICustomTabsCallback callback, ComponentName componentName) {
67 mComponentName = componentName;
243 /* package */ ComponentName getComponentName()
    [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowApplicationTest.java 24 import android.content.ComponentName;
173 ComponentName expectedComponentName = new ComponentName("", "");
195 ComponentName expectedComponentName = new ComponentName("", "");
215 ComponentName expectedComponentName = new ComponentName("", "");
231 ComponentName expectedComponentName = new ComponentName("", "");
246 ComponentName expectedComponentName = new ComponentName("", "")
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
ShortcutManagerTest8.java 34 import android.content.ComponentName;
95 Pair<ComponentName, Integer> actual;
137 ? null : new ComponentName(packageName, PIN_CONFIRM_ACTIVITY_CLASS);
174 ? null : new ComponentName(packageName, PIN_CONFIRM_ACTIVITY_CLASS);
292 .areAllWithActivity(new ComponentName(CALLING_PACKAGE_1, MAIN_ACTIVITY_CLASS))
317 .areAllWithActivity(new ComponentName(CALLING_PACKAGE_1, MAIN_ACTIVITY_CLASS))
340 new ComponentName(CALLING_PACKAGE_1, "different_activity"));
367 .areAllWithActivity(new ComponentName(CALLING_PACKAGE_1, "different_activity"))
385 .areAllWithActivity(new ComponentName(CALLING_PACKAGE_1, "different_activity"))
396 new ComponentName("wrong_package", "different_activity"))
    [all...]
  /cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
CreateAndManageUserTest.java 24 import android.content.ComponentName;
116 public static ComponentName getComponentName() {
117 return new ComponentName(CreateAndManageUserTest.class.getPackage().getName(),
427 ComponentName componentName) {
429 devicePolicyManager.logoutUser(componentName));
451 DevicePolicyManager devicePolicyManager, ComponentName componentName) {
462 DevicePolicyManager devicePolicyManager, ComponentName componentName) {
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/pm/
ComponentTest.java 34 import android.content.ComponentName;
67 private static final ComponentName DISABLED_ACTIVITY_COMPONENTNAME =
68 new ComponentName(ENABLED_PACKAGENAME, DISABLED_ACTIVITY_CLASSNAME);
71 private static final ComponentName ENABLED_ACTIVITY_COMPONENTNAME =
72 new ComponentName(ENABLED_PACKAGENAME, ENABLED_ACTIVITY_CLASSNAME);
75 private static final ComponentName DISABLED_SERVICE_COMPONENTNAME =
76 new ComponentName(ENABLED_PACKAGENAME, DISABLED_SERVICE_CLASSNAME);
79 private static final ComponentName DISABLED_PROVIDER_COMPONENTNAME =
80 new ComponentName(ENABLED_PACKAGENAME, DISABLED_PROVIDER_CLASSNAME);
84 private static final ComponentName ENABLED_SERVICE_COMPONENTNAME
    [all...]
  /frameworks/base/services/core/java/com/android/server/vr/
VrManagerService.java 30 import android.content.ComponentName;
147 private ComponentName mDefaultVrService;
149 private ComponentName mCurrentVrModeComponent;
185 ComponentName component = null;
373 final ComponentName targetPackageName;
374 final ComponentName callingPackage;
378 VrState(boolean enabled, boolean running2dInVr, ComponentName targetPackageName, int userId,
379 int processId, ComponentName callingPackage) {
390 VrState(boolean enabled, boolean running2dInVr, ComponentName targetPackageName, int userId,
391 int processId, ComponentName callingPackage, boolean defaultPermissionsGranted)
    [all...]
  /frameworks/base/services/core/java/com/android/server/notification/
ManagedServices.java 28 import android.content.ComponentName;
126 private ArraySet<ComponentName> mEnabledServicesForCurrentProfiles
131 private ArraySet<ComponentName> mSnoozingForCurrentProfiles = new ArraySet<>();
181 ComponentName component, int userId, boolean isSystem, ServiceConnection connection,
210 for (ComponentName cmpt : mEnabledServicesForCurrentProfiles) {
226 for (ComponentName name : mSnoozingForCurrentProfiles) {
255 for (ComponentName cmpt : mEnabledServicesForCurrentProfiles) {
265 for (ComponentName name : mSnoozingForCurrentProfiles) {
457 if(ComponentName.unflattenFromString(pkgOrComponent) != null) {
473 protected List<ComponentName> getAllowedComponents(int userId)
    [all...]
  /frameworks/base/services/print/java/com/android/server/print/
UserState.java 34 import android.content.ComponentName;
119 private final ArrayMap<ComponentName, RemotePrintService> mActiveServices =
120 new ArrayMap<ComponentName, RemotePrintService>();
125 private final Set<ComponentName> mDisabledServices =
126 new ArraySet<ComponentName>();
191 ComponentName printServiceName = printJob.getPrinterId().getServiceName();
205 public void onAllPrintJobsForServiceHandled(ComponentName printService) {
352 ComponentName printServiceName = printerId.getServiceName();
384 ComponentName componentName = new ComponentName
    [all...]
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
BluetoothSharingRestrictionTest.java 20 import android.content.ComponentName;
46 private static final ComponentName OPP_LAUNCHER_COMPONENT = new ComponentName(
109 private static void assertComponentStateAfterTimeout(Context context, ComponentName component,
128 ComponentName component,
137 final ComponentName resolvedComponent =
138 new ComponentName(componentInfo.packageName, componentInfo.name);

Completed in 2585 milliseconds

<<11121314151617181920>>