/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/mockito/ |
D | AndroidExtendedMockitoMocker.java | 58 public void mockIsAtLeastR(boolean isIt) { in mockIsAtLeastR() argument 59 logV("mockIsAtLeastR(%b)", isIt); in mockIsAtLeastR() 61 doReturn(isIt).when(SdkLevel::isAtLeastR); in mockIsAtLeastR() 65 public void mockIsAtLeastS(boolean isIt) { in mockIsAtLeastS() argument 66 logV("mockIsAtLeastS(%b)", isIt); in mockIsAtLeastS() 68 doReturn(isIt).when(SdkLevel::isAtLeastS); in mockIsAtLeastS() 72 public void mockIsAtLeastT(boolean isIt) { in mockIsAtLeastT() argument 73 logV("mockIsAtLeastT(%b)", isIt); in mockIsAtLeastT() 75 doReturn(isIt).when(SdkLevel::isAtLeastT); in mockIsAtLeastT()
|
D | AndroidStaticMocker.java | 41 void mockIsAtLeastR(boolean isIt); in mockIsAtLeastR() argument 44 void mockIsAtLeastS(boolean isIt); in mockIsAtLeastS() argument 47 void mockIsAtLeastT(boolean isIt); in mockIsAtLeastT() argument
|
/packages/modules/AdServices/adservices/tests/test-util/side-less/com/android/adservices/common/ |
D | AbstractDeviceSupportHelper.java | 99 boolean isIt = isPhone && isLowRamDevice; in isLowRamDevice() 103 isIt, isPhone, isLowRamDevice); in isLowRamDevice() 104 return isIt; in isLowRamDevice() 124 boolean isIt = isPhone && isLargeScreenDevice; in isLargeScreenDevice() 128 isIt, isPhone, isLargeScreenDevice); in isLargeScreenDevice() 129 return isIt; in isLargeScreenDevice() 162 boolean isIt = in isPhone() 166 mLog.v("isPhone(): returning %b", isIt); in isPhone() 167 return isIt; in isPhone()
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/ |
D | SharedExtendedMockitoTestCase.java | 57 public void mockIsAtLeastR(boolean isIt) { in mockIsAtLeastR() argument 58 mAndroidMocker.mockIsAtLeastR(isIt); in mockIsAtLeastR() 62 public void mockIsAtLeastS(boolean isIt) { in mockIsAtLeastS() argument 63 mAndroidMocker.mockIsAtLeastS(isIt); in mockIsAtLeastS() 67 public void mockIsAtLeastT(boolean isIt) { in mockIsAtLeastT() argument 68 mAndroidMocker.mockIsAtLeastT(isIt); in mockIsAtLeastT()
|
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/ |
D | AdServicesExtendedMockitoTestCase.java | 131 public void mockIsAtLeastR(boolean isIt) { in mockIsAtLeastR() argument 132 mAndroidMocker.mockIsAtLeastR(isIt); in mockIsAtLeastR() 136 public void mockIsAtLeastS(boolean isIt) { in mockIsAtLeastS() argument 137 mAndroidMocker.mockIsAtLeastS(isIt); in mockIsAtLeastS() 141 public void mockIsAtLeastT(boolean isIt) { in mockIsAtLeastT() argument 142 mAndroidMocker.mockIsAtLeastT(isIt); in mockIsAtLeastT()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/compat/ |
D | FileCompatUtilsTest.java | 161 private void mockIsAtLeastT(boolean isIt) { in mockIsAtLeastT() argument 162 mocker.mockIsAtLeastT(isIt); in mockIsAtLeastT()
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/storage/ |
D | BooleanFileDatastoreTest.java | 512 private static void mockIsAtLeastS(boolean isIt) { in mockIsAtLeastS() argument 514 LogUtil.v("mockIsAtLeastS(%b)", isIt); in mockIsAtLeastS() 516 doReturn(isIt).when(SdkLevel::isAtLeastS); in mockIsAtLeastS()
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/ |
D | AndroidMockitoHelper.java | 495 public static void mockCarIsApiVersionAtLeast(int major, int minor, boolean isIt) { in mockCarIsApiVersionAtLeast() argument 496 Log.d(TAG, "mockCarIsApiVersionAtLeast(" + major + ", " + minor + "): " + isIt); in mockCarIsApiVersionAtLeast() 497 doReturn(isIt).when(() -> Car.isApiVersionAtLeast(major, minor)); in mockCarIsApiVersionAtLeast()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | KitchenSinkShellCommand.java | 193 boolean isIt = mDpm.isUninstallBlocked(/* admin= */ null, packageName); in isUninstallBlocked() 194 mWriter.println(isIt); in isUninstallBlocked()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | AppImportanceFilterTest.java | 312 private void mockIsAtLeastT(boolean isIt) { in mockIsAtLeastT() argument 313 mocker.mockIsAtLeastT(isIt); in mockIsAtLeastT()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/stats/ |
D | StatsdAdServicesLoggerTest.java | 2324 private void mockIsAtLeastT(boolean isIt) { in mockIsAtLeastT() argument 2325 mocker.mockIsAtLeastT(isIt); in mockIsAtLeastT()
|