Home
last modified time | relevance | path

Searched refs:proto (Results 1 – 25 of 42) sorted by relevance

12

/cts/tests/tests/keystore/src/android/server/am/
DProtoExtractors.java34 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 …]
DActivityManagerState.java250 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 …]
DWindowManagerState.java312 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/
DProtoExtractors.java34 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 …]
DActivityManagerState.java652 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 …]
DWindowManagerState.java608 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/
DGraphicsStatsValidationTest.java163 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/
DAndroid.bp22 "proto/**/*.proto",
25 proto: {
29 // LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/proto/
/cts/tests/tests/net/ipsec/src/android/net/ipsec/ike/cts/
DPacketUtils.java80 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/
DPacketUtils.java74 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/
DAndroid.bp31 "protos/**/*.proto",
33 proto: {
56 proto: {
61 "protos/**/*.proto",
/cts/tools/cts-api-coverage/
DAndroid.bp21 "proto/**/*.proto",
24 proto: {
26 local_include_dirs: ["proto"],
/cts/tests/tests/syncmanager/common/
DAndroid.bp19 "proto/**/*.proto",
21 proto: {
/cts/tests/tests/batterysaving/common/
DAndroid.bp19 "proto/**/*.proto",
29 proto: {
/cts/tests/tests/proto/src/android/util/proto/cts/
DProtoOutputStreamTagTest.java17 package android.util.proto.cts;
19 import android.util.proto.ProtoOutputStream;
20 import android.util.proto.cts.nano.Test;
DProtoOutputStreamBytesTest.java17 package android.util.proto.cts;
19 import android.util.proto.ProtoOutputStream;
20 import android.util.proto.cts.nano.Test;
DProtoOutputStreamStringTest.java17 package android.util.proto.cts;
19 import android.util.proto.ProtoOutputStream;
20 import android.util.proto.cts.nano.Test;
DProtoOutputStreamBoolTest.java17 package android.util.proto.cts;
19 import android.util.proto.ProtoOutputStream;
20 import android.util.proto.cts.nano.Test;
DProtoOutputStreamSInt32Test.java17 package android.util.proto.cts;
19 import android.util.proto.ProtoOutputStream;
20 import android.util.proto.cts.nano.Test;
DProtoOutputStreamUInt32Test.java17 package android.util.proto.cts;
19 import android.util.proto.ProtoOutputStream;
20 import android.util.proto.cts.nano.Test;
DProtoOutputStreamFixed32Test.java17 package android.util.proto.cts;
19 import android.util.proto.ProtoOutputStream;
20 import android.util.proto.cts.nano.Test;
DProtoOutputStreamEnumTest.java17 package android.util.proto.cts;
19 import android.util.proto.ProtoOutputStream;
20 import android.util.proto.cts.nano.Test;
DProtoOutputStreamSFixed32Test.java17 package android.util.proto.cts;
19 import android.util.proto.ProtoOutputStream;
20 import android.util.proto.cts.nano.Test;
DProtoOutputStreamInt32Test.java17 package android.util.proto.cts;
19 import android.util.proto.ProtoOutputStream;
20 import android.util.proto.cts.nano.Test;
/cts/tests/tests/proto/
DAndroid.bp20 "src/**/*.proto",
22 proto: {

12