Home
last modified time | relevance | path

Searched refs:Type (Results 1 – 25 of 608) sorted by relevance

12345678910>>...25

/packages/apps/Dialer/java/com/android/voicemail/impl/
DOmtpEvents.java31 CONFIG_REQUEST_STATUS_SUCCESS(Type.CONFIGURATION, true),
33 CONFIG_PIN_SET(Type.CONFIGURATION, true),
35 CONFIG_DEFAULT_PIN_REPLACED(Type.CONFIGURATION, true),
36 CONFIG_ACTIVATING(Type.CONFIGURATION, true),
38 CONFIG_ACTIVATING_SUBSEQUENT(Type.CONFIGURATION, true),
39 CONFIG_STATUS_SMS_TIME_OUT(Type.CONFIGURATION),
40 CONFIG_SERVICE_NOT_AVAILABLE(Type.CONFIGURATION),
45 DATA_IMAP_OPERATION_STARTED(Type.DATA_CHANNEL, true),
47 DATA_IMAP_OPERATION_COMPLETED(Type.DATA_CHANNEL, true),
49 DATA_INVALID_PORT(Type.DATA_CHANNEL),
[all …]
/packages/modules/NetworkStack/src/android/net/apf/
DApfV4GeneratorBase.java46 public abstract class ApfV4GeneratorBase<Type extends ApfV4GeneratorBase<Type>> extends
61 final Type self() { in self()
62 return (Type) this; in self()
65 final Type append(Instruction instruction) { in append()
88 public final Type defineLabel(String name) throws IllegalInstructionException { in defineLabel()
95 public final Type addJump(String target) { in addJump()
102 public final Type addNop() { in addNop()
110 public final Type addLoad8(Register r, int ofs) { in addLoad8()
118 public final Type addLoad16(Register r, int ofs) { in addLoad16()
126 public final Type addLoad32(Register r, int ofs) { in addLoad32()
[all …]
DApfV6GeneratorBase.java40 public abstract class ApfV6GeneratorBase<Type extends ApfV6GeneratorBase<Type>> extends
41 ApfV4GeneratorBase<Type> {
62 public final Type addCountAndPass(int cnt) { in addCountAndPass()
72 public final Type addDrop() { in addDrop()
83 public final Type addCountAndDrop(int cnt) { in addCountAndDrop()
94 public final Type addAllocateR0() { in addAllocateR0()
103 public final Type addAllocate(int size) { in addAllocate()
111 public final Type addData() throws IllegalInstructionException { in addData()
119 public final Type addData(byte[] data) throws IllegalInstructionException { in addData()
134 public final Type addExceptionBuffer(int bufSize) throws IllegalInstructionException { in addExceptionBuffer()
[all …]
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DCarSystemBarViewFactory.java47 private static final ArrayMap<Type, Integer> sLayoutMap = setupLayoutMapping();
49 private static ArrayMap<Type, Integer> setupLayoutMapping() { in setupLayoutMapping()
50 ArrayMap<Type, Integer> map = new ArrayMap<>(); in setupLayoutMapping()
51 map.put(Type.TOP, R.layout.car_top_system_bar); in setupLayoutMapping()
52 map.put(Type.TOP_WITH_DOCK, R.layout.car_top_system_bar_dock); in setupLayoutMapping()
53 map.put(Type.TOP_UNPROVISIONED, R.layout.car_top_system_bar_unprovisioned); in setupLayoutMapping()
54 map.put(Type.BOTTOM, R.layout.car_bottom_system_bar); in setupLayoutMapping()
55 map.put(Type.BOTTOM_WITH_DOCK, R.layout.car_bottom_system_bar_dock); in setupLayoutMapping()
56 map.put(Type.BOTTOM_UNPROVISIONED, R.layout.car_bottom_system_bar_unprovisioned); in setupLayoutMapping()
57 map.put(Type.LEFT, R.layout.car_left_system_bar); in setupLayoutMapping()
[all …]
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DStructTest.java36 import com.android.net.module.util.Struct.Type;
96 @Field(order = 0, type = Type.U8, padding = 1)
98 @Field(order = 1, type = Type.U16)
100 @Field(order = 2, type = Type.S32)
102 @Field(order = 3, type = Type.U8)
104 @Field(order = 4, type = Type.U8, padding = 6)
140 @Field(order = 0, type = Type.U8, padding = 1)
142 @Field(order = 1, type = Type.U16)
144 @Field(order = 2, type = Type.S32)
146 @Field(order = 3, type = Type.U8)
[all …]
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/utils/
DMockitoUtils.kt29 fun <Type> whenever(mock: Type) = Mockito.`when`(mock) in whenever()
35 fun <Type> whenever(mock: Type, block: InvocationOnMock.() -> Type) = in whenever()
44 fun <Type> capture(argumentCaptor: ArgumentCaptor<Type>): Type = argumentCaptor.capture() in capture()
55 fun <Type> mockSystemService( in capture()
57 classToMock: Class<Type>, in capture()
58 block: InvocationOnMock.() -> Type in capture()
71 fun <Type> nonNullableEq(value: Type): Type { in nonNullableEq()
83 fun <Type> nonNullableAny(typeClass: Class<Type>, defaultValue: Type): Type { in nonNullableAny()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/
DReportingStatus.java159 if (reportType.equals(DebugReportApi.Type.SOURCE_DESTINATION_LIMIT)) { in setReportType()
161 } else if (reportType.equals(DebugReportApi.Type.SOURCE_NOISED)) { in setReportType()
163 } else if (reportType.equals(DebugReportApi.Type.SOURCE_STORAGE_LIMIT)) { in setReportType()
165 } else if (reportType.equals(DebugReportApi.Type.SOURCE_SUCCESS)) { in setReportType()
167 } else if (reportType.equals(DebugReportApi.Type.SOURCE_UNKNOWN_ERROR)) { in setReportType()
170 DebugReportApi.Type.SOURCE_FLEXIBLE_EVENT_REPORT_VALUE_ERROR)) { in setReportType()
172 } else if (reportType.equals(DebugReportApi.Type.TRIGGER_AGGREGATE_DEDUPLICATED)) { in setReportType()
174 } else if (reportType.equals(DebugReportApi.Type.TRIGGER_AGGREGATE_INSUFFICIENT_BUDGET)) { in setReportType()
176 } else if (reportType.equals(DebugReportApi.Type.TRIGGER_AGGREGATE_NO_CONTRIBUTIONS)) { in setReportType()
178 } else if (reportType.equals(DebugReportApi.Type.TRIGGER_AGGREGATE_REPORT_WINDOW_PASSED)) { in setReportType()
[all …]
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_variation/
Dstdout.txt.expect17 OperandType type0(Type::TENSOR_FLOAT32, {1, 2, 2, 2});
18 OperandType type1(Type::TENSOR_FLOAT32, {2, 2, 2, 2});
19 OperandType type2(Type::TENSOR_FLOAT32, {1});
20 OperandType type3(Type::INT32, {});
90 OperandType type0(Type::TENSOR_FLOAT32, {1, 2, 2, 2});
91 OperandType type1(Type::TENSOR_FLOAT32, {2, 2, 2, 2});
92 OperandType type2(Type::TENSOR_FLOAT32, {1});
93 OperandType type3(Type::INT32, {});
165 OperandType type0(Type::TENSOR_FLOAT32, {1, 2, 2, 2});
166 OperandType type1(Type::TENSOR_FLOAT32, {2, 2, 2, 2});
[all …]
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_implicit_variation/
Dstdout.txt.expect17 OperandType type0(Type::TENSOR_FLOAT32, {1, 2, 2, 2});
18 OperandType type1(Type::TENSOR_FLOAT32, {2, 2, 2, 2});
19 OperandType type2(Type::TENSOR_FLOAT32, {1});
20 OperandType type3(Type::INT32, {});
90 OperandType type0(Type::TENSOR_FLOAT32, {1, 2, 2, 2});
91 OperandType type1(Type::TENSOR_FLOAT32, {2, 2, 2, 2});
92 OperandType type2(Type::TENSOR_FLOAT32, {1});
93 OperandType type3(Type::INT32, {});
165 OperandType type0(Type::TENSOR_FLOAT32, {1, 2, 2, 2});
166 OperandType type1(Type::TENSOR_FLOAT32, {2, 2, 2, 2});
[all …]
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_naming/
Dstdout.txt.expect17 OperandType type0(Type::TENSOR_FLOAT32, {1, 2, 2, 2});
18 OperandType type1(Type::TENSOR_FLOAT32, {2, 2, 2, 2});
19 OperandType type2(Type::TENSOR_FLOAT32, {1});
20 OperandType type3(Type::INT32, {});
90 OperandType type0(Type::TENSOR_FLOAT32, {1, 2, 2, 2});
91 OperandType type1(Type::TENSOR_FLOAT32, {2, 2, 2, 2});
92 OperandType type2(Type::TENSOR_FLOAT32, {1});
93 OperandType type3(Type::INT32, {});
165 OperandType type0(Type::TENSOR_FLOAT32, {1, 2, 2, 2});
166 OperandType type1(Type::TENSOR_FLOAT32, {2, 2, 2, 2});
[all …]
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ui/
DProfilePagerResources.kt38 fun profileTabLabel(profile: Profile.Type): String { in profileTabLabel()
40 Profile.Type.PERSONAL -> devicePolicyResources.personalTabLabel in profileTabLabel()
41 Profile.Type.WORK -> devicePolicyResources.workTabLabel in profileTabLabel()
42 Profile.Type.PRIVATE -> privateTabLabel in profileTabLabel()
46 fun profileTabAccessibilityLabel(type: Profile.Type): String { in profileTabAccessibilityLabel()
48 Profile.Type.PERSONAL -> devicePolicyResources.personalTabAccessibilityLabel in profileTabAccessibilityLabel()
49 Profile.Type.WORK -> devicePolicyResources.workTabAccessibilityLabel in profileTabAccessibilityLabel()
50 Profile.Type.PRIVATE -> privateTabAccessibilityLabel in profileTabAccessibilityLabel()
54 fun noAppsMessage(type: Profile.Type): String { in noAppsMessage()
56 Profile.Type.PERSONAL -> devicePolicyResources.noPersonalApps in noAppsMessage()
[all …]
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/xfrm/
DStructXfrmSelector.java23 import com.android.net.module.util.Struct.Type;
52 @Field(order = 0, type = Type.ByteArray, arraysize = 16)
55 @Field(order = 1, type = Type.ByteArray, arraysize = 16)
58 @Field(order = 2, type = Type.UBE16)
61 @Field(order = 3, type = Type.UBE16)
64 @Field(order = 4, type = Type.UBE16)
67 @Field(order = 5, type = Type.UBE16)
70 @Field(order = 6, type = Type.U16)
73 @Field(order = 7, type = Type.U8, padding = 1)
76 @Field(order = 8, type = Type.U8, padding = 1)
[all …]
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DBlockReportSpamListener.java72 @NonNull final ContactSource.Type contactSourceType) { in onBlockReportSpam()
81 DialerImpression.Type in onBlockReportSpam()
87 ReportingLocation.Type.CALL_LOG_HISTORY, in onBlockReportSpam()
93 .logImpression(DialerImpression.Type.USER_ACTION_BLOCKED_NUMBER); in onBlockReportSpam()
113 @NonNull final ContactSource.Type contactSourceType) { in onBlock()
122 DialerImpression.Type in onBlock()
128 ReportingLocation.Type.CALL_LOG_HISTORY, in onBlock()
134 .logImpression(DialerImpression.Type.USER_ACTION_BLOCKED_NUMBER); in onBlock()
151 final ContactSource.Type contactSourceType, in onUnblock()
161 .logImpression(DialerImpression.Type.REPORT_AS_NOT_SPAM_VIA_UNBLOCK_NUMBER); in onUnblock()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/
DEventReport.java42 private final Type mType;
47 private final Bmessage.Type mMsgType;
53 if (mType != Type.MEMORY_FULL && mType != Type.MEMORY_AVAILABLE) { in EventReport()
73 if (mType != Type.MEMORY_FULL && mType != Type.MEMORY_AVAILABLE) { in EventReport()
129 private Type parseType(String type) throws IllegalArgumentException { in parseType()
130 for (Type t : Type.values()) { in parseType()
139 private Bmessage.Type parseMsgType(String msgType) throws IllegalArgumentException { in parseMsgType()
140 for (Bmessage.Type t : Bmessage.Type.values()) { in parseMsgType()
153 public Type getType() { in getType()
182 public Bmessage.Type getMsgType() { in getMsgType()
[all …]
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/structs/
DStructMf6cctl.java32 @Field(order = 0, type = Type.U16)
34 @Field(order = 1, type = Type.U16)
36 @Field(order = 2, type = Type.U32)
38 @Field(order = 3, type = Type.ByteArray, arraysize = 16)
40 @Field(order = 4, type = Type.U32)
44 @Field(order = 5, type = Type.U16)
46 @Field(order = 6, type = Type.U16)
48 @Field(order = 7, type = Type.U32)
50 @Field(order = 8, type = Type.ByteArray, arraysize = 16)
52 @Field(order = 9, type = Type.U32)
[all …]
DIpv4Header.java23 import com.android.net.module.util.Struct.Type;
50 @Field(order = 0, type = Type.S8)
53 @Field(order = 1, type = Type.S8)
55 @Field(order = 2, type = Type.U16)
57 @Field(order = 3, type = Type.S16)
59 @Field(order = 4, type = Type.S16)
62 @Field(order = 5, type = Type.U8)
64 @Field(order = 6, type = Type.S8)
66 @Field(order = 7, type = Type.S16)
68 @Field(order = 8, type = Type.Ipv4Address)
[all …]
DTcpHeader.java21 import com.android.net.module.util.Struct.Type;
48 @Field(order = 0, type = Type.U16)
50 @Field(order = 1, type = Type.U16)
52 @Field(order = 2, type = Type.U32)
54 @Field(order = 3, type = Type.U32)
56 @Field(order = 4, type = Type.S16)
60 @Field(order = 5, type = Type.U16)
62 @Field(order = 6, type = Type.S16)
64 @Field(order = 7, type = Type.U16)
/packages/apps/Car/SystemUI/src/com/android/systemui/wm/
DDisplaySystemBarsController.java20 import static android.view.WindowInsets.Type.navigationBars;
21 import static android.view.WindowInsets.Type.statusBars;
22 import static android.view.WindowInsets.Type.systemBars;
45 import android.view.WindowInsets.Type.InsetsType;
80 new int[]{WindowInsets.Type.systemBars(), 0};
82 WindowInsets.Type.navigationBars() | WindowInsets.Type.captionBar()
83 | WindowInsets.Type.systemOverlays(),
84 WindowInsets.Type.statusBars()
87 WindowInsets.Type.statusBars() | WindowInsets.Type.captionBar()
88 | WindowInsets.Type.systemOverlays(),
[all …]
/packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/
DTether4Value.java25 import com.android.net.module.util.Struct.Type;
33 @Field(order = 0, type = Type.S32)
37 @Field(order = 1, type = Type.EUI48)
39 @Field(order = 2, type = Type.EUI48)
41 @Field(order = 3, type = Type.UBE16)
44 @Field(order = 4, type = Type.U16)
47 @Field(order = 5, type = Type.ByteArray, arraysize = 16)
50 @Field(order = 6, type = Type.ByteArray, arraysize = 16)
53 @Field(order = 7, type = Type.UBE16)
56 @Field(order = 8, type = Type.UBE16)
[all …]
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DStructRtMsg.java25 import com.android.net.module.util.Struct.Type;
42 @Field(order = 0, type = Type.U8)
44 @Field(order = 1, type = Type.U8)
46 @Field(order = 2, type = Type.U8)
48 @Field(order = 3, type = Type.U8)
50 @Field(order = 4, type = Type.U8)
52 @Field(order = 5, type = Type.U8)
54 @Field(order = 6, type = Type.U8)
56 @Field(order = 7, type = Type.U8)
58 @Field(order = 8, type = Type.U32)
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_implicit_parameter/
Dstdout.txt.expect17 OperandType type0(Type::TENSOR_FLOAT32, {2, 2});
18 OperandType type1(Type::TENSOR_FLOAT32, {1, 2});
19 OperandType type2(Type::TENSOR_FLOAT32, {2, 1});
20 OperandType type3(Type::TENSOR_FLOAT32, {1});
21 OperandType type4(Type::TENSOR_INT32, {1});
22 OperandType type5(Type::INT32, {});
23 OperandType type6(Type::TENSOR_INT32, {2});
99 OperandType type0(Type::TENSOR_FLOAT32, {2, 2});
100 OperandType type1(Type::TENSOR_FLOAT32, {1, 2});
101 OperandType type2(Type::TENSOR_FLOAT32, {2, 1});
[all …]
/packages/apps/Dialer/java/com/android/dialer/historyitemactions/
DHistoryItemActionModulesBuilder.java115 private static final ImmutableMap<Integer, DialerImpression.Type> CALL_LOG_IMPRESSIONS =
116 new ImmutableMap.Builder<Integer, DialerImpression.Type>()
117 .put(Event.ADD_TO_CONTACT, DialerImpression.Type.ADD_TO_A_CONTACT_FROM_CALL_LOG)
118 .put(Event.BLOCK_NUMBER, DialerImpression.Type.CALL_LOG_BLOCK_NUMBER)
119 .put(Event.BLOCK_NUMBER_AND_REPORT_SPAM, DialerImpression.Type.CALL_LOG_BLOCK_REPORT_SPAM)
120 .put(Event.REPORT_NOT_SPAM, DialerImpression.Type.CALL_LOG_REPORT_AS_NOT_SPAM)
123 DialerImpression.Type.IMS_VIDEO_REQUESTED_FROM_CALL_LOG)
126 DialerImpression.Type.LIGHTBRINGER_VIDEO_REQUESTED_FROM_CALL_LOG)
129 DialerImpression.Type.LIGHTBRINGER_NON_CONTACT_VIDEO_REQUESTED_FROM_CALL_LOG)
130 .put(Event.SEND_TEXT_MESSAGE, DialerImpression.Type.CALL_LOG_SEND_MESSAGE)
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/util/
DJobLockHolder.java19 import static com.android.adservices.service.measurement.util.JobLockHolder.Type.AGGREGATE_REPORTIN…
20 import static com.android.adservices.service.measurement.util.JobLockHolder.Type.ASYNC_REGISTRATION…
21 import static com.android.adservices.service.measurement.util.JobLockHolder.Type.ATTRIBUTION_PROCES…
22 import static com.android.adservices.service.measurement.util.JobLockHolder.Type.DEBUG_REPORTING;
23 import static com.android.adservices.service.measurement.util.JobLockHolder.Type.EVENT_REPORTING;
24 import static com.android.adservices.service.measurement.util.JobLockHolder.Type.VERBOSE_DEBUG_REPO…
36 public enum Type { enum in JobLockHolder
45 private static final Map<Type, JobLockHolder> INSTANCES =
67 public static JobLockHolder getInstance(Type type) { in getInstance()
/packages/modules/NeuralNetworks/runtime/operation_converters/
DSubGraphContext.h59 template <typename Type>
60 void copyConstantValueToData(const Operand& operand, Type* data, size_t dataSize);
61 template <typename Type>
62 Type getConstantScalar(const Operand& operand);
92 template <typename Type>
93 void SubGraphContext::copyConstantValueToData(const Operand& operand, Type* data, size_t dataSize) { in copyConstantValueToData()
100 template <typename Type>
101 Type SubGraphContext::getConstantScalar(const Operand& operand) { in getConstantScalar()
102 Type data; in getConstantScalar()
103 copyConstantValueToData(operand, &data, sizeof(Type)); in getConstantScalar()
/packages/apps/Car/Launcher/docklib/tests/src/com/android/car/docklib/
DDockViewModelTest.kt115 assertThat(items[0].type).isEqualTo(DockAppItem.Type.DYNAMIC) in <lambda>()
116 assertThat(items[1].type).isEqualTo(DockAppItem.Type.DYNAMIC) in <lambda>()
117 assertThat(items[2].type).isEqualTo(DockAppItem.Type.DYNAMIC) in <lambda>()
118 assertThat(items[3].type).isEqualTo(DockAppItem.Type.DYNAMIC) in <lambda>()
136 assertThat(items[1].type).isEqualTo(DockAppItem.Type.DYNAMIC) in <lambda>()
138 assertThat(items[3].type).isEqualTo(DockAppItem.Type.DYNAMIC) in <lambda>()
158 type = DockAppItem.Type.DYNAMIC) in <lambda>()
173 type = DockAppItem.Type.DYNAMIC in <lambda>()
190 type = DockAppItem.Type.DYNAMIC in <lambda>()
208 type = DockAppItem.Type.DYNAMIC in <lambda>()
[all …]

12345678910>>...25