Home
last modified time | relevance | path

Searched refs:shell (Results 1 – 25 of 566) sorted by relevance

12345678910>>...23

/packages/providers/MediaProvider/
Dlogging.sh7 adb shell setprop log.tag.MediaProvider VERBOSE
8 adb shell setprop log.tag.ModernMediaScanner VERBOSE
9 adb shell setprop log.tag.TranscodeHelper VERBOSE
10 adb shell setprop log.tag.FuseDaemon DEBUG
11 adb shell setprop log.tag.libfuse DEBUG
13 adb shell setprop log.tag.MediaProvider INFO
14 adb shell setprop log.tag.ModernMediaScanner INFO
15 adb shell setprop log.tag.FuseDaemon INFO
16 adb shell setprop log.tag.libfuse INFO
21 adb shell setprop log.tag.SQLiteQueryBuilder VERBOSE
[all …]
Ddeploy.sh7 adb shell stop
10 adb shell umount /apex/com.android.mediaprovider*
11 adb shell rm -rf /data/apex/active/com.android.mediaprovider*
12 adb shell rm -rf /data/apex/decompressed/com.android.mediaprovider*
13 adb shell setprop apexd.status '""'
14 adb shell setprop ctl.restart apexd
15 adb shell rm -rf /system/priv-app/MediaProvider
16 adb shell rm -rf /system/priv-app/MediaProviderGoogle
17 adb shell start
/packages/modules/NeuralNetworks/tools/
Dbuild_and_run_benchmark.sh32 if ! adb -d shell test -f /data/local.prop; then
33 adb -d shell 'echo ro.setupwizard.mode=DISABLED > /data/local.prop'
34 adb -d shell 'chmod 644 /data/local.prop'
35 adb -d shell 'settings put global device_provisioned 1*'
36 adb -d shell 'settings put secure user_setup_complete 1'
45 adb -d shell stop
49 adb -d shell start
56 adb -d shell 'echo testing > /data/local/enable_menu_key'
58 adb -d shell settings put system screen_off_timeout 86400000
61 adb -d shell 'pm disable com.google.android.googlequicksearchbox'
[all …]
/packages/services/Car/tools/watchdog/cpufreq/
Dcpufreq_analyze.sh27 adb shell ls "${WATCHDOG_CYCLES_TASK_ANDROID}"
31 adb shell chmod +x "${WATCHDOG_CYCLES_TASK_ANDROID}"
61 adb shell stop
64 for POLICY in $(adb shell ls /sys/devices/system/cpu/cpufreq) ; do
68 adb shell "echo ${GOVERNOR} > ${POLICY_FILE}"
69 adb shell "echo ${SCALING_SPEED} > ${SYSFS_CPUFREQ}/${POLICY}/scaling_min_freq"
70 adb shell "echo ${SCALING_SPEED} > ${SYSFS_CPUFREQ}/${POLICY}/scaling_max_freq"
71 adb shell "echo ${SCALING_SPEED} > ${SPEED_FILE}"
72 SET_GOVERNOR=$(adb shell cat "${POLICY_FILE}")
73 CUR_FREQ=$(adb shell cat "${SYSFS_CPUFREQ}/${POLICY}/cpuinfo_cur_freq")
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/
DCommonShellCommandFactory.java17 package com.android.adservices.service.shell;
19 import static com.android.adservices.service.shell.common.EchoCommand.CMD_ECHO;
20 import static com.android.adservices.service.shell.common.EchoCommand.HELP_ECHO;
21 import static com.android.adservices.service.shell.common.IsAllowedAdSelectionAccessCommand.CMD_IS_…
22 import static com.android.adservices.service.shell.common.IsAllowedAdSelectionAccessCommand.HELP_IS…
23 import static com.android.adservices.service.shell.common.IsAllowedAttributionAccessCommand.CMD_IS_…
24 import static com.android.adservices.service.shell.common.IsAllowedAttributionAccessCommand.HELP_IS…
25 import static com.android.adservices.service.shell.common.IsAllowedCustomAudiencesAccessCommand.CMD…
26 import static com.android.adservices.service.shell.common.IsAllowedCustomAudiencesAccessCommand.HEL…
27 import static com.android.adservices.service.shell.common.IsAllowedProtectedSignalsAccessCommand.CM…
[all …]
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/wmshell/
DCarUiPortraitWMShellModule.java32 import com.android.wm.shell.ShellTaskOrganizer;
33 import com.android.wm.shell.automotive.AutoShellModule;
34 import com.android.wm.shell.automotive.AutoTaskRepository;
35 import com.android.wm.shell.common.DisplayController;
36 import com.android.wm.shell.common.DisplayInsetsController;
37 import com.android.wm.shell.common.ShellExecutor;
38 import com.android.wm.shell.common.SyncTransactionQueue;
39 import com.android.wm.shell.dagger.DynamicOverride;
40 import com.android.wm.shell.dagger.WMShellBaseModule;
41 import com.android.wm.shell.dagger.WMSingleton;
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/
DCommonShellCommandFactoryTest.java17 package com.android.adservices.service.shell;
19 import static com.android.adservices.service.shell.common.EchoCommand.CMD_ECHO;
20 import static com.android.adservices.service.shell.common.EchoCommand.HELP_ECHO;
21 import static com.android.adservices.service.shell.common.IsAllowedAdSelectionAccessCommand.CMD_IS_…
22 import static com.android.adservices.service.shell.common.IsAllowedAdSelectionAccessCommand.HELP_IS…
23 import static com.android.adservices.service.shell.common.IsAllowedAttributionAccessCommand.CMD_IS_…
24 import static com.android.adservices.service.shell.common.IsAllowedAttributionAccessCommand.HELP_IS…
25 import static com.android.adservices.service.shell.common.IsAllowedCustomAudiencesAccessCommand.CMD…
26 import static com.android.adservices.service.shell.common.IsAllowedCustomAudiencesAccessCommand.HEL…
27 import static com.android.adservices.service.shell.common.IsAllowedProtectedSignalsAccessCommand.CM…
[all …]
DAdServicesShellCommandHandlerTest.java17 package com.android.adservices.service.shell;
19 import static com.android.adservices.service.shell.AbstractShellCommand.ERROR_TEMPLATE_INVALID_ARGS;
20 import static com.android.adservices.service.shell.AdServicesShellCommandHandler.CMD_HELP;
21 import static com.android.adservices.service.shell.AdServicesShellCommandHandler.CMD_SHORT_HELP;
22 import static com.android.adservices.service.shell.AdServicesShellCommandHandler.ERROR_EMPTY_COMMAN…
23 import static com.android.adservices.service.shell.common.EchoCommand.CMD_ECHO;
24 import static com.android.adservices.service.shell.common.EchoCommand.HELP_ECHO;
25 import static com.android.adservices.service.shell.common.IsAllowedAdSelectionAccessCommand.HELP_IS…
26 import static com.android.adservices.service.shell.common.IsAllowedAttributionAccessCommand.HELP_IS…
27 import static com.android.adservices.service.shell.common.IsAllowedCustomAudiencesAccessCommand.HEL…
[all …]
/packages/apps/Car/SystemUI/src/com/android/systemui/wmshell/
DCarWMShellModule.java20 import static com.android.wm.shell.Flags.enableAutoTaskStackController;
39 import com.android.wm.shell.ShellTaskOrganizer;
40 import com.android.wm.shell.automotive.AutoShellModule;
41 import com.android.wm.shell.automotive.AutoTaskRepository;
42 import com.android.wm.shell.common.DisplayController;
43 import com.android.wm.shell.common.DisplayInsetsController;
44 import com.android.wm.shell.common.ShellExecutor;
45 import com.android.wm.shell.common.SyncTransactionQueue;
46 import com.android.wm.shell.dagger.DynamicOverride;
47 import com.android.wm.shell.dagger.WMShellBaseModule;
[all …]
/packages/services/Car/tests/SampleCustomInputService/
Dreadme.md15 adb shell am start-foreground-service com.android.car.custominput.sample/.SampleCustomInputService
43 ```shell script
44 adb shell cmd car_service inject-custom-input -d 0 f1
59 ```shell script
60 adb shell cmd car_service inject-custom-input f2
65 ```shell script
66 adb shell cmd car_service inject-custom-input f3
73 ```shell script
74 adb shell cmd car_service inject-custom-input f4
79 ```shell script
[all …]
/packages/apps/TV/tests/tunerscripts/
Dusbtuner-test.sh40 adb shell am force-stop com.android.tv
41 adb shell am start -n com.android.tv/.MainActivity > /dev/null
46 adb shell dumpsys meminfo -d --package com.android.tv.tuner > meminfo-begin.txt
50 adb shell input text $1
51 adb shell input keyevent KEYCODE_DPAD_CENTER
57 adb shell input keyevent DPAD_DOWN
67 adb shell input keyevent DPAD_DOWN
83 adb shell dumpsys meminfo -d --package com.android.tv.tuner > meminfo-end.txt
88 adb shell am start com.android.tv.settings/com.android.tv.settings.MainSettings
99 tracker=$(adb shell getprop tv_use_tracker | tr -d '[[:space:]]')
[all …]
/packages/apps/Car/SystemUI/samples/
DREADME.md9 adb shell cmd overlay enable --user 0 com.android.systemui.rro.bottom
10 adb shell cmd overlay enable --user 0 com.android.systemui.rro.bottom.rounded
11 adb shell cmd overlay enable --user 0 com.android.systemui.rro.right
12 adb shell cmd overlay enable --user 0 com.android.systemui.rro.left
13 db shell cmd overlay enable --user 0 com.android.car.systemui.systembar.transparency.navbar.translu…
14 adb shell cmd overlay enable --user 0 com.android.car.systemui.systembar.transparency.statusbar.tra…
17 adb shell cmd overlay enable --user 0 com.android.systemui.controls.systembar.insets.rro
18 adb shell cmd overlay enable --user 10 com.android.systemui.controls.systembar.insets.rro
20 adb shell dumpsys window | grep mRemoteInsetsControllerControlsSystemBars
22 adb shell cmd overlay enable --user 0 com.android.car.systemui.systembar.persistency.immersive_with…
[all …]
/packages/modules/adb/coverage/
Dgen_coverage.sh13 IP_ADDR=$(adb shell ip route get 0.0.0.0 oif wlan0 | sed -En -e 's/.*src (\S+)\s.*/\1/p')
16 LOCAL_SERIAL=$(adb shell getprop ro.serialno)
27 REMOTE_FETCHED_SERIAL=$(adb -s $REMOTE shell getprop ro.serialno)
50 adb shell rm -rf /data/local/tmp/adb_coverage
51 adb shell mkdir /data/local/tmp/adb_coverage
54 …adb shell LLVM_PROFILE_FILE=/data/local/tmp/adb_coverage/$TEST.profraw /data/nativetest64/$TEST/$T…
59 adb shell logcat -c -G128M
62 adb shell setprop persist.adb.trace_mask 1
66 adb shell killall adbd
69 adb wait-for-device shell rm -rf "/data/misc/trace/*" /data/local/tmp/adb_coverage/
[all …]
/packages/apps/Car/SystemUI/src/com/android/systemui/car/wm/
DAutoDisplayCompatWindowDecorViewModel.java30 import com.android.wm.shell.ShellTaskOrganizer;
31 import com.android.wm.shell.common.DisplayController;
32 import com.android.wm.shell.common.DisplayInsetsController;
33 import com.android.wm.shell.common.ShellExecutor;
34 import com.android.wm.shell.common.SyncTransactionQueue;
35 import com.android.wm.shell.shared.annotations.ShellBackgroundThread;
36 import com.android.wm.shell.shared.annotations.ShellMainThread;
37 import com.android.wm.shell.sysui.ShellInit;
38 import com.android.wm.shell.transition.FocusTransitionObserver;
39 import com.android.wm.shell.windowdecor.CarWindowDecorViewModel;
[all …]
/packages/services/Car/tools/psi_monitor/
Drun_cuj.sh253 IFS=' ' read -r ALL_USER_IDS <<< $(adb shell pm list users | grep "{" | cut -d'{' -f2 \
279 FROM_USER_ID=$(adb shell am get-current-user)
345 adb shell rm -rf ${DEVICE_SCRIPT} ${DEVICE_OUT_DIR}
347 adb shell chmod 755 ${DEVICE_SCRIPT}
348 adb shell mkdir -p ${DEVICE_OUT_DIR}
349 adb shell setprop persist.debug.psi_monitor.cuj_completed false
368 current_user_id=$(adb shell am get-current-user)
374 adb shell am switch-user ${FROM_USER_ID}
386 adb shell cmd car_service hibernate --auto
390 res=$(adb shell pm list packages ${APP_STARTUP_PACKAGE})
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/adselection/
DConsentedDebugShellCommandTest.java17 package com.android.adservices.service.shell.adselection;
19 import static com.android.adservices.service.shell.adselection.AdSelectionShellCommandFactory.COMMA…
20 import static com.android.adservices.service.shell.adselection.ConsentedDebugEnableArgs.EXPIRY_IN_H…
21 import static com.android.adservices.service.shell.adselection.ConsentedDebugEnableArgs.MAX_EXPIRY_…
22 import static com.android.adservices.service.shell.adselection.ConsentedDebugEnableArgs.SECRET_DEBU…
23 import static com.android.adservices.service.shell.adselection.ConsentedDebugEnableArgs.SECRET_DEBU…
24 import static com.android.adservices.service.shell.adselection.ConsentedDebugShellCommand.CMD;
25 import static com.android.adservices.service.shell.adselection.ConsentedDebugShellCommand.DISABLE_E…
26 import static com.android.adservices.service.shell.adselection.ConsentedDebugShellCommand.DISABLE_S…
27 import static com.android.adservices.service.shell.adselection.ConsentedDebugShellCommand.DISABLE_S…
[all …]
/packages/providers/MediaProvider/cli/
DREADME.md2 It's meant to be used similarly to other on-device shell binaries that expose CLIs to Android system
6 ```shell
7 adb shell media_provider version
13 ```shell
14 adb shell /apex/com.android.mediaprovider/bin/media_provider version
18 ```shell
19 alias amp="adb shell /apex/com.android.mediaprovider/bin/media_provider"
22 ```shell
25 adb shell ln -s -t /system/bin /apex/com.android.mediaprovider/bin/media_provider
/packages/modules/adb/
Dtest_device.py47 was_root = self.device.shell(['id', '-un'])[0].strip() == 'root'
287 out = self.device.shell(['cat', '/proc/uptime'])[0].strip()
296 self.assertRaises(adb.ShellError, self.device.shell, ['false'])
299 out = self.device.shell(['echo', 'foo'])[0]
332 output = self.device.shell(['uname'])[0]
448 self.device.shell(proc_query)
507 stdout, _ = self.device.shell(["cat", log_path])
575 result = self.device.shell(
580 result = self.device.shell(
585 result = self.device.shell(shlex.split("'true && echo t'"))[0].strip()
[all …]
/packages/apps/Car/RotaryController/
Dreadme.md11 adb shell settings put secure enabled_accessibility_services com.android.car.rotary/com.android.car…
15 adb shell settings delete secure enabled_accessibility_services
23 adb shell cmd car_service inject-rotary
27 adb shell cmd car_service inject-rotary -c true
31 adb shell cmd car_service inject-rotary -dt 100 50
37 adb shell cmd car_service inject-key 280
44 adb shell cmd car_service inject-key 23
49 adb shell cmd car_service inject-key 23 -a down && sleep 2 && adb shell cmd car_service inject-key …
/packages/providers/ContactsProvider/
Dlogging.sh5 adb shell setprop log.tag.ContactsProvider VERBOSE && adb shell killall android.process.acore
7 adb shell setprop log.tag.SQLiteSlowQueries VERBOSE
8 CONTACTS_UID=`adb shell pm list packages -U | sed -ne 's/^package:com\.android\.providers\.contacts…
9 adb shell setprop db.log.slow_query_threshold.$CONTACTS_UID 0
10 adb shell setprop db.log.detailed 1 # to show more details in the "slow query" log
14 adb shell setprop log.tag.SQLiteConnection VERBOSE
/packages/services/Car/tools/perf/janky-frame-test/
Djanky-frame-test.sh60 done < <(adb shell dumpsys gfxinfo ${MAP_PACKAGE})
70 adb shell am start -n ${NON_MAP_ACTIVITY} &> /dev/null
73 adb shell am force-stop ${MAP_PACKAGE} &> /dev/null
74 adb shell am start -n ${MAP_ACTIVITY} &> /dev/null
79 readonly PS_INFO=($(adb shell ps -ef | fgrep ${MAP_PACKAGE} | fgrep u10))
93 readonly WM_SIZE=$(adb shell wm size)
110 …adb shell input swipe ${LEFT_POS} ${VERTICAL_MID_POS} ${RIGHT_POS} ${VERTICAL_MID_POS} ${SWIPE_DUR…
117 …adb shell input swipe ${RIGHT_POS} ${VERTICAL_MID_POS} ${LEFT_POS} ${VERTICAL_MID_POS} ${SWIPE_DUR…
140 adb shell am start -n ${CAR_ACTIVITY} &> /dev/null
/packages/services/Car/tests/fixed_activity_mode_test/
Dfixed_activity_mode_test.sh16 adb shell dumpsys car_service start-fixed-activity-mode $DISP_ID com.google.android.car.kitchensink…
25 adb shell setprop android.car.garagemodeduration 1
26 adb shell dumpsys car_service suspend
27 adb shell dumpsys car_service resume
31 adb shell dumpsys car_service start-fixed-activity-mode $DISP_ID com.google.android.car.kitchensink…
34 adb shell am start-activity --display $DISP_ID -n com.google.android.car.kitchensink/.EmptyActivity
42 adb shell dumpsys car_service stop-fixed-activity-mode $DISP_ID
43 adb shell am start-activity --display $DISP_ID -n com.google.android.car.kitchensink/.EmptyActivity
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
Dvisualize_random_graph.sh32 DUMPSPEC=$(adb shell getprop debug.nn.fuzzer.dumpspec)
33 LOGLEVEL=$(adb shell getprop debug.nn.fuzzer.log)
44 adb shell setprop debug.nn.fuzzer.dumpspec 1
45 adb shell setprop debug.nn.fuzzer.log silence
49 adb shell /data/local/tmp/NeuralNetworksTest_static_fuzzing --gtest_filter=$TEST_NAME
52 adb shell setprop debug.nn.fuzzer.dumpspec $DUMPSPEC
53 adb shell setprop debug.nn.fuzzer.log $LOGLEVEL
/packages/modules/Connectivity/tools/
Daospify_device.sh38 if $ADB_CMD shell ls /system/apex/$original_apex_name.capex 1>/dev/null 2>/dev/null; then
39 $ADB_CMD shell rm /system/apex/$original_apex_name.capex
44 if ! $ADB_CMD shell ls /system/apex/$original_apex_name.apex 1>/dev/null 2>/dev/null; then
48 $ADB_CMD shell rm /system/apex/$original_apex_name.apex
58 $ADB_CMD shell rm /system/$app_type/$original_apk_name/$original_apk_name*.apk
108 if ! $ADB_CMD wait-for-device shell pm path com.google.android.networkstack 1>/dev/null 2>/dev/null…
133 until [[ $($ADB_CMD wait-for-device shell getprop sys.boot_completed) == 1 ]]; do
151 $ADB_CMD shell 'cat > /system/etc/selinux/plat_mac_permissions.xml'
157 if ! $ADB_CMD shell ls $networkstack_permissions 1>/dev/null 2>/dev/null; then
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/adservicesapi/
DDevSessionCommandTest.java17 package com.android.adservices.service.shell.adservicesapi;
21 import static com.android.adservices.service.shell.adservicesapi.AdServicesApiShellCommandFactory.C…
22 import static com.android.adservices.service.shell.adservicesapi.DevSessionCommand.ARG_ENABLE_SERVE…
23 import static com.android.adservices.service.shell.adservicesapi.DevSessionCommand.ARG_ERASE_DB;
24 import static com.android.adservices.service.shell.adservicesapi.DevSessionCommand.CMD;
25 import static com.android.adservices.service.shell.adservicesapi.DevSessionCommand.ERROR_ALREADY_IN…
26 import static com.android.adservices.service.shell.adservicesapi.DevSessionCommand.ERROR_FAILED_TO_…
27 import static com.android.adservices.service.shell.adservicesapi.DevSessionCommand.ERROR_NEED_ACKNO…
28 import static com.android.adservices.service.shell.adservicesapi.DevSessionCommand.OUTPUT_SUCCESS_F…
29 import static com.android.adservices.service.shell.adservicesapi.DevSessionCommand.SUB_CMD_END;
[all …]

12345678910>>...23