/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetycenter/ui/ |
D | SnakeCaseConverterTest.kt | 30 val input = "camelCase" in fromCamelCase_withCamelCaseInput_returnsSnakeCaseString() constant 39 val input = "" in fromCamelCase_withEmptyInput_returnsEmptyString() constant 48 val input = "snake_case" in fromCamelCase_withSnakeCaseInput_returnsSnakeCaseString() constant 57 val input = "camelCase_withUnderscores" in fromCamelCase_withInputHavingUnderscores_preservesUnderscores() constant 66 val input = "PascalCase" in fromCamelCase_withPascalCaseInput_returnsSnakeCaseString() constant 75 val input = "SCREAMING_SNAKE_CASE" in fromCamelCase_withScreamingSnakeCaseInput_lowerCasesTheString() constant 84 val input = "PascalCase_snake_case_camelCase" in fromCamelCase_withMixedCaseInput_returnsSnakeCaseString() constant
|
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/adservices/ondevicepersonalization/ |
D | IsolatedServiceTest.java | 94 ExecuteInputParcel input = in testOnExecute() local 120 ExecuteInputParcel input = in testOnExecutePropagatesError() local 142 …ExecuteInputParcel input = new ExecuteInputParcel.Builder().setAppPackageName("com.testapp").build… in testOnExecuteWithoutAppParams() local 178 …ExecuteInputParcel input = new ExecuteInputParcel.Builder().setAppPackageName("com.testapp").build… in testOnExecuteThrowsIfDataAccessServiceMissing() local 191 …ExecuteInputParcel input = new ExecuteInputParcel.Builder().setAppPackageName("com.testapp").build… in testOnExecuteThrowsIfFederatedComputeServiceMissing() local 202 …ExecuteInputParcel input = new ExecuteInputParcel.Builder().setAppPackageName("com.testapp").build… in testOnExecuteThrowsIfCallbackMissing() local 215 DownloadInputParcel input = in testOnDownload() local 254 DownloadInputParcel input = in testOnDownloadThrowsIfDataAccessServiceMissing() local 267 DownloadInputParcel input = in testOnDownloadThrowsIfFederatedComputeServiceMissing() local 282 DownloadInputParcel input = in testOnDownloadThrowsIfCallbackMissing() local [all …]
|
D | IsolatedServiceExceptionSafetyTestImpl.java | 36 public void onExecute( in onExecute() 44 public void onDownloadCompleted( in onDownloadCompleted() 55 public void onRender( in onRender() 63 public void onEvent( in onEvent() 71 public void onTrainingExamples( in onTrainingExamples() 81 public void onWebTrigger( in onWebTrigger()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/adselection/ |
D | ReportAndRegisterEventImplTest.java | 265 ReportInteractionInput input = mInputBuilder.build(); in testImplSuccessfullyReportsRegisteredEvents() local 301 ReportInteractionInput input = mInputBuilder.build(); in testImplDoesNotCrashAfterSellerReportingThrowsAnException() local 345 ReportInteractionInput input = mInputBuilder.build(); in testImplDoesNotCrashAfterBuyerReportingThrowsAnException() local 385 ReportInteractionInput input = mInputBuilder.build(); in testImplDoesNotCrashAfterBuyerReportingThrowsIOException() local 414 ReportInteractionInput input = in testImplOnlyReportsBuyersRegisteredEvents() local 439 ReportInteractionInput input = in testImplOnlyReportsSellerRegisteredEvents() local 481 ReportInteractionInput input = mInputBuilder.build(); in testImplReturnsOnlyReportsUriThatPassesEnrollmentCheck() local 530 ReportInteractionInput input = mInputBuilder.build(); in testImplReturnsSuccessButDoesNotDoReportingWhenBothFailEnrollmentCheck() local 581 ReportInteractionInput input = mInputBuilder.build(); in testImplFailsWithInvalidPackageName() local 628 ReportInteractionInput input = mInputBuilder.build(); in testImplFailsWhenForegroundCheckFails() local [all …]
|
D | ReportAndRegisterEventFallbackImplTest.java | 286 ReportInteractionInput input = mInputBuilder.build(); in testImplSuccessfullyReportsRegisteredEvents() local 350 ReportInteractionInput input = mInputBuilder.build(); in testImplDoesNotCrashAfterSellerReportingThrowsAnException() local 411 ReportInteractionInput input = mInputBuilder.build(); in testImplDoesNotCrashAfterSellerReportingAndRegisteringThrowsAnException() local 483 ReportInteractionInput input = mInputBuilder.build(); in testImplDoesNotCrashAfterBuyerReportingThrowsAnException() local 544 ReportInteractionInput input = mInputBuilder.build(); in testImplDoesNotCrashAfterBuyerReportingAndRegisteringThrowsAnException() local 602 ReportInteractionInput input = in testImplOnlyReportsBuyersRegisteredEvents() local 647 ReportInteractionInput input = in testImplOnlyReportsSellerRegisteredEvents() local 711 ReportInteractionInput input = mInputBuilder.build(); in testImplReturnsOnlyReportsUriThatPassesEnrollmentCheck() local 773 ReportInteractionInput input = mInputBuilder.build(); in testImplReturnsSuccessButDoesNotDoReportingWhenBothFailEnrollmentCheck() local 834 ReportInteractionInput input = mInputBuilder.build(); in testImplFailsWithInvalidPackageName() local [all …]
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/device/ |
D | DeviceGatewayImplTest.java | 57 ShellCommandInput input = new ShellCommandInput("echo %s %s %s!", "I", "am", "Groot"); in testRunShellCommandRwe_withFormatting_noErr() local 71 ShellCommandInput input = new ShellCommandInput("echo I am Groot!"); in testRunShellCommandRwe_noFormatting_noErr() local 88 ShellCommandInput input = new ShellCommandInput("device_config %s", "DOH"); in testRunShellCommandRwe_withFormatting_errOnly() local 103 ShellCommandInput input = new ShellCommandInput("device_config DOH"); in testRunShellCommandRwe_noFormatting_errOnly() local 119 ShellCommandInput input = new ShellCommandInput("device_config %s", "DOH"); in testRunShellCommandRwe_withFormatting_errOnly_SMinus() local 135 ShellCommandInput input = new ShellCommandInput("device_config DOH"); in testRunShellCommandRwe_noFormatting_errOnly_SMinus() local
|
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/ |
D | IsolatedWorker.java | 52 default void onExecute( in onExecute() 70 default void onDownloadCompleted( in onDownloadCompleted() 91 default void onRender( in onRender() 109 default void onEvent( in onEvent() 127 default void onTrainingExamples( in onTrainingExamples() 148 default void onWebTrigger( in onWebTrigger()
|
/packages/services/Telephony/testapps/TelephonyManagerTestApp/src/com/android/phone/testapps/telephonymanagertestapp/ |
D | ParameterParser.java | 58 Object executeParser(Class type, String input) { in executeParser() 63 private static PhoneNumberRange parsePhoneNumberRange(String input) { in parsePhoneNumberRange() 71 private Executor parseExecutor(String input) { in parseExecutor() 75 private Consumer parseConsumer(String input) { in parseConsumer() 84 private RadioAccessSpecifier parseRadioAccessSpecifier(String input) { in parseRadioAccessSpecifier() 102 private List parseList(String input) { in parseList() 126 private NumberVerificationCallback parseNumberVerificationCallback(String input) { in parseNumberVerificationCallback()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/util/ |
D | ScanResultUtilTest.java | 319 ScanResult input = new ScanResult.Builder(WifiSsid.fromUtf8Text(ssid), in testPskSha256SaeTransitionModeCheck() local 346 ScanResult input = new ScanResult.Builder(WifiSsid.fromUtf8Text(ssid), in testPskSaeTransitionModeCheck() local 373 ScanResult input = new ScanResult.Builder(WifiSsid.fromUtf8Text(ssid), in testWPA3CompatibilityModeNetwork() local 400 ScanResult input = new ScanResult.Builder(WifiSsid.fromUtf8Text(ssid), in testPskNotInTransitionModeCheck() local 427 ScanResult input = new ScanResult.Builder(WifiSsid.fromUtf8Text(ssid), in testSaeNotInTransitionModeCheck() local 454 ScanResult input = new ScanResult.Builder(WifiSsid.fromUtf8Text(ssid), in testSaeExtKeyAkmSupportedNetwork() local 481 ScanResult input = new ScanResult.Builder(WifiSsid.fromUtf8Text(ssid), in testFtEapAkmSupportedNetwork() local 509 ScanResult input = new ScanResult.Builder(WifiSsid.fromUtf8Text(ssid), in testFilsSha256AkmSupportedNetwork() local 538 ScanResult input = new ScanResult.Builder(WifiSsid.fromUtf8Text(ssid), in testFilsSha384AkmSupportedNetwork() local 566 ScanResult input = new ScanResult.Builder(WifiSsid.fromUtf8Text(ssid), in testEapNetworkNotPasspointNetwork() local [all …]
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/attributes/ |
D | AtIdReqTest.java | 59 ByteBuffer input = ByteBuffer.wrap(AT_PERMANENT_ID_REQ); in testDecodeAtPermanentIdReq() local 71 ByteBuffer input = ByteBuffer.wrap(PERMANENT_ID_INVALID_LENGTH); in testDecodeAtPermanentIdReqInvalidLength() local 90 ByteBuffer input = ByteBuffer.wrap(AT_ANY_ID_REQ); in testDecodeAtAnyIdReq() local 102 ByteBuffer input = ByteBuffer.wrap(ANY_ID_INVALID_LENGTH); in testDecodeAtAnyIdReqInvalidLength() local 121 ByteBuffer input = ByteBuffer.wrap(AT_FULL_AUTH_ID_REQ); in testDecodeAtFullauthIdReq() local 133 ByteBuffer input = ByteBuffer.wrap(FULL_AUTH_ID_INVALID_LENGTH); in testDecodeAtFullauthIdReqInvalidLength() local
|
D | AtResTest.java | 52 ByteBuffer input = ByteBuffer.wrap(AT_RES); in testDecode() local 64 ByteBuffer input = ByteBuffer.wrap(AT_RES_INVALID_RES_LENGTH); in testDecodeInvalidResLength() local 74 ByteBuffer input = ByteBuffer.wrap(AT_RES_SHORT_RES); in testDecodeShortResLength() local 84 ByteBuffer input = ByteBuffer.wrap(AT_RES_LONG_RES); in testDecodeLongResLength() local
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/customaudience/ |
D | ScheduleCustomAudienceUpdateImplTest.java | 323 ScheduleCustomAudienceUpdateInput input = in testScheduleCustomAudienceUpdate_withShouldReplacePendingUpdateFalse_WithAdditionalScheduleRequestsTrue() local 382 ScheduleCustomAudienceUpdateInput input = in testScheduleCustomAudienceUpdate_withShouldReplacePendingUpdateFalse_SuccessWithAdditionalScheduleRequestsFalse() local 424 ScheduleCustomAudienceUpdateInput input = in testScheduleCustomAudienceUpdate_withShouldReplacePendingUpdateTrue_Success() local 475 ScheduleCustomAudienceUpdateInput input = in testScheduleCAUpdate_withNoExistingUpdate_LogsStatsCorrectly() local 523 ScheduleCustomAudienceUpdateInput input = in testScheduleCAUpdate_failingWithFilteringException_LogsStatsCorrectly() local 594 ScheduleCustomAudienceUpdateInput input = in testScheduleCAUpdate_withNonZeroPartialCustomAudience_LogsStatsCorrectly() local 686 ScheduleCustomAudienceUpdateInput input = in testScheduleCAUpdate_overwritingExistingUpdate_LogsStatsCorrectly() local 728 ScheduleCustomAudienceUpdateInput input = in testScheduleCustomAudienceUpdate_OverDelay_Failure() local 765 ScheduleCustomAudienceUpdateInput input = null; in testScheduleCustomAudienceUpdate_NullInput_Failure() local 780 ScheduleCustomAudienceUpdateInput input = in testScheduleCustomAudienceUpdate_MissingBuyer_Failure() local [all …]
|
/packages/modules/OnDevicePersonalization/tests/cts/endtoend/src/com/android/ondevicepersonalization/cts/e2e/ |
D | IsolatedWorkerTest.java | 106 RenderInput input = new RenderInput( in testOnRender() local 126 EventInput input = new EventInput( in testOnEvent() local 138 TrainingExamplesInput input = in testOnTrainingExamples() local 152 WebTriggerInput input = new WebTriggerInput( in testOnWebTrigger() local 183 ExecuteInput input, in onExecute() 191 RenderInput input, in onRender() 200 DownloadCompletedInput input, in onDownloadCompleted() 209 EventInput input, in onEvent() 219 TrainingExamplesInput input, in onTrainingExamples() 234 WebTriggerInput input, in onWebTrigger()
|
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/ |
D | DialerExecutor.java | 124 OutputT doInBackground(@Nullable InputT input) throws Throwable; in doInBackground() 172 void executeSerial(@Nullable InputT input); in executeSerial() 182 void executeSerialWithWait(@Nullable InputT input, long waitMillis); in executeSerialWithWait() 189 void executeParallel(@Nullable InputT input); in executeParallel() 197 @NonNull ExecutorService executorService, @Nullable InputT input); in executeOnCustomExecutorService()
|
D | DefaultDialerExecutorFactory.java | 180 public void executeSerial(@Nullable InputT input) { in executeSerial() 185 public void executeSerialWithWait(@Nullable InputT input, long waitMillis) { in executeSerialWithWait() 190 public void executeParallel(@Nullable InputT input) { in executeParallel() 196 @NonNull ExecutorService executorService, @Nullable InputT input) { in executeOnCustomExecutorService() 197 dialerUiTaskFragment.executeOnCustomExecutor(Assert.isNotNull(executorService), input); in executeOnCustomExecutorService() local 226 public void executeSerial(@Nullable InputT input) { in executeSerial() 231 public void executeSerialWithWait(@Nullable InputT input, long waitMillis) { in executeSerialWithWait() 241 public void executeParallel(@Nullable InputT input) { in executeParallel() 247 @NonNull ExecutorService executorService, @Nullable InputT input) { in executeOnCustomExecutorService() 251 private void run(@Nullable InputT input) { in run()
|
D | DialerUiTaskFragment.java | 121 void executeSerial(InputT input) { in executeSerial() 125 void executeSerialWithWait(InputT input, long waitMillis) { in executeSerialWithWait() 134 void executeParallel(InputT input) { in executeParallel() 138 void executeOnCustomExecutor(ExecutorService executor, InputT input) { in executeOnCustomExecutor() 143 private void runTask(@Nullable InputT input) { in runTask()
|
/packages/modules/AdServices/shared/tests/host-side/java/com/android/adservices/shared/testing/device/ |
D | HostSideDeviceGatewayTest.java | 54 ShellCommandInput input = new ShellCommandInput("echo %s %s %s!", "I", "am", "Groot"); in testRunShellCommandRwe_withFormatting_noErr() local 66 ShellCommandInput input = new ShellCommandInput("echo I am Groot!"); in testRunShellCommandRwe_noFormatting_noErr() local 77 ShellCommandInput input = new ShellCommandInput("Homer says: %s!", "DOH"); in testRunShellCommandRwe_withFormatting_errOnly() local 90 ShellCommandInput input = new ShellCommandInput("Homer says: DOH!"); in testRunShellCommandRwe_noFormatting_errOnly() local
|
/packages/services/Telephony/src/com/android/phone/ |
D | SpecialCharSequenceMgr.java | 79 static boolean handleChars(Context context, String input) { in handleChars() 106 String input, in handleChars() 132 String input, in handleCharsForLockedDevice() 158 static private boolean handleSecretCode(String input) { in handleSecretCode() 169 static private boolean handleAdnEntry(Context context, String input) { in handleAdnEntry() 235 static private boolean handlePinEntry(Context context, String input, in handlePinEntry() 286 String input) { in handleIMEIDisplay() 312 private static boolean handleRegulatoryInfoDisplay(Context context, String input) { in handleRegulatoryInfoDisplay()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | DatabaseUtilsTest.java | 266 final Pair<String, String> input = Pair.create( in testRecoverAbusiveGroupBy_Buckets() local 277 final Pair<String, String> input = Pair.create( in testRecoverAbusiveGroupBy_BucketsByPath() local 288 final Pair<String, String> input = Pair.create( in testRecoverAbusiveGroupBy_113651872() local 299 final Pair<String, String> input = Pair.create( in testRecoverAbusiveGroupBy_113652519() local 310 final Pair<String, String> input = Pair.create( in testRecoverAbusiveGroupBy_113652519_longer() local 321 final Pair<String, String> input = Pair.create( in testRecoverAbusiveGroupBy_115340326() local 332 final Pair<String, String> input = Pair.create( in testRecoverAbusiveGroupBy_116845885() local
|
/packages/modules/AdServices/shared/tests/side-less/java/com/android/adservices/shared/testing/device/ |
D | AbstractDeviceGatewayTest.java | 64 ShellCommandInput input = new ShellCommandInput("annoyed grunt"); in testRunShellCommand_withFormatting_errOnly() local 79 ShellCommandInput input = new ShellCommandInput("annoyed grunt"); in testRunShellCommand_noFormatting_errOnly() local 94 ShellCommandInput input = new ShellCommandInput("annoyed grunt"); in testRunShellCommand_withFormatting_outAndErr() local 110 ShellCommandInput input = new ShellCommandInput("annoyed grunt"); in testRunShellCommand_noFormatting_outAndErr() local 132 public ShellCommandOutput runShellCommandRwe(ShellCommandInput input) { in runShellCommandRwe()
|
D | DeviceConfigShellCmdImplTest.java | 107 ShellCommandInput input = in testSetSyncDisabledMode_failedBecauseOutIsNotEmpty() local 124 ShellCommandInput input = in testSetSyncDisabledMode_failedBecauseErrIsNotEmpty() local 160 ShellCommandInput input = new ShellCommandInput("device_config is_sync_disabled_for_tests"); in testGetSyncDisabledModeInvalidResultForSLevels() local 176 ShellCommandInput input = in testGetSyncDisabledMode_invalidResult_TPlus() local 226 ShellCommandInput input = new ShellCommandInput("device_config is_sync_disabled_for_tests"); in testGetSyncDisabledModeForSLevelsWhenCmdReturnedStandardError() local 258 ShellCommandInput input = in testGetSyncDisabledMode_TPlus_cmdReturnedStandardError() local
|
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/ |
D | NetworkTraceHandlerTest.cpp | 85 bool TraceAndSortPackets(const std::vector<PacketTrace>& input, in TraceAndSortPackets() 110 std::vector<PacketTrace> input = { in TEST_F() local 135 std::vector<PacketTrace> input = { in TEST_F() local 167 std::vector<PacketTrace> input = { in TEST_F() local 208 std::vector<PacketTrace> input = { in TEST_F() local 243 std::vector<PacketTrace> input = { in TEST_F() local 278 std::vector<PacketTrace> input = { in TEST_F() local 318 std::vector<PacketTrace> input = { in TEST_F() local 356 std::vector<PacketTrace> input = { in TEST_F() local
|
/packages/modules/Bluetooth/offload/hci/derive/ |
D | lib.rs | 32 let input = syn::parse_macro_input!(input as DeriveInput); in derive_read() localVariable 49 let input = syn::parse_macro_input!(input as DeriveInput); in derive_write() localVariable 66 let input = syn::parse_macro_input!(input as DeriveInput); in derive_command_to_bytes() localVariable 80 let input = syn::parse_macro_input!(input as DeriveInput); in derive_event_to_bytes() localVariable
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | StochasticRoundingUtilTest.java | 81 double input = 0.3; in testRoundStochasticallyIsNonDeterministic() local 100 double input = 0.3; in testRoundStochasticallyApproximatesTrueSim() local 126 public final double input; field in StochasticRoundingUtilTest.RoundingTestCase 130 RoundingTestCase(double input, int numBits, double output) { in RoundingTestCase()
|
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/com/android/ondevicepersonalization/internal/util/ |
D | ByteArrayParceledSliceTest.java | 62 Bundle input = new Bundle(); in runTest() local 78 Bundle input = new Bundle(); in runTestForNullArray() local 95 Bundle input = new Bundle(); in runTestForEmptyArray() local 125 public void echo(Bundle input, IEchoServiceCallback callback) { in echo() 128 void run(Bundle input, IEchoServiceCallback callback) { in run()
|