Home
last modified time | relevance | path

Searched refs:componentName (Results 1 – 13 of 13) 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/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/provider/
DUpdateComplicationDataService.java50 ComponentName componentName = in handleActionUpdateComplicationData() local
54 new ProviderUpdateRequester(getApplicationContext(), componentName); in handleActionUpdateComplicationData()
/development/samples/browseable/DeviceOwner/src/com.example.android.deviceowner/
DDeviceOwnerReceiver.java40 ComponentName componentName = getComponentName(context); in onProfileProvisioningComplete() local
41 manager.setProfileName(componentName, context.getString(R.string.profile_name)); in onProfileProvisioningComplete()
DDeviceOwnerFragment.java280 ComponentName componentName = mAdapter.getComponentName( in setPreferredLauncher() local
283 DeviceOwnerReceiver.getComponentName(activity), filter, componentName); in setPreferredLauncher() local
284 savePersistentPreferredLauncher(activity, componentName.getPackageName()); in setPreferredLauncher()
/development/samples/browseable/DirectShare/src/com.example.android.directshare/
DSampleChooserTargetService.java37 ComponentName componentName = new ComponentName(getPackageName(), in onGetChooserTargets() local
55 componentName, in onGetChooserTargets()
/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/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/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
DDeviceControlActivity.java72 public void onServiceConnected(ComponentName componentName, IBinder service) {
83 public void onServiceDisconnected(ComponentName componentName) {
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DComplicationSimpleWatchFaceService.java384 ComponentName componentName = new ComponentName( in onComplicationTap() local
390 getApplicationContext(), componentName); in onComplicationTap()
/development/apps/Development/src/com/android/development/
DSyncAdapterDriver.java298 intent.setComponent(syncAdapter.componentName); in initiateBind()