Home
last modified time | relevance | path

Searched refs:manager (Results 1 – 25 of 80) sorted by relevance

1234

/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityManagerCompat.java36 public boolean addAccessibilityStateChangeListener(AccessibilityManager manager, in addAccessibilityStateChangeListener() argument
38 public boolean removeAccessibilityStateChangeListener(AccessibilityManager manager, in removeAccessibilityStateChangeListener() argument
41 AccessibilityManager manager,int feedbackTypeFlags); in getEnabledAccessibilityServiceList() argument
43 AccessibilityManager manager); in getInstalledAccessibilityServiceList() argument
44 public boolean isTouchExplorationEnabled(AccessibilityManager manager); in isTouchExplorationEnabled() argument
53 public boolean addAccessibilityStateChangeListener(AccessibilityManager manager, in addAccessibilityStateChangeListener() argument
58 public boolean removeAccessibilityStateChangeListener(AccessibilityManager manager, in removeAccessibilityStateChangeListener() argument
64 AccessibilityManager manager, int feedbackTypeFlags) { in getEnabledAccessibilityServiceList() argument
69 AccessibilityManager manager) { in getInstalledAccessibilityServiceList() argument
73 public boolean isTouchExplorationEnabled(AccessibilityManager manager) { in isTouchExplorationEnabled() argument
[all …]
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
DAccessibilityManagerCompatIcs.java44 public static boolean addAccessibilityStateChangeListener(AccessibilityManager manager,
46 return manager.addAccessibilityStateChangeListener(
50 public static boolean removeAccessibilityStateChangeListener(AccessibilityManager manager,
52 return manager.removeAccessibilityStateChangeListener(
57 AccessibilityManager manager,int feedbackTypeFlags) {
58 return manager.getEnabledAccessibilityServiceList(feedbackTypeFlags);
62 AccessibilityManager manager) {
63 return manager.getInstalledAccessibilityServiceList();
66 public static boolean isTouchExplorationEnabled(AccessibilityManager manager) {
67 return manager.isTouchExplorationEnabled();
/frameworks/base/location/tests/locationtests/src/android/location/
DLocationManagerTest.java32 private LocationManager manager; field in LocationManagerTest
37 manager = (LocationManager) mContext.getSystemService(Context.LOCATION_SERVICE); in setUp()
38 assertNotNull(manager); in setUp()
42 LocationProvider p = manager.getProvider("bogus"); in testGetBogusProvider()
47 LocationProvider p = manager.getProvider("network"); in testGetNetworkProvider()
52 LocationProvider p = manager.getProvider("gps"); in testGetGpsProvider()
57 String p = manager.getBestProvider(new Criteria(), true); in testGetBestProviderEmptyCriteria()
64 String p = manager.getBestProvider(c, true); in testGetBestProviderPowerCriteria()
68 p = manager.getBestProvider(c, true); in testGetBestProviderPowerCriteria()
72 p = manager.getBestProvider(c, true); in testGetBestProviderPowerCriteria()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DAccessibilityManagerTest.java80 AccessibilityManager manager = new AccessibilityManager(mContext, mockServiceInterface); in testGetAccessibilityServiceList() local
82 manager.getInstalledAccessibilityServiceList(); in testGetAccessibilityServiceList()
101 AccessibilityManager manager = new AccessibilityManager(mContext, mockServiceInterface); in testInterrupt() local
102 manager.interrupt(); in testInterrupt()
117 AccessibilityManager manager = new AccessibilityManager(mContext, mockServiceInterface); in testIsEnabled() local
118 boolean isEnabledServiceEnabled = manager.isEnabled(); in testIsEnabled()
124 manager.getClient().setState(0); in testIsEnabled()
130 boolean isEnabledServcieDisabled = manager.isEnabled(); in testIsEnabled()
156 AccessibilityManager manager = new AccessibilityManager(mContext, mockServiceInterface); in testSendAccessibilityEvent_AccessibilityEnabled() local
157 manager.sendAccessibilityEvent(sentEvent); in testSendAccessibilityEvent_AccessibilityEnabled()
[all …]
/frameworks/base/native/android/
Dsensor.cpp46 int ASensorManager_getSensorList(ASensorManager* manager, in ASensorManager_getSensorList() argument
50 int c = static_cast<SensorManager*>(manager)->getSensorList(&l); in ASensorManager_getSensorList()
57 ASensor const* ASensorManager_getDefaultSensor(ASensorManager* manager, int type) in ASensorManager_getDefaultSensor() argument
59 return static_cast<SensorManager*>(manager)->getDefaultSensor(type); in ASensorManager_getDefaultSensor()
62 ASensorEventQueue* ASensorManager_createEventQueue(ASensorManager* manager, in ASensorManager_createEventQueue() argument
66 static_cast<SensorManager*>(manager)->createEventQueue(); in ASensorManager_createEventQueue()
70 queue->incStrong(manager); in ASensorManager_createEventQueue()
75 int ASensorManager_destroyEventQueue(ASensorManager* manager, in ASensorManager_destroyEventQueue() argument
80 queue->decStrong(manager); in ASensorManager_destroyEventQueue()
/frameworks/base/core/java/android/util/
DPools.java26 public static <T extends Poolable<T>> Pool<T> simplePool(PoolableManager<T> manager) { in simplePool() argument
27 return new FinitePool<T>(manager); in simplePool()
30 … public static <T extends Poolable<T>> Pool<T> finitePool(PoolableManager<T> manager, int limit) { in finitePool() argument
31 return new FinitePool<T>(manager, limit); in finitePool()
DFinitePool.java47 FinitePool(PoolableManager<T> manager) { in FinitePool() argument
48 mManager = manager; in FinitePool()
53 FinitePool(PoolableManager<T> manager, int limit) { in FinitePool() argument
56 mManager = manager; in FinitePool()
/frameworks/native/include/android/
Dsensor.h157 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);
/frameworks/base/core/java/android/webkit/
DCookieSyncManager.java102 CookieManager manager = CookieManager.getInstance(); in syncFromRamToFlash() local
104 if (!manager.acceptCookie()) { in syncFromRamToFlash()
108 manager.flushCookieStore(); in syncFromRamToFlash()
DDeviceMotionService.java43 public DeviceMotionService(DeviceMotionAndOrientationManager manager, Context context) { in DeviceMotionService() argument
44 mManager = manager; in DeviceMotionService()
DJniUtil.java182 ActivityManager manager = (ActivityManager) sContext.getSystemService( in canSatisfyMemoryAllocation() local
185 manager.getMemoryInfo(memInfo); in canSatisfyMemoryAllocation()
DDeviceOrientationService.java48 public DeviceOrientationService(DeviceMotionAndOrientationManager manager, Context context) { in DeviceOrientationService() argument
49 mManager = manager; in DeviceOrientationService()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterContext.java43 public void setFrameManager(FrameManager manager) { in setFrameManager() argument
44 if (manager == null) { in setFrameManager()
46 } else if (manager.getContext() != null) { in setFrameManager()
50 mFrameManager = manager; in setFrameManager()
/frameworks/base/media/mca/effect/java/android/media/effect/
DFilterEffect.java89 FrameManager manager = getFilterContext().getFrameManager(); in frameFromTexture() local
93 Frame frame = manager.newBoundFrame(format, in frameFromTexture()
/frameworks/base/core/java/android/provider/
DDrmStore.java148 DrmRightsManager manager = manager = DrmRightsManager.getInstance(); in addDrmFile() local
149 DrmRights rights = manager.queryRights(content); in addDrmFile()
DCalendarContract.java2287 Context context, AlarmManager manager) { in rescheduleMissedAlarms() argument
2319 scheduleAlarm(context, manager, newAlarmTime); in rescheduleMissedAlarms()
2342 public static void scheduleAlarm(Context context, AlarmManager manager, long alarmTime) { in scheduleAlarm() argument
2350 if (manager == null) { in scheduleAlarm()
2351 manager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); in scheduleAlarm()
2358 manager.set(AlarmManager.RTC_WAKEUP, alarmTime, pi); in scheduleAlarm()
/frameworks/base/core/java/android/accessibilityservice/
DUiTestAutomationBridge.java186 final IAccessibilityManager manager = IAccessibilityManager.Stub.asInterface( in connect() local
195 manager.registerUiTestAutomationService(mListener, info); in connect()
232 IAccessibilityManager manager = IAccessibilityManager.Stub.asInterface( in disconnect() local
236 manager.unregisterUiTestAutomationService(mListener); in disconnect()
/frameworks/support/v4/java/android/support/v4/app/
DDialogFragment.java122 public void show(FragmentManager manager, String tag) { in show() argument
125 FragmentTransaction ft = manager.beginTransaction(); in show()
/frameworks/base/core/java/android/nfc/
DNfcAdapter.java403 NfcManager manager = (NfcManager) context.getSystemService(Context.NFC_SERVICE); in getDefaultAdapter() local
404 if (manager == null) { in getDefaultAdapter()
408 return manager.getDefaultAdapter(); in getDefaultAdapter()
/frameworks/base/core/java/android/app/
DDialogFragment.java225 public void show(FragmentManager manager, String tag) { in show() argument
228 FragmentTransaction ft = manager.beginTransaction(); in show()
/frameworks/base/docs/html/guide/topics/connectivity/
Dwifip2p.jd240 private WifiP2pManager manager;
244 public WiFiDirectBroadcastReceiver(WifiP2pManager manager, Channel channel,
247 this.manager = manager;
336 mReceiver = new WiFiDirectBroadcastReceiver(manager, channel, this);
400 manager.discoverPeers(channel, new WifiP2pManager.ActionListener() {
425 // request available peers from the wifi p2p manager. This is an
428 if (manager != null) {
429 manager.requestPeers(channel, myPeerListListener);
456 manager.connect(channel, config, new ActionListener() {
/frameworks/base/services/java/com/android/server/am/
DEventLogTags.logtags71 # An unknown process is trying to attach to the activity manager
79 # The activity manager gave up on a new process taking too long to start
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java1316 AudioManager manager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in startStopSco() local
1317 assertNotNull(manager); in startStopSco()
1319 if (!manager.isBluetoothScoAvailableOffCall()) { in startStopSco()
1323 boolean isScoOn = manager.isBluetoothScoOn(); in startStopSco()
1331 manager.startBluetoothSco(); in startStopSco()
1333 manager.stopBluetoothSco(); in startStopSco()
1338 isScoOn = manager.isBluetoothScoOn(); in startStopSco()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerBaseTest.java219 WifiManager manager = (WifiManager)mContext.getSystemService(Context.WIFI_SERVICE); in setWiFiStateOn() local
221 manager.setWifiEnabled(enable); in setWiFiStateOn()
/frameworks/base/core/java/android/net/http/
DAndroidHttpClient.java139 ClientConnectionManager manager = in newInstance() local
144 return new AndroidHttpClient(manager, params); in newInstance()

1234