Home
last modified time | relevance | path

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

/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/
DEnforcerDeviceAdminReceiver.java47 public static ComponentName getComponentName(Context context) { in getComponentName() method in EnforcerDeviceAdminReceiver
DEnableProfileActivity.java39 ComponentName componentName = EnforcerDeviceAdminReceiver.getComponentName(this); in onCreate()
DAppRestrictionEnforcerFragment.java131 EnforcerDeviceAdminReceiver.getComponentName(activity), in updateUi()
172 EnforcerDeviceAdminReceiver.getComponentName(activity), in unhideApp()
220 EnforcerDeviceAdminReceiver.getComponentName(activity), in allowSayHello()
DSetupProfileFragment.java79 intent.putExtra(EXTRA_DEVICE_ADMIN, EnforcerDeviceAdminReceiver.getComponentName(activity)); in provisionManagedProfile()
/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/Support7Demos/src/com/example/android/supportv7/app/
DToolbarUsage.java69 searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName())); in onCreateOptionsMenu()
/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()