Home
last modified time | relevance | path

Searched refs:displayIds (Results 1 – 20 of 20) sorted by relevance

/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DScreenshotUtils.java96 Set<Integer> displayIds = getDisplayIds(context, carOccupantZoneManager); in takeScreenshot() local
98 for (int displayId : displayIds) { in takeScreenshot()
125 Set<Integer> displayIds = new HashSet<>(); in getDisplayIds() local
130 return displayIds; in getDisplayIds()
136 displayIds.add(display.getDisplayId()); in getDisplayIds()
141 displayIds.add(clusterDisplayId.getAsInt()); in getDisplayIds()
144 Log.d(TAG, "Display ids : " + displayIds); in getDisplayIds()
146 return displayIds; in getDisplayIds()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java273 int[] displayIds =
276 for (int j = 0; j < displayIds.length; j++) {
277 int displayId = displayIds[j];
355 IntArray displayIds; in init() local
357 displayIds = IntArray.fromArray(mDisplayIds.toArray(), mDisplayIds.size()); in init()
359 initializeUxRestrictions(displayIds); in init()
470 private void initializeUxRestrictions(IntArray displayIds) { in initializeUxRestrictions() argument
484 handleDrivingStateEventOnDisplaysLocked(currentDrivingStateEvent, displayIds); in initializeUxRestrictions()
907 IntArray displayIds) { in handleDrivingStateEventOnDisplaysLocked() argument
916 handleDispatchUxRestrictionsLocked(drivingState, mCurrentMovingSpeed, displayIds); in handleDrivingStateEventOnDisplaysLocked()
[all …]
DCarServiceHelperWrapper.java132 public void setDisplayAllowlistForUser(@UserIdInt int userId, int[] displayIds) { in setDisplayAllowlistForUser() argument
134 waitForCarServiceHelper().setDisplayAllowlistForUser(userId, displayIds); in setDisplayAllowlistForUser()
143 public void setPassengerDisplays(int[] displayIds) { in setPassengerDisplays() argument
145 waitForCarServiceHelper().setPassengerDisplays(displayIds); in setPassengerDisplays()
DCarOccupantZoneService.java551 int[] displayIds = new int[config.displayInfos.size()]; in getAllDisplaysForOccupantZone() local
553 displayIds[i] = config.displayInfos.get(i).display.getDisplayId(); in getAllDisplaysForOccupantZone()
555 return displayIds; in getAllDisplaysForOccupantZone()
603 IntArray displayIds = new IntArray(config.displayInfos.size()); in getAllDisplayIdsForDriver() local
607 displayIds.add(displayInfo.display.getDisplayId()); in getAllDisplayIdsForDriver()
610 return displayIds; in getAllDisplayIdsForDriver()
/packages/services/Car/libs/car-test-lib/src/android/car/test/util/
DUserTestingHelper.java74 int[] displayIds = context.getSystemService(ActivityManager.class) in getDisplayForStartingBackgroundUser() local
77 + " returned by AM: " + Arrays.toString(displayIds)); in getDisplayForStartingBackgroundUser()
78 if (displayIds == null || displayIds.length == 0) { in getDisplayForStartingBackgroundUser()
82 for (int displayId : displayIds) { in getDisplayForStartingBackgroundUser()
/packages/services/Car/car-lib/src/com/android/car/internal/
DICarServiceHelper.aidl38 void setDisplayAllowlistForUser(int userId, in int[] displayIds) = 0; in setDisplayAllowlistForUser() argument
44 void setPassengerDisplays(in int[] displayIds) = 1; in setPassengerDisplays() argument
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/display/
DDisplayMirroringFragment.java167 ArrayList<Integer> displayIds = new ArrayList<>(); in getDisplays() local
174 displayIds.add(disp.getDisplayId()); in getDisplays()
176 return displayIds; in getDisplays()
/packages/services/Car/car-lib/src/android/car/
DCarOccupantZoneManager.java419 int[] displayIds = mService.getAllDisplaysForOccupantZone(occupantZone.zoneId); in getAllDisplaysForOccupant() local
420 ArrayList<Display> displays = new ArrayList<>(displayIds.length); in getAllDisplaysForOccupant()
421 for (int i = 0; i < displayIds.length; i++) { in getAllDisplaysForOccupant()
423 if (displayIds[i] == Display.INVALID_DISPLAY) { in getAllDisplaysForOccupant()
426 Display display = mDisplayManager.getDisplay(displayIds[i]); in getAllDisplaysForOccupant()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/key/
DInjectKeyTestFragment.java162 ArrayList<Integer> displayIds = new ArrayList<>(); in getDisplays() local
174 displayIds.add(disp.getDisplayId()); in getDisplays()
176 return displayIds; in getDisplays()
/packages/services/Car/service/src/com/android/car/systeminterface/
DDisplayInterface.java414 IntArray displayIds = new IntArray(); in setAllDisplayState() local
417 displayIds.add(mDisplayStateSet.keyAt(i)); in setAllDisplayState()
422 for (int i = 0; i < displayIds.size(); i++) { in setAllDisplayState()
423 int displayId = displayIds.get(i); in setAllDisplayState()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DAbstractICarServiceHelperStub.java49 public void setDisplayAllowlistForUser(@UserIdInt int userId, int[] displayIds) { in setDisplayAllowlistForUser() argument
51 + Arrays.toString(displayIds) + ")"); in setDisplayAllowlistForUser()
DCarOccupantZoneServiceTest.java1381 public void setDisplayAllowlistForUser(@UserIdInt int userId, int[] displayIds) { in setDisplayAllowlistForUser() argument
1382 mAllowlists.put(userId, Arrays.stream(displayIds).boxed().collect(Collectors.toList())); in setDisplayAllowlistForUser()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/power/
DPowerTestFragment.java276 ArrayList<Integer> displayIds = new ArrayList<>(); in getDisplays() local
286 displayIds.add(disp.getDisplayId()); in getDisplays()
288 return displayIds; in getDisplays()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/touch/
DInjectMotionTestFragment.java328 ArrayList<Integer> displayIds = new ArrayList<>(); in getDisplays() local
340 displayIds.add(disp.getDisplayId()); in getDisplays()
342 return displayIds; in getDisplays()
/packages/services/Car/cpp/displayproxy/src/
DCarDisplayProxy.cpp81 std::vector<::android::PhysicalDisplayId> displayIds = in getDisplayIdList() local
83 std::for_each(displayIds.begin(), displayIds.end(), in getDisplayIdList()
/packages/services/Car/cpp/evs/sampleDriver/hidl/
DEvsEnumerator.cpp203 sDisplayProxy->getDisplayIdList([](const auto& displayIds) { in enumerateDisplays() argument
206 if (displayIds.size() > 0) { in enumerateDisplays()
207 sInternalDisplayId = displayIds[0]; in enumerateDisplays()
208 for (const auto& id : displayIds) { in enumerateDisplays()
/packages/services/Car/cpp/evs/sampleDriver/aidl/src/
DEvsEnumerator.cpp244 std::vector<int64_t> displayIds; in enumerateDisplays() local
245 if (auto status = sDisplayProxy->getDisplayIdList(&displayIds); !status.isOk()) { in enumerateDisplays()
251 if (displayIds.size() > 0) { in enumerateDisplays()
254 internalDisplayId = displayIds[0]; in enumerateDisplays()
255 for (const auto& id : displayIds) { in enumerateDisplays()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java742 int[] displayIds = mCarOccupantZoneService.getAllDisplaysForOccupantZone(zoneId); in doHandleInit() local
743 for (int j = 0; j < displayIds.length; j++) { in doHandleInit()
744 int displayId = displayIds[j]; in doHandleInit()
785 int[] displayIds =
787 for (int j = 0; j < displayIds.length; j++) {
788 int displayId = displayIds[j];
/packages/services/Car/service/src/com/android/car/occupantconnection/
DCarRemoteDeviceService.java408 int[] displayIds = mOccupantZoneService.getAllDisplaysForOccupantZone(occupantZone.zoneId); in setOccupantZonePower() local
409 for (int id : displayIds) { in setOccupantZonePower()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java411 int[] displayIds = new int[] { TEST_DISPLAY_ID }; in testOnUserStarting_afterUserVisible_occupantZoneAssignment() local
413 .thenReturn(displayIds); in testOnUserStarting_afterUserVisible_occupantZoneAssignment()
446 int[] displayIds = new int[] { TEST_DISPLAY_ID }; in testOnUserVisible_afterUserStarting_occupantZoneAssignment() local
448 .thenReturn(displayIds); in testOnUserVisible_afterUserStarting_occupantZoneAssignment()