/test/dittosuite/include/ditto/ |
D | binder.h | 25 using android::BnInterface; 26 using android::BpInterface; 27 using android::IBinder; 28 using android::IInterface; 29 using android::NO_ERROR; 30 using android::Parcel; 31 using android::sp; 32 using android::status_t; 33 using android::String16; 92 android::sp<T> getBinderService(const std::string& service_name) { in getBinderService() [all …]
|
/test/vts-testcase/hal/treble/vintf/libvts_vintf_test_common/ |
D | common.cpp | 20 namespace android::vintf::testing { namespace 56 android::base::Result<Level> GetFcmVersionFromApiLevel(uint64_t api_level) { in GetFcmVersionFromApiLevel() 57 auto it = android::vintf::testing::kApiLevel2FcmMap.find(api_level); in GetFcmVersionFromApiLevel() 58 if (it == android::vintf::testing::kApiLevel2FcmMap.end()) { in GetFcmVersionFromApiLevel() 59 return android::base::Error() in GetFcmVersionFromApiLevel() 66 android::base::Result<void> TestTargetFcmVersion(Level target_fcm_version, in TestTargetFcmVersion() 69 return android::base::Error() in TestTargetFcmVersion() 80 return android::base::Error() << "Target FCM version (device manifest " in TestTargetFcmVersion() 87 return android::base::Error() << "Pre-N devices should not run this test."; in TestTargetFcmVersion() 92 return android::base::Error() in TestTargetFcmVersion() [all …]
|
/test/vts-testcase/hal/treble/vintf/ |
D | utils.h | 34 namespace android { 38 using android::FQName; 39 using android::Hash; 40 using android::sp; 41 using android::hardware::hidl_array; 42 using android::hardware::hidl_string; 43 using android::hardware::hidl_vec; 44 using android::hardware::Return; 45 using android::hidl::base::V1_0::IBase; 46 using android::hidl::manager::V1_0::IServiceManager; [all …]
|
D | VtsTrebleVintfTestBase.cpp | 52 namespace android { namespace 56 using android::FqInstance; 57 using android::FQName; 58 using android::Hash; 59 using android::sp; 60 using android::hardware::hidl_array; 61 using android::hardware::hidl_string; 62 using android::hardware::hidl_vec; 63 using android::hardware::Return; 64 using android::hidl::base::V1_0::IBase; [all …]
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/ |
D | PackageDisabler.java | 17 package com.android.compatibility.common.tradefed.targetprep; 19 import com.android.tradefed.config.Option; 20 import com.android.tradefed.config.OptionClass; 21 import com.android.tradefed.device.DeviceNotAvailableException; 22 import com.android.tradefed.device.ITestDevice; 23 import com.android.tradefed.invoker.TestInformation; 24 import com.android.tradefed.log.LogUtil.CLog; 25 import com.android.tradefed.targetprep.BuildError; 26 import com.android.tradefed.targetprep.TargetSetupError;
|
D | ApkInstrumentationPreparer.java | 17 package com.android.compatibility.common.tradefed.targetprep; 19 import com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper; 20 import com.android.tradefed.config.IConfiguration; 21 import com.android.tradefed.config.IConfigurationReceiver; 22 import com.android.tradefed.config.Option; 23 import com.android.tradefed.config.OptionClass; 24 import com.android.tradefed.device.DeviceNotAvailableException; 25 import com.android.tradefed.device.ITestDevice; 26 import com.android.tradefed.invoker.TestInformation; 27 import com.android.tradefed.log.LogUtil.CLog; [all …]
|
D | NetworkConnectivityChecker.java | 17 package com.android.compatibility.common.tradefed.targetprep; 19 import com.android.compatibility.common.util.MonitoringUtils; 20 import com.android.tradefed.device.DeviceNotAvailableException; 21 import com.android.tradefed.device.ITestDevice; 22 import com.android.tradefed.log.LogUtil.CLog; 23 import com.android.tradefed.suite.checker.ISystemStatusChecker; 24 import com.android.tradefed.suite.checker.StatusCheckerResult; 25 import com.android.tradefed.suite.checker.StatusCheckerResult.CheckStatus;
|
D | ReportLogCollector.java | 17 package com.android.compatibility.common.tradefed.targetprep; 19 import com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper; 20 import com.android.compatibility.common.tradefed.util.CollectorUtil; 21 import com.android.tradefed.build.IBuildInfo; 22 import com.android.tradefed.config.Option; 23 import com.android.tradefed.device.DeviceNotAvailableException; 24 import com.android.tradefed.device.ITestDevice; 25 import com.android.tradefed.device.StubDevice; 26 import com.android.tradefed.invoker.TestInformation; 27 import com.android.tradefed.log.LogUtil.CLog; [all …]
|
D | DynamicConfigPusher.java | 16 package com.android.compatibility.common.tradefed.targetprep; 18 import com.android.annotations.VisibleForTesting; 19 import com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper; 20 import com.android.compatibility.common.util.DynamicConfig; 21 import com.android.compatibility.common.util.DynamicConfigHandler; 22 import com.android.compatibility.common.util.UrlReplacement; 23 import com.android.tradefed.dependencies.ExternalDependency; 24 import com.android.tradefed.dependencies.IExternalDependency; 25 import com.android.tradefed.dependencies.connectivity.NetworkDependency; 26 import com.android.tradefed.build.IBuildInfo; [all …]
|
D | WifiCheck.java | 16 package com.android.compatibility.common.tradefed.targetprep; 18 import com.android.tradefed.config.Option; 19 import com.android.tradefed.config.OptionClass; 20 import com.android.tradefed.device.DeviceNotAvailableException; 21 import com.android.tradefed.device.ITestDevice; 22 import com.android.tradefed.invoker.TestInformation; 23 import com.android.tradefed.log.LogUtil.CLog; 24 import com.android.tradefed.targetprep.BuildError; 25 import com.android.tradefed.targetprep.TargetSetupError;
|
D | InteractiveResultCollector.java | 16 package com.android.compatibility.common.tradefed.targetprep; 18 import com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper; 19 import com.android.tradefed.build.IDeviceBuildInfo; 20 import com.android.tradefed.config.Option; 21 import com.android.tradefed.config.OptionClass; 22 import com.android.tradefed.device.DeviceNotAvailableException; 23 import com.android.tradefed.device.ITestDevice; 24 import com.android.tradefed.invoker.IInvocationContext; 25 import com.android.tradefed.invoker.TestInformation; 26 import com.android.tradefed.log.LogUtil.CLog; [all …]
|
/test/mlts/benchmark/src/com/android/nn/benchmark/util/ |
D | TestExternalStorageActivity.java | 1 package com.android.nn.benchmark.util; 3 import android.app.Activity; 4 import android.content.pm.PackageManager; 5 import android.os.Build; 6 import android.os.Bundle; 7 import android.os.Environment; 8 import android.util.Log; 42 if (activity.checkSelfPermission(android.Manifest.permission.WRITE_EXTERNAL_STORAGE) in testWriteExternalStorage() 48 new String[]{android.Manifest.permission.WRITE_EXTERNAL_STORAGE}, 1); in testWriteExternalStorage()
|
/test/vts-testcase/nbu/src/ |
D | bluetooth_test.py | 28 discovered_devices = device.android.btDiscoverAndGetResults() 50 self.initiator.android.btEnable() 51 self.receiver.android.btEnable() 53 self.receiver.android.btSetName(DEVICE_NAME) 71 self.receiver.android.btRfcommStartServer(rfcomm_name, RFCOMM_UUID)) 74 target_name = self.receiver.android.btGetName() 77 self.receiver.android.btBecomeDiscoverable(DISCOVERABLE_TIME) 84 self.initiator.android.btRfcommConnect(remote_address, RFCOMM_UUID) 90 self.receiver.read_callback = self.receiver.android.btRfcommRead() 91 self.initiator.android.btRfcommWrite(data) [all …]
|
D | local_hotspot_test.py | 33 self.station.android.wifiEnable() 34 self.ap.android.wifiEnable() 46 wifi_on_before = self.ap.android.wifiIsEnabled() 47 start_localhotspot_callback = self.ap.android.startLocalHotspot() 51 network_found = self.station.android.wifiScanAndFindSsid( 54 self.station.android.wifiConnectByUpdate(local_hotspot_info[SSID], 58 self.ap.android.stopLocalHotspot() 60 wifi_on_after = self.ap.android.wifiIsEnabled() 66 self.station.android.wifiDisable() 67 self.ap.android.wifiDisable()
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/ |
D | CompactProtoReporter.java | 16 package com.android.compatibility.common.tradefed.result.suite; 18 import com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper; 19 import com.android.tradefed.config.Option; 20 import com.android.tradefed.config.OptionClass; 21 import com.android.tradefed.invoker.IInvocationContext; 22 import com.android.tradefed.invoker.InvocationContext; 23 import com.android.tradefed.invoker.tracing.CloseableTraceScope; 24 import com.android.tradefed.log.LogUtil.CLog; 25 import com.android.tradefed.result.ITestInvocationListener; 26 import com.android.tradefed.result.ITestSummaryListener; [all …]
|
D | PreviousResultLoader.java | 16 package com.android.compatibility.common.tradefed.result.suite; 18 import com.android.annotations.VisibleForTesting; 19 import com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper; 20 import com.android.compatibility.common.tradefed.build.CompatibilityBuildProvider; 21 import com.android.compatibility.common.tradefed.targetprep.BuildFingerPrintPreparer; 22 import com.android.compatibility.common.util.ResultHandler; 23 import com.android.ddmlib.Log.LogLevel; 24 import com.android.tradefed.build.BuildRetrievalError; 25 import com.android.tradefed.build.IBuildInfo; 26 import com.android.tradefed.build.IBuildProvider; [all …]
|
/test/mlts/benchmark/ |
D | Android.bp | 21 // http://go/android-license-faq 38 "src/com/android/nn/benchmark/core/**/*.java", 39 "src/com/android/nn/benchmark/evaluators/**/*.java", 40 "src/com/android/nn/benchmark/imageprocessors/**/*.java", 41 "src/com/android/nn/benchmark/util/**/*.java", 45 "android.test.runner.stubs", 46 "android.test.base.stubs", 56 "android-common", 61 "android.test.base.stubs", 62 "android.test.runner.stubs", [all …]
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/suite/ |
D | CompatibilityTestSuite.java | 16 package com.android.compatibility.common.tradefed.testtype.suite; 18 import com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper; 19 import com.android.compatibility.common.tradefed.testtype.ISubPlan; 20 import com.android.compatibility.common.tradefed.testtype.SubPlan; 21 import com.android.compatibility.common.tradefed.testtype.retry.RetryFactoryTest; 22 import com.android.ddmlib.Log.LogLevel; 23 import com.android.tradefed.build.IBuildInfo; 24 import com.android.tradefed.config.IConfiguration; 25 import com.android.tradefed.config.Option; 26 import com.android.tradefed.config.Option.Importance; [all …]
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/retry/ |
D | RetryFactoryTest.java | 16 package com.android.compatibility.common.tradefed.testtype.retry; 18 import com.android.compatibility.common.tradefed.build.CompatibilityBuildHelper; 19 import com.android.compatibility.common.tradefed.testtype.suite.CompatibilityTestSuite; 20 import com.android.compatibility.common.tradefed.util.RetryFilterHelper; 21 import com.android.compatibility.common.tradefed.util.RetryType; 22 import com.android.tradefed.build.IBuildInfo; 23 import com.android.tradefed.config.ConfigurationException; 24 import com.android.tradefed.config.IConfiguration; 25 import com.android.tradefed.config.IConfigurationReceiver; 26 import com.android.tradefed.config.Option; [all …]
|
/test/cts-root/tests/permission/src/android/permission/cts-root/ |
D | SignaturePermissionAllowlistTest.java | 17 package android.permission.cts_root; 23 import android.content.Context; 24 import android.content.pm.PackageManager; 25 import android.content.pm.SigningDetails; 26 import android.os.Build; 27 import android.permission.flags.Flags; 28 import android.platform.test.annotations.RequiresFlagsEnabled; 29 import android.platform.test.flag.junit.CheckFlagsRule; 30 import android.platform.test.flag.junit.DeviceFlagsValueProvider; 37 import com.android.compatibility.common.util.SystemUtil; [all …]
|
/test/mlts/benchmark/dogfood/src/com/android/nn/dogfood/ |
D | MainActivity.java | 17 package com.android.nn.dogfood; 19 import android.app.job.JobInfo; 20 import android.app.job.JobScheduler; 21 import android.content.ComponentName; 22 import android.os.Bundle; 23 import android.util.Log; 24 import android.view.View; 25 import android.widget.Button; 26 import android.widget.TextView; 30 import com.android.nn.benchmark.core.TestModelsListLoader; [all …]
|
/test/app_compat/csuite/tools/csuite_test/ |
D | csuite_test.go | 24 pctx = android.NewPackageContext("android/soong/csuite") 28 android.RegisterModuleType("csuite_test", CSuiteTestFactory) 34 Test_config_template *string `android:"path"` 37 Extra_test_config_templates []string `android:"path"` 40 Test_plan_include *string `android:"path"` 51 …SuiteTest *CSuiteTest) buildCopyConfigTemplateCommand(ctx android.ModuleContext, rule *android.Rul… 56 inputPath := android.PathForModuleSrc(ctx, templatePath) 57 …genPath := android.PathForModuleGen(ctx, configDirName, ctx.ModuleName(), inputPath.Rel()+configTe… 63 …est *CSuiteTest) buildCopyExtraConfigTemplatesCommand(ctx android.ModuleContext, rule *android.Rul… 73 func (cSuiteTest *CSuiteTest) buildCopyPlanIncludeCommand(ctx android.ModuleContext, rule *android.… [all …]
|
/test/vts-testcase/kernel/gki/ |
D | ramdisk_utils.cpp | 26 using android::base::ErrnoError; 27 using android::base::Error; 28 using android::base::ReadFullyAtOffset; 29 using android::base::WriteStringToFd; 31 namespace android { namespace 36 android::base::Result<std::unique_ptr<TemporaryFile>> ExtractRamdiskRaw( in ExtractRamdiskRaw() 38 android::base::unique_fd bootimg( in ExtractRamdiskRaw() 75 android::base::Result<std::unique_ptr<TemporaryDir>> ExtractRamdiskToDirectory( in ExtractRamdiskToDirectory() 81 auto decompress_res = android::Lz4DecompressLegacy((*raw_ramdisk_file)->path, in ExtractRamdiskToDirectory() 85 return android::CpioExtract(decompressed.path); in ExtractRamdiskToDirectory()
|
D | vts_dlkm_partition_test.cpp | 88 ASSERT_TRUE(android::base::Readlink(dlkm_symlink, &link_target)) in VerifyDlkmPartition() 102 android::fs_mgr::SlotNumberForSlotSuffix(slot_suffix); in VerifyDlkmPartition() 103 auto lp_metadata = android::fs_mgr::ReadMetadata(super_device, slot_number); in VerifyDlkmPartition() 106 auto lp_partition = android::fs_mgr::FindPartition( in VerifyDlkmPartition() 118 runtime_info = android::vintf::VintfObject::GetRuntimeInfo(); in SetUp() 122 android::base::GetIntProperty("ro.product.first_api_level", 0); in SetUp() 126 const auto board_api_level = android::base::GetIntProperty( in SetUp() 128 const auto board_first_api_level = android::base::GetIntProperty( in SetUp() 130 vendor_api_level = android::base::GetIntProperty( in SetUp() 137 std::shared_ptr<const android::vintf::RuntimeInfo> runtime_info; [all …]
|
/test/mlts/benchmark/src/com/android/nn/crashtest/app/ |
D | NNParallelTestActivity.java | 17 package com.android.nn.crashtest.app; 20 import static com.android.nn.crashtest.app.CrashTestStatus.TestResult.HANG; 24 import android.annotation.SuppressLint; 25 import android.app.Activity; 26 import android.content.Intent; 27 import android.os.Bundle; 28 import android.os.RemoteException; 29 import android.util.Log; 30 import android.view.View; 31 import android.view.WindowManager; [all …]
|