Home
last modified time | relevance | path

Searched refs:strip (Results 1 – 25 of 103) sorted by relevance

12345

/packages/modules/adb/
Dtest_adb.py117 unittest.assertEqual(output.strip(),
399 err.output.strip(),
414 self.assertEqual(output.strip(), b"device")
444 output.strip(),
459 self.assertEqual(output.strip(), b"device")
466 self.assertEqual(output.strip(), b"error: closed")
472 self.assertEqual(output.strip(), b"device")
478 output.strip(),
486 err.output.strip(),
498 return [x.split("\t") for x in output.decode("utf8").strip().splitlines()[1:]]
[all …]
Dtest_device.py48 was_root = self.device.shell(['id', '-un'])[0].strip() == 'root'
82 self.assertEqual('', msg.strip(),
105 self.assertEqual('', msg.strip())
119 self.assertEqual('', msg.strip(),
134 self.assertEqual('', msg.strip())
137 serialno = subprocess.check_output(self.device.adb_cmd + ['get-serialno']).strip()
140 self.assertEqual('', msg.strip(),
153 self.assertEqual('', msg.strip())
156 self.assertEqual('', self.device.forward_list().strip(),
162 port = self.device.forward('tcp:0', 'tcp:8888').strip()
[all …]
/packages/services/Car/tools/GenericCarApiBuilder/scripts/
Dadd_assertPlatformVersionAtLeast.py34 output = subprocess.check_output(java_cmd, shell=True).decode('utf-8').strip().split("\n")
42 tokens = api.strip().split("|")
43 line_number, filepath = int(tokens[1].strip()), tokens[2].strip()
/packages/modules/Bluetooth/system/blueberry/utils/ui_pages/
Dui_node.py167 rid = self.resource_id.strip()
168 clz = self.clz.strip()
169 txt = self.text.strip()
170 ctx = self.content_desc.strip()
/packages/modules/Virtualization/microdroid/initrd/
Dgen_vbmeta_bootconfig.py19 avb_version = stdout.decode("utf-8").split(" ")[1].strip()
30 size += int(line[1].strip()[0:-6])
38 vbmeta_hash = stdout.decode("utf-8").strip()
/packages/services/Car/tools/GenericCarApiBuilder/scripts/api-coverage/
Ddiff_apis_versions.py45 stripped = [arg.split(".")[-1].strip() for arg in args]
89 results.append(f.read().decode('utf-8').strip().split("\n"))
106 build_nums.append(row.strip())
136 … current_data.append(strip_param_prefixes(row.replace("$", ".").replace("\"", "").strip()))
/packages/modules/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/
D_helpers.py44 description = ('\n'.join(map(lambda line: line.rstrip(), description.split('\n')))).strip()
45 docstring = textwrap.dedent(f.__doc__ or '').strip()
77 return re.sub('\s+', ' ', desc).strip()
D_rootcanal.py156 line = line.strip()
170 phy_devices = [int(id.strip()) for id in parts[2].split(",") if id.strip()]
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/
DAdServicesShellCommandHelper.java47 return SystemUtil.runShellCommand(cmd).strip(); in runShellCommand()
70 out = new String(FileUtils.readInputStreamFully(fis)).strip(); in runShellCommandRwe()
73 err = new String(FileUtils.readInputStreamFully(fis)).strip(); in runShellCommandRwe()
/packages/modules/Bluetooth/system/gd/dumpsys/bundler/
Dextract_files_and_call.py41 return [x.strip() for x in f.readlines() if x.strip()]
/packages/apps/Messaging/
DForceProguard.mk30 ifneq ($(strip $(PREVIOUS_FLAG_FILES_USED)), $(strip $(LOCAL_PROGUARD_FLAG_FILES)))
/packages/modules/NeuralNetworks/tools/systrace_parser/parser/test/
Dtest_input.py25 line = line.strip()
38 line = line.strip()
/packages/apps/TV/
Dversion.mk61 ifeq ($(strip $(HAS_BUILD_NUMBER)),false)
97 ifeq ($(strip $(HAS_BUILD_NUMBER)),false)
/packages/apps/Camera2/
Dversion.mk46 ifeq ($(strip $(HAS_BUILD_NUMBER)),false)
88 ifeq ($(strip $(HAS_BUILD_NUMBER)),false)
/packages/apps/Dialer/java/com/android/dialer/proguard/
Dproguard_release.flags16 # This allows proguard to strip isLoggable() blocks containing only debug log
25 # This allows proguard to strip Trace code from release builds.
/packages/apps/Camera2/src/com/android/camera/exif/
DExifData.java82 protected void setStripBytes(int index, byte[] strip) { in setStripBytes() argument
84 mStripBytes.set(index, strip); in setStripBytes()
89 mStripBytes.add(strip); in setStripBytes()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifData.java83 protected void setStripBytes(int index, byte[] strip) { in setStripBytes() argument
85 mStripBytes.set(index, strip); in setStripBytes()
90 mStripBytes.add(strip); in setStripBytes()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifData.java82 protected void setStripBytes(int index, byte[] strip) { in setStripBytes() argument
84 mStripBytes.set(index, strip); in setStripBytes()
89 mStripBytes.add(strip); in setStripBytes()
/packages/modules/Connectivity/thread/demoapp/java/com/android/threadnetwork/demoapp/
DConnectivityToolsFragment.java152 String serverIp = pingServerIpText.getText().toString().strip(); in onViewCreated()
220 String serverIp = udpServerIpText.getText().toString().strip(); in onViewCreated()
221 String serverPort = udpServerPortText.getText().toString().strip(); in onViewCreated()
222 String udpMsg = udpMsgText.getText().toString().strip(); in onViewCreated()
/packages/apps/Settings/tests/Enable16KbTests/src/com/android/test/
DEnable16KbTest.java81 assertEquals("16384", result.strip()); in enable16KbToggle()
86 assertEquals("4096", result.strip()); in enable16KbToggle()
/packages/modules/AdServices/adservices/tests/test-util/side-less/com/android/adservices/common/
DAbstractAdServicesShellCommandHelper.java199 commandStatus = splitStr[i].substring(COMMAND_STATUS.length()).strip(); in parseResultFromDumpsys()
210 out = outBuilder.toString().strip(); in parseResultFromDumpsys()
222 err = errBuilder.toString().strip(); in parseResultFromDumpsys()
/packages/modules/Wifi/
Dwifi_upload_hook.py39 line = line.strip().lower()
89 line = line.strip().lower()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DCustomAudienceScoringSignalsArgumentUtilTest.java83 expectedJsArgValue.strip().replaceAll("\n", ""), in testConversionToScriptArguments()
86 .strip() in testConversionToScriptArguments()
/packages/modules/Connectivity/tools/
Dgen_jarjar.py74 if not line.strip():
93 stripped = line.strip()
/packages/services/Car/service/jni/
DAndroid.bp48 strip: {
105 strip: {

12345