/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/training/ |
D | FederatedComputeWorker.java | 233 TrainingRun run = new TrainingRun(jobId, trainingTask, trainingEventLogger, callback); 234 mActiveRun = run; 236 ListenableFuture<FLRunnerResult> runCompletedFuture = doTraining(run); 242 run.mTrainingEventLogger.logEventWithDuration( 245 unBindServicesIfNecessary(run); 251 run.mFuture = runCompletedFuture; 307 private ListenableFuture<FLRunnerResult> doTraining(TrainingRun run) { 314 run.mTask.serverAddress(), 316 run.mTask.populationName(), 317 run.mTrainingEventLogger); [all …]
|
/packages/modules/Virtualization/tests/authfs/hosttests/java/src/com/android/fs/ |
D | AuthFsHostTest.java | 150 sAndroid.run(FSVERITY_BIN + " digest --compact " + TEST_DIR + "/input.file"); in testReadWithFsverityVerification_FdServerUsesRealFsverityData() 259 sMicrodroid.run("echo 1 > /proc/sys/vm/drop_caches"); in testReadFailedIfDetectsTampering() 331 sAndroid.run("mkdir " + androidOutputDir); in testOutputDirectory_WriteNewFiles() 360 sAndroid.run("mkdir " + androidOutputDir); in testOutputDirectory_MkdirAndWriteFile() 366 sMicrodroid.run("mkdir " + authfsOutputDir + "/new_dir"); in testOutputDirectory_MkdirAndWriteFile() 367 sMicrodroid.run("mkdir -p " + authfsOutputDir + "/we/need/to/go/deeper"); in testOutputDirectory_MkdirAndWriteFile() 373 sAndroid.run("test -d " + androidOutputDir + "/new_dir"); in testOutputDirectory_MkdirAndWriteFile() 374 sAndroid.run("test -d " + androidOutputDir + "/we/need/to/go/deeper"); in testOutputDirectory_MkdirAndWriteFile() 394 sAndroid.run("mkdir " + androidOutputDir); in testOutputDirectory_CreateAndTruncateExistingFile() 399 sMicrodroid.run("echo -n foo > " + authfsOutputDir + "/file"); in testOutputDirectory_CreateAndTruncateExistingFile() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/mobiledatadownload/ |
D | 9937e1700d97de891dfbdf5bf62e32591e87f166 | 2 …run.app/staticsource https://ptb-msmt-static-5jyy5ulagq-uc.a.run.app/staticwebsource,https://ptb-m… 4 …run.app,https://ptb-ba-buyer-5jyy5ulagq-uc.a.run.app,https://ptb-ba-buyer-5jyy5ulagq-uc.a.run.app,… 5 …run.app,https://ptb-ba-seller-5jyy5ulagq-uc.a.run.app,https://ptb-ba-seller-5jyy5ulagq-uc.a.run.ap… 7 …run.app,https://pas-dp10-test-5jyy5ulagq-uc.a.run.app,https://pas-dp10-test-5jyy5ulagq-uc.a.run.ap…
|
D | 54a2ad583d77be19fc3d28148bcd1176785015de | 2 …run.app/staticsource https://ptb-msmt-static-5jyy5ulagq-uc.a.run.app/staticwebsource,https://ptb-m… 4 …run.app,https://ptb-ba-buyer-5jyy5ulagq-uc.a.run.app,https://ptb-ba-buyer-5jyy5ulagq-uc.a.run.app,… 5 …run.app,https://ptb-ba-seller-5jyy5ulagq-uc.a.run.app,https://ptb-ba-seller-5jyy5ulagq-uc.a.run.ap…
|
/packages/modules/Bluetooth/tools/lint/checks/tests/com/android/bluetooth/lint/test/ |
D | LogEnforcementVariableCreationDetectorTest.kt | 62 .run() in getDetector() 94 .run() in testClassWithVVar_issueFound() 126 .run() in testClassWithDbgVar_issueFound() 158 .run() in testClassWithVdbgVar_issueFound() 190 .run() in testClassWithDebugVar_issueFound() 222 .run() in testClassWithVerboseVar_issueFound() 254 .run() in testClassWithDbgEndingVar_issueFound() 286 .run() in testClassWithVdbgEndingVar_issueFound() 320 .run() in testClassWithMemberDbgVar_issueFound() 352 .run() in testClassWithMemberDebugVar_issueFound() [all …]
|
D | GuardedLogLineDetectorTest.kt | 69 .run() in getDetector() 106 .run() in testUnguardedLogStatements_inSafeIfStatement_noIssuesFound() 138 .run() in testGuardedLogWithIsLoggable_warningFound() 172 .run() in testGuardedLogWithDbgVariable_issueFound() 206 .run() in testGuardedLogWithUnaryDbgVariable_issueFound() 240 .run() in testGuardedLogWithBinaryDbgVariable_issueFound() 274 .run() in testGuardedLogWithPolyadicDbgVariable_issueFound() 308 .run() in testGuardedLogWithParenthesizedDbgVariable_issueFound() 344 .run() in testGuardedLogInNestedIfWithDbgVariable_issueFound() 380 .run() in testGuardedLogInIfElseWithDbgVariableInElseIf_issueFound() [all …]
|
/packages/services/Telephony/testapps/TestSatelliteApp/src/com/android/phone/testapps/satellitetestapp/ |
D | MultipleSendReceive.java | 72 Runnable::run, resultListener::offer); in multiplePollPendingSatelliteDatagramsApp() 73 mSatelliteManager.pollPendingDatagrams(Runnable::run, resultListener::offer); in multiplePollPendingSatelliteDatagramsApp() 76 mSatelliteManager.pollPendingDatagrams(Runnable::run, resultListener::offer); in multiplePollPendingSatelliteDatagramsApp() 79 mSatelliteManager.pollPendingDatagrams(Runnable::run, resultListener::offer); in multiplePollPendingSatelliteDatagramsApp() 82 mSatelliteManager.pollPendingDatagrams(Runnable::run, resultListener::offer); in multiplePollPendingSatelliteDatagramsApp() 85 mSatelliteManager.pollPendingDatagrams(Runnable::run, resultListener::offer); in multiplePollPendingSatelliteDatagramsApp() 107 datagram, true, Runnable::run, resultListener::offer); in multipleSendSatelliteDatagramApp() 109 datagram, true, Runnable::run, resultListener::offer); in multipleSendSatelliteDatagramApp() 111 datagram, true, Runnable::run, resultListener::offer); in multipleSendSatelliteDatagramApp() 113 datagram, true, Runnable::run, resultListener::offer); in multipleSendSatelliteDatagramApp() [all …]
|
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/managers/ |
D | ListenerMultiplexerTest.java | 90 verify(listener, times(1)).run(); in testReplace() 106 verify(listener, never()).run(); in testReplace() 107 verify(listener2, times(1)).run(); in testReplace() 131 verify(listener, times(1)).run(); in testRemove() 140 verify(listener, never()).run(); in testRemove() 168 verify(listener, times(1)).run(); in testMergeMultiple() 169 verify(listener2, never()).run(); in testMergeMultiple() 170 verify(listener3, never()).run(); in testMergeMultiple() 181 verify(listener, times(2)).run(); in testMergeMultiple() 182 verify(listener2, times(1)).run(); in testMergeMultiple() [all …]
|
/packages/modules/AdServices/adservices/linter/tests/java/android/adservices/lint/test/ |
D | DeviceConfigUsageDetectorTest.kt | 52 .run() in getDetector() 77 .run() in applicableMethodCalls_getBoolean_throws() 102 .run() in applicableMethodCalls_getInt_throws() 127 .run() in applicableMethodCalls_getLong_throws() 153 .run() in applicableMethodCalls_getFloat_throws() 178 .run() in applicableMethodCalls_getProperty_throws() 203 .run() in applicableMethodCalls_getProperties_throws() 228 .run() in applicableMethodCalls_getString_pass() 247 .run() in applicableMethodCalls_getBoolean_pass() 266 .run() in applicableMethodCalls_getInt_pass() [all …]
|
D | ErrorLogUtilMockingUsageDetectorTest.kt | 61 .run() in getDetector() 78 .run() in testSpyErrorLogUtilInSuperclass_pass() 99 .run() in testMockErrorLogUtilOverClass_throws() 121 .run() in testSpyErrorLogUtilOverClass_throws() 143 .run() in testMockErrorLogUtilOverMethod_throws() 165 .run() in testSpyErrorLogUtilOverMethod_throws() 189 .run() in testErrorLogUtilMockingInNonExtendedMockitoSubclass_passes() 217 .run() in testNoErrorLogUtilMockingIssues_passes() 240 .run() in testErrorLogUtilMockingUsingUtilsInNonExtendedMockitoSubclass_passes() 263 .run() in testErrorLogUtilMockingInExtendedMockitoSubclass_throws() [all …]
|
D | RoomDatabaseMigrationDetectorTest.kt | 81 .run() in getDetector() 118 .run() in testMigrationPath_missingDatabaseAnnotationError() 160 .run() in testMigrationPath_missingMigrationPathAttribute() 204 .run() in testMigrationPath_incompleteMigrationPath() 248 .run() in testMigrationPath_missingDatabaseVersionFieldInClass() 291 .run() in testMigrationPath_missingDatabaseVersionAnnotationField() 339 .run() in testMigrationPath_failedToReferenceDatabaseVersionError() 387 .run() in testMigrationPath_schemaExportFalseError() 433 .run() in testMigrationPath_schemaExportTrue_happyCase() 476 .run() in testMigrationPath_databaseNotRegistered() [all …]
|
D | JUnitAssertDetectorTest.kt | 54 .run() in getDetector() 85 .run() in testJunitAssertTrue_throws() 116 .run() in testJunitAssertFalse_throws() 147 .run() in testJunitAssertNotEquals_throws() 178 .run() in testJunitAssertArrayEquals_throws() 209 .run() in testJunitAssertNull_throws() 240 .run() in testJunitAssertNotNull_throws() 271 .run() in testJunitAssertSame_throws() 302 .run() in testJunitAssertNotSame_throws() 334 .run() in testAssertThrows_pass()
|
D | SystemPropertiesUsageDetectorTest.kt | 56 .run() in getDetector() 88 .run() in testSystemProperties_getInt_throws() 120 .run() in testSystemProperties_getLong_throws() 152 .run() in testSystemProperties_getBoolean_throws() 184 .run() in testSystemProperties_set_throws() 216 .run() in testSystemProperties_addChangeCallback_throws() 248 .run() in testSystemProperties_removeChangeCallback_throws() 280 .run() in testSystemProperties_reportSyspropChanged_throws() 312 .run() in testSystemProperties_find_throws() 353 .run() in testNonAndroidSystemProperties_pass()
|
/packages/modules/ImsMedia/tests/ |
D | README.md | 12 ## 2. Procedure to run tests with atest 21 #### 2.1 To run all tests in ImsMedia 26 #### 2.2 To run all tests in a testgroup 32 Example: To run all testmodules in `ImsMedia-alltests` testgroup. 37 #### 2.3 To run all tests in a testmodule 41 Example: To run all tests in `ImsMediaNativeTests` testmodule 46 #### 2.4 To run all tests in a test class 50 Example: To run all tests in _RtpBufferTest_ test class in `ImsMediaNativeTests` testmodule 55 ## 2.5 To build and run tests if new test is added 57 - Add `--rebuild-module-info` as last argument for any atest command to build and run. [all …]
|
/packages/modules/AdServices/adservices/ |
D | TEST_MAPPING | 702 // Install com.google.android.adservices.apex and run AdServicesApkUINotificationTests. 711 // Install com.google.android.extservices.apex and run AdExtServicesApkUINotificationTests. 720 // Install com.google.android.adservices.apex and run AdServicesApkUISettingsTests. 729 // Install com.google.android.extservices.apex and run AdExtServicesApkUISettingsTests. 738 // Install com.google.android.adservices.apex and run AdServicesApkUITestsAppConsent. 747 // Install com.google.android.extservices.apex and run AdExtServicesApkUITestsAppConsent. 756 // Install com.google.android.adservices.apex and run AdServicesApkUISettingsGaOtaTests. 765 // Install com.google.android.extservices.apex and run AdExtServicesApkUISettingsGaOtaTests. 774 // Install com.google.android.adservices.apex and run AdServicesApkUnitTests. 783 // Install com.google.android.extservices.apex and run AdExtServicesApkUnitTests. [all …]
|
/packages/modules/OnDevicePersonalization/ |
D | TEST_MAPPING | 4 …// Install com.google.android.ondevicepersonalization.apex and run FrameworkOnDevicePersonalizatio… 8 …// Install com.google.android.ondevicepersonalization.apex and run OnDevicePersonalizationManaging… 12 // Install com.google.android.ondevicepersonalization.apex and run OdpChronicleTests. 16 …// Install com.google.android.ondevicepersonalization.apex and run OnDevicePersonalizationPluginTe… 20 … // Install com.google.android.ondevicepersonalization.apex and run FederatedComputeServicesTests. 24 …// Install com.google.android.ondevicepersonalization.apex and run OnDevicePersonalizationSystemSe… 28 …// Install com.google.android.ondevicepersonalization.apex and run CtsOnDevicePersonalizationE2ETe… 32 …// Install com.google.android.ondevicepersonalization.apex and run CtsOnDevicePersonalizationConfi… 36 …// Install com.google.android.ondevicepersonalization.apex and run CtsSandboxOnDevicePersonalizati…
|
/packages/modules/Permission/SafetyCenter/ConfigLintChecker/tests/java/android/safetycenter/lint/test/ |
D | ParserExceptionDetectorTest.kt | 54 .run() in validMinimumConfig_doesNotThrow() 65 .run() in validFutureConfig_doesNotThrow() 74 .run() in invalidConfigWithSingleSchema_throwsOneError() 87 .run() in invalidConfigWithMultipleSchemas_throwsMultipleErrors() 106 .run() in validUConfigWithUFields_throwsInT() 122 .run() in validTConfigWithUReference_throwsInT() 139 .run() in validTConfigWithOtherLanguageReference_throwsInT() 150 lint().files(xml("res/raw/some_other_config.xml", "<some-other-root/>")).run().expectClean() in unrelatedFile_doesNotThrow() 155 lint().files(xml("res/values/strings.xml", "<some-other-root/>")).run().expectClean() in unrelatedFolder_doesNotThrow()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | ResetNetworkOperationBuilderTest.java | 85 mBuilder.resetConnectivityManager().build().run(); in resetConnectivityManager_performReset_whenBuildAndRun() 95 mBuilder.resetVpnManager().build().run(); in resetVpnManager_performReset_whenBuildAndRun() 105 mBuilder.resetWifiManager().build().run(); in resetWifiManager_performReset_whenBuildAndRun() 116 mBuilder.resetWifiP2pManager(null).build().run(); in resetWifiP2pManager_performReset_whenBuildAndRun() 135 mBuilder.resetTelephonyAndNetworkPolicyManager(subId).build().run(); in resetTelephonyAndNetworkPolicyManager_performReset_whenBuildAndRun() 149 mBuilder.resetIms(subId).build().run(); in resetIms_performReset_whenBuildAndRun_withSingleValidSubId() 162 mBuilder.resetIms(subId).build().run(); in resetIms_performReset_whenBuildAndRun_withInvalidSubId() 176 mBuilder.resetIms(subId).build().run(); in resetIms_performReset_whenBuildAndRun_withAllValidSubId() 186 mBuilder.restartPhoneProcess().build().run(); in restartPhoneProcess_withoutTelephonyContentProvider_shouldNotCrash() 194 mBuilder.restartRild().build().run(); in restartRild_withoutTelephonyContentProvider_shouldNotCrash() [all …]
|
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/ |
D | MultiStateCallbackTest.java | 52 public void run() {} 118 verify(mCallback, never()).run(); in testCallbackDoesNotRun_withoutState() 127 verify(mCallback, never()).run(); in testCallbackDoesNotRun_whenNotTracked() 137 verify(mCallback, times(1)).run(); in testCallbackRuns_afterTrackedAndStateSet() 147 runOnMainSync(() -> verify(mCallback, times(1)).run()); in testCallbackRuns_onUiThread() 157 verify(mCallback, times(1)).run(); in testCallbackRuns_agnosticallyToCallOrder() 168 verify(mCallback, times(1)).run(); in testCallbackRuns_onlyOnceAfterStateSet() 180 verify(mCallback, times(1)).run(); in testCallbackRuns_onlyOnceAfterClearState() 191 verify(mCallback, times(0)).run(); in testCallbackDoesNotRun_withoutFullStateSet() 203 verify(mCallback, times(1)).run(); in testCallbackRuns_withFullStateSet_agnosticallyToCallOrder() [all …]
|
/packages/services/Car/tests/SampleCustomInputService/ |
D | readme.md | 20 Steps to run unit tests: 23 1. Then run: 52 *Note*: For this command to run, ensure that Google Maps app is installed first. 57 must be connected to Android via Bluetooth. Then, to accept incoming calls, run: 63 Alternatively, to reject incoming calls, run: 71 To increase media volume, run: 77 To decrease media volume, run: 85 To increase alarm volume, run: 91 To decrease alarm volume, run: 99 To simulate pressing BACK HOME button, run: [all …]
|
/packages/modules/Connectivity/thread/tests/unit/src/android/net/thread/ |
D | ThreadNetworkControllerTest.java | 172 mController.registerStateCallback(Runnable::run, callback); in registerStateCallback_callbackIsInvokedWithCallingAppIdentity() 213 mController.registerOperationalDatasetCallback(Runnable::run, callback); in registerOperationalDatasetCallback_callbackIsInvokedWithCallingAppIdentity() 239 Runnable::run, in createRandomizedDataset_callbackIsInvokedWithCallingAppIdentity() 250 Runnable::run, in createRandomizedDataset_callbackIsInvokedWithCallingAppIdentity() 282 Runnable::run, in join_callbackIsInvokedWithCallingAppIdentity() 293 Runnable::run, in join_callbackIsInvokedWithCallingAppIdentity() 330 pendingDataset, Runnable::run, v -> successCallbackUid.set(Binder.getCallingUid())); in scheduleMigration_callbackIsInvokedWithCallingAppIdentity() 341 Runnable::run, in scheduleMigration_callbackIsInvokedWithCallingAppIdentity() 371 mController.leave(Runnable::run, v -> successCallbackUid.set(Binder.getCallingUid())); in leave_callbackIsInvokedWithCallingAppIdentity() 380 Runnable::run, in leave_callbackIsInvokedWithCallingAppIdentity() [all …]
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/shapes/ |
D | ShapesProviderTest.kt | 47 .run { in verify valid path arch() 58 .run { in verify valid path 4_sided_cookie() 69 .run { in verify valid path seven_sided_cookie() 80 .run { in verify valid path circle() 91 .run { in verify valid path square() 102 .run { in verify valid folder path clover() 113 .run { in verify valid folder path complexClover() 124 .run { in verify valid folder path arch() 135 .run { in verify valid folder path square()
|
/packages/modules/Virtualization/tests/hostside/helper/java/com/android/microdroid/test/host/ |
D | KvmHypTracer.java | 139 mNrCpus = Integer.parseInt(mRunner.run("nproc")); in KvmHypTracer() 144 mRunner.run("echo " + val + " > " + mHypTracingRoot + node); in setNode() 147 public String run(String payload_cmd) throws Exception { in run() method in KvmHypTracer 151 mRunner.run("echo 0 | tee " + mHypTracingRoot + "events/*/*/enable"); in run() 164 trace_pipes[i] = mRunner.run("mktemp -t trace_pipe.cpu" + i + ".XXXXXXXXXX"); in run() 169 String cmd_script = mRunner.run("mktemp -t cmd_script.XXXXXXXXXX"); in run() 170 mRunner.run("echo '" + payload_cmd + "' > " + cmd_script); in run() 174 String cmd_stdout = mRunner.run("mktemp -t cmd_stdout.XXXXXXXXXX"); in run() 195 mRunner.run(cmd); in run() 197 mRunner.run("rm -f " + cmd_script); in run() [all …]
|
/packages/apps/Camera2/src/com/android/camera/session/ |
D | CaptureSessionManagerImpl.java | 72 public void run() { in notifyTaskQueued() 90 public void run() { in notifyTaskDone() 110 public void run() { in notifyTaskFailed() 125 public void run() { in notifyTaskCanceled() 144 public void run() { in notifyTaskProgress() 162 public void run() { in notifyTaskProgressText() 180 public void run() { in notifySessionUpdated() 203 public void run() { in notifySessionCaptureIndicatorAvailable() 217 public void run() { in notifySessionThumbnailAvailable() 232 public void run() { in notifySessionPictureDataAvailable() [all …]
|
/packages/modules/UprobeStats/src/test/ |
D | hello_uprobestats.py | 20 subprocess.run("adb root", **kwargs) 37 subprocess.run(config_cmd, **kwargs) 42 subprocess.run("adb logcat -c", **kwargs) 48 subprocess.run( 52 subprocess.run( 57 lines = subprocess.run( 74 subprocess.run(
|