Home
last modified time | relevance | path

Searched refs:componentName (Results 1 – 12 of 12) sorted by relevance

/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DEnableProfileActivity.java39 ComponentName componentName = EnforcerDeviceAdminReceiver.getComponentName(this); in onCreate() local
40 manager.setProfileName(componentName, getString(R.string.profile_name)); in onCreate()
41 manager.setProfileEnabled(componentName); in onCreate()
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
DEnableProfileActivity.java49 ComponentName componentName = BasicDeviceAdminReceiver.getComponentName(this); in enableProfile() local
51 manager.setProfileName(componentName, getString(R.string.profile_name)); in enableProfile()
53 manager.setProfileEnabled(componentName); in enableProfile()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DSmsMessagingDemo.java71 final ComponentName componentName = new ComponentName("com.example.android.apis", in onCreate() local
74 enableCheckBox.setChecked(pm.getComponentEnabledSetting(componentName) == in onCreate()
81 pm.setComponentEnabledSetting(componentName, in onCreate()
DMmsMessagingDemo.java120 final ComponentName componentName = new ComponentName("com.example.android.apis", in onCreate() local
122 enableCheckBox.setChecked(pm.getComponentEnabledSetting(componentName) == in onCreate()
127 pm.setComponentEnabledSetting(componentName, in onCreate()
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
DMessagingFragment.java56 public void onServiceConnected(ComponentName componentName, IBinder service) {
63 public void onServiceDisconnected(ComponentName componentName) {
/development/samples/Support4Demos/src/com/example/android/supportv4/
DSupport4Demos.java121 protected Intent activityIntent(String pkg, String componentName) { in activityIntent() argument
123 result.setClassName(pkg, componentName); in activityIntent()
/development/samples/ApiDemos/src/com/example/android/apis/
DApiDemos.java121 protected Intent activityIntent(String pkg, String componentName) { in activityIntent() argument
123 result.setClassName(pkg, componentName); in activityIntent()
/development/samples/Support7Demos/src/com/example/android/supportv7/
DSupport7Demos.java123 protected Intent activityIntent(String pkg, String componentName) { in activityIntent() argument
125 result.setClassName(pkg, componentName); in activityIntent()
/development/samples/Support13Demos/src/com/example/android/supportv13/
DSupport13Demos.java121 protected Intent activityIntent(String pkg, String componentName) { in activityIntent() argument
123 result.setClassName(pkg, componentName); in activityIntent()
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
DDeviceControlActivity.java72 public void onServiceConnected(ComponentName componentName, IBinder service) {
83 public void onServiceDisconnected(ComponentName componentName) {
/development/samples/ActionBarCompat/src/com/example/android/actionbarcompat/
DSimpleMenu.java159 public int addIntentOptions(int i, int i1, int i2, ComponentName componentName, in addIntentOptions() argument
/development/apps/Development/src/com/android/development/
DSyncAdapterDriver.java298 intent.setComponent(syncAdapter.componentName); in initiateBind()