Home
last modified time | relevance | path

Searched full:provides (Results 1 – 25 of 23105) sorted by relevance

12345678910>>...925

/aosp_15_r20/frameworks/base/packages/SystemUI/src/com/android/systemui/log/dagger/
H A DLogModule.java39 import dagger.Provides;
49 /** Provides a logging buffer for doze-related logs. */
50 @Provides
57 /** Provides a logging buffer for all logs for lockscreen to shade transition events. */
58 @Provides
65 /** Provides a logging buffer for shade window messages. */
66 @Provides
73 /** Provides a logging buffer for Shade messages. */
74 @Provides
81 /** Provides a logging buffer for Shade messages. */
[all …]
/aosp_15_r20/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
H A DFrameworkServicesModule.java139 import dagger.Provides;
146 * Provides Non-SystemUI, Framework-Owned instances to the dependency graph.
151 @Provides
157 @Provides
163 @Provides
169 @Provides
175 @Provides
183 @Provides
188 @Provides
194 @Provides
[all …]
/aosp_15_r20/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/
H A DTestMocksModule.kt87 import dagger.Provides
92 @get:Provides val activityStarter: ActivityStarter = mock(),
93 @get:Provides val activityManagerWrapper: ActivityManagerWrapper = mock(),
94 @get:Provides val ambientState: AmbientState = mock(),
95 @get:Provides val authController: AuthController = mock(),
96 @get:Provides val bubbles: Optional<Bubbles> = Optional.of(mock()),
97 @get:Provides val darkIconDispatcher: DarkIconDispatcher = mock(),
98 @get:Provides val demoModeController: DemoModeController = mock(),
99 @get:Provides val deviceProvisionedController: DeviceProvisionedController = mock(),
100 @get:Provides val dozeParameters: DozeParameters = mock(),
[all …]
/aosp_15_r20/external/dagger2/javatests/dagger/internal/codegen/
H A DModuleFactoryGeneratorTest.java45 assertThatMethodInUnannotatedClass("@Provides String provideString() { return null; }") in providesMethodNotInModule()
46 .hasError("@Provides methods can only be present within a @Module or @ProducerModule"); in providesMethodNotInModule()
50 assertThatModuleMethod("@Provides abstract String abstractMethod();") in providesMethodAbstract()
51 .hasError("@Provides methods cannot be abstract"); in providesMethodAbstract()
55 assertThatModuleMethod("@Provides private String privateMethod() { return null; }") in providesMethodPrivate()
56 .hasError("@Provides methods cannot be private"); in providesMethodPrivate()
60 assertThatModuleMethod("@Provides void voidMethod() {}") in providesMethodReturnVoid()
61 .hasError("@Provides methods must return a value (not void)"); in providesMethodReturnVoid()
66 assertThatModuleMethod("@Provides Provider<String> provideProvider() {}") in providesMethodReturnsProvider()
67 .hasError("@Provides methods must not return framework types"); in providesMethodReturnsProvider()
[all …]
H A DDuplicateBindingsValidationTest.java56 "import dagger.Provides;", in duplicateExplicitBindings_ProvidesAndComponentProvision()
65 " @Provides String provideString() { return \"\"; }", in duplicateExplicitBindings_ProvidesAndComponentProvision()
66 " @Provides A provideA(String s) { return new A() {}; }", in duplicateExplicitBindings_ProvidesAndComponentProvision()
76 " @Provides B provideB(A a) { return new B() {}; }", in duplicateExplicitBindings_ProvidesAndComponentProvision()
96 " @Provides Outer.A Outer.AModule.provideA(String)", in duplicateExplicitBindings_ProvidesAndComponentProvision()
111 "import dagger.Provides;", in duplicateExplicitBindings_TwoProvidesMethods()
123 " @Provides A provideA1() { return new A() {}; }", in duplicateExplicitBindings_TwoProvidesMethods()
128 " @Provides String provideString() { return \"\"; }", in duplicateExplicitBindings_TwoProvidesMethods()
129 " @Provides A provideA2(String s) { return new A() {}; }", in duplicateExplicitBindings_TwoProvidesMethods()
156 " @Provides Outer.A Outer.Module1.provideA1()", in duplicateExplicitBindings_TwoProvidesMethods()
[all …]
H A DIgnoreProvisionKeyWildcardsTest.java74 " @Provides static Foo<? extends Bar> fooExtends() { return null; }", in testProvidesUniqueBindingsWithDifferentTypeVariances()
75 " @Provides static Foo<Bar> foo() { return null; }", in testProvidesUniqueBindingsWithDifferentTypeVariances()
86 " @Provides fun fooExtends(): Foo<out Bar> = TODO()", in testProvidesUniqueBindingsWithDifferentTypeVariances()
87 " @Provides fun foo(): Foo<Bar> = TODO()", in testProvidesUniqueBindingsWithDifferentTypeVariances()
95 " @Provides Foo<Bar> MyModule.foo()", in testProvidesUniqueBindingsWithDifferentTypeVariances()
96 " @Provides Foo<? extends Bar> MyModule.fooExtends()", in testProvidesUniqueBindingsWithDifferentTypeVariances()
118 " @Provides", in testProvidesUniqueBindingsWithMatchingWildcardArguments()
122 " @Provides", in testProvidesUniqueBindingsWithMatchingWildcardArguments()
126 " @Provides", in testProvidesUniqueBindingsWithMatchingWildcardArguments()
130 " @Provides", in testProvidesUniqueBindingsWithMatchingWildcardArguments()
[all …]
H A DMissingBindingValidationTest.java83 "Bar cannot be provided without an @Provides-annotated method.") in dependOnInterface()
113 + "without an @Provides-annotated method.") in entryPointDependsOnInterface()
145 + "provided without an @Provides-annotated method.") in entryPointDependsOnQualifiedInterface()
158 "import dagger.Provides;", in constructorInjectionWithoutAnnotation()
179 + "@Provides-annotated method.") in constructorInjectionWithoutAnnotation()
193 "import dagger.Provides;", in membersInjectWithoutProvision()
218 + "@Provides-annotated method. This type supports members injection but " in membersInjectWithoutProvision()
291 + "without an @Provides-annotated method"); in genericInjectClassWithWildcardDependencies()
304 "import dagger.Provides;", in longChainOfDependencies()
333 " @Provides @Named(\"slim shady\") D d(X x1, DImpl impl, X x2) { return impl; }", in longChainOfDependencies()
[all …]
/aosp_15_r20/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/dagger/
H A DWMShellBaseModule.java139 import dagger.Provides;
144 * Provides basic dependencies from {@link com.android.wm.shell}, these dependencies are only
164 @Provides
170 @Provides
179 @Provides
189 @Provides
203 @Provides
209 @Provides
219 @Provides
231 @Provides
[all …]
H A DWMShellModule.java165 import dagger.Provides;
176 * Provides dependencies from {@link com.android.wm.shell}, these dependencies are only accessible
192 @Provides
198 @Provides
204 @Provides
210 @Provides
224 @Provides
291 @Provides
329 @Provides
335 @Provides
[all …]
/aosp_15_r20/external/guice/core/test/com/google/inject/spi/
H A DProviderMethodsTest.java37 import com.google.inject.Provides;
99 @Provides
114 @Provides
131 @Provides
152 @Provides
168 @Provides
208 @Provides
255 @Provides
261 @Provides
266 @Provides
[all …]
/aosp_15_r20/external/dagger2/javatests/dagger/functional/kotlinsrc/multibindings/
H A DMultibindingModule.kt20 import dagger.Provides
36 @Provides
41 @Provides @IntoMap @StringKey("bar") fun provideBarKey(): String = "bar value"
43 @Provides
50 @Provides
55 @Provides @IntoSet fun provideFiveToSet(): Int = 5
57 @Provides @IntoSet fun provideSixToSet(): Int = 6
59 @Provides @ElementsIntoSet fun provideElementsIntoSet(): Set<Int> = setOf(-101, -102)
61 @Provides
65 @Provides fun provideMapValues(map: Map<String, String>): Collection<String> = map.values
[all …]
/aosp_15_r20/external/dagger2/javatests/dagger/functional/multibindings/
H A DMultibindingModule.java20 import dagger.Provides;
39 @Provides
46 @Provides
53 @Provides
60 @Provides
67 @Provides
73 @Provides
79 @Provides
88 @Provides
93 @Provides
[all …]
/aosp_15_r20/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/dagger/
H A DNotificationsLogModule.kt38 import dagger.Provides
42 /** Provides a logging buffer for logs related to heads up presentation of notifications. */
43 @Provides
50 /** Provides a logging buffer for logs related to inflation of notifications. */
51 @Provides
58 /** Provides a logging buffer for all logs related to the data layer of notifications. */
59 @Provides
66 /** Provides a logging buffer for notification interruption calculations. */
67 @Provides
74 /** Provides a logging buffer for all logs related to notifications on the lockscreen. */
[all …]
/aosp_15_r20/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/dagger/
H A DNotificationSectionHeadersModule.kt29 import dagger.Provides
38 @Provides
49 @Provides in providesIncomingHeaderSubcomponent()
60 @Provides in providesIncomingHeaderSubcomponent()
71 @Provides in providesIncomingHeaderSubcomponent()
82 @Provides in providesIncomingHeaderSubcomponent()
93 @Provides in providesIncomingHeaderSubcomponent()
104 @Provides in providesIncomingHeaderSubcomponent()
115 @Provides in providesIncomingHeaderSubcomponent()
126 @Provides in providesIncomingHeaderSubcomponent()
[all …]
/aosp_15_r20/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/service/
DUseCaseModule.kt87 import dagger.Provides
96 @Provides
105 @Provides
124 @Provides
132 @Provides
141 @Provides
156 @Provides
179 @Provides
187 @Provides
202 @Provides
[all …]
/aosp_15_r20/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/gen/stubs/com/android/systemui/statusbar/notification/logging/dagger/
DNotificationsLogModule.java22 import dagger.Provides;
35 * Provides a logging buffer for logs related to heads up presentation of notifications.
37 @dagger.Provides()
47 * Provides a logging buffer for logs related to inflation of notifications.
49 @dagger.Provides()
59 * Provides a logging buffer for all logs related to the data layer of notifications.
61 @dagger.Provides()
71 * Provides a logging buffer for notification interruption calculations.
73 @dagger.Provides()
83 * Provides a logging buffer for all logs related to notifications on the lockscreen.
[all …]
/aosp_15_r20/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/dagger/
H A DDreamModule.java51 import dagger.Provides;
86 * Provides the dream component
88 @Provides
95 * Provides the home control panel component
97 @Provides
110 * Provides Home Controls Dream Service
119 * Provides Home Controls Remote Service
128 * Provides a touch inset manager for dreams.
130 @Provides
137 * Provides whether dream overlay is enabled.
[all …]
/aosp_15_r20/external/aws-sdk-java-v2/core/sdk-core/src/main/java/software/amazon/awssdk/core/document/
H A DDocument.java42 …* This interface specifies all the methods to access a Document, also provides constructor methods…
173 …* Provides Builder methods of {@link ListBuilder} to directly create Document with List of Documen…
302 * @return Builder which provides APIs to put Key Value pair to a Document Map.
310 * @return Builder which provides APIs to put Key Value pair to a Document Map.
318 * @return Builder which provides APIs to put Key Value pair to a Document Map.
326 * @return Builder which provides APIs to put Key Value pair to a Document Map.
334 * @return Builder which provides APIs to put Key Value pair to a Document Map.
342 * @return Builder which provides APIs to put Key Value pair to a Document Map.
350 * @return Builder which provides APIs to put Key Value pair to a Document Map.
358 * @return Builder which provides APIs to put Key Value pair to a Document Map.
[all …]
/aosp_15_r20/external/python/google-api-python-client/docs/dyn/
Dcalendar_v3.acl.html136 # - &quot;none&quot; - Provides no access.
137 # - &quot;freeBusyReader&quot; - Provides read access to free/busy information.
138 …# - &quot;reader&quot; - Provides read access to the calendar. Private events will appear to users…
139 …# - &quot;writer&quot; - Provides read and write access to the calendar. Private events will appea…
140 …# - &quot;owner&quot; - Provides ownership of the calendar. This role has all of the permissions o…
166 # - &quot;none&quot; - Provides no access.
167 # - &quot;freeBusyReader&quot; - Provides read access to free/busy information.
168 …# - &quot;reader&quot; - Provides read access to the calendar. Private events will appear to users…
169 …# - &quot;writer&quot; - Provides read and write access to the calendar. Private events will appea…
170 …# - &quot;owner&quot; - Provides ownership of the calendar. This role has all of the permissions o…
[all …]
/aosp_15_r20/external/dagger2/javatests/dagger/internal/codegen/bindinggraphvalidation/
H A DNullableBindingValidationTest.java67 "import dagger.Provides;", in nullCheckForConstructorParameters()
72 " @Nullable @Provides String provideString() { return null; }", in nullCheckForConstructorParameters()
93 "@Nullable @Provides String TestModule.provideString()")); in nullCheckForConstructorParameters()
123 "import dagger.Provides;", in nullCheckForMembersInjectParam()
128 " @Nullable @Provides String provideString() { return null; }", in nullCheckForMembersInjectParam()
149 "@Nullable @Provides String TestModule.provideString()")); in nullCheckForMembersInjectParam()
179 "import dagger.Provides;", in nullCheckForVariable()
184 " @Nullable @Provides String provideString() { return null; }", in nullCheckForVariable()
205 "@Nullable @Provides String TestModule.provideString()")); in nullCheckForVariable()
224 "import dagger.Provides;", in nullCheckForComponentReturn()
[all …]
H A DNullableBindingValidationKotlinTest.java60 "import dagger.Provides", in nullCheckForConstructorParameters()
64 " @Provides fun provideString(): String? = null", in nullCheckForConstructorParameters()
85 "@Provides @Nullable String TestModule.provideString()")); in nullCheckForConstructorParameters()
116 "import dagger.Provides", in nullCheckForMembersInjectParam()
120 " @Provides fun provideString(): String? = null", in nullCheckForMembersInjectParam()
141 "@Provides @Nullable String TestModule.provideString()")); in nullCheckForMembersInjectParam()
172 "import dagger.Provides", in nullCheckForVariable()
176 " @Provides fun provideString():String? = null", in nullCheckForVariable()
197 "@Provides @Nullable String TestModule.provideString()")); in nullCheckForVariable()
217 "import dagger.Provides", in nullCheckForComponentReturn()
[all …]
/aosp_15_r20/external/dagger2/javatests/dagger/functional/kotlinsrc/basic/
H A DPrimitivesModule.kt20 import dagger.Provides
46 @Provides fun provideByte(): Byte = BOUND_BYTE
47 @Provides fun provideChar(): Char = BOUND_CHAR
48 @Provides fun provideShort(): Short = BOUND_SHORT
49 @Provides fun provideInt(): Int = BOUND_INT
50 @Provides fun provideLong(): Long = BOUND_LONG
51 @Provides fun provideBoolean(): Boolean = BOUND_BOOLEAN
52 @Provides fun provideFloat(): Float = BOUND_FLOAT
53 @Provides fun boundDouble(): Double = BOUND_DOUBLE
54 @Provides fun provideByteArray(): ByteArray = BOUND_BYTE_ARRAY
[all …]
/aosp_15_r20/external/dagger2/javatests/dagger/functional/basic/
H A DPrimitivesModule.java20 import dagger.Provides;
46 @Provides static byte provideByte() { in provideByte()
50 @Provides static char provideChar() { in provideChar()
54 @Provides static short provideShort() { in provideShort()
58 @Provides static int provideInt() { in provideInt()
62 @Provides static long provideLong() { in provideLong()
66 @Provides static boolean provideBoolean() { in provideBoolean()
70 @Provides static float provideFloat() { in provideFloat()
74 @Provides static double boundDouble() { in boundDouble()
78 @Provides static byte[] provideByteArray() { in provideByteArray()
[all …]
/aosp_15_r20/out/soong/.intermediates/frameworks/base/packages/SystemUI/SystemUI-core/android_common/kapt/gen/stubs/com/android/systemui/statusbar/notification/dagger/
DNotificationSectionHeadersModule.java13 import dagger.Provides;
29 @dagger.Provides()
39 @dagger.Provides()
49 @dagger.Provides()
59 @dagger.Provides()
69 @dagger.Provides()
79 @dagger.Provides()
89 @dagger.Provides()
99 @dagger.Provides()
109 @dagger.Provides()
[all …]
/aosp_15_r20/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/selectionbar/
DSelectionBarFeatureTest.kt279 LocalFeatureManager provides featureManager.get(), in testSelectionBarIsShown()
280 LocalSelection provides selection.get(), in testSelectionBarIsShown()
281 LocalEvents provides events.get(), in testSelectionBarIsShown()
282 LocalNavController provides createNavController(), in testSelectionBarIsShown()
283 LocalPhotopickerConfiguration provides photopickerConfiguration, in testSelectionBarIsShown()
318 LocalFeatureManager provides featureManager.get(), in testSelectionBarIsAlwaysShownForGrantsAwareSelection()
319 LocalSelection provides selection.get(), in testSelectionBarIsAlwaysShownForGrantsAwareSelection()
320 LocalEvents provides events.get(), in testSelectionBarIsAlwaysShownForGrantsAwareSelection()
321 LocalNavController provides createNavController(), in testSelectionBarIsAlwaysShownForGrantsAwareSelection()
322 LocalPhotopickerConfiguration provides photopickerConfiguration, in testSelectionBarIsAlwaysShownForGrantsAwareSelection()
[all …]

12345678910>>...925