| /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 ShellCommand.builder("am") in waitForBroadcastBarrier() 48 ShellCommand.builder("am") in waitForBroadcastBarrier() 65 ShellCommand.builder("am") in waitForBroadcastDispatch()
|
| /cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/ |
| D | DefaultDialerContext.java | 19 import com.android.bedstead.nene.utils.ShellCommand; 27 ShellCommand.builder("telecom set-default-dialer default").execute(); in close()
|
| D | Telecom.java | 21 import com.android.bedstead.nene.utils.ShellCommand; 33 ShellCommand.builder("telecom set-default-dialer") in setDefaultDialerForAllUsers()
|
| /cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
| D | ProfileOwnerTest.java | 40 import com.android.bedstead.nene.utils.ShellCommand; 89 ShellCommand in setProfileOwnerViaAdb_noAccounts_testOnly_sets() 111 ShellCommand in setProfileOwnerViaAdb_noAccounts_notTestOnly_sets() 138 ShellCommand in setProfileOwnerViaAdb_invalidAccountOnParent_sets() 156 ShellCommand in setProfileOwnerViaAdb_accountExistsWithNoFeatures_doesNotSet() 187 ShellCommand in setProfileOwnerViaAdb_accountExistsWithDisallowFeature_doesNotSet() 218 ShellCommand in setProfileOwnerViaAdb_accountExistsWithDisallowAndAllowFeatures_doesNotSet() 248 ShellCommand in setProfileOwnerViaAdb_accountExistsWithAllowFeature_testOnly_sets() 272 ShellCommand in setProfileOwnerViaAdb_accountExistsWithAllowFeature_notTestOnly_doesNotSet()
|
| D | DeviceOwnerTest.java | 50 import com.android.bedstead.nene.utils.ShellCommand; 140 ShellCommand in setDeviceOwnerViaAdb_noAccounts_testOnly_sets() 164 ShellCommand in setDeviceOwnerViaAdb_noAccounts_notTestOnly_sets() 189 ShellCommand in setDeviceOwnerViaAdb_accountExistsWithNoFeatures_doesNotSet() 221 ShellCommand in setDeviceOwnerViaAdb_accountExistsWithDisallowFeature_doesNotSet() 253 ShellCommand in setDeviceOwnerViaAdb_accountExistsWithDisallowAndAllowFeatures_doesNotSet() 285 ShellCommand in setDeviceOwnerViaAdb_accountExistsWithAllowFeature_testOnly_sets() 310 ShellCommand in setDeviceOwnerViaAdb_accountExistsWithAllowFeature_notTestOnly_doesNotSet()
|
| /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 ShellCommand.builder("input keyevent") in wakeUp() 92 ShellCommand.builder("wm dismiss-keyguard") in unlock() 107 ShellCommand.builder("svc power stayon") in keepScreenOn()
|
| /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/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 | DevicePolicy.java | 60 import com.android.bedstead.nene.utils.ShellCommand; 102 ShellCommand.Builder command = in setProfileOwner() 103 ShellCommand.builderForUser(user, "dpm set-profile-owner") in setProfileOwner() 210 ShellCommand.Builder command = ShellCommand.builderForUser( in setDeviceOwner() 346 ShellCommand.Builder command = ShellCommand.builderForUser( in setDeviceOwnerPreS() 456 ShellCommand.builder("dumpsys device_policy").execute(); in fillCache()
|
| D | DeviceOwner.java | 41 import com.android.bedstead.nene.utils.ShellCommand; 105 ShellCommand.builderForUser(mUser, "dpm remove-active-admin") in removePreS()
|
| D | ProfileOwner.java | 44 import com.android.bedstead.nene.utils.ShellCommand; 140 ShellCommand.builderForUser(mUser, "dpm remove-active-admin") in removePreS()
|
| /cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/flags/ |
| D | Flags.java | 32 import com.android.bedstead.nene.utils.ShellCommand; 56 ShellCommand.builder("device_config") in setFlagSyncEnabled() 74 return ShellCommand.builder("device_config") in getFlagSyncEnabled()
|
| /cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/wifi/ |
| D | Wifi.java | 26 import com.android.bedstead.nene.utils.ShellCommand; 54 ShellCommand.builder("svc wifi") in setEnabled()
|
| /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 | 70 import com.android.bedstead.nene.utils.ShellCommand; 126 ShellCommand.builderForUser(user, "cmd package install-existing") in installExisting() 232 return ShellCommand.builderForUser(user, "pm uninstall") in uninstall() 287 ShellCommand.builderForUser(user, "pm enable") in enable() 313 ShellCommand.builderForUser(user, "pm disable-user") in disable() 352 ShellCommand.builderForUser(user, "pm grant") in grantPermission() 403 ShellCommand.builderForUser(user, "pm revoke") in denyPermission() 461 return ShellCommand.builder("ps") in runningProcesses() 674 String dumpsysOutput = ShellCommand.builder("dumpsys package").execute(); in applicationInfoForUserPreQ() 1087 ShellCommand.builder("am compat") in setAllowTestApiAccess() [all …]
|
| /cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/ |
| D | UserBuilder.java | 32 import com.android.bedstead.nene.utils.ShellCommand; 127 ShellCommand.Builder commandBuilder = ShellCommand.builder("pm create-user"); in create()
|
| D | UserReference.java | 55 import com.android.bedstead.nene.utils.ShellCommand; 56 import com.android.bedstead.nene.utils.ShellCommand.Builder; 170 ShellCommand.builder("pm remove-user") in remove() 203 ShellCommand.builder("pm remove-user") in removeWhenPossible() 254 Builder builder = ShellCommand.builder("am start-user") in startUser() 301 ShellCommand.builder("am stop-user") in stop() 343 ShellCommand.builder("am switch-user") in switchTo() 642 ShellCommand.Builder commandBuilder = ShellCommand.builder("cmd lock_settings") in setLockCredential() 778 ShellCommand.builder("cmd lock_settings") in clearLockCredential()
|
| /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.java | 30 import com.android.bedstead.nene.utils.ShellCommand; 74 return ShellCommand.builder("cmd content_suggestions")
|
| /cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/notifications/ |
| D | Notifications.java | 34 import com.android.bedstead.nene.utils.ShellCommand; 131 ShellCommand.builder("cmd notification") in setNotificationListenerAccessGranted()
|
| /cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/activities/ |
| D | Activities.java | 45 import com.android.bedstead.nene.utils.ShellCommand; 120 return ShellCommand.builder("dumpsys activity top") in foregroundActivityPreQ()
|
| /cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/logcat/ |
| D | Logcat.java | 26 import com.android.bedstead.nene.utils.ShellCommand; 56 ShellCommand.builder("logcat") in clear()
|
| /cts/hostsidetests/packagemanager/domainverification/device/multiuser/src/com/android/cts/packagemanager/verify/domain/device/multiuser/ |
| D | DomainVerificationWorkProfileTestsBase.kt | 35 import com.android.bedstead.nene.utils.ShellCommand in <lambda>() 310 ShellCommand.builderForUser(user, "pm disable-user") in <lambda>() 317 ShellCommand.builderForUser(user, "pm disable") in <lambda>()
|