/cts/tests/tests/location/src/android/location/cts/ |
D | LocationManagerTest.java | 59 private LocationManager mManager; field in LocationManagerTest 72 mManager = (LocationManager) mContext.getSystemService(Context.LOCATION_SERVICE); in setUp() 75 LocationProvider lp = mManager.getProvider(TEST_MOCK_PROVIDER_NAME); in setUp() 77 mManager.removeTestProvider(TEST_MOCK_PROVIDER_NAME); in setUp() 87 mManager.addTestProvider(providerName, true, //requiresNetwork, in addTestProvider() 96 mManager.setTestProviderEnabled(providerName, true); in addTestProvider() 101 LocationProvider provider = mManager.getProvider(TEST_MOCK_PROVIDER_NAME); in tearDown() 103 mManager.removeTestProvider(TEST_MOCK_PROVIDER_NAME); in tearDown() 106 mManager.removeProximityAlert(mPendingIntent); in tearDown() 116 LocationProvider provider = mManager.getProvider(TEST_MOCK_PROVIDER_NAME); in testRemoveTestProvider() [all …]
|
/cts/tests/tests/accessibility/src/android/view/accessibility/cts/ |
D | CaptioningManagerTest.java | 35 private CaptioningManager mManager; field in CaptioningManagerTest 42 mManager = getInstrumentation().getTargetContext().getSystemService( in setUp() 45 assertNotNull("Obtained captioning manager", mManager); in setUp() 60 mManager.addCaptioningChangeListener(listener); in testChangeListener() 74 mManager.removeCaptioningChangeListener(listener); in testChangeListener() 82 mManager.removeCaptioningChangeListener(listener); in testChangeListener() 93 assertEquals("Test runner set font scale to 2.0", 2.0f, mManager.getFontScale()); in testProperties() 94 assertEquals("Test runner set locale to Japanese", Locale.JAPAN, mManager.getLocale()); in testProperties() 95 assertEquals("Test runner set enabled to true", true, mManager.isEnabled()); in testProperties() 107 CaptionStyle userStyle = mManager.getUserStyle(); in testUserStyle()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputManagerTest.java | 49 private TvInputManager mManager; field in TvInputManagerTest 70 mManager = (TvInputManager) getActivity().getSystemService(Context.TV_INPUT_SERVICE); in setUp() 72 mManager.getTvInputList(), StubTvInputService2.class.getName()).getId(); in setUp() 79 assertEquals(mManager.getInputState(mStubId), TvInputManager.INPUT_STATE_CONNECTED); in testGetInputState() 86 assertEquals(mManager.getTvInputInfo(mStubId), getInfoForClassName( in testGetTvInputInfo() 87 mManager.getTvInputList(), StubTvInputService2.class.getName())); in testGetTvInputInfo() 94 List<TvInputInfo> list = mManager.getTvInputList(); in testGetTvInputList() 110 mManager.isParentalControlsEnabled(); in testIsParentalControlsEnabled() 121 mManager.isRatingBlocked(DUMMY_RATING); in testIsRatingBlocked() 135 mManager.registerCallback(mCallabck, new Handler()); in testRegisterUnregisterCallback() [all …]
|
D | HardwareSessionTest.java | 47 private TvInputManager mManager; field in HardwareSessionTest 64 mManager = (TvInputManager) mActivity.getSystemService(Context.TV_INPUT_SERVICE); in setUp() 65 for (TvInputInfo info : mManager.getTvInputList()) { in setUp()
|
D | BundledTvInputServiceTest.java | 48 private TvInputManager mManager; field in BundledTvInputServiceTest 102 mManager = (TvInputManager) mActivity.getSystemService(Context.TV_INPUT_SERVICE); in setUp() 103 for (TvInputInfo info : mManager.getTvInputList()) { in setUp()
|
D | TvViewTest.java | 55 private TvInputManager mManager; field in TvViewTest 161 mManager = (TvInputManager) mActivity.getSystemService(Context.TV_INPUT_SERVICE); in setUp() 162 for (TvInputInfo info : mManager.getTvInputList()) { in setUp()
|
D | TvInputServiceTest.java | 62 private TvInputManager mManager; field in TvInputServiceTest 169 mManager = (TvInputManager) mActivity.getSystemService(Context.TV_INPUT_SERVICE); in setUp() 170 for (TvInputInfo info : mManager.getTvInputList()) { in setUp()
|
/cts/tests/tests/location2/src/android/location2/cts/ |
D | LocationManagerTest.java | 59 private LocationManager mManager; field in LocationManagerTest 72 mManager = (LocationManager) mContext.getSystemService(Context.LOCATION_SERVICE); in setUp() 95 mManager.getProvider(providerName); in doTestGetFineProvider_notAllowed() 107 mManager.clearTestProviderEnabled(providerName); in removeTestProvider() 108 mManager.removeTestProvider(providerName); in removeTestProvider() 122 assertNotNull(mManager.getProvider(providerName)); in doTestGetCoarseProvider_allowed() 150 mManager.requestLocationUpdates(providerName, 0, 0, mPendingIntent); in doTestGetLocationUpdates_withIntent() 155 final Location location = mManager.getLastKnownLocation(providerName); in doTestGetLocationUpdates_withIntent() 162 mManager.removeUpdates(mPendingIntent); in doTestGetLocationUpdates_withIntent() 177 mManager.requestLocationUpdates( in doTestGetLocationUpdates_withListener() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/car/ |
D | CarDockTestActivity.java | 46 private UiModeManager mManager; field in CarDockTestActivity 56 mManager = (UiModeManager) getSystemService(Context.UI_MODE_SERVICE); in onCreate() 62 mManager.disableCarMode(0); in onCreate() 70 mManager.enableCarMode(UiModeManager.ENABLE_CAR_MODE_GO_CAR_HOME); in onCreate()
|