Home
last modified time | relevance | path

Searched refs:addOperand (Results 1 – 25 of 30) sorted by relevance

12

/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/properties/
DProperties.kt14 .addOperand(key) in set()
15 .addOperand(value) in set()
27 ShellCommand.builder("getprop").addOperand(key) in get()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/broadcasts/
DBroadcasts.java44 .addOperand("wait-for-broadcast-barrier") in waitForBroadcastBarrier()
49 .addOperand("wait-for-broadcast-idle") in waitForBroadcastBarrier()
66 .addOperand("wait-for-broadcast-dispatch") in waitForBroadcastDispatch()
DActivityIntents.kt53 .addOperand("activity") in <lambda>()
54 .addOperand("activities") in <lambda>()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DUserRestrictionsContext.java87 .addOperand(restriction) in setNoCheck()
88 .addOperand(SET) in setNoCheck()
97 .addOperand(restriction) in unsetNoCheck()
98 .addOperand(UNSET) in unsetNoCheck()
DUserRestrictions.java70 .addOperand(restriction) in set()
71 .addOperand(set ? 1 : 0) in set()
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/utils/
DShellCommandTest.java88 .addOperand("operand"); in build_containsOperand()
97 .addOperand("operand") in build_containsOperands()
98 .addOperand("operand2"); in build_containsOperands()
107 .addOperand("operand") in build_interleavesOptionsAndOperands()
109 .addOperand("operand2"); in build_interleavesOptionsAndOperands()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DUserReference.java198 .addOperand("-w") // Wait for remove-user to complete in remove()
200 .addOperand(mId) in remove()
246 .addOperand("--set-ephemeral-if-in-use") in removeWhenPossible()
247 .addOperand(mId) in removeWhenPossible()
298 .addOperand("-w"); in startUser()
300 builder.addOperand("--display").addOperand(displayId); in startUser()
302 builder.addOperand(mId) // NOTE: id MUST be the last argument in startUser()
345 .addOperand("-f") // Force stop in stop()
346 .addOperand(mId) in stop()
390 .addOperand(isSdkVersionMinimum_R ? "-w" : "") in switchTo()
[all …]
DUserBuilder.java168 commandBuilder.addOperand("--managed"); in create()
183 commandBuilder.addOperand("--for-testing"); in create()
187 commandBuilder.addOperand("--ephemeral"); in create()
190 commandBuilder.addOperand(mName); in create()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DProfileOwnerTest.kt54 .addOperand(TEST_ONLY_DPC_COMPONENT.flattenToString()) in <lambda>()
75 .addOperand(NOT_TEST_ONLY_DPC_COMPONENT.flattenToString()) in <lambda>()
98 .addOperand(NOT_TEST_ONLY_DPC_COMPONENT.flattenToString()) in <lambda>()
119 .addOperand(TEST_ONLY_DPC_COMPONENT.flattenToString()) in <lambda>()
154 .addOperand(TEST_ONLY_DPC_COMPONENT.flattenToString()) in <lambda>()
189 .addOperand(TEST_ONLY_DPC_COMPONENT.flattenToString()) in <lambda>()
219 .addOperand(TEST_ONLY_DPC_COMPONENT.flattenToString()) in <lambda>()
244 .addOperand(NOT_TEST_ONLY_DPC_COMPONENT.flattenToString()) in <lambda>()
DDeviceOwnerTest.kt136 .addOperand(TEST_ONLY_DPC_COMPONENT.flattenToString()) in <lambda>()
162 .addOperand(NOT_TEST_ONLY_DPC_COMPONENT.flattenToString()) in <lambda>()
185 .addOperand(TEST_ONLY_DPC_COMPONENT.flattenToString()) in <lambda>()
220 .addOperand(TEST_ONLY_DPC_COMPONENT.flattenToString()) in <lambda>()
256 .addOperand(TEST_ONLY_DPC_COMPONENT.flattenToString()) in <lambda>()
287 .addOperand(TEST_ONLY_DPC_COMPONENT.flattenToString()) in <lambda>()
310 .addOperand(NOT_TEST_ONLY_DPC_COMPONENT.flattenToString()) in <lambda>()
DAdbProvisioningTest.java63 .addOperand(sComponentName.flattenToShortString()) in setDeviceOwnerUsingAdb_isLogged()
90 .addOperand(sComponentName.flattenToShortString()) in setProfileOwnerUsingAdb_isLogged()
/cts/common/device-side/bedstead/metricsrecorder/src/main/java/com/android/bedstead/metricsrecorder/
DEnterpriseMetricsRecorder.java142 .addOperand(CONFIG_ID) in uploadConfig()
158 ShellCommand.builder("cmd stats config remove").addOperand(configId) in removeConfig()
168 .addOperand(CONFIG_ID) in getReportList()
169 .addOperand("--include_current_bucket") in getReportList()
170 .addOperand("--proto") in getReportList()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DPackage.java140 .addOperand(mPackageName) in installExisting()
256 .addOperand(mPackageName) in uninstall()
312 .addOperand(mPackageName) in enable()
339 .addOperand(mPackageName) in disable()
383 .addOperand(packageName()) in grantPermission()
384 .addOperand(permission) in grantPermission()
488 .addOperand("-A") in runningProcesses()
489 .addOperand("-n") in runningProcesses()
1143 .addOperand(allowed ? "enable" : "disable") in setAllowTestApiAccess()
1144 .addOperand("ALLOW_TEST_API_ACCESS") in setAllowTestApiAccess()
[all …]
DComponentReference.java89 .addOperand(mPackage.packageName() + "/" + mClassName) in enable()
118 .addOperand(mPackage.packageName() + "/" + mClassName) in disable()
DPackages.java292 .addOperand("-r") // Reinstall automatically in install()
293 .addOperand("-t") // Allow test-only install in install()
294 .addOperand(apkFile.getAbsolutePath()) in install()
370 .addOperand("-t") // Allow installing test apks in install()
371 .addOperand("-r") // Replace existing apps in install()
477 .addOperand("-t") // Allow installing test apks in installUsingAdb()
478 .addOperand("-r") // Replace existing apps in installUsingAdb()
DProcessReference.java109 .addOperand(mPackage.packageName()) in crash()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/content/
DSuggestions.kt65 .addOperand("get default-service-enabled") in <lambda>()
66 .addOperand(user.id()) in <lambda>()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/device/
DDevice.java77 .addOperand("KEYCODE_WAKEUP") in wakeUp()
108 .addOperand(stayOn ? "true" : "false") in keepScreenOn()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/notifications/
DNotifications.kt109 .addOperand(command) in <lambda>()
110 .addOperand(listener.componentName().flattenToShortString()) in <lambda>()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/telecom/
DTelecom.kt33 .addOperand(pkg.packageName()) in <lambda>()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/wifi/
DWifi.kt44 .addOperand(if (enabled) "enable" else "disable") in <lambda>()
/cts/hostsidetests/os/test-apps/StaticSharedLibTestApp/src/android/os/lib/app/
DStaticSharedLibsMultiUserTests.java82 cmd.addOperand(apkPath); in installPackageAsUser()
92 cmd.addOperand(packageName); in uninstallPackage()
/cts/hostsidetests/packagemanager/domainverification/device/multiuser/src/com/android/cts/packagemanager/verify/domain/device/multiuser/
DDomainVerificationWorkProfileTestsBase.kt311 .addOperand(packageName) in <lambda>()
318 .addOperand(component.flattenToString()) in <lambda>()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/logcat/
DLogcat.java59 .addOperand("-c") in clear()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DShellCommand.java114 public Builder addOperand(Object value) { in addOperand() method in ShellCommand.Builder

12