/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ |
D | ProfileAvailabilityTest.kt | 44 val availability = ProfileAvailability(interactor, this, Dispatchers.IO) in <lambda>() constant 46 assertThat(availability.isAvailable(personalProfile)).isTrue() in <lambda>() 47 assertThat(availability.isAvailable(workProfile)).isTrue() in <lambda>() 49 availability.requestQuietModeState(workProfile, true) in <lambda>() 52 assertThat(availability.isAvailable(workProfile)).isFalse() in <lambda>() 54 availability.requestQuietModeState(workProfile, false) in <lambda>() 57 assertThat(availability.isAvailable(workProfile)).isTrue() in <lambda>() 62 val availability = ProfileAvailability(interactor, this, Dispatchers.IO) in <lambda>() constant 64 availability.requestQuietModeState(workProfile, true) in <lambda>() 65 assertThat(availability.waitingToEnableProfile).isFalse() in <lambda>() [all …]
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/domain/interactor/ |
D | UserInteractorTest.kt | 155 val availability by collectLastValue(interactor.availability) in <lambda>() constant 157 assertWithMessage("personalAvailable").that(availability?.get(personalProfile)).isTrue() in <lambda>() 158 assertWithMessage("workAvailable").that(availability?.get(workProfile)).isFalse() in <lambda>() 166 val availability by collectLastValue(interactor.availability) in <lambda>() constant 169 assertWithMessage("workAvailable").that(availability?.get(workProfile)).isTrue() in <lambda>() 173 assertWithMessage("workAvailable").that(availability?.get(workProfile)).isFalse() in <lambda>() 177 assertWithMessage("workAvailable").that(availability?.get(workProfile)).isTrue() in <lambda>() 181 assertWithMessage("workAvailable").that(availability?.get(workProfile)).isNull() in <lambda>() 195 val availability by collectLastValue(userRepo.availability) in updateState() constant 198 assertWithMessage("workAvailable").that(availability?.get(workUser)).isTrue() in updateState() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | DeviceStateAutoRotateOverviewControllerTest.java | 46 int availability = mController.getAvailabilityStatus(); in getAvailabilityStatus_rotationAndDeviceStateRotationEnabled_returnsAvailable() local 48 assertThat(availability).isEqualTo(AVAILABLE); in getAvailabilityStatus_rotationAndDeviceStateRotationEnabled_returnsAvailable() 56 int availability = mController.getAvailabilityStatus(); in getAvailabilityStatus_rotationNotSupported_returnsUnsupportedOnDevice() local 58 assertThat(availability).isEqualTo(UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_rotationNotSupported_returnsUnsupportedOnDevice() 66 int availability = mController.getAvailabilityStatus(); in getAvailabilityStatus_deviceStateRotationNotSupported_returnsUnsupportedOnDevice() local 68 assertThat(availability).isEqualTo(UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_deviceStateRotationNotSupported_returnsUnsupportedOnDevice()
|
D | DeviceStateAutoRotateSettingControllerTest.java | 102 int availability = mController.getAvailabilityStatus(); in getAvailabilityStatus_rotationAndDeviceStateRotationEnabled_returnsAvailable() local 104 assertThat(availability).isEqualTo(AVAILABLE); in getAvailabilityStatus_rotationAndDeviceStateRotationEnabled_returnsAvailable() 112 int availability = mController.getAvailabilityStatus(); in getAvailabilityStatus_deviceStateRotationDisabled_returnsUnsupported() local 114 assertThat(availability).isEqualTo(UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_deviceStateRotationDisabled_returnsUnsupported() 122 int availability = mController.getAvailabilityStatus(); in getAvailabilityStatus_rotationDisabled_returnsUnsupported() local 124 assertThat(availability).isEqualTo(UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_rotationDisabled_returnsUnsupported()
|
D | AutoRotatePreferenceControllerTest.java | 129 int availability = mController.getAvailabilityStatus(); in getAvailabilityStatus_deviceRotationDisabled_returnsAvailable() local 131 assertThat(availability).isEqualTo(BasePreferenceController.AVAILABLE); in getAvailabilityStatus_deviceRotationDisabled_returnsAvailable() 139 int availability = mController.getAvailabilityStatus(); in getAvailabilityStatus_deviceRotationEnabled_returnsUnsupported() local 141 assertThat(availability).isEqualTo(BasePreferenceController.UNSUPPORTED_ON_DEVICE); in getAvailabilityStatus_deviceRotationEnabled_returnsUnsupported()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | ProfileAvailability.kt | 52 userInteractor.availability.map { it[profile] == true }.first() in isAvailable() 62 val availability = userInteractor.availability.first() in visibleProfileCount() constant 67 Profile.Type.PRIVATE -> availability[it] == true in visibleProfileCount() 91 userInteractor.availability.filter { it[profile] == true }.first() in requestQuietModeState()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/domain/interactor/ |
D | UserInteractor.kt | 72 val availability: Flow<Map<Profile, Boolean>> = in <lambda>() constant in com.android.intentresolver.domain.interactor.UserInteractor 73 combine(profiles, userRepository.availability) { profiles, availability -> in <lambda>() method 74 profiles.associateWith { availability.getOrDefault(it.primary, false) } in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/hardwareinfo/ |
D | DeviceModelPreferenceController.java | 31 final int availability = super.getAvailabilityStatus(); in getAvailabilityStatus() local 32 if (availability == AVAILABLE_UNSEARCHABLE) { in getAvailabilityStatus() 35 return availability; in getAvailabilityStatus()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/data/repository/ |
D | FakeUserRepositoryTest.kt | 72 val available by collectLastValue(repo.availability) in <lambda>() 85 val available by collectLastValue(repo.availability) in <lambda>() 99 val available by collectLastValue(repo.availability) in <lambda>()
|
D | UserRepositoryImplTest.kt | 86 val available by collectLastValue(repo.availability) in <lambda>() 120 val available by collectLastValue(repo.availability) in <lambda>()
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/statusicon/ui/ |
D | StatusBarSensorInfoController.java | 113 private void updateAvailability(Boolean availability) { in updateAvailability() argument 114 logIfDebug("Sensor availability = " + availability); in updateAvailability() 115 mSensorAvailability = availability; in updateAvailability()
|
/packages/apps/Car/Cluster/ClusterHomeSample/src/com/android/car/cluster/home/ |
D | ClusterHomeApplication.java | 320 byte[] availability = new byte[mClusterActivities.size()]; in buildUiAvailability() 326 availability[i] = UI_AVAILABLE; in buildUiAvailability() 332 availability[i] = resolveInfo == null ? UI_UNAVAILABLE : UI_AVAILABLE; in buildUiAvailability() 334 Log.d(TAG, "availability=" + availability[i] + ", activity=" + clusterActivity in buildUiAvailability() 338 return availability; in buildUiAvailability()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/ |
D | BasePreferenceControllerTest.java | 232 private void setAvailability(int availability) { in setAvailability() argument 233 mAvailable = availability; in setAvailability()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/data/repository/ |
D | UserRepository.kt | 68 val availability: Flow<Map<User, Boolean>> in <lambda>() constant 211 override val availability: Flow<Map<User, Boolean>> = constant
|
/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/data/repository/ |
D | FakeUserRepository.kt | 47 override val availability = in <lambda>() constant
|
/packages/modules/Uwb/ |
D | NOTICE | 6 certification programs to promote the availability of compliant implementations
|
/packages/modules/Connectivity/framework-t/ |
D | Sources.bp | 38 "-Wno-unguarded-availability",
|
/packages/services/Car/libs/car-internal-dep-lib/ |
D | Android.bp | 33 // The library cannot be directly included in android.car-module due to apex availability issue.
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/ |
D | BluetoothMapAppParams.java | 1532 public void setPresenceAvailability(int availability) { in setPresenceAvailability() argument 1533 if (availability < 0 || availability > 0x00FF) { in setPresenceAvailability() 1536 this.mPresenceAvailability = availability; in setPresenceAvailability()
|
/packages/modules/Connectivity/framework/ |
D | Android.bp | 215 "-Wno-unguarded-availability",
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | en_GB_wordlist.combined.gz |
|
D | en_US_wordlist.combined.gz |
|
D | en_wordlist.combined.gz |
|