Home
last modified time | relevance | path

Searched refs:ProtectedSignalsManager (Results 1 – 5 of 5) sorted by relevance

/packages/modules/AdServices/adservices/clients/java/android/adservices/clients/signals/
DProtectedSignalsClient.java19 import android.adservices.signals.ProtectedSignalsManager;
38 private final ProtectedSignalsManager mProtectedSignalsManager;
46 @NonNull ProtectedSignalsManager protectedSignalsManager) { in ProtectedSignalsClient()
137 ProtectedSignalsManager protectedSignalsManager = createProtectedSignalsManager();
142 private ProtectedSignalsManager createProtectedSignalsManager() {
144 return ProtectedSignalsManager.get(mContext);
149 ? mContext.getSystemService(ProtectedSignalsManager.class)
150 : ProtectedSignalsManager.get(mContext);
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/
DProtectedSignalsManagerTest.java19 import android.adservices.signals.ProtectedSignalsManager;
50 expect.that(ProtectedSignalsManager.get(context)).isNotNull(); in testAdSelectionManagerCtor_TPlus()
51 expect.that(context.getSystemService(ProtectedSignalsManager.class)).isNotNull(); in testAdSelectionManagerCtor_TPlus()
58 expect.that(ProtectedSignalsManager.get(context)).isNotNull(); in testAdSelectionManagerCtor_SMinus()
59 expect.that(context.getSystemService(ProtectedSignalsManager.class)).isNull(); in testAdSelectionManagerCtor_SMinus()
/packages/modules/AdServices/adservices/framework/java/android/adservices/signals/
DProtectedSignalsManager.java48 public class ProtectedSignalsManager { class
70 public static ProtectedSignalsManager get(@NonNull Context context) { in get()
73 ? context.getSystemService(ProtectedSignalsManager.class) in get()
74 : new ProtectedSignalsManager(context); in get()
82 public ProtectedSignalsManager(@NonNull Context context) { in ProtectedSignalsManager() method in ProtectedSignalsManager
100 public ProtectedSignalsManager initialize(@NonNull Context context) { in initialize()
/packages/modules/AdServices/adservices/framework/java/android/adservices/
DAdServicesFrameworkInitializer.java25 import static android.adservices.signals.ProtectedSignalsManager.PROTECTED_SIGNALS_SERVICE;
34 import android.adservices.signals.ProtectedSignalsManager;
98 ProtectedSignalsManager.class, in registerServiceWrappers()
99 ProtectedSignalsManager::new); in registerServiceWrappers()
104 (service, ctx) -> ((ProtectedSignalsManager) service).initialize(ctx)); in registerServiceWrappers()
/packages/modules/AdServices/adservices/framework/api/
Dcurrent.txt750 …pi("com.android.adservices.flags.protected_signals_enabled") public class ProtectedSignalsManager {
751 …method @NonNull public static android.adservices.signals.ProtectedSignalsManager get(@NonNull andr…