/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/compat/ |
D | BuildCompatUtilsTest.java | 51 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/ |
D | DevContextUtils.java | 41 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()
|
D | AdServicesSupportHelper.java | 123 protected boolean isDebuggable() { in isDebuggable() method in AdServicesSupportHelper 124 return AdservicesTestHelper.isDebuggable(); in isDebuggable()
|
D | AdservicesTestHelper.java | 135 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/ |
D | DebugUtilsTest.java | 70 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/ |
D | AbstractDeviceSupportHelper.java | 59 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/ |
D | DevContextUtils.java | 42 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/ |
D | Config.java | 108 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/ |
D | DevContextFilter.java | 112 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/ |
D | Log.java | 110 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/ |
D | ShadowBuild.java | 35 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/ |
D | BuildCompatUtils.java | 38 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/ |
D | SandboxedFledgeManagerTest.java | 72 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/ |
D | AdSelectionManagerDebuggableTest.java | 75 boolean isDebuggable = devContextFilter.isDebuggable(devContext.getCallingAppPackageName()); in setup() 79 String.format("Debuggable: %b\n", isDebuggable) in setup()
|
D | CustomAudienceCtsDebuggableTest.java | 68 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/ |
D | HiddenApiAccess.java | 43 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/ |
D | DeviceFinalizeClient.java | 86 if (Build.isDebuggable()) { in getInstance() 107 if (Build.isDebuggable() && sUseDebugClient) { in getInstance()
|
D | DeviceCheckInClient.java | 91 if (Build.isDebuggable()) { in getInstance() 115 if (Build.isDebuggable() && sUseDebugClient) { in getInstance()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/customaudience/ |
D | DBScheduledCustomAudienceUpdate.java | 104 boolean isDebuggable) { in create() argument 112 .setIsDebuggable(isDebuggable) in create()
|
/packages/modules/Virtualization/compos/service/java/com/android/server/compos/ |
D | IsolatedCompilationService.java | 19 import static android.os.Build.isDebuggable; 83 if (isDebuggable()) { in isIsolatedCompilationSupported()
|
/packages/modules/AdServices/adservices/framework/java/com/android/adservices/ |
D | AndroidServiceBinder.java | 100 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/ |
D | LogTest.java | 84 assertFalse(Log.isDebuggable()); in setDebuggable() 87 assertTrue(Log.isDebuggable()); in setDebuggable()
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/schedule/ |
D | DeviceLockControllerSchedulerImpl.java | 247 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/ |
D | ForceStopShortcutItem.kt | 38 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/ |
D | CustomAudienceListCommandTest.java | 60 .setIsDebuggable(CUSTOM_AUDIENCE_1.isDebuggable()) 67 .setIsDebuggable(CUSTOM_AUDIENCE_2.isDebuggable())
|