/cts/tests/tests/keystore/src/android/server/am/ |
D | ProtoExtractors.java | 34 public static Configuration extract(ConfigurationProto proto) { in extract() argument 36 if (proto == null) { in extract() 39 config.windowConfiguration.setTo(extract(proto.windowConfiguration)); in extract() 40 config.densityDpi = proto.densityDpi; in extract() 41 config.orientation = proto.orientation; in extract() 42 config.screenHeightDp = proto.screenHeightDp; in extract() 43 config.screenWidthDp = proto.screenWidthDp; in extract() 44 config.smallestScreenWidthDp = proto.smallestScreenWidthDp; in extract() 45 config.screenLayout = proto.screenLayout; in extract() 46 config.uiMode = proto.uiMode; in extract() [all …]
|
D | ActivityManagerState.java | 250 ActivityDisplay(ActivityDisplayProto proto, ActivityManagerState amState) { in ActivityDisplay() argument 251 super(proto.configurationContainer); in ActivityDisplay() 252 mId = proto.id; in ActivityDisplay() 253 for (int i = 0; i < proto.stacks.length; i++) { in ActivityDisplay() 254 ActivityStack activityStack = new ActivityStack(proto.stacks[i]); in ActivityDisplay() 272 ActivityStack(ActivityStackProto proto) { in ActivityStack() argument 273 super(proto.configurationContainer); in ActivityStack() 274 mStackId = proto.id; in ActivityStack() 275 mDisplayId = proto.displayId; in ActivityStack() 276 mBounds = extract(proto.bounds); in ActivityStack() [all …]
|
D | WindowManagerState.java | 312 WindowStack(StackProto proto) { in WindowStack() argument 313 super(proto.windowContainer); in WindowStack() 314 mStackId = proto.id; in WindowStack() 315 mFullscreen = proto.fillsParent; in WindowStack() 316 mBounds = extract(proto.bounds); in WindowStack() 317 for (int i = 0; i < proto.tasks.length; i++) { in WindowStack() 318 TaskProto taskProto = proto.tasks[i]; in WindowStack() 323 mWindowAnimationBackgroundSurfaceShowing = proto.animationBackgroundSurfaceIsDimming; in WindowStack() 341 WindowTask(TaskProto proto) { in WindowTask() argument 342 super(proto.windowContainer); in WindowTask() [all …]
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ProtoExtractors.java | 34 public static Configuration extract(ConfigurationProto proto) { in extract() argument 36 if (proto == null) { in extract() 39 config.windowConfiguration.setTo(extract(proto.windowConfiguration)); in extract() 40 config.densityDpi = proto.densityDpi; in extract() 41 config.orientation = proto.orientation; in extract() 42 config.screenHeightDp = proto.screenHeightDp; in extract() 43 config.screenWidthDp = proto.screenWidthDp; in extract() 44 config.smallestScreenWidthDp = proto.smallestScreenWidthDp; in extract() 45 config.screenLayout = proto.screenLayout; in extract() 46 config.uiMode = proto.uiMode; in extract() [all …]
|
D | ActivityManagerState.java | 652 ActivityDisplay(ActivityDisplayProto proto, ActivityManagerState amState) { in ActivityDisplay() argument 653 super(proto.configurationContainer); in ActivityDisplay() 654 mId = proto.id; in ActivityDisplay() 655 mFocusedStackId = proto.focusedStackId; in ActivityDisplay() 656 mSingleTaskInstance = proto.singleTaskInstance; in ActivityDisplay() 657 if (proto.resumedActivity != null) { in ActivityDisplay() 658 mResumedActivity = proto.resumedActivity.title; in ActivityDisplay() 661 for (int i = 0; i < proto.stacks.length; i++) { in ActivityDisplay() 662 ActivityStack activityStack = new ActivityStack(proto.stacks[i]); in ActivityDisplay() 698 ActivityStack(ActivityStackProto proto) { in ActivityStack() argument [all …]
|
D | WindowManagerState.java | 608 WindowStack(StackProto proto) { in WindowStack() argument 609 super(proto.windowContainer); in WindowStack() 610 mStackId = proto.id; in WindowStack() 611 mFullscreen = proto.fillsParent; in WindowStack() 612 mBounds = extract(proto.bounds); in WindowStack() 613 for (int i = 0; i < proto.tasks.length; i++) { in WindowStack() 614 TaskProto taskProto = proto.tasks[i]; in WindowStack() 619 mWindowAnimationBackgroundSurfaceShowing = proto.animationBackgroundSurfaceIsDimming; in WindowStack() 620 mAnimatingBounds = proto.animatingBounds; in WindowStack() 644 WindowTask(TaskProto proto) { in WindowTask() argument [all …]
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | GraphicsStatsValidationTest.java | 163 private void validate(GraphicsStatsProto proto) { in validate() argument 164 assertNotNull(proto.getPackageName()); in validate() 165 assertFalse(proto.getPackageName().isEmpty()); in validate() 166 assertTrue(proto.getVersionCode() > 0); in validate() 167 assertTrue(proto.getStatsStart() > 0); in validate() 168 assertTrue(proto.getStatsEnd() > 0); in validate() 169 assertTrue(proto.hasSummary()); in validate() 170 GraphicsStatsJankSummaryProto summary = proto.getSummary(); in validate() 183 assertTrue(proto.getHistogramCount() > 0); in validate() 185 int histogramTotal = countTotalFrames(proto); in validate() [all …]
|
/cts/tools/release-parser/ |
D | Android.bp | 22 "proto/**/*.proto", 25 proto: { 29 // LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/proto/
|
/cts/tests/tests/net/ipsec/src/android/net/ipsec/ike/cts/ |
D | PacketUtils.java | 80 public final byte proto; field in PacketUtils.IpHeader 85 public IpHeader(int proto, InetAddress src, InetAddress dst, Payload payload) { in IpHeader() argument 86 this.proto = (byte) proto; in IpHeader() 100 public Ip4Header(int proto, Inet4Address src, Inet4Address dst, Payload payload) { in Ip4Header() argument 101 super(proto, src, dst, payload); in Ip4Header() 132 bb.put(proto); in buildHeader() 188 bb.put(proto); in getPacketBytes() 295 newChecksum = addAndWrapForChecksum(newChecksum, header.proto); in calculateChecksum()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | PacketUtils.java | 74 public final byte proto; field in PacketUtils.IpHeader 79 public IpHeader(int proto, InetAddress src, InetAddress dst, Payload payload) { in IpHeader() argument 80 this.proto = (byte) proto; in IpHeader() 94 public Ip4Header(int proto, Inet4Address src, Inet4Address dst, Payload payload) { in Ip4Header() argument 95 super(proto, src, dst, payload); in Ip4Header() 126 bb.put(proto); in buildHeader() 182 bb.put(proto); in getPacketBytes() 289 newChecksum = addAndWrapForChecksum(newChecksum, header.proto); in calculateChecksum()
|
/cts/tests/tests/location/ |
D | Android.bp | 31 "protos/**/*.proto", 33 proto: { 56 proto: { 61 "protos/**/*.proto",
|
/cts/tools/cts-api-coverage/ |
D | Android.bp | 21 "proto/**/*.proto", 24 proto: { 26 local_include_dirs: ["proto"],
|
/cts/tests/tests/syncmanager/common/ |
D | Android.bp | 19 "proto/**/*.proto", 21 proto: {
|
/cts/tests/tests/batterysaving/common/ |
D | Android.bp | 19 "proto/**/*.proto", 29 proto: {
|
/cts/tests/tests/proto/src/android/util/proto/cts/ |
D | ProtoOutputStreamTagTest.java | 17 package android.util.proto.cts; 19 import android.util.proto.ProtoOutputStream; 20 import android.util.proto.cts.nano.Test;
|
D | ProtoOutputStreamBytesTest.java | 17 package android.util.proto.cts; 19 import android.util.proto.ProtoOutputStream; 20 import android.util.proto.cts.nano.Test;
|
D | ProtoOutputStreamStringTest.java | 17 package android.util.proto.cts; 19 import android.util.proto.ProtoOutputStream; 20 import android.util.proto.cts.nano.Test;
|
D | ProtoOutputStreamBoolTest.java | 17 package android.util.proto.cts; 19 import android.util.proto.ProtoOutputStream; 20 import android.util.proto.cts.nano.Test;
|
D | ProtoOutputStreamSInt32Test.java | 17 package android.util.proto.cts; 19 import android.util.proto.ProtoOutputStream; 20 import android.util.proto.cts.nano.Test;
|
D | ProtoOutputStreamUInt32Test.java | 17 package android.util.proto.cts; 19 import android.util.proto.ProtoOutputStream; 20 import android.util.proto.cts.nano.Test;
|
D | ProtoOutputStreamFixed32Test.java | 17 package android.util.proto.cts; 19 import android.util.proto.ProtoOutputStream; 20 import android.util.proto.cts.nano.Test;
|
D | ProtoOutputStreamEnumTest.java | 17 package android.util.proto.cts; 19 import android.util.proto.ProtoOutputStream; 20 import android.util.proto.cts.nano.Test;
|
D | ProtoOutputStreamSFixed32Test.java | 17 package android.util.proto.cts; 19 import android.util.proto.ProtoOutputStream; 20 import android.util.proto.cts.nano.Test;
|
D | ProtoOutputStreamInt32Test.java | 17 package android.util.proto.cts; 19 import android.util.proto.ProtoOutputStream; 20 import android.util.proto.cts.nano.Test;
|
/cts/tests/tests/proto/ |
D | Android.bp | 20 "src/**/*.proto", 22 proto: {
|