/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/util/ |
D | DebugUtilsUnitTest.java | 31 assertThat(DebugUtils.constantToString(StatusCode.class, StatusCode.OK)).isEqualTo("OK"); in aidlConstantToString() 32 assertThat(DebugUtils.constantToString(StatusCode.class, StatusCode.TRY_AGAIN)) in aidlConstantToString() 34 assertThat(DebugUtils.constantToString(StatusCode.class, StatusCode.NOT_AVAILABLE)) in aidlConstantToString() 36 assertThat(DebugUtils.constantToString(StatusCode.class, StatusCode.ACCESS_DENIED)) in aidlConstantToString() 38 assertThat(DebugUtils.constantToString(StatusCode.class, StatusCode.INTERNAL_ERROR)) in aidlConstantToString() 44 assertThat(DebugUtils.flagsToString(UserInfo.class, "USER_FLAG_", 0)).isEqualTo("0"); in aidlFlagsToString() 46 DebugUtils.flagsToString(UserInfo.class, "USER_FLAG_", UserInfo.USER_FLAG_SYSTEM)) in aidlFlagsToString() 49 DebugUtils.flagsToString( in aidlFlagsToString() 58 DebugUtils.constantToString( in hidlConstantToString() 63 DebugUtils.constantToString( in hidlConstantToString() [all …]
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/util/ |
D | DebugUtilsTest.java | 72 assertTrue(DebugUtils.isDeveloperModeEnabled(mContext)); in isDeveloperModeEnabledReturnsTrueIfDeviceDebuggableAndDevOptionsOff() 79 assertTrue(DebugUtils.isDeveloperModeEnabled(mContext)); in isDeveloperModeEnabledReturnsTrueIfDeviceDebuggableAndDevOptionsOn() 86 assertFalse(DebugUtils.isDeveloperModeEnabled(mContext)); in isDeveloperModeEnabledReturnsFalseIfDeviceNotDebuggableAndDevOptionsOff() 93 assertTrue(DebugUtils.isDeveloperModeEnabled(mContext)); in isDeveloperModeEnabledReturnsTrueIfDeviceNotDebuggableAndDevOptionsOn() 102 DebugUtils.getIsolatedServiceExceptionCode( in testReturnsExceptionCodeIfDebuggableAndFlagEnabled() 116 DebugUtils.getIsolatedServiceExceptionCode( in testDoesNotReturnExceptionCodeIfFlagDisabled() 130 DebugUtils.getIsolatedServiceExceptionCode( in testDoesNotReturnExceptionCodeIfPackageNotDebuggable() 145 DebugUtils.getIsolatedServiceExceptionCode( in testDoesNotReturnExceptionCodeIfDeviceNotDebuggable()
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/ |
D | OnDevicePersonalizationDebugServiceTest.java | 32 import com.android.ondevicepersonalization.services.util.DebugUtils; 58 .mockStatic(DebugUtils.class) in testIsEnabledTrueWhenDeveloperModeOn() 61 when(DebugUtils.isDeveloperModeEnabled(mContext)).thenReturn(true); in testIsEnabledTrueWhenDeveloperModeOn() 71 .mockStatic(DebugUtils.class) in testIsEnabledFalseWhenDeveloperModeOff() 74 when(DebugUtils.isDeveloperModeEnabled(mContext)).thenReturn(false); in testIsEnabledFalseWhenDeveloperModeOff()
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/util/ |
D | DebugUtils.java | 35 public class DebugUtils { class 37 private static final String TAG = DebugUtils.class.getSimpleName(); 81 private DebugUtils() {} in DebugUtils() method in DebugUtils
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | DumpDatabaseAction.java | 25 import com.android.messaging.util.DebugUtils; 63 final File outFile = DebugUtils.getDebugFile(DUMP_NAME, true); in executeAction() 95 DebugUtils.ensureReadable(outFile); in executeAction()
|
D | LogTelephonyDatabaseAction.java | 29 import com.android.messaging.util.DebugUtils; 73 if (!DebugUtils.isDebugEnabled()) { in executeAction()
|
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/utils/ |
D | XmlDoc.java | 36 import com.android.imsserviceentitlement.debug.DebugUtils; 119 if (DebugUtils.isPiiLoggable()) { in parseXmlResponse() 134 if (DebugUtils.isPiiLoggable()) { in parseXmlResponse() 144 if (DebugUtils.isPiiLoggable()) { in parseXmlResponse() 194 if (DebugUtils.isPiiLoggable()) { in parseParams()
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/ |
D | OnDevicePersonalizationDebugServiceDelegate.java | 24 import com.android.ondevicepersonalization.services.util.DebugUtils; 41 return DebugUtils.isDeveloperModeEnabled(mContext); in isEnabled()
|
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/debug/ |
D | DebugUtils.java | 26 public final class DebugUtils { class 32 private DebugUtils() {} in DebugUtils() method in DebugUtils
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/ |
D | PropertyInfo.java | 21 import android.util.DebugUtils; 31 mName = DebugUtils.constantToString(VehiclePropertyIds.class, /* prefix= */ "", mPropId); in PropertyInfo()
|
/packages/services/Car/car-lib/src/android/car/admin/ |
D | StartUserInBackgroundResult.java | 23 import com.android.car.internal.util.DebugUtils; 113 return DebugUtils.valueToString(StartUserInBackgroundResult.class, "STATUS_", status); in statusToString()
|
D | StopUserResult.java | 23 import com.android.car.internal.util.DebugUtils; 123 return DebugUtils.valueToString(StopUserResult.class, "STATUS_", status); in statusToString()
|
D | RemoveUserResult.java | 23 import com.android.car.internal.util.DebugUtils; 154 return DebugUtils.valueToString(RemoveUserResult.class, "STATUS_", status); in statusToString()
|
D | CreateUserResult.java | 26 import com.android.car.internal.util.DebugUtils; 151 return DebugUtils.valueToString(CreateUserResult.class, "STATUS_", status); in statusToString()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ArchivedConversationListActivity.java | 25 import com.android.messaging.util.DebugUtils; 67 final boolean enableDebugItems = DebugUtils.isDebugEnabled(); in onCreateOptionsMenu()
|
D | ConversationListActivity.java | 27 import com.android.messaging.util.DebugUtils; 78 final boolean enableDebugItems = DebugUtils.isDebugEnabled(); in onCreateOptionsMenu()
|
/packages/services/Car/car-lib/src/com/android/car/internal/util/ |
D | DebugUtils.java | 28 public final class DebugUtils { class 29 private DebugUtils() {} in DebugUtils() method in DebugUtils
|
/packages/apps/Messaging/src/com/android/messaging/ |
D | BugleApplication.java | 42 import com.android.messaging.util.DebugUtils; 212 final File file = DebugUtils.getDebugFile("startup.trace", true); in maybeStartProfiling() 221 DebugUtils.ensureReadable(file); in maybeStartProfiling()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | MessageDetailsDialog.java | 39 import com.android.messaging.util.DebugUtils; 55 if (DebugUtils.isDebugEnabled()) { in show() 143 if (DebugUtils.isDebugEnabled()) { in getSmsMessageDetails() 209 if (DebugUtils.isDebugEnabled()) { in getMmsMessageDetails()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | DebugUtils.java | 54 public class DebugUtils { class 229 final File dir = DebugUtils.getDebugFilesDir(); in doInBackgroundTimed() 253 final File dumpFile = DebugUtils.getDebugFile(dumpFileName, true); 285 final File inputFile = DebugUtils.getDebugFile(dumpFileName, false);
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VmsHalService.java | 57 import com.android.car.internal.util.DebugUtils; 302 + DebugUtils.constantToString(VmsMessageType.class, messageType) in onHalEvents() 345 + DebugUtils.constantToString(VmsMessageType.class, messageType), e); in onHalEvents() 659 + DebugUtils.constantToString(VmsMessageType.class, messageType)); in setPropertyValue() 668 + DebugUtils.constantToString(VmsMessageType.class, messageType), e); in setPropertyValue()
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/request/ |
D | RenderFlow.java | 50 import com.android.ondevicepersonalization.services.util.DebugUtils; 288 DebugUtils.getIsolatedServiceExceptionCode( in returnResultThroughCallback() 343 DebugUtils.getErrorMessage(mContext, t), in sendErrorResult()
|
/packages/apps/Messaging/src/com/android/messaging/receiver/ |
D | SmsReceiver.java | 49 import com.android.messaging.util.DebugUtils; 197 DebugUtils.dumpSms(messages[0].getTimestampMillis(), messages, format); in deliverSmsIntent() 221 DebugUtils.debugClassZeroSmsEnabled()) { in deliverSmsMessages()
|
/packages/apps/Messaging/src/com/android/messaging/ui/debug/ |
D | DebugSmsMmsFromDumpFileDialogFragment.java | 42 import com.android.messaging.util.DebugUtils; 132 final SmsMessage[] messages = DebugUtils.retreiveSmsFromDumpFile(dumpFileName); in receiveFromDumpFile()
|
/packages/services/Car/car-lib/src/android/car/user/ |
D | UserCreationResult.java | 32 import com.android.car.internal.util.DebugUtils; 311 + DebugUtils.constantToString(UserManager.class, "USER_OPERATION_", in toString()
|