Home
last modified time | relevance | path

Searched refs:isIt (Results 1 – 11 of 11) sorted by relevance

/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/mockito/
DAndroidExtendedMockitoMocker.java58 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()
DAndroidStaticMocker.java41 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/
DAbstractDeviceSupportHelper.java99 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/
DSharedExtendedMockitoTestCase.java57 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/
DAdServicesExtendedMockitoTestCase.java131 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/
DFileCompatUtilsTest.java161 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/
DBooleanFileDatastoreTest.java512 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/
DAndroidMockitoHelper.java495 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/
DKitchenSinkShellCommand.java193 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/
DAppImportanceFilterTest.java312 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/
DStatsdAdServicesLoggerTest.java2324 private void mockIsAtLeastT(boolean isIt) { in mockIsAtLeastT() argument
2325 mocker.mockIsAtLeastT(isIt); in mockIsAtLeastT()