Home
last modified time | relevance | path

Searched refs:isGoDevice (Results 1 – 5 of 5) sorted by relevance

/packages/modules/AdServices/adservices/tests/test-util/side-less/com/android/adservices/common/
DAbstractAdServicesDeviceSupportedRule.java135 public final boolean isGoDevice() { in isGoDevice() method in AbstractAdServicesDeviceSupportedRule
136 boolean isGoDevice = mDeviceSupportHelper.isGoDevice(); in isGoDevice()
137 mLog.v("isGoDevice(): %b", isGoDevice); in isGoDevice()
138 return isGoDevice; in isGoDevice()
169 boolean isGoDevice = isGoDevice(); in apply()
201 if (!isGoDevice && requiresGoDevice != null) { in apply()
DAbstractDeviceSupportHelper.java76 public final boolean isGoDevice() { in isGoDevice() method in AbstractDeviceSupportHelper
157 return isPhone() && !isGoDevice(); in isDeviceSupportedByDefault()
/packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/side-less/com/android/adservices/common/
DAbstractAdServicesDeviceSupportedRuleTest.java120 expect.that(mAdServicesDeviceSupportedRule.isGoDevice()).isTrue(); in testIsGoDevice_returnsTrue()
127 expect.that(mAdServicesDeviceSupportedRule.isGoDevice()).isFalse(); in testIsGoDevice_returnsFalse()
402 private void mockIsGoDevice(boolean isGoDevice) { in mockIsGoDevice() argument
403 when(mAbstractDeviceSupportHelper.isGoDevice()).thenReturn(isGoDevice); in mockIsGoDevice()
/packages/modules/AdServices/sdksandbox/tests/testutils/src/android/app/sdksandbox/hosttestutils/
DDeviceSupportHostUtils.java43 && !isGoDevice() in isSdkSandboxSupported()
68 private boolean isGoDevice() throws DeviceNotAvailableException { in isGoDevice() method in DeviceSupportHostUtils
/packages/modules/SdkExtensions/javatests/com/android/os/ext/
DSdkExtensionsTest.java234 boolean isGoDevice = context.getSystemService(ActivityManager.class).isLowRamDevice(); in isGoWithSideloadedModules()
235 if (!isGoDevice) { in isGoWithSideloadedModules()