Home
last modified time | relevance | path

Searched refs:AmbientContextEvent (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/java/android/service/ambientcontext/
DAmbientContextDetectionResult.java22 import android.app.ambientcontext.AmbientContextEvent;
46 @NonNull private final List<AmbientContextEvent> mEvents;
50 @NonNull List<AmbientContextEvent> events, in AmbientContextDetectionResult()
62 public @NonNull List<AmbientContextEvent> getEvents() { in getEvents()
96 ArrayList<AmbientContextEvent> events = new ArrayList<>(); in AmbientContextDetectionResult()
97 in.readParcelableList(events, AmbientContextEvent.class.getClassLoader(), in AmbientContextDetectionResult()
98 AmbientContextEvent.class); in AmbientContextDetectionResult()
127 private @NonNull ArrayList<AmbientContextEvent> mEvents;
139 public @NonNull Builder addEvent(@NonNull AmbientContextEvent value) { in addEvent()
152 public @NonNull Builder addEvents(@NonNull List<AmbientContextEvent> values) { in addEvents()
DAmbientContextDetectionService.java24 import android.app.ambientcontext.AmbientContextEvent;
113 @AmbientContextEvent.EventCode int[] eventTypes, in onBind()
/frameworks/base/services/core/java/com/android/server/ambientcontext/
DAmbientContextShellCommand.java22 import android.app.ambientcontext.AmbientContextEvent;
44 .addEventType(AmbientContextEvent.EVENT_COUGH)
45 .addEventType(AmbientContextEvent.EVENT_SNORE)
46 .addEventType(AmbientContextEvent.EVENT_BACK_DOUBLE_TAP)
50 AmbientContextEvent.EVENT_VENDOR_WEARABLE_START + 1;
59 .addEventType(AmbientContextEvent.EVENT_COUGH)
72 private List<AmbientContextEvent> mLastEvents;
75 public List<AmbientContextEvent> getLastEvents() { in getLastEvents()
87 public void onEvents(List<AmbientContextEvent> events) throws RemoteException { in createAmbientContextObserver()
194 AmbientContextEvent.EVENT_COUGH,
[all …]
DRemoteAmbientDetectionService.java20 import android.app.ambientcontext.AmbientContextEvent;
53 @AmbientContextEvent.EventCode int[] eventTypes, in queryServiceStatus()
DDefaultRemoteAmbientContextDetectionService.java23 import android.app.ambientcontext.AmbientContextEvent;
78 @AmbientContextEvent.EventCode int[] eventTypes, in queryServiceStatus()
DRemoteWearableSensingService.java23 import android.app.ambientcontext.AmbientContextEvent;
78 @AmbientContextEvent.EventCode int[] eventTypes, in queryServiceStatus()
DAmbientContextManagerService.java27 import android.app.ambientcontext.AmbientContextEvent;
71 AmbientContextEvent.EVENT_COUGH,
72 AmbientContextEvent.EVENT_SNORE,
73 AmbientContextEvent.EVENT_BACK_DOUBLE_TAP);
471 if (eventType < AmbientContextEvent.EVENT_VENDOR_WEARABLE_START) { in isWearableEventTypesOnly()
544 public void onEvents(List<AmbientContextEvent> events) throws RemoteException { in registerObserver()
DWearableAmbientContextManagerPerUserService.java23 import android.app.ambientcontext.AmbientContextEvent;
DDefaultAmbientContextManagerPerUserService.java23 import android.app.ambientcontext.AmbientContextEvent;
DAmbientContextManagerPerUserService.java27 import android.app.ambientcontext.AmbientContextEvent;
403 List<AmbientContextEvent> events) { in sendDetectionResultIntent()
/frameworks/base/core/java/android/app/ambientcontext/
DAmbientContextEvent.java47 public final class AmbientContextEvent implements Parcelable { class
252 /* package-private */ AmbientContextEvent( in AmbientContextEvent() method in AmbientContextEvent
392 /* package-private */ AmbientContextEvent(@NonNull android.os.Parcel in) { in AmbientContextEvent() method in AmbientContextEvent
426 public static final @NonNull Parcelable.Creator<AmbientContextEvent> CREATOR
427 = new Parcelable.Creator<AmbientContextEvent>() {
429 public AmbientContextEvent[] newArray(int size) {
430 return new AmbientContextEvent[size];
434 public AmbientContextEvent createFromParcel(@NonNull android.os.Parcel in) {
435 return new AmbientContextEvent(in);
529 public @NonNull AmbientContextEvent build() { in build()
[all …]
DIAmbientContextObserver.aidl19 import android.app.ambientcontext.AmbientContextEvent;
27 void onEvents(in List<AmbientContextEvent> events); in onEvents()
DAmbientContextManager.java122 @NonNull public static List<AmbientContextEvent> getEventsFromIntent(@NonNull Intent intent) { in getEventsFromIntent()
125 android.app.ambientcontext.AmbientContextEvent.class); in getEventsFromIntent()
186 @NonNull @AmbientContextEvent.EventCode Set<Integer> eventTypes, in queryAmbientContextServiceStatus()
216 @NonNull @AmbientContextEvent.EventCode Set<Integer> eventTypes) { in startConsentActivity()
355 public void onEvents(List<AmbientContextEvent> events) throws RemoteException { in registerObserver()
DAmbientContextEventRequest.java49 AnnotationValidations.validate(AmbientContextEvent.EventCode.class, null, eventType); in AmbientContextEventRequest()
98 AnnotationValidations.validate(AmbientContextEvent.EventCode.class, null, eventType); in AmbientContextEventRequest()
134 public @NonNull Builder addEventType(@AmbientContextEvent.EventCode int value) { in addEventType()
DAmbientContextEvent.aidl19 parcelable AmbientContextEvent;
DAmbientContextCallback.java37 void onEvents(@NonNull List<AmbientContextEvent> events); in onEvents()
/frameworks/base/services/tests/servicestests/src/com/android/server/ambientcontext/
DAmbientContextManagerServiceTest.java22 import android.app.ambientcontext.AmbientContextEvent;
47 .addEventType(AmbientContextEvent.EVENT_COUGH) in testClientRequest()
55 public void onEvents(List<AmbientContextEvent> events) { in testClientRequest()
/frameworks/base/core/java/android/service/wearable/
DWearableSensingService.java26 import android.app.ambientcontext.AmbientContextEvent;
308 @AmbientContextEvent.EventCode int[] eventTypes, in onBind()
/frameworks/base/core/java/android/app/wearable/
DWearableSensingManager.java29 import android.app.ambientcontext.AmbientContextEvent;
/frameworks/base/services/core/java/com/android/server/wearable/
DWearableSensingManagerPerUserService.java29 import android.app.ambientcontext.AmbientContextEvent;
DWearableSensingManagerService.java28 import android.app.ambientcontext.AmbientContextEvent;
/frameworks/base/core/api/
Dsystem-current.txt1642 public final class AmbientContextEvent implements android.os.Parcelable {
1651 …static final android.os.Parcelable.Creator<android.app.ambientcontext.AmbientContextEvent> CREATOR;
1666 public static final class AmbientContextEvent.Builder {
1667 ctor public AmbientContextEvent.Builder();
1668 method @NonNull public android.app.ambientcontext.AmbientContextEvent build();
1669 …method @NonNull public android.app.ambientcontext.AmbientContextEvent.Builder setConfidenceLevel(i…
1670 …method @NonNull public android.app.ambientcontext.AmbientContextEvent.Builder setDensityLevel(int);
1671 …method @NonNull public android.app.ambientcontext.AmbientContextEvent.Builder setEndTime(@NonNull …
1672 method @NonNull public android.app.ambientcontext.AmbientContextEvent.Builder setEventType(int);
1673 …method @NonNull public android.app.ambientcontext.AmbientContextEvent.Builder setStartTime(@NonNul…
[all …]