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

1 2 3 4 56 7 8 91011>>

  /development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
BasicDeviceAdminReceiver.java 20 import android.content.ComponentName;
44 * Generates a {@link ComponentName} that is used throughout the app.
45 * @return a {@link ComponentName}
47 public static ComponentName getComponentName(Context context) {
48 return new ComponentName(context.getApplicationContext(), BasicDeviceAdminReceiver.class);
EnableProfileActivity.java 21 import android.content.ComponentName;
49 ComponentName componentName = BasicDeviceAdminReceiver.getComponentName(this);
51 manager.setProfileName(componentName, getString(R.string.profile_name));
53 manager.setProfileEnabled(componentName);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
PipUtils.java 24 import android.content.ComponentName;
35 * @return the ComponentName and user id of the top non-SystemUI activity in the pinned stack.
38 public static Pair<ComponentName, Integer> getTopPinnedActivity(Context context,
47 ComponentName cn = ComponentName.unflattenFromString(
  /frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/
MainActivity.java 21 import android.content.ComponentName;
40 public void onServiceConnected(ComponentName name, IBinder service) {
45 public void onServiceDisconnected(ComponentName name) {
50 public void onBindingDied(ComponentName componentName) {
  /packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/
SourceLatency.java 22 import android.content.ComponentName;
59 private SearchableInfo getSearchable(ComponentName componentName) {
60 SearchableInfo searchable = mSearchManager.getSearchableInfo(componentName);
63 + componentName.flattenToShortString());
89 public void checkSourceConcurrent(final String src, final ComponentName componentName,
92 final SearchableInfo searchable = getSearchable(componentName);
122 public void checkSource(String src, ComponentName componentName, String[] queries)
    [all...]
  /packages/apps/Settings/src/com/android/settings/
SetupRedactionInterstitial.java 19 import android.content.ComponentName;
42 ComponentName componentName = new ComponentName(context, SetupRedactionInterstitial.class);
44 componentName,
  /packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/conditional/
WorkModeConditionTest.java 23 import android.content.ComponentName;
57 final ComponentName componentName =
58 new ComponentName(mContext, Settings.AccountDashboardActivity.class);
63 argThat(intent-> intent.getComponent().equals(componentName)));
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
BaseEmulatorActivity.java 8 import android.content.ComponentName;
32 ComponentName mMakingDefault;
34 final ArrayList<ComponentName> SERVICES = new ArrayList<ComponentName>(
64 abstract void onApduSequenceComplete(ComponentName component, long duration);
91 final void setupServices(Context context, ComponentName... components) {
96 final boolean makePaymentDefault(final ComponentName defaultComponent, int stringId) {
125 ComponentName component = intent.getParcelableExtra(HceUtils.EXTRA_COMPONENT);
136 private class SetupServicesTask extends AsyncTask<ComponentName, Void, Boolean> {
154 protected Boolean doInBackground(ComponentName... components)
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DpmTestBase.java 28 import android.content.ComponentName;
48 public ComponentName admin1;
49 public ComponentName admin2;
50 public ComponentName admin3;
51 public ComponentName adminAnotherPackage;
52 public ComponentName adminNoPerm;
63 admin1 = new ComponentName(mRealTestContext, DummyDeviceAdmins.Admin1.class);
64 admin2 = new ComponentName(mRealTestContext, DummyDeviceAdmins.Admin2.class);
65 admin3 = new ComponentName(mRealTestContext, DummyDeviceAdmins.Admin3.class);
66 adminAnotherPackage = new ComponentName(DpmMockContext.ANOTHER_PACKAGE_NAME
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/cardemulation/
RegisteredServicesCache.java 25 import android.content.ComponentName;
101 final HashMap<ComponentName, ApduServiceInfo> services =
103 final HashMap<ComponentName, DynamicAids> dynamicAids =
178 boolean containsServiceLocked(ArrayList<ApduServiceInfo> services, ComponentName serviceName) {
185 public boolean hasService(int userId, ComponentName service) {
189 public ApduServiceInfo getService(int userId, ComponentName service) {
241 ComponentName componentName = new ComponentName(si.packageName, si.name);
245 Log.e(TAG, "Skipping application component " + componentName
    [all...]
  /cts/tests/tests/content/src/android/content/pm/cts/
PackageManagerTest.java 22 import android.content.ComponentName;
74 new ComponentName(PACKAGE_NAME, cmpActivityName), null, activityIntent, 0);
79 new ComponentName(PACKAGE_NAME, ACTIVITY_NAME), null, activityIntent, 0);
195 ComponentName activityName = new ComponentName(PACKAGE_NAME, ACTIVITY_NAME);
196 ComponentName serviceName = new ComponentName(PACKAGE_NAME, SERVICE_NAME);
197 ComponentName receiverName = new ComponentName(PACKAGE_NAME, RECEIVER_NAME);
198 ComponentName instrName = new ComponentName(PACKAGE_NAME, INSTRUMENT_NAME)
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/
Constants.java 19 import android.content.ComponentName;
88 ComponentName SL4A_SERVICE_COMPONENT_NAME = new ComponentName(
91 ComponentName SL4A_SERVICE_LAUNCHER_COMPONENT_NAME = new ComponentName(
94 ComponentName BLUETOOTH_DEVICE_LIST_COMPONENT_NAME = new ComponentName(
97 ComponentName TRIGGER_SERVICE_COMPONENT_NAME = new ComponentName(
  /frameworks/base/services/core/java/com/android/server/dreams/
DreamManagerService.java 30 import android.content.ComponentName;
82 private ComponentName mCurrentDreamName;
202 private void testDreamInternal(ComponentName dream, int userId) {
210 final ComponentName dream = chooseDreamForUser(doze, userId);
261 private ComponentName chooseDreamForUser(boolean doze, int userId) {
263 ComponentName dozeComponent = getDozeComponent(userId);
266 ComponentName[] dreams = getDreamComponentsForUser(userId);
270 private boolean validateDream(ComponentName component) {
286 private ComponentName[] getDreamComponentsForUser(int userId) {
290 ComponentName[] components = componentsFromString(names)
    [all...]
  /packages/apps/Settings/src/com/android/settings/development/qstile/
DevelopmentTilePreferenceController.java 19 import android.content.ComponentName;
72 new ComponentName(sInfo.packageName, sInfo.name));
104 ComponentName componentName = new ComponentName(
106 mPackageManager.setComponentEnabledSetting(componentName, enabled
114 mStatusBarService.addTile(componentName);
116 mStatusBarService.remTile(componentName);
121 componentName.toString(), e);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/
AccessibilityServiceFragment.java 19 import android.content.ComponentName;
83 .setComponent(new ComponentName(packageName, activityName)));
99 final ComponentName serviceComponent = new ComponentName(packageName, serviceName);
100 final Set<ComponentName> enabledServices =
106 new ComponentName(packageName, serviceName),
111 public void onAccessibilityServiceConfirmed(ComponentName componentName, boolean enabling) {
113 componentName, enabling);
  /packages/services/Car/tests/carservice_test/src/com/android/car/
SystemActivityMonitoringServiceTest.java 22 import android.content.ComponentName;
71 ComponentName activityA = toComponentName(getTestContext(), ActivityA.class);
75 ComponentName activityB = toComponentName(getTestContext(), ActivityB.class);
82 ComponentName blackListedActivity = toComponentName(getTestContext(), ActivityC.class);
83 ComponentName blockingActivity = toComponentName(getTestContext(), BlockingActivity.class);
110 private void assertTopTaskActivity(ComponentName activity) throws Exception{
125 private static ComponentName toComponentName(Context ctx, Class<?> cls) {
126 return ComponentName.createRelative(ctx, cls.getName());
129 private static void startActivity(Context ctx, ComponentName name) {
  /frameworks/base/core/java/android/app/
INotificationManager.aidl 25 import android.content.ComponentName;
97 void registerListener(in INotificationListener listener, in ComponentName component, int userid);
106 void requestBindListener(in ComponentName component);
108 void requestBindProvider(in ComponentName component);
132 ComponentName getEffectsSuppressor();
136 boolean isNotificationListenerAccessGranted(in ComponentName listener);
137 boolean isNotificationListenerAccessGrantedForUser(in ComponentName listener, int userId);
138 boolean isNotificationAssistantAccessGranted(in ComponentName assistant);
139 void setNotificationListenerAccessGranted(in ComponentName listener, boolean enabled);
140 void setNotificationAssistantAccessGranted(in ComponentName assistant, boolean enabled)
    [all...]
VrManager.java 8 import android.content.ComponentName;
156 * @see Activity#setVrModeEnabled(boolean, ComponentName)
190 * @param componentName ComponentName of a Service in the application's compositor process to
194 public void setAndBindVrCompositor(ComponentName componentName) {
197 (componentName == null) ? null : componentName.flattenToString());
220 * Start VR Input method for the packageName in {@link ComponentName}.
223 * @param componentName ComponentName of a VR InputMethod that should be set as selecte
    [all...]
  /packages/apps/Settings/src/com/android/settings/accessibility/
ShortcutServicePickerFragment.java 26 import android.content.ComponentName;
81 Map<ComponentName, ToggleableFrameworkFeatureInfo> frameworkFeatureInfoMap =
83 for (ComponentName componentName : frameworkFeatureInfoMap.keySet()) {
85 if (componentName.equals(COLOR_INVERSION_COMPONENT_NAME)) {
87 } else if (componentName.equals(DALTONIZER_COMPONENT_NAME)) {
92 candidates.add(new FrameworkCandidateInfo(frameworkFeatureInfoMap.get(componentName),
93 iconId, componentName.flattenToString()));
107 ComponentName shortcutName = ComponentName.unflattenFromString(shortcutServiceString)
    [all...]
  /developers/build/prebuilts/gradle/DirectShare/Application/src/main/java/com/example/android/directshare/
SampleChooserTargetService.java 19 import android.content.ComponentName;
35 public List<ChooserTarget> onGetChooserTargets(ComponentName targetActivityName,
37 ComponentName componentName = new ComponentName(getPackageName(),
55 componentName,
  /developers/samples/android/content/DirectShare/Application/src/main/java/com/example/android/directshare/
SampleChooserTargetService.java 19 import android.content.ComponentName;
35 public List<ChooserTarget> onGetChooserTargets(ComponentName targetActivityName,
37 ComponentName componentName = new ComponentName(getPackageName(),
55 componentName,
  /development/samples/browseable/DirectShare/src/com.example.android.directshare/
SampleChooserTargetService.java 19 import android.content.ComponentName;
35 public List<ChooserTarget> onGetChooserTargets(ComponentName targetActivityName,
37 ComponentName componentName = new ComponentName(getPackageName(),
55 componentName,
  /frameworks/base/core/java/android/view/autofill/
IAutoFillManager.aidl 21 import android.content.ComponentName;
43 in ComponentName componentName, boolean compatMode);
50 boolean hasCallback, int flags, in ComponentName componentName, int sessionId,
65 ComponentName getAutofillServiceComponentName();
  /frameworks/base/core/java/com/android/internal/appwidget/
IAppWidgetService.aidl 19 import android.content.ComponentName;
58 void updateAppWidgetProvider(in ComponentName provider, in RemoteViews views);
59 void updateAppWidgetProviderInfo(in ComponentName provider, in String metadataKey);
67 int providerProfileId, in ComponentName providerComponent, in Bundle options);
71 int[] getAppWidgetIds(in ComponentName providerComponent);
73 boolean requestPinAppWidget(String packageName, in ComponentName providerComponent,
  /packages/apps/Settings/tests/robotests/src/com/android/settings/dream/
CurrentDreamPickerTest.java 25 import android.content.ComponentName;
71 ComponentName mockComponentName = mock(ComponentName.class);
81 ComponentName mockName = mock(ComponentName.class);
83 mockInfo.componentName = mockName;

Completed in 837 milliseconds

1 2 3 4 56 7 8 91011>>