Home
last modified time | relevance | path

Searched refs:createController (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/enterprise/
DManagedDeviceActionDisabledByAdminControllerTest.java68 ManagedDeviceActionDisabledByAdminController controller = createController(EMPTY_URL); in setupLearnMoreButton_noUrl_negativeButtonSet()
77 ManagedDeviceActionDisabledByAdminController controller = createController( in setupLearnMoreButton_validUrl_foregroundUser_launchesHelpPage()
90 ManagedDeviceActionDisabledByAdminController controller = createController( in setupLearnMoreButton_validUrl_browserInPreferredUser_notForeground_showsAdminPolicies()
103 ManagedDeviceActionDisabledByAdminController controller = createController( in setupLearnMoreButton_validUrl_browserInCurrentUser_launchesHelpPage()
116 ManagedDeviceActionDisabledByAdminController controller = createController( in setupLearnMoreButton_validUrl_browserNotOnAnyUser_showsAdminPolicies()
129 ManagedDeviceActionDisabledByAdminController controller = createController(); in getAdminSupportTitleResource_noRestriction_works()
137 ManagedDeviceActionDisabledByAdminController controller = createController(); in getAdminSupportTitleResource_withRestriction_works()
145 ManagedDeviceActionDisabledByAdminController controller = createController(); in getAdminSupportContentString_withSupportMessage_returnsSupportMessage()
153 ManagedDeviceActionDisabledByAdminController controller = createController(); in getAdminSupportContentString_noSupportMessage_returnsDefault()
159 private ManagedDeviceActionDisabledByAdminController createController() { in createController() method in ManagedDeviceActionDisabledByAdminControllerTest
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
DVibratorControllerTest.java97 private VibratorController createController() { in createController() method in VibratorControllerTest
103 VibratorController controller = createController(); in createController_initializesNativeWrapper()
111 assertTrue(createController().isAvailable()); in isAvailable_withVibratorHalPresent_returnsTrue()
117 assertFalse(createController().isAvailable()); in isAvailable_withNoVibratorHalPresent_returnsFalse()
123 assertTrue(createController().hasCapability(IVibrator.CAP_AMPLITUDE_CONTROL)); in hasCapability_withSupport_returnsTrue()
128 assertFalse(createController().hasCapability(IVibrator.CAP_ALWAYS_ON_CONTROL)); in hasCapability_withNoSupport_returnsFalse()
129 assertFalse(createController().hasCapability(IVibrator.CAP_AMPLITUDE_CONTROL)); in hasCapability_withNoSupport_returnsFalse()
130 assertFalse(createController().hasCapability(IVibrator.CAP_COMPOSE_EFFECTS)); in hasCapability_withNoSupport_returnsFalse()
131 assertFalse(createController().hasCapability(IVibrator.CAP_EXTERNAL_CONTROL)); in hasCapability_withNoSupport_returnsFalse()
132 assertFalse(createController().hasCapability(IVibrator.CAP_ON_CALLBACK)); in hasCapability_withNoSupport_returnsFalse()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java214 private void createController() { in createController() method in KeyguardIndicationControllerTest
241 createController(); in createController_addsAlignmentListener()
250 createController(); in onAlignmentStateChanged_showsSlowChargingIndication()
268 createController(); in onAlignmentStateChanged_showsNotChargingIndication()
285 createController(); in onAlignmentStateChanged_whileDozing_showsSlowChargingIndication()
303 createController(); in onAlignmentStateChanged_whileDozing_showsNotChargingIndication()
320 createController(); in disclosure_unmanaged()
330 createController(); in disclosure_deviceOwner_noOrganizationName()
340 createController(); in disclosure_orgOwnedDeviceWithManagedProfile_noOrganizationName()
352 createController(); in disclosure_deviceOwner_withOrganizationName()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DScrollCaptureControllerTest.java61 .createController(mContext); in testInfinite()
87 .createController(mContext); in testInfiniteWithPartialResultsTop()
115 .createController(mContext); in testInfiniteWithPartialResultsBottom()
141 .createController(mContext); in testLimitedBottom()
157 .createController(mContext); in testLimitedTopAndBottom()
173 .createController(mContext); in testVeryLimitedTopInfiniteBottom()
189 .createController(mContext); in testVeryLimitedTopLimitedBottom()
252 ScrollCaptureController createController(Context context) { in createController() method in ScrollCaptureControllerTest.TestScenario
/frameworks/base/core/tests/coretests/src/android/app/
DLoaderLifecycleTest.java49 final FragmentController fc1 = FragmentController.createController( in loaderIdentityTest()
100 final FragmentController fc2 = FragmentController.createController( in loaderIdentityTest()
144 final FragmentController fc1 = FragmentController.createController(host1); in backStackLoaderIdentityTest()
184 final FragmentController fc2 = FragmentController.createController(host2); in backStackLoaderIdentityTest()
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/
DPhotoViewActivity.java40 mController = createController(); in onCreate()
44 public PhotoViewController createController() { in createController() method in PhotoViewActivity
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/
DPhotoViewActivity.java40 mController = createController(); in onCreate()
44 protected PhotoViewController createController() { in createController() method in PhotoViewActivity
/frameworks/base/tests/testables/src/android/testing/
DBaseFragmentTest.java82 mFragments = FragmentController.createController(new HostCallbacks()); in setupFragment()
166 mFragments = FragmentController.createController(new HostCallbacks()); in recreateFragment()
/frameworks/base/core/java/android/app/
DFragmentController.java54 public static final FragmentController createController(FragmentHostCallback<?> callbacks) { in createController() method in FragmentController
DActivity.java898 final FragmentController mFragments = FragmentController.createController(new HostCallbacks());
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/
DFragmentHostManager.java73 mFragments = FragmentController.createController(new HostCallbacks()); in createFragmentHost()
/frameworks/base/boot/
Dboot-image-profile.txt1667 HSPLandroid/app/FragmentController;->createController(Landroid/app/FragmentHostCallback;)Landroid/a…
/frameworks/base/core/api/
Dcurrent.txt5203 …method @Deprecated public static final android.app.FragmentController createController(android.app…
/frameworks/base/config/
Dboot-image-profile.txt1667 HSPLandroid/app/FragmentController;->createController(Landroid/app/FragmentHostCallback;)Landroid/a…