Home
last modified time | relevance | path

Searched refs:ProjectionStatus (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/homescreen/assistive/
DProjectionModelTest.java32 import android.car.projection.ProjectionStatus;
62 private static final ProjectionStatus.MobileDevice PROJECTING_DEVICE =
63 ProjectionStatus.MobileDevice.builder(0, PROJECTING_DEVICE_NAME).setProjecting(
65 private static final ProjectionStatus.MobileDevice NONPROJECTING_DEVICE =
66 ProjectionStatus.MobileDevice.builder(0, NONPROJECTING_DEVICE_NAME).setProjecting(
69 private final ProjectionStatus mInactiveProjectionStatus = ProjectionStatus.builder(
70 mContext.getPackageName(), ProjectionStatus.PROJECTION_STATE_INACTIVE).build();
71 private final ProjectionStatus mProjectingDeviceProjectionStatus = ProjectionStatus.builder(
73 ProjectionStatus.PROJECTION_STATE_READY_TO_PROJECT).addMobileDevice(
75 private final ProjectionStatus mNonProjectingDeviceProjectionStatus = ProjectionStatus.builder(
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/projection/
DProjectionFragment.java20 import android.car.projection.ProjectionStatus;
48 ProjectionStatus.PROJECTION_STATE_INACTIVE, "Inactive",
49 ProjectionStatus.PROJECTION_STATE_READY_TO_PROJECT, "Ready to project",
50 ProjectionStatus.PROJECTION_STATE_ACTIVE_FOREGROUND, "Foreground",
51 ProjectionStatus.PROJECTION_STATE_ACTIVE_BACKGROUND, "Background");
54 ProjectionStatus.PROJECTION_TRANSPORT_NONE, "None",
55 ProjectionStatus.PROJECTION_TRANSPORT_USB, "USB",
56 ProjectionStatus.PROJECTION_TRANSPORT_WIFI, "WiFi");
63 List<ProjectionStatus> details) { in onProjectionStatusChanged()
67 for (ProjectionStatus detail : details) { in onProjectionStatusChanged()
[all …]
/packages/services/Car/car-lib/src/android/car/projection/
DProjectionStatus.java46 public final class ProjectionStatus implements Parcelable { class
113 public static final Creator<ProjectionStatus> CREATOR = new Creator<ProjectionStatus>() {
115 public ProjectionStatus createFromParcel(Parcel source) {
116 return new ProjectionStatus(source);
120 public ProjectionStatus[] newArray(int size) {
121 return new ProjectionStatus[size];
125 private ProjectionStatus(Builder builder) { in ProjectionStatus() method in ProjectionStatus
133 private ProjectionStatus(Parcel source) { in ProjectionStatus() method in ProjectionStatus
258 public ProjectionStatus build() { in build()
259 return new ProjectionStatus(this); in build()
DProjectionStatus.aidl19 parcelable ProjectionStatus;
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/homescreen/assistive/
DProjectionModel.java21 import android.car.projection.ProjectionStatus;
79 ProjectionStatus.PROJECTION_STATE_INACTIVE, null, null); in onCreate()
124 List<ProjectionStatus> details) { in onProjectionStatusChanged()
128 if (state == ProjectionStatus.PROJECTION_STATE_INACTIVE || packageName == null) { in onProjectionStatusChanged()
152 private String getStatusMessage(String packageName, List<ProjectionStatus> details) { in getStatusMessage()
153 for (ProjectionStatus status : details) { in getStatusMessage()
162 private String getStatusMessage(ProjectionStatus status) { in getStatusMessage()
175 for (ProjectionStatus.MobileDevice device : status.getConnectedMobileDevices()) { in getStatusMessage()
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DFakeCarProjectionService.java26 import android.car.projection.ProjectionStatus;
60 private Map<IBinder, ProjectionStatus> mProjectionStatusMap = new HashMap<>();
61 private ProjectionStatus mCurrentProjectionStatus = ProjectionStatus.builder(
62 "", ProjectionStatus.PROJECTION_STATE_INACTIVE).build();
161 public void updateProjectionStatus(ProjectionStatus status, IBinder token) in updateProjectionStatus()
169 private void notifyStatusListeners(ProjectionStatus status, in notifyStatusListeners()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarProjectionServiceTest.java21 import static android.car.projection.ProjectionStatus.PROJECTION_STATE_ACTIVE_FOREGROUND;
22 import static android.car.projection.ProjectionStatus.PROJECTION_STATE_INACTIVE;
23 import static android.car.projection.ProjectionStatus.PROJECTION_TRANSPORT_USB;
24 import static android.car.projection.ProjectionStatus.PROJECTION_TRANSPORT_WIFI;
42 import android.car.projection.ProjectionStatus;
43 import android.car.projection.ProjectionStatus.MobileDevice;
163 String activeProjectionPackageName, List<ProjectionStatus> details) { in updateProjectionStatus_defaultState()
263 final ProjectionStatus status = createProjectionStatus(); in updateProjectionStatus_subscribeAfterUpdate()
271 String activeProjectionPackageName, List<ProjectionStatus> details) { in updateProjectionStatus_subscribeAfterUpdate()
276 ProjectionStatus status = details.get(0); in updateProjectionStatus_subscribeAfterUpdate()
[all …]
DCarProjectionManagerUnitTest.java38 import android.car.projection.ProjectionStatus;
258 ProjectionStatus status = mock(ProjectionStatus.class); in testUpdateProjectionStatus()
277 List<ProjectionStatus> details = new ArrayList<>(); in testRegisterProjectionStatusListener()
/packages/services/Car/car-lib/src/android/car/
DICarProjectionStatusListener.aidl19 import android.car.projection.ProjectionStatus;
29 in List<ProjectionStatus> details) = 0; in onProjectionStatusChanged()
DCarProjectionManager.java32 import android.car.projection.ProjectionStatus;
33 import android.car.projection.ProjectionStatus.ProjectionState;
245 @NonNull List<ProjectionStatus> details); in onProjectionStatusChanged()
656 public void updateProjectionStatus(@NonNull ProjectionStatus status) { in updateProjectionStatus()
692 List<ProjectionStatus> projectionStatusDetails = in registerProjectionStatusListener()
732 String packageName, List<ProjectionStatus> details) { in handleProjectionStatusChanged()
921 private List<ProjectionStatus> mDetails = new ArrayList<>(0);
932 List<ProjectionStatus> details) { in onProjectionStatusChanged()
DICarProjection.aidl20 import android.car.projection.ProjectionStatus;
78 void updateProjectionStatus(in ProjectionStatus status, in IBinder token) = 8; in updateProjectionStatus()
/packages/services/Car/service/src/com/android/car/
DCarProjectionService.java19 import static android.car.projection.ProjectionStatus.PROJECTION_STATE_INACTIVE;
20 import static android.car.projection.ProjectionStatus.PROJECTION_STATE_READY_TO_PROJECT;
44 import android.car.projection.ProjectionStatus;
45 import android.car.projection.ProjectionStatus.ProjectionState;
444 public void updateProjectionStatus(ProjectionStatus status, IBinder token) in updateProjectionStatus()
538 List<ProjectionStatus> statuses = new ArrayList<>(); in notifyProjectionStatusChanged()
1192 private ProjectionStatus mProjectionStatus;
/packages/services/Car/car-lib/api/
Dsystem-lint-baseline.txt230 …hingBuilder: android.car.projection.ProjectionStatus.Builder#addMobileDevice(android.car.projectio…
231ProjectionStatus does not declare a `getMobileDevices()` method matching method android.car.projec…
232 MissingGetterMatchingBuilder: android.car.projection.ProjectionStatus.Builder#setProjectionTranspor…
233 …ar.projection.ProjectionStatus does not declare a `getProjectionTransport()` method matching metho…
234 MissingGetterMatchingBuilder: android.car.projection.ProjectionStatus.MobileDevice.Builder#addTrans…
235 ….projection.ProjectionStatus.MobileDevice does not declare a `getTransports()` method matching met…
520 MissingNullability: android.car.projection.ProjectionStatus#CREATOR:
521 Missing nullability on field `CREATOR` in class `class android.car.projection.ProjectionStatus`
522 MissingNullability: android.car.projection.ProjectionStatus#builder(String, int) parameter #0:
524 MissingNullability: android.car.projection.ProjectionStatus#writeToParcel(android.os.Parcel, int) p…
[all …]
Dsystem-current.txt187 …R_PROJECTION) public void updateProjectionStatus(@NonNull android.car.projection.ProjectionStatus);
221 …usChanged(int, @Nullable String, @NonNull java.util.List<android.car.projection.ProjectionStatus>);
2174 public final class ProjectionStatus implements android.os.Parcelable {
2175 …method @NonNull public static android.car.projection.ProjectionStatus.Builder builder(String, int);
2177 …method @NonNull public java.util.List<android.car.projection.ProjectionStatus.MobileDevice> getCon…
2184 …field public static final android.os.Parcelable.Creator<android.car.projection.ProjectionStatus> C…
2196 public static final class ProjectionStatus.Builder {
2197 …nNull public android.car.projection.ProjectionStatus.Builder addMobileDevice(android.car.projectio…
2198 method public android.car.projection.ProjectionStatus build();
2199 …method @NonNull public android.car.projection.ProjectionStatus.Builder setExtras(android.os.Bundle…
[all …]
Dtest-current.txt190 …R_PROJECTION) public void updateProjectionStatus(@NonNull android.car.projection.ProjectionStatus);
224 …usChanged(int, @Nullable String, @NonNull java.util.List<android.car.projection.ProjectionStatus>);
2251 public final class ProjectionStatus implements android.os.Parcelable {
2252 …method @NonNull public static android.car.projection.ProjectionStatus.Builder builder(String, int);
2254 …method @NonNull public java.util.List<android.car.projection.ProjectionStatus.MobileDevice> getCon…
2261 …field public static final android.os.Parcelable.Creator<android.car.projection.ProjectionStatus> C…
2273 public static final class ProjectionStatus.Builder {
2274 …nNull public android.car.projection.ProjectionStatus.Builder addMobileDevice(android.car.projectio…
2275 method public android.car.projection.ProjectionStatus build();
2276 …method @NonNull public android.car.projection.ProjectionStatus.Builder setExtras(android.os.Bundle…
[all …]
/packages/services/Car/car-lib-module/api/
Dsystem-current.txt187 …R_PROJECTION) public void updateProjectionStatus(@NonNull android.car.projection.ProjectionStatus);
221 …usChanged(int, @Nullable String, @NonNull java.util.List<android.car.projection.ProjectionStatus>);
2174 public final class ProjectionStatus implements android.os.Parcelable {
2175 …method @NonNull public static android.car.projection.ProjectionStatus.Builder builder(String, int);
2177 …method @NonNull public java.util.List<android.car.projection.ProjectionStatus.MobileDevice> getCon…
2184 …field public static final android.os.Parcelable.Creator<android.car.projection.ProjectionStatus> C…
2196 public static final class ProjectionStatus.Builder {
2197 …nNull public android.car.projection.ProjectionStatus.Builder addMobileDevice(android.car.projectio…
2198 method public android.car.projection.ProjectionStatus build();
2199 …method @NonNull public android.car.projection.ProjectionStatus.Builder setExtras(android.os.Bundle…
[all …]
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt116 class @hide @SystemApi ProjectionStatus package android.car.projection
126 field TIRAMISU_0 Creator<ProjectionStatus> CREATOR;
137 class ProjectionStatus.Builder package android.car.projection
141 method TIRAMISU_0 ProjectionStatus build();
142 class ProjectionStatus.MobileDevice package android.car.projection
153 class ProjectionStatus.MobileDevice.Builder package android.car.projection
792 method TIRAMISU_0 void updateProjectionStatus(ProjectionStatus status);
802 …SU_0 void onProjectionStatusChanged(int state, String packageName, List<ProjectionStatus> details);