/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/utils/ |
D | ShellCommandTest.java | 52 assertThrows(NullPointerException.class, () -> ShellCommand.builder(null)); in constructBuilder_nullCommand_throwsException() 57 assertThat(ShellCommand.builder(/* command= */ COMMAND)).isNotNull(); in constructBuilder_constructs() 62 assertThat(ShellCommand.builder(/* command= */ COMMAND).build()).isEqualTo(COMMAND); in build_containsCommand() 67 ShellCommand.Builder builder = ShellCommand.builder("command") in build_containsOption() 76 ShellCommand.Builder builder = ShellCommand.builder("command") in build_containsOptions() 87 ShellCommand.Builder builder = ShellCommand.builder("command") in build_containsOperand() 96 ShellCommand.Builder builder = ShellCommand.builder("command") in build_containsOperands() 106 ShellCommand.Builder builder = ShellCommand.builder("command") in build_interleavesOptionsAndOperands() 117 assertThat(ShellCommand.builder(LIST_USERS_COMMAND).execute()) in execute_returnsOutput() 127 () -> ShellCommand.builder(INVALID_COMMAND_LEGACY_OUTPUT).execute()); in execute_invalidCommand_legacyOutput_throwsException() [all …]
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/broadcasts/ |
D | Broadcasts.java | 20 import com.android.bedstead.nene.utils.ShellCommand; 43 String unused = ShellCommand.builder("am") in waitForBroadcastBarrier() 48 String unused = ShellCommand.builder("am") in waitForBroadcastBarrier() 65 String unused = ShellCommand.builder("am") in waitForBroadcastDispatch()
|
D | ActivityIntents.kt | 23 import com.android.bedstead.nene.utils.ShellCommand in <lambda>() 52 ShellCommand.builder("dumpsys") in <lambda>()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/properties/ |
D | Properties.kt | 3 import com.android.bedstead.nene.utils.ShellCommand 13 ShellCommand.builder("setprop") in set() 27 ShellCommand.builder("getprop").addOperand(key) in get()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/telecom/ |
D | DefaultDialerContext.kt | 18 import com.android.bedstead.nene.utils.ShellCommand 26 ShellCommand.builder("telecom set-default-dialer default").execute() in close()
|
D | Telecom.kt | 21 import com.android.bedstead.nene.utils.ShellCommand in <lambda>() 32 ShellCommand.builder("telecom set-default-dialer") in <lambda>()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/dumpsys/ |
D | Dumpsys.kt | 19 import com.android.bedstead.nene.utils.ShellCommand 24 …fun permissions(): String = ShellCommand.builder("dumpsys permissionmgr").validate(String::isNotEm…
|
/cts/common/device-side/bedstead/modules/usb/src/main/kotlin/com/android/bedstead/usb/ |
D | Usb.kt | 20 import com.android.bedstead.nene.utils.ShellCommand 32 return ShellCommand.builder("dumpsys usb") in isConnected()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/device/ |
D | Device.java | 33 import com.android.bedstead.nene.utils.ShellCommand; 76 String unused1 = ShellCommand.builder("input keyevent") in wakeUp() 92 String unused = ShellCommand.builder("wm dismiss-keyguard") in unlock() 107 String unused = ShellCommand.builder("svc power stayon") in keepScreenOn()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | ProfileOwnerTest.kt | 32 import com.android.bedstead.nene.utils.ShellCommand in <lambda>() 52 ShellCommand in <lambda>() 73 ShellCommand in <lambda>() 96 ShellCommand in <lambda>() 114 ShellCommand in <lambda>() 149 ShellCommand in <lambda>() 184 ShellCommand in <lambda>() 217 ShellCommand in <lambda>() 239 ShellCommand in <lambda>()
|
D | AdbProvisioningTest.java | 32 import com.android.bedstead.nene.utils.ShellCommand; 61 ShellCommand.builderForUser( in setDeviceOwnerUsingAdb_isLogged() 88 ShellCommand.builderForUser( in setProfileOwnerUsingAdb_isLogged()
|
D | DeviceOwnerTest.kt | 42 import com.android.bedstead.nene.utils.ShellCommand in <lambda>() 134 ShellCommand in <lambda>() 160 ShellCommand in <lambda>() 183 ShellCommand in <lambda>() 218 ShellCommand in <lambda>() 254 ShellCommand in <lambda>() 285 ShellCommand in <lambda>() 308 ShellCommand in <lambda>()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/ |
D | UserRestrictionsContext.java | 21 import com.android.bedstead.nene.utils.ShellCommand; 86 ShellCommand.builderForUser(mUser, "pm set-user-restriction") in setNoCheck() 96 ShellCommand.builderForUser(mUser, "pm set-user-restriction") in unsetNoCheck()
|
D | UserRestrictions.java | 28 import com.android.bedstead.nene.utils.ShellCommand; 68 ShellCommand.builderForUser(mUser, "pm set-user-restriction") in set()
|
/cts/hostsidetests/os/test-apps/StaticSharedLibTestApp/src/android/os/lib/app/ |
D | StaticSharedLibsMultiUserTests.java | 35 import com.android.bedstead.nene.utils.ShellCommand; 78 ShellCommand.Builder cmd = ShellCommand.builderForUser(user, "pm install"); in installPackageAsUser() 91 ShellCommand.Builder cmd = ShellCommand.builder("pm uninstall"); in uninstallPackage()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/wifi/ |
D | Wifi.kt | 22 import com.android.bedstead.nene.utils.ShellCommand in <lambda>() 43 ShellCommand.builder("svc wifi") in <lambda>()
|
/cts/tests/devicepolicy/internal/src/android/devicepolicy/internal/ |
D | DumpSysTest.kt | 24 import com.android.bedstead.nene.utils.ShellCommand 50 ShellCommand.builder("dumpsys device_policy").validate(String::isNotEmpty).execute() in dumpSys_containsPolicy()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/ |
D | ComponentReference.java | 27 import com.android.bedstead.nene.utils.ShellCommand; 88 ShellCommand.builderForUser(user, "pm enable") in enable() 117 ShellCommand.builderForUser(user, "pm disable") in disable()
|
D | ProcessReference.java | 23 import com.android.bedstead.nene.utils.ShellCommand; 108 ShellCommand.builder("am crash") in crash()
|
D | Package.java | 77 import com.android.bedstead.nene.utils.ShellCommand; 139 String unused = ShellCommand.builderForUser(user, "cmd package install-existing") in installExisting() 255 return ShellCommand.builderForUser(user, "pm uninstall") in uninstall() 311 String unused = ShellCommand.builderForUser(user, "pm enable") in enable() 338 String unused = ShellCommand.builderForUser(user, "pm disable-user") in disable() 381 String unused = ShellCommand.builderForUser(user, "pm grant") in grantPermission() 487 return ShellCommand.builder("ps") in runningProcesses() 700 String dumpsysOutput = ShellCommand.builder("dumpsys package").execute(); in applicationInfoForUserPreQ() 1142 String unused = ShellCommand.builder("am compat") in setAllowTestApiAccess() 1211 String unused = ShellCommand.builder("pm set-app-links") in setAppLinksToAllApproved() [all …]
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/ |
D | UserReference.java | 59 import com.android.bedstead.nene.utils.ShellCommand; 60 import com.android.bedstead.nene.utils.ShellCommand.Builder; 197 String unused = ShellCommand.builder("pm remove-user") in remove() 245 String unused = ShellCommand.builder("pm remove-user") in removeWhenPossible() 297 Builder builder = ShellCommand.builder("am start-user") in startUser() 343 ShellCommand.builder("am stop-user") in stop() 389 ShellCommand.builder("am switch-user") in switchTo() 689 ShellCommand.Builder commandBuilder = ShellCommand.builder("cmd lock_settings") in setLockCredential() 694 ShellCommand.Builder unused = commandBuilder.addOption("--old", existingCredential); in setLockCredential() 696 ShellCommand.Builder unused = commandBuilder.addOption("--old", mLockCredential); in setLockCredential() [all …]
|
D | UserBuilder.java | 32 import com.android.bedstead.nene.utils.ShellCommand; 139 ShellCommand.Builder commandBuilder = ShellCommand.builder("pm create-user"); in create()
|
/cts/common/device-side/bedstead/metricsrecorder/src/main/java/com/android/bedstead/metricsrecorder/ |
D | EnterpriseMetricsRecorder.java | 23 import com.android.bedstead.nene.utils.ShellCommand; 141 ShellCommand.builder("cmd stats config update") in uploadConfig() 158 ShellCommand.builder("cmd stats config remove").addOperand(configId) in removeConfig() 167 byte[] bytes = ShellCommand.builder("cmd stats dump-report") in getReportList()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/content/ |
D | Suggestions.kt | 25 import com.android.bedstead.nene.utils.ShellCommand in <lambda>() 64 ShellCommand.builder("cmd content_suggestions") in <lambda>()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/notifications/ |
D | Notifications.kt | 28 import com.android.bedstead.nene.utils.ShellCommand in <lambda>() 108 ShellCommand.builder("cmd notification") in <lambda>()
|