Searched refs:changeId (Results 1 – 6 of 6) sorted by relevance
/cts/hostsidetests/appcompat/host/lib/src/android/compat/cts/ |
D | Change.java | 36 public long changeId; field in Change 47 private Change(long changeId, String changeName, int sinceSdk, in Change() argument 51 this.changeId = changeId; in Change() 64 long changeId = 0; in fromString() local 81 changeId = Long.parseLong(matcher.group("changeId")); in fromString() 111 return new Change(changeId, changeName, sinceSdk, disabled, loggingOnly, overridable, in fromString() 118 long changeId = Long.parseLong(element.getAttribute("id")); in fromNode() local 144 return new Change(changeId, changeName, sinceSdk, disabled, loggingOnly, overridable, in fromNode() 151 return Objects.hash(changeId, changeName, sinceSdk, disabled, hasOverrides); in hashCode() 163 return this.changeId == that.changeId in equals() [all …]
|
D | CompatChangeGatingTestCase.java | 407 protected Change getOnDeviceChangeIdConfig(long changeId) throws Exception { 410 if (change.changeId == changeId) {
|
/cts/tests/tests/appop/appopsTestUtilLib/src/android/app/appops/cts/ |
D | AppOpsUtils.kt | 183 fun withEnabledCompatChange(changeId: Long, packageName: String, wrapped: () -> Unit) { in withEnabledCompatChange() 185 runCommand("am compat enable $changeId $packageName") in withEnabledCompatChange() 189 runCommand("am compat reset $changeId $packageName") in withEnabledCompatChange()
|
/cts/tests/app/src/android/app/cts/ |
D | CloseSystemDialogsTest.java | 458 private static void compat(String command, String changeId, String packageName) { in compat() argument 460 String.format("am compat %s %s %s", command, changeId, packageName)); in compat() 463 private static void compat(String command, long changeId, String packageName) { in compat() argument 464 compat(command, Long.toString(changeId), packageName); in compat()
|
/cts/hostsidetests/appcompat/compatchanges/src/com/android/cts/appcompat/ |
D | AppCompatOverridesServiceTest.java | 317 private Change getChange(long changeId) throws Exception { in getChange() argument 318 Change ctsChange = getOnDeviceChangeIdConfig(changeId); in getChange() 319 assertWithMessage("CTS specific change %s not found on device", changeId) in getChange()
|
/cts/hostsidetests/library/src/android/appmanifest/cts/ |
D | UsesNativeLibraryTestCase.java | 328 private void setCompatChange(long changeId, String packageName, CompatChangeState state) 347 cmd.append(changeId).append(" ");
|