Home
last modified time | relevance | path

Searched refs:isDebuggable (Results 1 – 25 of 92) sorted by relevance

1234

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/compat/
DBuildCompatUtilsTest.java51 doReturn(true).when(Build::isDebuggable); in testIsDebuggable_SPlus_debuggable()
53 .that(BuildCompatUtils.isDebuggable()) in testIsDebuggable_SPlus_debuggable()
55 verify(Build::isDebuggable, atLeastOnce()); in testIsDebuggable_SPlus_debuggable()
73 doReturn(false).when(Build::isDebuggable); in testIsDebuggable_SPlus_notDebuggable()
75 .that(BuildCompatUtils.isDebuggable()) in testIsDebuggable_SPlus_notDebuggable()
77 verify(Build::isDebuggable, atLeastOnce()); in testIsDebuggable_SPlus_notDebuggable()
96 .that(BuildCompatUtils.isDebuggable()) in testIsDebuggable_RMinus_debuggable()
116 .that(BuildCompatUtils.isDebuggable()) in testIsDebuggable_RMinus_notDebuggable()
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/
DDevContextUtils.java41 boolean isDebuggable = isDebuggable(context, callingAppPackage, logTag); in isDevOptionsEnabled()
45 String.format("Debuggable: %b\n", isDebuggable) in isDevOptionsEnabled()
47 return isDebuggable && isDeveloperMode; in isDevOptionsEnabled()
66 public static boolean isDebuggable( in isDebuggable() method in DevContextUtils
152 return Build.isDebuggable(); in computeIsDebuggableBuild()
DAdServicesSupportHelper.java123 protected boolean isDebuggable() { in isDebuggable() method in AdServicesSupportHelper
124 return AdservicesTestHelper.isDebuggable(); in isDebuggable()
DAdservicesTestHelper.java135 public static boolean isDebuggable() { in isDebuggable() method in AdservicesTestHelper
137 return Build.isDebuggable(); in isDebuggable()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/util/
DDebugUtilsTest.java70 doReturn(true).when(Build::isDebuggable); in isDeveloperModeEnabledReturnsTrueIfDeviceDebuggableAndDevOptionsOff()
77 doReturn(true).when(Build::isDebuggable); in isDeveloperModeEnabledReturnsTrueIfDeviceDebuggableAndDevOptionsOn()
84 doReturn(false).when(Build::isDebuggable); in isDeveloperModeEnabledReturnsFalseIfDeviceNotDebuggableAndDevOptionsOff()
91 doReturn(false).when(Build::isDebuggable); in isDeveloperModeEnabledReturnsTrueIfDeviceNotDebuggableAndDevOptionsOn()
142 doReturn(false).when(Build::isDebuggable); in testDoesNotReturnExceptionCodeIfDeviceNotDebuggable()
/packages/modules/AdServices/adservices/tests/test-util/side-less/com/android/adservices/common/
DAbstractDeviceSupportHelper.java59 if (isDebuggable()) { in isDeviceSupported()
83 if (isDebuggable()) { in isLowRamDevice()
108 if (isDebuggable()) { in isLargeScreenDevice()
142 protected abstract boolean isDebuggable(); in isDebuggable() method in AbstractDeviceSupportHelper
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/
DDevContextUtils.java42 boolean isDebuggable = in isDevOptionsEnabled()
43 devContextFilter.isDebuggable(mDevContext.getCallingAppPackageName()); in isDevOptionsEnabled()
47 String.format("Debuggable: %b\n", isDebuggable) in isDevOptionsEnabled()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DConfig.java108 static boolean isDebuggable() { in isDebuggable() method in Config
114 return isDebuggable() in isBugReportEnabled()
139 return UPLOAD_DESTINATION_GCS.equals(getUploadDestination()) && isDebuggable(); in isUploadDestinationGcs()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/devapi/
DDevContextFilter.java112 if (!isDebuggable(callingAppPackage)) { in createDevContext()
138 public boolean isDebuggable(String callingAppPackage) { in isDebuggable() method in DevContextFilter
160 return BuildCompatUtils.isDebuggable() in isDeveloperMode()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/util/
DLog.java110 public static boolean isDebuggable() { in isDebuggable() method in Log
178 if (isDebuggable()) { in dc()
230 } else if (isDebuggable()) { in hidePii()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/shadows/
DShadowBuild.java35 public static void setIsDebuggable(boolean isDebuggable) { in setIsDebuggable() argument
36 ReflectionHelpers.setStaticField(Build.class, "IS_DEBUGGABLE", isDebuggable); in setIsDebuggable()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/compat/
DBuildCompatUtils.java38 public static boolean isDebuggable() { in isDebuggable() method in BuildCompatUtils
39 return SdkLevel.isAtLeastS() ? Build.isDebuggable() : computeIsDebuggable_R(); in isDebuggable()
/packages/modules/AdServices/adservices/tests/cts/sandbox/fledge/src/com/android/tests/sandbox/fledge/
DSandboxedFledgeManagerTest.java72 boolean isDebuggable = devContextFilter.isDebuggable(devContext.getCallingAppPackageName()); in setup()
76 String.format("Debuggable: %b\n", isDebuggable) in setup()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/
DAdSelectionManagerDebuggableTest.java75 boolean isDebuggable = devContextFilter.isDebuggable(devContext.getCallingAppPackageName()); in setup()
79 String.format("Debuggable: %b\n", isDebuggable) in setup()
DCustomAudienceCtsDebuggableTest.java68 boolean isDebuggable = devContextFilter.isDebuggable(devContext.getCallingAppPackageName()); in setup()
72 String.format("Debuggable: %b\n", isDebuggable) in setup()
/packages/apps/Car/Launcher/libs/hidden-apis-compat/hidden-apis-enabled/src/com/android/car/hidden/apis/
DHiddenApiAccess.java43 public static boolean isDebuggable() { in isDebuggable() method in HiddenApiAccess
44 return Build.isDebuggable(); in isDebuggable()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/grpc/
DDeviceFinalizeClient.java86 if (Build.isDebuggable()) { in getInstance()
107 if (Build.isDebuggable() && sUseDebugClient) { in getInstance()
DDeviceCheckInClient.java91 if (Build.isDebuggable()) { in getInstance()
115 if (Build.isDebuggable() && sUseDebugClient) { in getInstance()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/
DDBScheduledCustomAudienceUpdate.java104 boolean isDebuggable) { in create() argument
112 .setIsDebuggable(isDebuggable) in create()
/packages/modules/Virtualization/compos/service/java/com/android/server/compos/
DIsolatedCompilationService.java19 import static android.os.Build.isDebuggable;
83 if (isDebuggable()) { in isIsolatedCompilationSupported()
/packages/modules/AdServices/adservices/framework/java/com/android/adservices/
DAndroidServiceBinder.java100 if (!isDebuggable()) { in AndroidServiceBinder()
287 private static boolean isDebuggable() { in isDebuggable() method in AndroidServiceBinder
293 return Build.isDebuggable(); in computeIsDebuggable()
/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/util/
DLogTest.java84 assertFalse(Log.isDebuggable()); in setDebuggable()
87 assertTrue(Log.isDebuggable()); in setDebuggable()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/schedule/
DDeviceLockControllerSchedulerImpl.java247 if (Build.isDebuggable()) { in scheduleResumeProvisionAlarm()
383 long minutes = Build.isDebuggable() ? getSharedPreferences(mContext).getLong(
406 if (Build.isDebuggable()) {
418 if (Build.isDebuggable()) {
/packages/apps/Car/Launcher/libs/car-launcher-common/src/com/android/car/carlaunchercommon/shortcuts/
DForceStopShortcutItem.kt38 import com.android.car.hidden.apis.HiddenApiAccess.isDebuggable in <lambda>()
58 private val DEBUG = isDebuggable() in <lambda>()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/customaudience/
DCustomAudienceListCommandTest.java60 .setIsDebuggable(CUSTOM_AUDIENCE_1.isDebuggable())
67 .setIsDebuggable(CUSTOM_AUDIENCE_2.isDebuggable())

1234