Home
last modified time | relevance | path

Searched refs:TYPE (Results 1 – 25 of 410) sorted by relevance

12345678910>>...17

/packages/modules/Connectivity/staticlibs/native/bpf_headers/include/bpf/
Dbpf_helpers.h238 #define DEFINE_BPF_MAP_BASE(the_map, TYPE, keysize, valuesize, num_entries, \ argument
243 .type = BPF_MAP_TYPE_##TYPE, \
316 #define DEFINE_BPF_MAP_EXT(the_map, TYPE, KeyType, ValueType, num_entries, usr, grp, md, \ argument
319 DEFINE_BPF_MAP_BASE(the_map, TYPE, sizeof(KeyType), sizeof(ValueType), \
323 BPF_MAP_ASSERT_OK(BPF_MAP_TYPE_##TYPE, (num_entries), (md)); \
356 #define DEFINE_BPF_MAP_UGM(the_map, TYPE, KeyType, ValueType, num_entries, usr, grp, md) \ argument
357 DEFINE_BPF_MAP_EXT(the_map, TYPE, KeyType, ValueType, num_entries, usr, grp, md, \
362 #define DEFINE_BPF_MAP(the_map, TYPE, KeyType, ValueType, num_entries) \ argument
363 DEFINE_BPF_MAP_UGM(the_map, TYPE, KeyType, ValueType, num_entries, \
366 #define DEFINE_BPF_MAP_RO(the_map, TYPE, KeyType, ValueType, num_entries, gid) \ argument
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcp/
DAvrcpBipObexServerTest.java223 mRequest.setHeader(HeaderSet.TYPE, TYPE_BAD); in testOnGetBadType()
232 mRequest.setHeader(HeaderSet.TYPE, null); in testOnGetNoType()
241 mRequest.setHeader(HeaderSet.TYPE, TYPE_GET_LINKED_THUMBNAIL); in testGetLinkedThumbnailWithValidHandle()
252 mRequest.setHeader(HeaderSet.TYPE, TYPE_GET_LINKED_THUMBNAIL); in testGetLinkedThumbnailWithValidUnstoredHandle()
265 mRequest.setHeader(HeaderSet.TYPE, TYPE_GET_LINKED_THUMBNAIL); in testGetLinkedThumbnailWithInvalidHandle()
278 mRequest.setHeader(HeaderSet.TYPE, TYPE_GET_LINKED_THUMBNAIL); in testGetLinkedThumbnailWithNullHandle()
290 mRequest.setHeader(HeaderSet.TYPE, TYPE_GET_IMAGE_PROPERTIES); in testGetImagePropertiesWithValidHandle()
301 mRequest.setHeader(HeaderSet.TYPE, TYPE_GET_IMAGE_PROPERTIES); in testGetImagePropertiesWithValidUnstoredHandle()
314 mRequest.setHeader(HeaderSet.TYPE, TYPE_GET_IMAGE_PROPERTIES); in testGetImagePropertiesWithInvalidHandle()
327 mRequest.setHeader(HeaderSet.TYPE, TYPE_GET_IMAGE_PROPERTIES); in testGetImagePropertiesWithNullHandle()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/res/raw/
Dunknown_number_call.vcf5 TEL;TYPE=0:
6 X-IRMC-CALL-DATETIME;TYPE=RECEIVED:20170101T010200
12 TEL;TYPE=0:Unknown
13 X-IRMC-CALL-DATETIME;TYPE=RECEIVED:20170101T010300
/packages/apps/Contacts/tests/src/com/android/contacts/compat/
DCompatUtilsTest.java78 Integer.TYPE)); in testIsMethodAvailable_OverloadedMethod()
83 Boolean.TYPE)); in testIsMethodAvailable_NonexistentOverload()
108 new Class<?>[] {Integer.TYPE}, new Object[] {1})); in testInvokeMethod_MethodWithNoParameters_WithParameters()
113 new Class<?>[] {Integer.TYPE}, new Object[] {})); in testInvokeMethod_MethodWithParameters_WithEmptyParameterList()
118 new Class<?>[] {Integer.TYPE}, new Object[] {2})); in testInvokeMethod_InvokeSimpleMethod()
/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/
DDataItemTests.java116 mValues1.put(Email.TYPE, Email.TYPE_MOBILE); in testDataItemCollapsing_email()
117 mValues2.put(Email.TYPE, Email.TYPE_HOME); in testDataItemCollapsing_email()
118 mValues3.put(Email.TYPE, Email.TYPE_WORK); in testDataItemCollapsing_email()
148 mValues1.put(Event.TYPE, Event.TYPE_CUSTOM); in testDataItemCollapsing_event()
149 mValues2.put(Event.TYPE, Event.TYPE_CUSTOM); in testDataItemCollapsing_event()
150 mValues3.put(Event.TYPE, Event.TYPE_CUSTOM); in testDataItemCollapsing_event()
151 mValues4.put(Event.TYPE, Event.TYPE_ANNIVERSARY); in testDataItemCollapsing_event()
301 mValues1.put(Phone.TYPE, Phone.TYPE_MOBILE); in testDataItemCollapsing_phone()
302 mValues2.put(Phone.TYPE, Phone.TYPE_HOME); in testDataItemCollapsing_phone()
303 mValues3.put(Phone.TYPE, Phone.TYPE_WORK); in testDataItemCollapsing_phone()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapContentObserver.java61 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
170 private TYPE mSmsType;
199 Sms.TYPE,
206 new String[] {Sms._ID, Sms.THREAD_ID, Sms.TYPE, Sms.READ};
210 Sms._ID, Sms.THREAD_ID, Sms.ADDRESS, Sms.BODY, Sms.DATE, Sms.READ, Sms.TYPE,
276 if (mAccount.getType() == TYPE.IM) { in BluetoothMapContentObserver()
476 private TYPE getSmsType() { in getSmsType()
477 TYPE smsType = null; in getSmsType()
481 smsType = TYPE.SMS_CDMA; in getSmsType()
483 smsType = TYPE.SMS_GSM; in getSmsType()
[all …]
DBluetoothMapAccountLoader.java35 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
92 BluetoothMapUtils.TYPE msgType = in parsePackages()
96 ? BluetoothMapUtils.TYPE.EMAIL in parsePackages()
97 : BluetoothMapUtils.TYPE.IM; in parsePackages()
137 ResolveInfo rInfo, boolean includeIcon, BluetoothMapUtils.TYPE type) { in createAppItem()
187 if (app.getType() == TYPE.IM) { in parseAccounts()
240 if (app.getType() == TYPE.IM) { in parseAccounts()
DBluetoothMapUtils.java112 public enum TYPE { enum in BluetoothMapUtils
119 private static TYPE[] sAllValues = values();
121 public static TYPE fromOrdinal(int n) { in fromOrdinal()
274 public static String getMapHandle(long cpHandle, TYPE messageType) { in getMapHandle()
317 public static String getMapConvoHandle(long cpHandle, TYPE messageType) { in getMapConvoHandle()
362 public static TYPE getMsgTypeFromHandle(String mapHandle) { in getMsgTypeFromHandle()
366 return TYPE.MMS; in getMsgTypeFromHandle()
369 return TYPE.EMAIL; in getMsgTypeFromHandle()
372 return TYPE.SMS_GSM; in getMsgTypeFromHandle()
375 return TYPE.SMS_CDMA; in getMsgTypeFromHandle()
[all …]
DBluetoothMapAccountItem.java34 private final BluetoothMapUtils.TYPE mType;
46 BluetoothMapUtils.TYPE appType, in BluetoothMapAccountItem()
67 BluetoothMapUtils.TYPE appType) { in create()
78 BluetoothMapUtils.TYPE appType, in create()
232 public BluetoothMapUtils.TYPE getType() { in getType()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DLegacyContactsProviderTest.java164 values.put(Organizations.TYPE, Organizations.TYPE_WORK); in testPrimaryOrganization()
171 values.put(Organizations.TYPE, Organizations.TYPE_WORK); in testPrimaryOrganization()
207 values.put(Phones.TYPE, Phones.TYPE_WORK); in testPrimaryPhone()
214 values.put(Phones.TYPE, Phones.TYPE_WORK); in testPrimaryPhone()
256 values.put(ContactMethods.TYPE, ContactMethods.TYPE_HOME); in testEmailCrud()
279 values.put(ContactMethods.TYPE, ContactMethods.TYPE_HOME); in testPrimaryEmail()
288 values.put(ContactMethods.TYPE, ContactMethods.TYPE_WORK); in testPrimaryEmail()
348 values.put(Organizations.TYPE, Organizations.TYPE_CUSTOM); in testOrganizationsInsert()
358 assertPersonIdConstraint(Organizations.CONTENT_URI, Organizations.TYPE, in testOrganizationsInsert()
362 Organizations.TYPE, Organizations.TYPE_CUSTOM, Organizations.TYPE_OTHER, in testOrganizationsInsert()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactModifierTests.java98 phoneKind.typeColumn = Phone.TYPE; in MockContactsSource()
936 mockNameValues.put(Event.TYPE, Event.TYPE_BIRTHDAY); in testMigrateEventCommon()
948 assertEquals(Event.TYPE_BIRTHDAY, outputValues.getAsInteger(Event.TYPE).intValue()); in testMigrateEventCommon()
961 mockNameValues.put(Event.TYPE, Event.TYPE_BIRTHDAY); in testMigrateEventFromGoogleToExchange2()
967 mockNameValues.put(Event.TYPE, Event.TYPE_ANNIVERSARY); in testMigrateEventFromGoogleToExchange2()
980 assertEquals(Event.TYPE_BIRTHDAY, outputValues.getAsInteger(Event.TYPE).intValue()); in testMigrateEventFromGoogleToExchange2()
991 mockNameValues.put(Email.TYPE, Email.TYPE_CUSTOM); in testMigrateEmailFromGoogleToExchange()
997 mockNameValues.put(Email.TYPE, Email.TYPE_HOME); in testMigrateEmailFromGoogleToExchange()
1002 mockNameValues.put(Email.TYPE, Email.TYPE_WORK); in testMigrateEmailFromGoogleToExchange()
1008 mockNameValues.put(Email.TYPE, Email.TYPE_OTHER); in testMigrateEmailFromGoogleToExchange()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/
DSystemBuildProperties.java24 return Build.TYPE.equals("eng"); in isEngBuild()
29 return Build.TYPE.equals("userdebug"); in isUserdebugBuild()
34 return Build.TYPE.equals("user"); in isUserBuild()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSystemBuildProperties.java27 return Build.TYPE.equals("eng"); in isEngBuild()
32 return Build.TYPE.equals("userdebug"); in isUserdebugBuild()
37 return Build.TYPE.equals("user"); in isUserBuild()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DEventTest.java33 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
47 private static final TYPE TEST_TYPE = TYPE.EMAIL;
218 TYPE type = TYPE.IM; in setFolderPath_withNonNullNameAndTypeIm()
228 TYPE type = TYPE.MMS; in setFolderPath_withNonNullNameAndTypeMms()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DViewModelEventTest.java31 private static final int TYPE = 1; field in ViewModelEventTest
35 TestViewModelEvent viewModelEvent = new TestViewModelEvent(TYPE); in getType_works()
37 assertThat(viewModelEvent.getType()).isEqualTo(TYPE); in getType_works()
/packages/modules/OnDevicePersonalization/framework/java/com/android/ondevicepersonalization/internal/util/
DDataClass.java24 import static java.lang.annotation.ElementType.TYPE;
43 @Target(ElementType.TYPE)
238 @Target({FIELD, METHOD, ANNOTATION_TYPE, CONSTRUCTOR, TYPE})
253 @Target({TYPE})
/packages/services/Car/car-lib/src/com/android/car/internal/util/
DDataClass.java24 import static java.lang.annotation.ElementType.TYPE;
42 @Target(ElementType.TYPE)
237 @Target({FIELD, METHOD, ANNOTATION_TYPE, CONSTRUCTOR, TYPE})
252 @Target({TYPE})
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/
DRequestSetNotificationRegistration.java28 private static final String TYPE = "x-bt/MAP-NotificationRegistration"; field in RequestSetNotificationRegistration
35 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in RequestSetNotificationRegistration()
DRequestGetFolderListing.java30 private static final String TYPE = "x-obex/folder-listing"; field in RequestGetFolderListing
44 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in RequestGetFolderListing()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DBluetoothPbapRequestPullPhoneBookSize.java27 private static final String TYPE = "x-bt/phonebook"; field in BluetoothPbapRequestPullPhoneBookSize
34 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in BluetoothPbapRequestPullPhoneBookSize()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DStructNdOptRdnss.java53 public static final int TYPE = 25; field in StructNdOptRdnss
62 super((byte) TYPE, servers.length * 2 + 1); in StructNdOptRdnss()
69 this.header = new RdnssOption((byte) TYPE, (byte) (servers.length * 2 + 1), in StructNdOptRdnss()
85 if (header.type != TYPE) { in parse()
DNdOption.java64 case StructNdOptPref64.TYPE: in parse()
67 case StructNdOptRdnss.TYPE: in parse()
70 case StructNdOptPio.TYPE: in parse()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/events/
DEventsContract.java48 public static final String TYPE = "type"; field in EventsContract.EventsEntry
62 + TYPE + " INTEGER NOT NULL,"
76 + TYPE + " INTEGER NOT NULL,"
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/
DRequestGetImageProperties.java34 private static final String TYPE = "x-bt/img-properties"; field in RequestGetImageProperties
44 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in RequestGetImageProperties()
DRequestGetImage.java36 private static final String TYPE = "x-bt/img-img"; field in RequestGetImage
48 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in RequestGetImage()

12345678910>>...17