/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
D | WiFiDirectBroadcastReceiver.java | 34 private WifiP2pManager manager; field in WiFiDirectBroadcastReceiver 43 public WiFiDirectBroadcastReceiver(WifiP2pManager manager, Channel channel, in WiFiDirectBroadcastReceiver() argument 46 this.manager = manager; in WiFiDirectBroadcastReceiver() 77 if (manager != null) { in onReceive() 78 manager.requestPeers(channel, (PeerListListener) activity.getFragmentManager() in onReceive() 84 if (manager == null) { in onReceive() 98 manager.requestConnectionInfo(channel, fragment); in onReceive()
|
D | WiFiDirectActivity.java | 51 private WifiP2pManager manager; field in WiFiDirectActivity 78 manager = (WifiP2pManager) getSystemService(Context.WIFI_P2P_SERVICE); in onCreate() 79 channel = manager.initialize(this, getMainLooper(), null); in onCreate() 86 receiver = new WiFiDirectBroadcastReceiver(manager, channel, this); in onResume() 128 if (manager != null && channel != null) { in onOptionsItemSelected() 149 manager.discoverPeers(channel, new WifiP2pManager.ActionListener() { in onOptionsItemSelected() 179 manager.connect(channel, config, new ActionListener() { in connect() 199 manager.removeGroup(channel, new ActionListener() { in disconnect() 218 if (manager != null && !retryChannel) { in onChannelDisconnected() 222 manager.initialize(this, getMainLooper(), this); in onChannelDisconnected() [all …]
|
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
D | WiFiDirectBroadcastReceiver.java | 36 private WifiP2pManager manager; field in WiFiDirectBroadcastReceiver 45 public WiFiDirectBroadcastReceiver(WifiP2pManager manager, Channel channel, in WiFiDirectBroadcastReceiver() argument 48 this.manager = manager; in WiFiDirectBroadcastReceiver() 64 if (manager == null) { in onReceive() 77 manager.requestConnectionInfo(channel, in onReceive()
|
D | WiFiServiceDiscoveryActivity.java | 60 private WifiP2pManager manager; field in WiFiServiceDiscoveryActivity 97 manager = (WifiP2pManager) getSystemService(Context.WIFI_P2P_SERVICE); in onCreate() 98 channel = manager.initialize(this, getMainLooper(), null); in onCreate() 118 if (manager != null && channel != null) { in onStop() 119 manager.removeGroup(channel, new ActionListener() { in onStop() 144 manager.addLocalService(channel, service, new ActionListener() { in startRegistrationAndDiscovery() 168 manager.setDnsSdResponseListeners(channel, in discoverService() 217 manager.addServiceRequest(channel, serviceRequest, in discoverService() 230 manager.discoverServices(channel, new ActionListener() { in discoverService() 251 manager.removeServiceRequest(channel, serviceRequest, in connectP2p() [all …]
|
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/ |
D | EnableProfileActivity.java | 37 DevicePolicyManager manager = in onCreate() local 40 manager.setProfileName(componentName, getString(R.string.profile_name)); in onCreate() 41 manager.setProfileEnabled(componentName); in onCreate()
|
D | MainActivity.java | 31 DevicePolicyManager manager = (DevicePolicyManager) in onCreate() local 33 if (manager.isProfileOwnerApp(getApplicationContext().getPackageName())) { in onCreate()
|
/development/samples/SipDemo/src/com/example/android/sip/ |
D | WalkieTalkieActivity.java | 45 public SipManager manager = null; field in WalkieTalkieActivity 103 if(manager == null) { in initializeManager() 104 manager = SipManager.newInstance(this); in initializeManager() 115 if (manager == null) { in initializeLocalProfile() 141 manager.open(me, pi, null); in initializeLocalProfile() 147 manager.setRegistrationListener(me.getUriString(), new SipRegistrationListener() { in initializeLocalProfile() 173 if (manager == null) { in closeLocalProfile() 178 manager.close(me.getUriString()); in closeLocalProfile() 211 call = manager.makeAudioCall(me.getUriString(), sipAddress, listener, 30); in initiateCall() 218 manager.close(me.getUriString()); in initiateCall()
|
D | IncomingCallReceiver.java | 53 incomingCall = wtActivity.manager.takeAudioCall(intent, listener); in onReceive()
|
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/ |
D | BasicManagedProfileFragment.java | 248 final DevicePolicyManager manager = in setChromeRestrictions() local 282 manager.setApplicationRestrictions in setChromeRestrictions() 300 final DevicePolicyManager manager = in clearChromeRestrictions() local 304 manager.setApplicationRestrictions in clearChromeRestrictions() 318 DevicePolicyManager manager = in enableForwarding() local 325 manager.addCrossProfileIntentFilter(BasicDeviceAdminReceiver.getComponentName(activity), in enableForwarding() 340 DevicePolicyManager manager = in disableForwarding() local 342 manager.clearCrossProfileIntentFilters(BasicDeviceAdminReceiver.getComponentName(activity)); in disableForwarding() 354 DevicePolicyManager manager = in sendIntent() local 359 manager.isProfileOwnerApp(activity.getApplicationContext().getPackageName()) in sendIntent() [all …]
|
D | EnableProfileActivity.java | 47 DevicePolicyManager manager = in enableProfile() local 51 manager.setProfileName(componentName, getString(R.string.profile_name)); in enableProfile() 53 manager.setProfileEnabled(componentName); in enableProfile()
|
D | MainActivity.java | 31 DevicePolicyManager manager = (DevicePolicyManager) in onCreate() local 33 if (manager.isProfileOwnerApp(getApplicationContext().getPackageName())) { in onCreate()
|
/development/ndk/platforms/android-9/include/android/ |
D | sensor.h | 157 int ASensorManager_getSensorList(ASensorManager* manager, ASensorList* list); 163 ASensor const* ASensorManager_getDefaultSensor(ASensorManager* manager, int type); 168 ASensorEventQueue* ASensorManager_createEventQueue(ASensorManager* manager, 174 int ASensorManager_destroyEventQueue(ASensorManager* manager, ASensorEventQueue* queue);
|
/development/ndk/platforms/android-19/include/android/ |
D | sensor.h | 190 int ASensorManager_getSensorList(ASensorManager* manager, ASensorList* list); 196 ASensor const* ASensorManager_getDefaultSensor(ASensorManager* manager, int type); 201 ASensorEventQueue* ASensorManager_createEventQueue(ASensorManager* manager, 207 int ASensorManager_destroyEventQueue(ASensorManager* manager, ASensorEventQueue* queue);
|
/development/samples/Home/src/com/example/android/home/ |
D | Home.java | 355 final PackageManager manager = getPackageManager(); in bindRecents() local 369 ApplicationInfo info = getApplicationInfo(manager, intent); in bindRecents() 382 private static ApplicationInfo getApplicationInfo(PackageManager manager, Intent intent) { in getApplicationInfo() argument 383 final ResolveInfo resolveInfo = manager.resolveActivity(intent, 0); in getApplicationInfo() 391 info.icon = activityInfo.loadIcon(manager); in getApplicationInfo() 393 info.title = activityInfo.loadLabel(manager); in getApplicationInfo() 484 PackageManager manager = getPackageManager(); in loadApplications() local 489 final List<ResolveInfo> apps = manager.queryIntentActivities(mainIntent, 0); in loadApplications() 490 Collections.sort(apps, new ResolveInfo.DisplayNameComparator(manager)); in loadApplications() 504 application.title = info.loadLabel(manager); in loadApplications() [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
D | ChangedContacts.java | 134 LoaderManager manager = getLoaderManager(); in changeClick() local 135 manager.destroyLoader(ID_DELETE_LOADER); in changeClick() 136 manager.restartLoader(ID_CHANGE_LOADER, null, this); in changeClick() 141 LoaderManager manager = getLoaderManager(); in deleteClick() local 142 manager.destroyLoader(ID_CHANGE_LOADER); in deleteClick() 143 manager.restartLoader(ID_DELETE_LOADER, null, this); in deleteClick()
|
/development/apps/BuildWidget/src/com/android/buildwidget/ |
D | BuildWidget.java | 57 AppWidgetManager manager = AppWidgetManager.getInstance(this); in onStart() local 58 manager.updateAppWidget(thisWidget, updateViews); in onStart()
|
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/ |
D | CameraOps.java | 64 CameraOps(CameraManager manager, ErrorDisplayer errorDisplayer, in CameraOps() argument 69 if (manager == null || errorDisplayer == null || in CameraOps() 74 mCameraManager = manager; in CameraOps()
|
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/ |
D | WordWidget.java | 59 AppWidgetManager manager = AppWidgetManager.getInstance(this); in onStart() local 60 manager.updateAppWidget(thisWidget, updateViews); in onStart()
|
D | SimpleWikiHelper.java | 122 PackageManager manager = context.getPackageManager(); in prepareUserAgent() local 123 PackageInfo info = manager.getPackageInfo(context.getPackageName(), 0); in prepareUserAgent()
|
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
D | WordWidget.java | 58 AppWidgetManager manager = AppWidgetManager.getInstance(this); in onStart() local 59 manager.updateAppWidget(thisWidget, updateViews); in onStart()
|
D | SimpleWikiHelper.java | 115 PackageManager manager = context.getPackageManager(); in prepareUserAgent() local 116 PackageInfo info = manager.getPackageInfo(context.getPackageName(), 0); in prepareUserAgent()
|
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/ |
D | Camera2BasicFragment.java | 405 CameraManager manager = (CameraManager) activity.getSystemService(Context.CAMERA_SERVICE); in setUpCameraOutputs() local 407 for (String cameraId : manager.getCameraIdList()) { in setUpCameraOutputs() 409 = manager.getCameraCharacteristics(cameraId); in setUpCameraOutputs() 464 CameraManager manager = (CameraManager) activity.getSystemService(Context.CAMERA_SERVICE); in openCamera() local 469 manager.openCamera(mCameraId, mStateCallback, mBackgroundHandler); in openCamera()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | FragmentTabsFragment.java | 127 public TabManager(Context context, FragmentManager manager, int containerId) { in TabManager() argument 129 mManager = manager; in TabManager()
|
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/ |
D | Camera2VideoFragment.java | 342 CameraManager manager = (CameraManager) activity.getSystemService(Context.CAMERA_SERVICE); in openCamera() local 347 String cameraId = manager.getCameraIdList()[0]; in openCamera() 350 CameraCharacteristics characteristics = manager.getCameraCharacteristics(cameraId); in openCamera() 365 manager.openCamera(cameraId, mStateCallback, null); in openCamera()
|