Home
last modified time | relevance | path

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

123

/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 …]
DWindowManagerState.java1215 DisplayContent(DisplayContentProto proto) { in DisplayContent() argument
1216 super(proto.rootDisplayArea); in DisplayContent()
1217 mId = proto.id; in DisplayContent()
1218 mFocusedRootTaskId = proto.focusedRootTaskId; in DisplayContent()
1219 mSingleTaskInstance = proto.singleTaskInstance; in DisplayContent()
1220 if (proto.resumedActivity != null) { in DisplayContent()
1221 mResumedActivity = proto.resumedActivity.title; in DisplayContent()
1225 mDpi = proto.dpi; in DisplayContent()
1226 DisplayInfoProto infoProto = proto.displayInfo; in DisplayContent()
1233 final DisplayFramesProto displayFramesProto = proto.displayFrames; in DisplayContent()
[all …]
/cts/tests/tests/proto/src/android/util/proto/cts/
DDebuggingTest.java17 package android.util.proto.cts;
19 import static android.util.proto.ProtoOutputStream.FIELD_COUNT_SINGLE;
20 import static android.util.proto.ProtoOutputStream.FIELD_COUNT_REPEATED;
21 import static android.util.proto.ProtoOutputStream.FIELD_COUNT_PACKED;
22 import static android.util.proto.ProtoOutputStream.FIELD_TYPE_DOUBLE;
23 import static android.util.proto.ProtoOutputStream.FIELD_TYPE_FLOAT;
24 import static android.util.proto.ProtoOutputStream.FIELD_TYPE_INT64;
25 import static android.util.proto.ProtoOutputStream.FIELD_TYPE_UINT64;
26 import static android.util.proto.ProtoOutputStream.FIELD_TYPE_INT32;
27 import static android.util.proto.ProtoOutputStream.FIELD_TYPE_FIXED64;
[all …]
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;
/cts/tests/mediapc/requirements/
DAndroid.bp19 "mpc.proto",
20 "requirements.proto",
26 " $(location mpc.proto)" +
27 " $(location requirements.proto)" +
46 "golang-protobuf-proto",
51 // Regenerate the go proto srcs with these commands
55 // cts/tests/mediapc/requirements/mpc.proto \
56 // cts/tests/mediapc/requirements/requirements.proto
Drequirements.proto20 // cts/tests/mediapc/requirements/mpc.proto \
21 // cts/tests/mediapc/requirements/requirements.proto
25 import "cts/tests/mediapc/requirements/mpc.proto";
55 // test cases proto to be repeated fields. Non-Cts tests need optional fields.
Drequirements.go49 err := proto.Unmarshal(reqBinary, req)
/cts/tests/tests/proto/
DAndroid.bp24 "src/**/*.proto",
26 proto: {
45 "src/**/*.proto",
47 proto: {
/cts/tools/release-parser/
DAndroid.bp26 "proto/**/*.proto",
29 proto: {
33 // LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/proto/
/cts/tests/location/location_gnss/
DAndroid.bp32 proto: {
37 "protos/**/*.proto",
60 proto: {
65 "protos/**/*.proto",
/cts/tests/framework/base/biometrics/src/android/server/biometrics/util/
DBiometricServiceState.java55 public static BiometricServiceState parseFrom(@NonNull BiometricServiceStateProto proto) { in parseFrom() argument
57 for (SensorServiceStateProto sensorServiceState : proto.sensorServiceStates) { in parseFrom()
61 @AuthSessionState int state = proto.authSessionState; in parseFrom()
DSensorStates.java53 public static SchedulerState parseFrom(@NonNull BiometricSchedulerProto proto) { in parseFrom() argument
54 return new SchedulerState(proto.currentOperation, proto.totalOperations, in parseFrom()
55 Ints.asList(proto.recentOperations)); in parseFrom()
142 public static SensorStates parseFrom(@NonNull SensorServiceStateProto proto) { in parseFrom() argument
145 for (SensorStateProto sensorStateProto : proto.sensorStates) { in parseFrom()
/cts/tests/tests/batterysaving/common/
DAndroid.bp23 "proto/**/*.proto",
33 proto: {
/cts/tests/tests/syncmanager/common/
DAndroid.bp23 "proto/**/*.proto",
25 proto: {
/cts/tools/cts-api-coverage/
DAndroid.bp25 "proto/**/*.proto",
28 proto: {
30 local_include_dirs: ["proto"],
/cts/hostsidetests/gwp_asan/common/
DAndroid.bp22 proto: {
26 srcs: ["proto/tombstone.proto"],
/cts/hostsidetests/ui/src/android/ui/cts/
DInstallTimeTest.java29 import com.android.tradefed.metrics.proto.MetricMeasurement.Directionality;
30 import com.android.tradefed.metrics.proto.MetricMeasurement.DoubleValues;
31 import com.android.tradefed.metrics.proto.MetricMeasurement.Measurements;
32 import com.android.tradefed.metrics.proto.MetricMeasurement.Metric;
/cts/hostsidetests/car/
DAndroid.bp28 ":cartelemetryservice-proto-srcs",
29 ":car-service-dump-proto-srcs",
31 proto: {
/cts/tests/tests/car/
DAndroid.bp49 ":cartelemetryservice-proto-srcs",
50 ":rotary-service-proto-source",
51 ":car-service-dump-proto-srcs",
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DCpmsFrameworkLayerStateInfo.java474 public static CpmsFrameworkLayerStateInfo parseProto(CarPowerDumpProto proto) throws Exception { in parseProto() argument
475 int currentState = proto.getCurrentState().getCarPowerManagerState(); in parseProto()
476 String currentPolicyId = proto.getCurrentPowerPolicyId(); in parseProto()
477 String pendingPolicyId = proto.getPendingPowerPolicyId(); in parseProto()
478 String currentPolicyGroupId = proto.getCurrentPowerPolicyGroupId(); in parseProto()
479 PowerComponentHandlerProto componentHandlerProto = proto.getPowerComponentHandler(); in parseProto()
509 PolicyReaderProto policyReaderProto = proto.getPolicyReader(); in parseProto()
510 CLog.i("policy reader proto exists: " + proto.hasPolicyReader()); in parseProto()
512 SilentModeHandlerProto silentModeProto = proto.getSilentModeHandler(); in parseProto()
517 int numberPolicyListeners = proto.getPowerPolicyListeners(); in parseProto()
/cts/hostsidetests/gwp_asan/common/proto/
Dtombstone.proto4 // - system/core/debuggerd/proto/tombstone.proto
12 // platform proto is updated with new fields.
19 // If you add custom fields to this proto, do not use numbers in the reserved range.
/cts/tests/inputmethod/mockspellchecker/
DAndroid.bp26 "src/**/*.proto",
29 proto: {
/cts/common/device-side/bedstead/metricsrecorder/
DAndroid.bp22 // Rewrite the proto packages for use by MetricsRecorder
/cts/common/device-side/bedstead/testapp/
DAndroid.bp10 proto: {
13 srcs: ["src/library/main/proto/testapp_protos.proto"],
107 "src/library/main/proto/testapp_protos.proto",
109 proto: {

123