Home
last modified time | relevance | path

Searched refs:getComponentName (Results 1 – 21 of 21) sorted by relevance

/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
DAppListFragment.java41 mQuery.setPackage(ai.getComponentName().getPackageName()); in onBindAction2()
46 mQuery.setActivity(ai.getComponentName()); in onBindAction2()
61 mLauncherApps.startMainActivity(ai.getComponentName(), ai.getUser(), null, null); in onLaunch()
68 ai.getComponentName().getPackageName(), in onAction2()
69 ai.getComponentName(), in onAction2()
/development/samples/browseable/DeviceOwner/src/com.example.android.deviceowner/
DDeviceOwnerReceiver.java40 ComponentName componentName = getComponentName(context); in onProfileProvisioningComplete()
52 public static ComponentName getComponentName(Context context) { in getComponentName() method in DeviceOwnerReceiver
DDeviceOwnerFragment.java221 DeviceOwnerReceiver.getComponentName(getActivity()), in setBooleanGlobalSetting()
280 ComponentName componentName = mAdapter.getComponentName( in setPreferredLauncher()
283 DeviceOwnerReceiver.getComponentName(activity), filter, componentName); in setPreferredLauncher()
296 DeviceOwnerReceiver.getComponentName(activity), in clearPreferredLauncher()
326 public ComponentName getComponentName(int position) { in getComponentName() method in DeviceOwnerFragment.LauncherAdapter
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
DBasicManagedProfileFragment.java126 BasicDeviceAdminReceiver.getComponentName(activity), packageName); in isApplicationEnabled()
221 BasicDeviceAdminReceiver.getComponentName(activity), packageName); in setAppEnabled()
231 BasicDeviceAdminReceiver.getComponentName(activity), packageName, !enabled); in setAppEnabled()
283 (BasicDeviceAdminReceiver.getComponentName(activity), in setChromeRestrictions()
305 (BasicDeviceAdminReceiver.getComponentName(activity), in clearChromeRestrictions()
325 manager.addCrossProfileIntentFilter(BasicDeviceAdminReceiver.getComponentName(activity), in enableForwarding()
342 manager.clearCrossProfileIntentFilters(BasicDeviceAdminReceiver.getComponentName(activity)); in disableForwarding()
DBasicDeviceAdminReceiver.java47 public static ComponentName getComponentName(Context context) { in getComponentName() method in BasicDeviceAdminReceiver
DEnableProfileActivity.java49 ComponentName componentName = BasicDeviceAdminReceiver.getComponentName(this); in enableProfile()
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DSetupProfileFragment.java81 EnforcerDeviceAdminReceiver.getComponentName(activity)); in provisionManagedProfile()
86 … intent.putExtra(EXTRA_DEVICE_ADMIN, EnforcerDeviceAdminReceiver.getComponentName(activity)); in provisionManagedProfile()
DEnforcerDeviceAdminReceiver.java47 public static ComponentName getComponentName(Context context) { in getComponentName() method in EnforcerDeviceAdminReceiver
DEnableProfileActivity.java39 ComponentName componentName = EnforcerDeviceAdminReceiver.getComponentName(this); in onCreate()
DStatusFragment.java103 EnforcerDeviceAdminReceiver.getComponentName(activity), in updateUi()
134 EnforcerDeviceAdminReceiver.getComponentName(activity), in unhideApp()
DMainActivity.java56 EnforcerDeviceAdminReceiver.getComponentName(this), in onCreate()
DAppRestrictionEnforcerFragment.java490 EnforcerDeviceAdminReceiver.getComponentName(activity), in saveRestrictions()
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DAppEntry.java50 ComponentName getComponentName() { in getComponentName() method in AppEntry
DLauncherActivity.java263 pinnedApps.add(appEntry.getComponentName().flattenToString()); in onAppPicked()
/development/samples/IntentPlayground/src/com/example/android/intentplayground/
DInlineAdapter.java118 activityName.setText(activity.getComponentName().getShortClassName()); in setTask()
130 showDialogWithFlags(manager, activity.getComponentName().getShortClassName(), in setTask()
/development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/
DMainActivity.java88 searchManager.getSearchableInfo(getComponentName())); in onCreateOptionsMenu()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DPurgeableBitmap.java75 ActivityInfo info = pm.getActivityInfo(this.getComponentName(), in detectIfPurgeableRequest()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DSearchViewActionBar.java84 SearchableInfo info = searchManager.getSearchableInfo(getComponentName()); in setupSearchView()
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DWordActivity.java75 searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName())); in onCreateOptionsMenu()
DSearchableDictionary.java138 searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName())); in onCreateOptionsMenu()
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
DContactsListFragment.java338 searchManager.getSearchableInfo(getActivity().getComponentName())); in onCreateOptionsMenu()