/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/ |
RpcReceiver.java | 21 protected final RpcReceiverManager mManager; 26 mManager = manager;
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/ |
MultiSelectManagerTest.java | 44 private MultiSelectManager mManager; 53 mManager = new MultiSelectManager(mEnv, mAdapter, MultiSelectManager.MODE_MULTIPLE, null); 54 mManager.addCallback(mCallback); 59 mManager.toggleSelection(items.get(7)); 62 mManager.toggleSelection(items.get(7)); 68 mManager.toggleSelection(items.get(7)); 71 mManager.toggleSelection(items.get(7)); 89 mManager.setItemsSelected(Lists.newArrayList(items.get(7)), true); 90 mManager.setSelectionRangeBegin(7); 163 mManager.onLongPress(TestInputEvent.tap(17)) [all...] |
/cts/tests/tests/car/src/android/car/cts/ |
CarAppContextManagerTest.java | 27 private CarAppContextManager mManager; 32 mManager = (CarAppContextManager) getCar().getCarManager(Car.APP_CONTEXT_SERVICE); 33 assertNotNull(mManager); 38 mManager.setActiveContexts(null, CarAppContextManager.APP_CONTEXT_NAVIGATION); 47 mManager.registerContextListener(null, 0); 57 mManager.registerContextListener(listener, 0); 58 mManager.registerContextListener(listener2, 0); 59 mManager.unregisterContextListener(); 61 mManager.unregisterContextListener(); 74 assertEquals(0, mManager.getActiveAppContexts()) [all...] |
CarAudioManagerTest.java | 25 private CarAudioManager mManager; 30 mManager = (CarAudioManager) getCar().getCarManager(Car.AUDIO_SERVICE); 31 assertNotNull(mManager); 39 assertEquals(musicBuilder.build(), mManager.getAudioAttributesForCarUsage( 48 assertEquals(unknownBuilder.build(), mManager.getAudioAttributesForCarUsage(10007));
|
/packages/services/Car/tests/android_car_api_test/src/com/android/car/apitest/ |
CarAppContextManagerTest.java | 29 private CarAppContextManager mManager; 34 mManager = (CarAppContextManager) getCar().getCarManager(Car.APP_CONTEXT_SERVICE); 35 assertNotNull(mManager); 40 mManager.setActiveContexts(null, CarAppContextManager.APP_CONTEXT_NAVIGATION); 49 mManager.registerContextListener(null, 0); 59 mManager.registerContextListener(listener, 0); 60 mManager.registerContextListener(listener2, 0); 61 mManager.unregisterContextListener(); 63 mManager.unregisterContextListener(); 76 assertEquals(0, mManager.getActiveAppContexts()) [all...] |
/packages/services/Car/tests/android_support_car_api_test/src/com/android/support/car/apitest/ |
CarAppContextManagerTest.java | 29 private CarAppContextManager mManager; 34 mManager = (CarAppContextManager) getCar().getCarManager(Car.APP_CONTEXT_SERVICE); 35 assertNotNull(mManager); 40 mManager.setActiveContexts(null, CarAppContextManager.APP_CONTEXT_NAVIGATION); 49 mManager.registerContextListener(null, 0); 59 mManager.registerContextListener(listener, 0); 60 mManager.registerContextListener(listener2, 0); 61 mManager.unregisterContextListener(); 63 mManager.unregisterContextListener(); 76 assertEquals(0, mManager.getActiveAppContexts()) [all...] |
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/ |
BackgroundDataCondition.java | 33 setActive(NetworkPolicyManager.from(mManager.getContext()).getRestrictBackground()); 38 return Icon.createWithResource(mManager.getContext(), R.drawable.ic_data_saver); 43 return mManager.getContext().getString(R.string.condition_bg_data_title); 48 return mManager.getContext().getString(R.string.condition_bg_data_summary); 53 return new CharSequence[] { mManager.getContext().getString(R.string.condition_turn_off) }; 58 mManager.getContext().startActivity(new Intent(mManager.getContext(), 70 NetworkPolicyManager.from(mManager.getContext()).setRestrictBackground(false);
|
BatterySaverCondition.java | 32 PowerManager powerManager = mManager.getContext().getSystemService(PowerManager.class); 38 return Icon.createWithResource(mManager.getContext(), R.drawable.ic_settings_battery); 43 return mManager.getContext().getString(R.string.condition_battery_title); 48 return mManager.getContext().getString(R.string.condition_battery_summary); 53 return new CharSequence[] { mManager.getContext().getString(R.string.condition_turn_off) }; 58 Utils.startWithFragment(mManager.getContext(), BatterySaverSettings.class.getName(), null, 65 mManager.getContext().getSystemService(PowerManager.class).setPowerSaveMode(false);
|
CellularDataCondition.java | 32 ConnectivityManager connectivity = mManager.getContext().getSystemService( 34 TelephonyManager telephony = mManager.getContext().getSystemService(TelephonyManager.class); 50 return Icon.createWithResource(mManager.getContext(), R.drawable.ic_cellular_off); 55 return mManager.getContext().getString(R.string.condition_cellular_title); 60 return mManager.getContext().getString(R.string.condition_cellular_summary); 65 return new CharSequence[] { mManager.getContext().getString(R.string.condition_turn_on) }; 70 mManager.getContext().startActivity(new Intent(mManager.getContext(), 77 TelephonyManager telephony = mManager.getContext().getSystemService(
|
AirplaneModeCondition.java | 36 setActive(WirelessUtils.isAirplaneModeOn(mManager.getContext())); 46 return Icon.createWithResource(mManager.getContext(), R.drawable.ic_airplane); 51 return mManager.getContext().getString(R.string.condition_airplane_title); 56 return mManager.getContext().getString(R.string.condition_airplane_summary); 61 return new CharSequence[] { mManager.getContext().getString(R.string.condition_turn_off) }; 66 mManager.getContext().startActivity(new Intent(mManager.getContext(), 73 ConnectivityManager.from(mManager.getContext()).setAirplaneMode(false);
|
WorkModeCondition.java | 38 mUm = (UserManager) mManager.getContext().getSystemService(Context.USER_SERVICE); 63 return Icon.createWithResource(mManager.getContext(), 69 return mManager.getContext().getString(R.string.condition_work_title); 74 return mManager.getContext().getString(R.string.condition_work_summary); 80 mManager.getContext().getString(R.string.condition_turn_on) 86 mManager.getContext().startActivity(new Intent(mManager.getContext(),
|
NightDisplayCondition.java | 45 return Icon.createWithResource(mManager.getContext(), R.drawable.ic_settings_night_display); 50 return mManager.getContext().getString(R.string.condition_night_display_title); 55 return mManager.getContext().getString(R.string.condition_night_display_summary); 60 return new CharSequence[] { mManager.getContext().getString(R.string.condition_turn_off) }; 65 Utils.startWithFragment(mManager.getContext(), NightDisplaySettings.class.getName(), null,
|
Condition.java | 34 protected final ConditionManager mManager; 42 mManager = manager; 45 PackageManager pm = mManager.getContext().getPackageManager(); 46 pm.setComponentEnabledSetting(new ComponentName(mManager.getContext(), receiverClass), 69 mManager.notifyChanged(this); 96 MetricsLogger.action(mManager.getContext(), 113 PackageManager pm = mManager.getContext().getPackageManager(); 114 pm.setComponentEnabledSetting(new ComponentName(mManager.getContext(), clz),
|
/frameworks/base/wifi/java/android/net/wifi/nan/ |
WifiNanSession.java | 36 protected WifiNanManager mManager; 54 mManager = manager; 66 mManager.stopSession(mSessionId); 76 mManager.destroySession(mSessionId); 111 mManager.sendMessage(mSessionId, peerId, message, messageLength, messageId);
|
/packages/services/Car/car-support-lib/src/android/support/car/content/pm/ |
CarPackageManagerEmbedded.java | 26 private final android.car.content.pm.CarPackageManager mManager; 29 mManager = (android.car.content.pm.CarPackageManager) manager; 34 return mManager; 41 return mManager.isActivityAllowedWhileDriving(packageName, className); 51 return mManager.isServiceAllowedWhileDriving(packageName, className);
|
/packages/services/Car/car-support-lib/src/android/support/car/media/ |
CarAudioManagerEmbedded.java | 26 private final android.car.media.CarAudioManager mManager; 29 mManager = (android.car.media.CarAudioManager) manager; 34 return mManager.getAudioAttributesForCarUsage(carUsage); 42 return mManager.requestAudioFocus(l, requestAttributes, durationHint, flags); 47 return mManager.abandonAudioFocus(l, aa);
|
/packages/services/Car/car-support-lib/src/android/support/car/ |
CarInfoManagerEmbedded.java | 29 private final android.car.CarInfoManager mManager; 34 mManager = (android.car.CarInfoManager) manager; 40 return mManager.getFloat(key); 49 return mManager.getInt(key); 58 return mManager.getLong(key); 67 return mManager.getString(key); 86 return mManager.getBundle(key);
|
CarAppContextManagerEmbedded.java | 28 private final android.car.CarAppContextManager mManager; 36 mManager = (android.car.CarAppContextManager) manager; 51 mManager.registerContextListener(proxy, contextFilter); 63 mManager.unregisterContextListener(); 73 return mManager.getActiveAppContexts(); 82 return mManager.isOwningContext(context); 105 mManager.setActiveContexts(proxy, contexts); 114 mManager.resetActiveContexts(contexts);
|
/frameworks/base/core/java/android/content/ |
UndoOwner.java | 26 final UndoManager mManager; 43 mManager = manager; 68 " mManager=" + mManager +
|
/cts/tests/tests/location/src/android/location/cts/ |
LocationManagerTest.java | 62 private LocationManager mManager; 75 mManager = (LocationManager) mContext.getSystemService(Context.LOCATION_SERVICE); 78 LocationProvider lp = mManager.getProvider(TEST_MOCK_PROVIDER_NAME); 80 mManager.removeTestProvider(TEST_MOCK_PROVIDER_NAME); 90 mManager.addTestProvider(providerName, true, //requiresNetwork, 99 mManager.setTestProviderEnabled(providerName, true); 104 LocationProvider provider = mManager.getProvider(TEST_MOCK_PROVIDER_NAME); 106 mManager.removeTestProvider(TEST_MOCK_PROVIDER_NAME); 109 mManager.removeProximityAlert(mPendingIntent); 119 LocationProvider provider = mManager.getProvider(TEST_MOCK_PROVIDER_NAME) [all...] |
/cts/hostsidetests/tv/app2/src/com/android/cts/tv/hostside/app2/ |
TvViewMonitorActivity.java | 31 private TvInputManager mManager; 41 mManager = (TvInputManager) getSystemService(Context.TV_INPUT_SERVICE); 43 mManager.registerCallback(mCallback, new Handler()); 51 mManager.unregisterCallback(mCallback);
|
/frameworks/base/libs/hwui/thread/ |
TaskProcessor.h | 39 TaskProcessor(TaskManager* manager): mManager(manager) { } 61 TaskManager* mManager; 66 if (mManager) { 68 return mManager->addTask(task, self);
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
MtpManagerTest.java | 41 MtpManager mManager; 47 mManager = new MtpManager(getContext()); 48 mUsbDevice = TestUtil.setupMtpDevice(getInstrumentation(), mUsbManager, mManager); 53 mManager.closeDevice(mUsbDevice.getDeviceId()); 69 mManager.readEvent(mUsbDevice.getDeviceId(), signal); 84 final MtpDeviceRecord[] records = mManager.getDevices(); 91 final MtpDeviceRecord[] records = mManager.getDevices(); 98 final MtpDeviceRecord[] records = mManager.getDevices(); 108 MtpEvent event = mManager.readEvent(mUsbDevice.getDeviceId(), signal); 119 for (final MtpDeviceRecord record : mManager.getDevices()) [all...] |
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
CaptioningManagerTest.java | 35 private CaptioningManager mManager; 42 mManager = getInstrumentation().getTargetContext().getSystemService( 45 assertNotNull("Obtained captioning manager", mManager); 60 mManager.addCaptioningChangeListener(listener); 76 mManager.removeCaptioningChangeListener(listener); 84 mManager.removeCaptioningChangeListener(listener); 95 assertEquals("Test runner set font scale to 2.0", 2.0f, mManager.getFontScale()); 96 assertEquals("Test runner set locale to Japanese", Locale.JAPAN, mManager.getLocale()); 97 assertEquals("Test runner set enabled to true", true, mManager.isEnabled()); 109 CaptionStyle userStyle = mManager.getUserStyle() [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
ShortcutManagerTest2.java | [all...] |