Home
last modified time | relevance | path

Searched refs:delete (Results 1 – 25 of 120) sorted by relevance

12345

/tools/acloud/delete/
Ddelete_test.py19 from acloud.delete import delete
37 delete.DeleteLocalCuttlefishInstance(instance_object, delete_report)
62 delete.DeleteLocalGoldfishInstance(mock_instance, delete_report)
90 delete.DeleteLocalGoldfishInstance(mock_instance, delete_report)
97 @mock.patch.object(delete, "DeleteInstances", return_value="")
98 @mock.patch.object(delete, "DeleteRemoteInstances", return_value="")
107 delete.DeleteInstanceByNames(cfg, instances)
113 delete.DeleteInstanceByNames(cfg, instances)
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DZipUtil.java181 zipFile.delete(); in createZip()
184 zipFile.delete(); in createZip()
232 zipFile.delete(); in createZip()
306 gzipFile.delete(); in gzipFile()
309 gzipFile.delete(); in gzipFile()
563 zipFile.delete(); in unzipPartialZipFile()
566 targetFile.delete(); in unzipPartialZipFile()
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DPerfettoPullerMetricCollector.java260 processSrcFile.delete(); in processMetricFile()
277 metricFile.delete(); in processMetricFile()
347 metricOutputFile.delete(); in convertToMetricProto()
361 metricOutputFile.delete(); in convertToMetricProto()
417 perfettoCompressedFile.delete(); in retrieveFile()
422 compressedOutputReceiver.delete(); in retrieveFile()
468 decompressedFile.delete(); in decompressFile()
/tools/acloud/
DREADME.md42 * [delete](#delete)
130 #### **delete**
139 * Delete sole instance or prompt user with list of instances to delete.
141 > $ acloud delete
145 > $ acloud delete --all
149 > $ acloud delete --instance-names [instance-name]
/tools/acloud/internal/lib/
Dgcompute_client_test.py386 resource_mock.delete = mock.MagicMock()
388 resource_mock.delete.assert_called_with(
420 resource_mock.delete = mock.MagicMock(return_value=mock_api)
429 resource_mock.delete.assert_has_calls(calls, any_order=True)
780 resource_mock.delete = mock.MagicMock()
783 resource_mock.delete.assert_called_with(
799 resource_mock.delete = mock.MagicMock(return_value=mock_api)
812 resource_mock.delete.assert_has_calls(calls, any_order=True)
1417 resource_mock.delete = mock.MagicMock(return_value=mock_api)
1426 resource_mock.delete.assert_has_calls(calls, any_order=True)
Dgcompute_client.py366 api = self.service.disks().delete(
395 request = self.service.disks().delete(
567 api = self.service.images().delete(
592 request = self.service.images().delete(
1310 api = self.service.instances().delete(
1331 self.service.instances().delete, project=self._project, zone=zone)
Dgstorage_client_test.py105 resource_mock.delete = mock.MagicMock(return_value=mock_api)
107 resource_mock.delete.assert_called_with(
118 resource_mock.delete = mock.MagicMock(return_value=mock_api)
128 resource_mock.delete.assert_has_calls(calls)
/tools/dexter/slicer/export/slicer/
Dwriter.h38 Section(const Section&) = delete;
39 Section& operator=(const Section&) = delete;
82 Index(const Index&) = delete;
83 Index& operator=(const Index&) = delete;
182 Writer(const Writer&) = delete;
183 Writer& operator=(const Writer&) = delete;
Ddex_ir.h95 void operator delete(void* ptr) { in delete() function
99 void operator delete[](void* ptr) {
104 Node(const Node&) = delete;
105 Node& operator=(const Node&) = delete;
419 DexFile(const DexFile&) = delete;
420 DexFile& operator=(const DexFile&) = delete;
Dcode_ir.h79 Visitor(const Visitor&) = delete;
80 Visitor& operator=(const Visitor&) = delete;
119 Node(const Node&) = delete;
120 Node& operator=(const Node&) = delete;
410 CodeIr(const CodeIr&) = delete;
411 CodeIr& operator=(const CodeIr&) = delete;
Dscopeguard.h52 ScopeGuard(const ScopeGuard&) = delete;
53 ScopeGuard& operator=(const ScopeGuard&) = delete;
54 ScopeGuard& operator=(ScopeGuard&&) = delete;
/tools/tradefederation/core/util-apps/ContentProvider/androidTest/src/android/tradefed/contentprovider/
DManagedFileContentProviderTest.java80 mTestFile.delete(); in tearDown()
83 mTestDir.delete(); in tearDown()
86 mTestSubdir.delete(); in tearDown()
89 mResolver.delete( in tearDown()
128 mResolver.delete( in testDelete()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DAlignmentTest.java470 firstEntry.delete();
508 middleEntry.delete();
565 fooEntry.delete();
620 fooEntry.delete();
680 fooEntry.delete();
748 fooEntry.delete();
DZFileTest.java234 e.delete();
1204 se.delete(); in replaceVeryLargeFileWithBiggerInMiddleOfZip()
1243 se.delete(); in regressionRepackingDoesNotFail()
1247 se.delete(); in regressionRepackingDoesNotFail()
1304 lfEntry.delete(); in cannotAddMoreThan0x7fffExtraField()
1375 lfEntry.delete(); in canAddMoreThan0x7fffExtraField()
/tools/asuite/atest/test_runners/
Drobolectric_test_runner_unittest.py72 event_file = tempfile.NamedTemporaryFile(delete=True)
87 event_file = tempfile.NamedTemporaryFile(delete=True)
108 event_file = tempfile.NamedTemporaryFile(delete=True)
118 event_file = tempfile.NamedTemporaryFile(delete=True)
/tools/tradefederation/core/atest/test_runners/
Drobolectric_test_runner_unittest.py69 event_file = tempfile.NamedTemporaryFile(mode='w+r', delete=True)
84 event_file = tempfile.NamedTemporaryFile(mode='w+r', delete=True)
105 event_file = tempfile.NamedTemporaryFile(mode='w+r', delete=True)
115 event_file = tempfile.NamedTemporaryFile(mode='w+r', delete=True)
/tools/acloud/public/
Dacloud_main.py118 from acloud.delete import delete
119 from acloud.delete import delete_args
419 report = delete.Run(args)
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DStoredEntry.java385 public void delete() throws IOException { in delete() method in StoredEntry
386 delete(true); in delete()
398 void delete(boolean notify) throws IOException { in delete() method in StoredEntry
400 file.delete(this, notify); in delete()
/tools/tradefederation/core/src/com/android/tradefed/device/
DLargeOutputReceiver.java166 delete();
185 public void delete() {
187 mOutStream.delete();
/tools/tradefederation/core/src/com/android/tradefed/util/
DRemoteZip.java102 partialZipFile.delete(); in getZipEntries()
118 partialZipFile.delete(); in getZipEntries()
166 partialZipFile.delete(); in downloadFiles()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DInstallApexModuleTargetPreparerTest.java690 fakeSplitApkApks.delete(); in testSetupAndTearDown_ApkAndApks()
883 fakeSplitApexApks.delete(); in testInstallUsingBundletool()
888 fakeSplitApkApks.delete(); in testInstallUsingBundletool()
1009 fakeSplitApexApks.delete(); in testInstallUsingBundletool_skipModuleNotPreloaded()
1014 fakeSplitApkApks.delete(); in testInstallUsingBundletool_skipModuleNotPreloaded()
/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/
DPerfettoGenericPostProcessorTest.java544 perfettoMetricProtoFile.delete(); in setupPerfettoMetricFile()
564 decompressedFile.delete(); in compressFile()
572 perfettoMetricProtoFile.delete(); in teardown()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DGCSFileDownloaderFuncTest.java91 tmpFile.delete(); in setUp()
132 mStorage.objects().delete(BUCKET_NAME, object.getName()).buildHttpRequest(), in tearDown()
346 .delete(BUCKET_NAME, Paths.get(mRemoteRoot, FOLDER_NAME1, FILE_NAME3).toString()) in testCheckFreshness_folder_removeFile()
DFileUtilFuncTest.java57 file.delete(); in tearDown()
224 assertTrue(destDir.delete()); in testRecursiveCopyToNonexistentTarget()
401 dest.delete(); in testSymlinkDeletion()
/tools/tradefederation/core/src/com/android/tradefed/build/
DFileDownloadCache.java368 cachedFile.delete(); in internalfetchRemoteFile()
412 hardlinkFile.delete(); in copyFile()
462 file.delete(); in incrementAndAdjustCache()

12345