Skip to content

Commit

Permalink
Internal change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 708203806
  • Loading branch information
baishengz authored and copybara-github committed Dec 23, 2024
1 parent 1bda577 commit fbc6451
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 98 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
import com.google.devtools.mobileharness.shared.util.flags.Flags;
import com.google.errorprone.annotations.CanIgnoreReturnValue;
import com.google.wireless.qa.mobileharness.shared.android.AndroidPackages;
import com.google.wireless.qa.mobileharness.shared.android.Sqlite;
import com.google.wireless.qa.mobileharness.shared.api.annotation.ParamAnnotation;
import com.google.wireless.qa.mobileharness.shared.api.device.BaseDevice;
import com.google.wireless.qa.mobileharness.shared.constant.Dimension;
Expand Down Expand Up @@ -88,20 +87,17 @@ public abstract class AndroidDeviceDelegate {
private final AndroidDeviceHelper androidDeviceHelper;

protected final BaseDevice device;
protected final Sqlite sqlite;

protected AndroidDeviceDelegate(
BaseDevice device,
ActivityManager am,
Sqlite sqlite,
AndroidAdbUtil androidAdbUtil,
AndroidSystemStateUtil androidSystemStateUtil,
AndroidPackageManagerUtil androidPackageManagerUtil,
AndroidSystemSettingUtil androidSystemSettingUtil,
AndroidProcessUtil androidProcessUtil) {
this.device = device;
this.am = am;
this.sqlite = sqlite;
this.androidAdbUtil = androidAdbUtil;
this.androidSystemStateUtil = androidSystemStateUtil;
this.androidPackageManagerUtil = androidPackageManagerUtil;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import com.google.devtools.mobileharness.platform.android.sdktool.adb.AndroidAdbUtil;
import com.google.devtools.mobileharness.platform.android.systemsetting.AndroidSystemSettingUtil;
import com.google.devtools.mobileharness.platform.android.systemstate.AndroidSystemStateUtil;
import com.google.wireless.qa.mobileharness.shared.android.Sqlite;
import com.google.wireless.qa.mobileharness.shared.api.device.BaseDevice;

/** Default implementation of {@code AndroidDeviceDelegate}. */
Expand All @@ -33,7 +32,6 @@ public AndroidDeviceDelegateImpl(BaseDevice device) {
this(
device,
new ActivityManager(),
new Sqlite(),
new AndroidAdbUtil(),
new AndroidSystemStateUtil(),
new AndroidPackageManagerUtil(),
Expand All @@ -45,7 +43,6 @@ public AndroidDeviceDelegateImpl(BaseDevice device) {
AndroidDeviceDelegateImpl(
BaseDevice device,
ActivityManager am,
Sqlite sqlite,
AndroidAdbUtil androidAdbUtil,
AndroidSystemStateUtil androidSystemStateUtil,
AndroidPackageManagerUtil androidPackageManagerUtil,
Expand All @@ -54,7 +51,6 @@ public AndroidDeviceDelegateImpl(BaseDevice device) {
super(
device,
am,
sqlite,
androidAdbUtil,
androidSystemStateUtil,
androidPackageManagerUtil,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ java_library(
"//src/java/com/google/devtools/mobileharness/shared/util/flags",
"//src/java/com/google/devtools/mobileharness/shared/util/logging:google_logger",
"//src/java/com/google/wireless/qa/mobileharness/shared/android:android_packages",
"//src/java/com/google/wireless/qa/mobileharness/shared/android:sqlite",
"//src/java/com/google/wireless/qa/mobileharness/shared/api/annotation",
"//src/java/com/google/wireless/qa/mobileharness/shared/api/device:base_device",
"//src/java/com/google/wireless/qa/mobileharness/shared/constant:dimension",
Expand Down Expand Up @@ -71,7 +70,6 @@ java_library(
"//src/java/com/google/devtools/mobileharness/platform/android/sdktool/adb:adb_util",
"//src/java/com/google/devtools/mobileharness/platform/android/systemsetting:system_setting_util",
"//src/java/com/google/devtools/mobileharness/platform/android/systemstate:system_state_util",
"//src/java/com/google/wireless/qa/mobileharness/shared/android:sqlite",
"//src/java/com/google/wireless/qa/mobileharness/shared/api/device:base_device",
"@maven//:com_google_guava_guava",
],
Expand Down
14 changes: 0 additions & 14 deletions src/java/com/google/wireless/qa/mobileharness/shared/android/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,3 @@ java_library(
"@maven//:com_google_guava_guava",
],
)

java_library(
name = "sqlite",
srcs = ["Sqlite.java"],
visibility = [
"//:deviceinfra_pkg",
],
deps = [
"//src/java/com/google/devtools/deviceinfra/platform/android/lightning/internal/sdk/adb",
"//src/java/com/google/wireless/qa/mobileharness/shared:exception",
"//src/java/com/google/wireless/qa/mobileharness/shared/constant:error_code",
"@maven//:com_google_guava_guava",
],
)

This file was deleted.

0 comments on commit fbc6451

Please sign in to comment.