Searched refs:createProvider (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ScrollFeedbackProviderTest.java | 41 ScrollFeedbackProvider provider = ScrollFeedbackProvider.createProvider(view); in testDefaultProviderType() 51 ScrollFeedbackProvider view1Provider1 = ScrollFeedbackProvider.createProvider(view1); in testDefaultProvider_createsDistinctProvidesOnMultipleCalls() 52 ScrollFeedbackProvider view1Provider2 = ScrollFeedbackProvider.createProvider(view1); in testDefaultProvider_createsDistinctProvidesOnMultipleCalls() 53 ScrollFeedbackProvider view2Provider = ScrollFeedbackProvider.createProvider(view2); in testDefaultProvider_createsDistinctProvidesOnMultipleCalls()
|
/frameworks/base/services/foldables/devicestateprovider/tests/src/com/android/server/policy/ |
D | FoldableDeviceStateProviderTest.java | 131 assertThrows(IllegalArgumentException.class, this::createProvider); in create_emptyConfiguration_throwsException() 137 () -> createProvider( in create_duplicatedDeviceStateIdentifiers_throwsException() 145 createProvider( in create_allMatchingStatesDefaultsToTheFirstIdentifier() 169 createProvider( in create_multipleMatchingStatesDefaultsToTheLowestIdentifier() 185 createProvider(createConfig(createDeviceState(1, "ONE"), in test_hingeAngleUpdatedFirstTime_switchesToMatchingState() 202 createProvider(createConfig(createDeviceState(1, "ONE"), in test_hallSensorUpdatedFirstTime_switchesToMatchingState() 220 createProvider(createConfig(createDeviceState(1, "ONE"), in test_hingeAngleUpdatedSecondTime_switchesToMatchingState() 239 createProvider(createConfig(createDeviceState(1, "ONE"), in test_hallSensorUpdatedSecondTime_switchesToMatchingState() 259 createProvider(createConfig(createDeviceState(1, "ONE"), in test_invalidSensorValues_onStateChangedIsNotTriggered() 284 createProvider(createConfig(createDeviceState(1, "ONE"), in test_nullSensorValues_noExceptionThrown() [all …]
|
D | BookStyleDeviceStatePolicyTest.java | 214 mInstrumentation.runOnMainSync(() -> mProvider = createProvider()); in setup() 226 mInstrumentation.runOnMainSync(() -> mProvider = createProvider()); in test_postureBasedClosedState_createPolicy_doesNotRegisterHallSensor() 236 mInstrumentation.runOnMainSync(() -> mProvider = createProvider()); in test_postureBasedClosedStateDisabled_createPolicy_registersHallSensor() 753 private DeviceStateProvider createProvider() { in createProvider() method in BookStyleDeviceStatePolicyTest
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | HapticFeedbackVibrationProviderTest.java | 126 HapticFeedbackVibrationProvider hapticProvider = createProvider(customizations); in testUseValidCustomizedVibration() 164 HapticFeedbackVibrationProvider hapticProvider = createProvider(customizations); in testHapticTextDisabled_noVibrationReturnedForTextHandleMove() 169 hapticProvider = createProvider(/* customizations= */ null); in testHapticTextDisabled_noVibrationReturnedForTextHandleMove() 182 HapticFeedbackVibrationProvider hapticProvider = createProvider(customizations); in testHapticTextEnabled_vibrationReturnedForTextHandleMove() 188 hapticProvider = createProvider(/* customizations= */ null); in testHapticTextEnabled_vibrationReturnedForTextHandleMove() 202 HapticFeedbackVibrationProvider hapticProvider = createProvider(customizations); in testValidCustomizationPresentForSafeModeEnabled_usedRegardlessOfVibrationResource() 208 hapticProvider = createProvider(customizations); in testValidCustomizationPresentForSafeModeEnabled_usedRegardlessOfVibrationResource() 218 HapticFeedbackVibrationProvider hapticProvider = createProvider(/* customizations= */ null); in testNoValidCustomizationPresentForSafeModeEnabled_resourceBasedVibrationUsed() 228 HapticFeedbackVibrationProvider hapticProvider = createProvider(/* customizations= */ null); in testNoValidCustomizationAndResourcePresentForSafeModeEnabled_noVibrationUsed() 241 HapticFeedbackVibrationProvider hapticProvider = createProvider(customizations); in testKeyboardHaptic_noFixedAmplitude_defaultVibrationReturned() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
D | SliceProviderPermissionsTest.java | 78 SliceProviderPermissions provider = createProvider(); in testCreation() 92 SliceProviderPermissions provider = createProvider(); in testSerialization() 116 private static SliceProviderPermissions createProvider() { in createProvider() method in SliceProviderPermissionsTest
|
/frameworks/base/core/java/android/view/ |
D | ScrollFeedbackProvider.java | 87 static ScrollFeedbackProvider createProvider(@NonNull View view) { in createProvider() method
|
/frameworks/base/services/core/java/com/android/server/timezonedetector/location/ |
D | LocationTimeZoneManagerService.java | 281 LocationTimeZoneProvider primary = mPrimaryProviderConfig.createProvider(); in startOnDomainThread() 282 LocationTimeZoneProvider secondary = mSecondaryProviderConfig.createProvider(); in startOnDomainThread() 449 LocationTimeZoneProvider createProvider() {
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 23497 Landroid/location/LocationManager;->createProvider(Ljava/lang/String;Lcom/android/internal/location… 26722 Landroid/media/MediaBrowser2;->createProvider(Landroid/content/Context;Landroid/media/SessionToken2… 27052 Landroid/media/MediaController2;->createProvider(Landroid/content/Context;Landroid/media/SessionTok… 27373 Landroid/media/MediaLibraryService2;->createProvider()Landroid/media/update/MediaSessionService2Pro… 28825 Landroid/media/MediaSessionService2;->createProvider()Landroid/media/update/MediaSessionService2Pro…
|
/frameworks/base/core/api/ |
D | current.txt | 52174 …ack_api") @NonNull public static android.view.ScrollFeedbackProvider createProvider(@NonNull andro…
|