/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/ |
D | EnableProfileActivity.java | 39 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/ |
D | EnableProfileActivity.java | 49 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/ |
D | UpdateComplicationDataService.java | 50 ComponentName componentName = in handleActionUpdateComplicationData() local 54 new ProviderUpdateRequester(getApplicationContext(), componentName); in handleActionUpdateComplicationData()
|
/development/samples/browseable/DeviceOwner/src/com.example.android.deviceowner/ |
D | DeviceOwnerReceiver.java | 40 ComponentName componentName = getComponentName(context); in onProfileProvisioningComplete() local 41 manager.setProfileName(componentName, context.getString(R.string.profile_name)); in onProfileProvisioningComplete()
|
D | DeviceOwnerFragment.java | 280 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/ |
D | SampleChooserTargetService.java | 37 ComponentName componentName = new ComponentName(getPackageName(), in onGetChooserTargets() local 55 componentName, in onGetChooserTargets()
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
D | SmsMessagingDemo.java | 71 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()
|
D | MmsMessagingDemo.java | 120 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/ |
D | MessagingFragment.java | 56 public void onServiceConnected(ComponentName componentName, IBinder service) { 63 public void onServiceDisconnected(ComponentName componentName) {
|
/development/samples/ApiDemos/src/com/example/android/apis/ |
D | ApiDemos.java | 121 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/ |
D | DeviceControlActivity.java | 72 public void onServiceConnected(ComponentName componentName, IBinder service) { 83 public void onServiceDisconnected(ComponentName componentName) {
|
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/ |
D | ComplicationSimpleWatchFaceService.java | 384 ComponentName componentName = new ComponentName( in onComplicationTap() local 390 getApplicationContext(), componentName); in onComplicationTap()
|
/development/apps/Development/src/com/android/development/ |
D | SyncAdapterDriver.java | 298 intent.setComponent(syncAdapter.componentName); in initiateBind()
|