Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java96 createController(); in afterFaceLockout_skipShowingFaceNotRecognized()
114 createController(); in createController_setIndicationAreaAgain_destroysPreviousRotateTextViewController()
126 createController(); in createController_addsAlignmentListener()
134 createController(); in onAlignmentStateChanged_showsSlowChargingIndication()
149 createController(); in onAlignmentStateChanged_showsNotChargingIndication()
165 createController(); in onAlignmentStateChanged_whileDozing_showsSlowChargingIndication()
181 createController(); in onAlignmentStateChanged_whileDozing_showsNotChargingIndication()
197 createController(); in disclosure_unmanaged()
212 createController(); in disclosure_deviceOwner_noOrganizationName()
225 createController(); in disclosure_orgOwnedDeviceWithManagedProfile_noOrganizationName()
[all …]
DKeyguardIndicationControllerWithCoroutinesTest.kt44 createController() in testIndicationAreaVisibility_onLockscreenHostedDreamStateChanged()
72 createController() in onTrustAgentErrorMessageDelayed_fingerprintEngaged()
DKeyguardIndicationControllerBaseTest.java269 protected void createController() { in createController() method in KeyguardIndicationControllerBaseTest
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibratorControllerTest.java88 private VibratorController createController() { in createController() method in VibratorControllerTest
94 VibratorController controller = createController(); in createController_initializesNativeWrapper()
102 assertTrue(createController().isAvailable()); in isAvailable_withVibratorHalPresent_returnsTrue()
108 assertFalse(createController().isAvailable()); in isAvailable_withNoVibratorHalPresent_returnsFalse()
114 assertTrue(createController().hasCapability(IVibrator.CAP_AMPLITUDE_CONTROL)); in hasCapability_withSupport_returnsTrue()
119 assertFalse(createController().hasCapability(IVibrator.CAP_ALWAYS_ON_CONTROL)); in hasCapability_withNoSupport_returnsFalse()
120 assertFalse(createController().hasCapability(IVibrator.CAP_AMPLITUDE_CONTROL)); in hasCapability_withNoSupport_returnsFalse()
121 assertFalse(createController().hasCapability(IVibrator.CAP_COMPOSE_EFFECTS)); in hasCapability_withNoSupport_returnsFalse()
122 assertFalse(createController().hasCapability(IVibrator.CAP_EXTERNAL_CONTROL)); in hasCapability_withNoSupport_returnsFalse()
123 assertFalse(createController().hasCapability(IVibrator.CAP_ON_CALLBACK)); in hasCapability_withNoSupport_returnsFalse()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/enterprise/
DManagedDeviceActionDisabledByAdminControllerTest.java63 ManagedDeviceActionDisabledByAdminController controller = createController(); in getAdminSupportTitleResource_noRestriction_works()
71 ManagedDeviceActionDisabledByAdminController controller = createController(); in getAdminSupportTitleResource_withRestriction_works()
79 ManagedDeviceActionDisabledByAdminController controller = createController(); in getAdminSupportContentString_withSupportMessage_returnsSupportMessage()
87 ManagedDeviceActionDisabledByAdminController controller = createController(); in getAdminSupportContentString_noSupportMessage_returnsDefault()
93 private ManagedDeviceActionDisabledByAdminController createController() { in createController() method in ManagedDeviceActionDisabledByAdminControllerTest
94 return createController( in createController()
101 private ManagedDeviceActionDisabledByAdminController createController(String url) { in createController() method in ManagedDeviceActionDisabledByAdminControllerTest
102 return createController( in createController()
109 private ManagedDeviceActionDisabledByAdminController createController( in createController() method in ManagedDeviceActionDisabledByAdminControllerTest
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DScreenshotSoundControllerTest.kt51 createController() in init_soundLoading()
62 val controller = createController() in init_soundLoadingException_playAndReleaseDoNotThrow()
74 val controller = createController() in playCameraSound_soundLoadingSuccessful_mediaPlayerPlays()
87 val controller = createController() in playCameraSound_illegalStateException_doesNotThrow()
98 val controller = createController() in playCameraSound_soundLoadingSuccessful_mediaPlayerReleases()
106 private fun createController() = method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/
DMediaProjectionAppSelectorControllerTest.kt46 private fun createController(isFirstStart: Boolean = true, hostUid: Int = 123) = in createController() method in com.android.systemui.mediaprojection.appselector.MediaProjectionAppSelectorControllerTest
70 createController().init() in initNoRecentTasks_bindsEmptyList()
79 createController().init() in initOneRecentTask_bindsList()
95 createController().init() in <lambda>()
110 createController().init() in initMultipleRecentTasksWithoutAppSelectorTask_bindsListInTheSameOrder()
133 createController().init() in initRecentTasksWithAppSelectorTasks_removeAppSelector()
156 createController().init() in initRecentTasksWithAppSelectorTasks_bindsCallerTasksAtTheEnd()
181 createController().init() in initRecentTasksWithAppSelectorTasks_withEnterprisePolicies_bindsAllTasks()
208 createController().init() in initRecentTasksWithAppSelectorTasks_withEnterprisePolicies_blocksAllTasks()
216 val controller = createController(isFirstStart = true, hostUid) in init_firstStart_logsAppSelectorDisplayed()
[all …]
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DBrightnessRangeControllerTest.kt46 val controller = createController() in returns HBC max brightness if HBM supported and ON()
52 val controller = createController(hbmSupported = false) in returns NBC max brightness if device does not support HBM()
58 val controller = createController(hbmAllowed = false) in returns NBC max brightness if HBM not allowed()
64 val controller = createController(nbmEnabled = false, hbmAllowed = false) in returns HBC max brightness if NBM is disabled()
70 val controller = createController( in returns HBC max brightness if lower than NBC max brightness()
78 private fun createController( in createController() method in com.android.server.display.BrightnessRangeControllerTest
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/scroll/
DScrollCaptureControllerTest.java62 .createController(mContext); in testInfinite()
88 .createController(mContext); in testInfiniteWithPartialResultsTop()
116 .createController(mContext); in testInfiniteWithPartialResultsBottom()
142 .createController(mContext); in testLimitedBottom()
158 .createController(mContext); in testLimitedTopAndBottom()
174 .createController(mContext); in testVeryLimitedTopInfiniteBottom()
190 .createController(mContext); in testVeryLimitedTopLimitedBottom()
253 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/appcompat/src/com/android/ex/photo/
DPhotoViewActivity.java40 mController = createController(); in onCreate()
44 protected PhotoViewController createController() { in createController() method in PhotoViewActivity
/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/base/tests/testables/src/android/testing/
DBaseFragmentTest.java82 mFragments = FragmentController.createController(new HostCallbacks()); in setupFragment()
166 mFragments = FragmentController.createController(new HostCallbacks()); in recreateFragment()
/frameworks/native/services/surfaceflinger/Scheduler/
DVsyncSchedule.cpp65 mController(createController(modePtr->getPhysicalDisplayId(), *mTracker, features)), in VsyncSchedule()
139 VsyncSchedule::ControllerPtr VsyncSchedule::createController(PhysicalDisplayId id, in createController() function in android::scheduler::VsyncSchedule
DVsyncSchedule.h132 static ControllerPtr createController(PhysicalDisplayId, VsyncTracker&, FeatureFlags);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarViewControllerTest.java197 mController = createController(); in setup()
200 private KeyguardStatusBarViewController createController() { in createController() method in KeyguardStatusBarViewControllerTest
707 mController = createController(); in testNewUserSwitcherDisablesAvatar_newUiOn()
719 mController = createController(); in testNewUserSwitcherDisablesAvatar_newUiOff()
DBiometricsUnlockControllerTest.java153 mBiometricUnlockController = createController(false); in setUp()
158 BiometricUnlockController createController(boolean orderUnlockAndWake) { in createController() method in BiometricsUnlockControllerTest
552 mBiometricUnlockController = createController(true); in onSideFingerprintSuccess_dreaming_unlockNoWake()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/events/
DPrivacyDotViewControllerTest.kt71 createController().also { in <lambda>()
75 private fun createController() = in <lambda>() method
/frameworks/base/core/java/android/app/
DFragmentController.java54 public static final FragmentController createController(FragmentHostCallback<?> callbacks) { in createController() method in FragmentController
DActivity.java960 final FragmentController mFragments = FragmentController.createController(new HostCallbacks());
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/
DFragmentHostManager.java88 mFragments = FragmentController.createController(new HostCallbacks()); in createFragmentHost()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDesktopTasksControllerTest.kt211 controller = createController() in <lambda>()
221 private fun createController(): DesktopTasksController { in <lambda>() method
264 createController() in <lambda>()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt1691 HSPLandroid/app/FragmentController;->createController(Landroid/app/FragmentHostCallback;)Landroid/a…
/frameworks/base/config/
Dboot-image-profile.txt1691 HSPLandroid/app/FragmentController;->createController(Landroid/app/FragmentHostCallback;)Landroid/a…

12