/packages/modules/UprobeStats/src/bpf/headers/include/ |
D | bpf_helpers.h | 234 #define DEFINE_BPF_MAP_BASE(the_map, TYPE, keysize, valuesize, num_entries, \ argument 239 .type = BPF_MAP_TYPE_##TYPE, \ 318 #define DEFINE_BPF_MAP_EXT(the_map, TYPE, KeyType, ValueType, num_entries, usr, grp, md, \ argument 321 DEFINE_BPF_MAP_BASE(the_map, TYPE, sizeof(KeyType), sizeof(ValueType), \ 325 BPF_MAP_ASSERT_OK(BPF_MAP_TYPE_##TYPE, (num_entries), (md)); \ 359 #define DEFINE_BPF_MAP_KERNEL_INTERNAL(the_map, TYPE, KeyType, ValueType, num_entries) \ argument 360 DEFINE_BPF_MAP_EXT(the_map, TYPE, KeyType, ValueType, num_entries, AID_ROOT, AID_ROOT, \ 364 #define DEFINE_BPF_MAP_UGM(the_map, TYPE, KeyType, ValueType, num_entries, usr, grp, md) \ argument 365 DEFINE_BPF_MAP_EXT(the_map, TYPE, KeyType, ValueType, num_entries, usr, grp, md, \ 370 #define DEFINE_BPF_MAP(the_map, TYPE, KeyType, ValueType, num_entries) \ argument [all …]
|
/packages/modules/Connectivity/bpf/headers/include/ |
D | bpf_helpers.h | 265 #define DEFINE_BPF_MAP_BASE(the_map, TYPE, keysize, valuesize, num_entries, \ argument 270 .type = BPF_MAP_TYPE_##TYPE, \ 274 .map_flags = DEFAULT_BPF_MAP_FLAGS(BPF_MAP_TYPE_##TYPE, num_entries, mapflags), \ 350 #define DEFINE_BPF_MAP_EXT(the_map, TYPE, KeyType, ValueType, num_entries, usr, grp, md, \ argument 353 DEFINE_BPF_MAP_BASE(the_map, TYPE, sizeof(KeyType), sizeof(ValueType), \ 357 BPF_MAP_ASSERT_OK(BPF_MAP_TYPE_##TYPE, (num_entries), (md)); \ 391 #define DEFINE_BPF_MAP_KERNEL_INTERNAL(the_map, TYPE, KeyType, ValueType, num_entries) \ argument 392 DEFINE_BPF_MAP_EXT(the_map, TYPE, KeyType, ValueType, num_entries, AID_ROOT, AID_ROOT, \ 396 #define DEFINE_BPF_MAP_UGM(the_map, TYPE, KeyType, ValueType, num_entries, usr, grp, md) \ argument 397 DEFINE_BPF_MAP_EXT(the_map, TYPE, KeyType, ValueType, num_entries, usr, grp, md, \ [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcp/ |
D | AvrcpBipObexServerTest.java | 225 mRequest.setHeader(HeaderSet.TYPE, TYPE_BAD); in testOnGetBadType() 234 mRequest.setHeader(HeaderSet.TYPE, null); in testOnGetNoType() 243 mRequest.setHeader(HeaderSet.TYPE, TYPE_GET_LINKED_THUMBNAIL); in testGetLinkedThumbnailWithValidHandle() 254 mRequest.setHeader(HeaderSet.TYPE, TYPE_GET_LINKED_THUMBNAIL); in testGetLinkedThumbnailWithValidUnstoredHandle() 267 mRequest.setHeader(HeaderSet.TYPE, TYPE_GET_LINKED_THUMBNAIL); in testGetLinkedThumbnailWithInvalidHandle() 280 mRequest.setHeader(HeaderSet.TYPE, TYPE_GET_LINKED_THUMBNAIL); in testGetLinkedThumbnailWithNullHandle() 292 mRequest.setHeader(HeaderSet.TYPE, TYPE_GET_IMAGE_PROPERTIES); in testGetImagePropertiesWithValidHandle() 303 mRequest.setHeader(HeaderSet.TYPE, TYPE_GET_IMAGE_PROPERTIES); in testGetImagePropertiesWithValidUnstoredHandle() 316 mRequest.setHeader(HeaderSet.TYPE, TYPE_GET_IMAGE_PROPERTIES); in testGetImagePropertiesWithInvalidHandle() 329 mRequest.setHeader(HeaderSet.TYPE, TYPE_GET_IMAGE_PROPERTIES); in testGetImagePropertiesWithNullHandle() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/res/raw/ |
D | unknown_number_call.vcf | 5 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/model/dataitem/ |
D | DataItemTests.java | 116 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/apps/Contacts/tests/src/com/android/contacts/compat/ |
D | CompatUtilsTest.java | 78 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/modules/Bluetooth/android/app/src/com/android/bluetooth/map/ |
D | BluetoothMapContentObserver.java | 60 import com.android.bluetooth.map.BluetoothMapUtils.TYPE; 171 private final TYPE mSmsType; 200 Sms.TYPE, 207 new String[] {Sms._ID, Sms.THREAD_ID, Sms.TYPE, Sms.READ}; 211 Sms._ID, Sms.THREAD_ID, Sms.ADDRESS, Sms.BODY, Sms.DATE, Sms.READ, Sms.TYPE, 277 if (mAccount.getType() == TYPE.IM) { in BluetoothMapContentObserver() 477 private TYPE getSmsType() { in getSmsType() 478 TYPE smsType = null; in getSmsType() 482 smsType = TYPE.SMS_CDMA; in getSmsType() 484 smsType = TYPE.SMS_GSM; in getSmsType() [all …]
|
D | BluetoothMapAccountLoader.java | 35 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()
|
D | BluetoothMapUtils.java | 115 public enum TYPE { enum in BluetoothMapUtils 122 private static final TYPE[] sAllValues = values(); 124 public static TYPE fromOrdinal(int n) { in fromOrdinal() 280 public static String getMapHandle(long cpHandle, TYPE messageType) { in getMapHandle() 323 public static String getMapConvoHandle(long cpHandle, TYPE messageType) { in getMapConvoHandle() 368 public static TYPE getMsgTypeFromHandle(String mapHandle) { in getMsgTypeFromHandle() 372 return TYPE.MMS; in getMsgTypeFromHandle() 375 return TYPE.EMAIL; in getMsgTypeFromHandle() 378 return TYPE.SMS_GSM; in getMsgTypeFromHandle() 381 return TYPE.SMS_CDMA; in getMsgTypeFromHandle() [all …]
|
D | BluetoothMapAccountItem.java | 34 private final BluetoothMapUtils.TYPE mType; 46 BluetoothMapUtils.TYPE appType, in BluetoothMapAccountItem() 67 BluetoothMapUtils.TYPE appType) { in create() 78 BluetoothMapUtils.TYPE appType, in create() 228 public BluetoothMapUtils.TYPE getType() { in getType()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | LegacyContactsProviderTest.java | 164 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/ |
D | RawContactModifierTests.java | 98 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/ |
D | SystemBuildProperties.java | 24 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/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/ |
D | EventTest.java | 35 import com.android.bluetooth.map.BluetoothMapUtils.TYPE; 50 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/modules/Wifi/service/java/com/android/server/wifi/ |
D | SystemBuildProperties.java | 27 return Build.TYPE.equals("eng"); in isEngBuild() 32 return Build.TYPE.equals("userdebug"); in isUserdebugBuild() 37 return Build.TYPE.equals("user"); in isUserBuild()
|
/packages/services/Car/car-lib/src/com/android/car/internal/util/ |
D | DataClass.java | 24 import static java.lang.annotation.ElementType.TYPE; 40 @Target(ElementType.TYPE) 233 @Target({FIELD, METHOD, ANNOTATION_TYPE, CONSTRUCTOR, TYPE}) 248 @Target({TYPE})
|
/packages/modules/OnDevicePersonalization/framework/java/com/android/ondevicepersonalization/internal/util/ |
D | DataClass.java | 24 import static java.lang.annotation.ElementType.TYPE; 43 @Target(ElementType.TYPE) 238 @Target({FIELD, METHOD, ANNOTATION_TYPE, CONSTRUCTOR, TYPE}) 253 @Target({TYPE})
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | ViewModelEventTest.java | 31 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/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/ |
D | RequestSetNotificationRegistration.java | 28 private static final String TYPE = "x-bt/MAP-NotificationRegistration"; field in RequestSetNotificationRegistration 35 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in RequestSetNotificationRegistration()
|
D | RequestGetFolderListing.java | 30 private static final String TYPE = "x-obex/folder-listing"; field in RequestGetFolderListing 44 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in RequestGetFolderListing()
|
D | RequestSetMessageStatus.java | 34 private static final String TYPE = "x-bt/messageStatus"; field in RequestSetMessageStatus 39 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in RequestSetMessageStatus()
|
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/ |
D | StructNdOptRdnss.java | 53 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()
|
D | NdOption.java | 64 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/ |
D | EventsContract.java | 48 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/ |
D | RequestGetImageProperties.java | 34 private static final String TYPE = "x-bt/img-properties"; field in RequestGetImageProperties 44 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE); in RequestGetImageProperties()
|