Searched defs:type (Results 1 - 25 of 430) sorted by relevance

1234567891011>>

/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DAlarmManagerInterface.java25 public void set(int type, long triggerAtMillis, PendingIntent operation); argument
/packages/apps/Camera2/src/com/android/camera/burst/
H A DBurstResult.java26 * Each artifact has a type-name that specifies the kind of artifact it
28 * specific. An artifact only contains media items of a single type. A
44 * Returns all artifacts of the specified type.
46 * @param type the type of artifacts
47 * @return list of artifacts of that type
49 public List<BurstArtifact> getArtifactsByType(String type); argument
/packages/apps/Car/Radio/src/com/android/car/radio/storage/
H A DIdentifierEntity.java28 public final int type; field in class:IdentifierEntity
32 IdentifierEntity(@IdentifierType int type, long value) { argument
33 this.type = type;
38 type = id.getType();
44 return id.getType() == type && id.getValue() == value;
/packages/apps/Contacts/src/com/android/contacts/compat/
H A DEventCompat.java35 * Return a {@link CharSequence} that best describes the given type, possibly substituting
38 public static CharSequence getTypeLabel(Resources res, int type, CharSequence label) { argument
40 return Event.getTypeLabel(res, type, label);
42 return getTypeLabelInternal(res, type, label);
50 private static CharSequence getTypeLabelInternal(Resources res, int type, CharSequence label) { argument
51 if (type == BaseTypes.TYPE_CUSTOM && !TextUtils.isEmpty(label)) {
54 return res.getText(Event.getTypeResource(type));
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/
H A DVisualVoicemailProtocolFactory.java30 public static VisualVoicemailProtocol create(Resources resources, String type) { argument
31 if (type == null) {
34 switch (type) {
42 VvmLog.e(TAG, "Unexpected visual voicemail type: " + type);
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
H A DShadowTimeZoneNames.java32 public String getDisplayName(String tzID, TimeZoneNames.NameType type, long date) { argument
H A DShadowMediaRouter.java36 public MediaRouter.RouteInfo getSelectedRoute(int type) { argument
/packages/apps/Bluetooth/jni/
H A Dbluetooth_socket_manager.cc33 const BluetoothDevice& device, int32_t type,
48 &device.address, (btsock_type_t)type, uuid ? &uuid->uuid : nullptr, port,
66 int32_t type, const std::unique_ptr<::android::String16>& serviceName,
85 (btsock_type_t)type,
32 connectSocket( const BluetoothDevice& device, int32_t type, const std::unique_ptr<ParcelUuid>& uuid, int32_t port, int32_t flag, std::unique_ptr<ParcelFileDescriptor>* _aidl_return) argument
65 createSocketChannel( int32_t type, const std::unique_ptr<::android::String16>& serviceName, const std::unique_ptr<ParcelUuid>& uuid, int32_t port, int32_t flag, std::unique_ptr<ParcelFileDescriptor>* _aidl_return) argument
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastBootupConfigTest.java121 final int type; field in class:CellBroadcastBootupConfigTest.CbConfig
123 CbConfig(int startId, int endId, int type) { argument
126 this.type = type;
190 assertEquals("i=" + i, configs[i].type, mTypes.getAllValues().get(i).intValue());
/packages/apps/Contacts/src/com/android/contacts/
H A DTypePrecedence.java79 * Returns the precedence (1 being the highest) of a type in the context of it's mimetype.
81 * @param mimetype The mimetype of the data with which the type is associated.
82 * @param type The integer type as defined in {@Link ContactsContract#CommonDataKinds}.
86 public static int getTypePrecedence(String mimetype, int type) { argument
93 if (typePrecedence[i] == type) {
/packages/apps/Contacts/src/com/android/contacts/model/
H A DBuilderWrapper.java22 * This class is created for the purpose of compatibility and make the type of
24 * usually created by Builder and we don’t have access to the type via Builder, so we need to
25 * create a wrapper class for Builder first and include type. Then we could use the builder and
26 * the type in this class to create a wrapper of ContentProviderOperation.
32 public BuilderWrapper(Builder builder, int type) { argument
34 mType = type;
H A DCPOWrapper.java22 * This class is created for the purpose of compatibility and make the type of
29 public CPOWrapper(ContentProviderOperation builder, int type) { argument
31 mType = type;
38 public void setType(int type) { argument
39 this.mType = type;
/packages/apps/Dialer/java/com/android/contacts/common/model/
H A DBuilderWrapper.java22 * This class is created for the purpose of compatibility and make the type of
24 * created by Builder and we don’t have access to the type via Builder, so we need to create a
25 * wrapper class for Builder first and include type. Then we could use the builder and the type in
33 public BuilderWrapper(Builder builder, int type) { argument
35 mType = type;
H A DCPOWrapper.java22 * This class is created for the purpose of compatibility and make the type of
30 public CPOWrapper(ContentProviderOperation builder, int type) { argument
32 mType = type;
39 public void setType(int type) { argument
40 this.mType = type;
/packages/apps/Dialer/java/com/android/dialer/util/
H A DSettingsUtil.java41 * @param type The type of sound.
46 Context context, Handler handler, int type, String key, int msg) {
49 if (type == RingtoneManager.TYPE_RINGTONE) {
52 ringtoneUri = RingtoneManager.getActualDefaultRingtoneUri(context, type);
66 ringtoneUri = RingtoneManager.getActualDefaultRingtoneUri(context, type);
45 updateRingtoneName( Context context, Handler handler, int type, String key, int msg) argument
/packages/apps/EmergencyInfo/tests/common/src/com/android/emergency/
H A DContactTestUtils.java89 int type) {
95 values.put(ContactsContract.CommonDataKinds.Phone.TYPE, type);
86 insertPhoneNumber(ContentResolver contentResolver, long rawContactId, String phoneNumber, int type) argument
/packages/apps/Launcher3/src/com/android/launcher3/compat/
H A DAccessibilityManagerCompat.java35 public static void sendCustomAccessibilityEvent(View target, int type, String text) { argument
36 if (isObservedEventType(target.getContext(), type)) {
37 AccessibilityEvent event = AccessibilityEvent.obtain(type);
/packages/apps/Messaging/src/android/support/v7/mms/
H A DCarrierConfigXmlParser.java29 void process(String type, String key, String value); argument
45 // We are at the start tag, the name of the tag is the type
47 final String type = mInputParser.getName();
59 mKeyValueProcessor.process(type, key, value);
/packages/apps/PhoneCommon/src/com/android/phone/common/util/
H A DSettingsUtil.java49 * @param type The type of sound.
54 Context context, Handler handler, int type, String key, int msg) {
57 if (type == RingtoneManager.TYPE_RINGTONE) {
60 ringtoneUri = RingtoneManager.getActualDefaultRingtoneUri(context, type);
74 ringtoneUri = RingtoneManager.getActualDefaultRingtoneUri(context, type);
53 updateRingtoneName( Context context, Handler handler, int type, String key, int msg) argument
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
H A DSavedNetworkSettingsTest.java52 private int resourceId(String type, String name) { argument
53 return mContext.getResources().getIdentifier(name, type, mContext.getPackageName());
/packages/apps/TV/src/com/android/tv/menu/
H A DCustomizableOptionsRowAdapter.java35 // Note that {@link MenuAction} should have non-negative type
40 // for {@link MenuAction} with the given type returned by {@link createBaseActions}.
41 protected abstract void executeBaseAction(int type); argument
51 int type = -(i + 1);
55 customAction.getTitle(), type, customAction.getIconDrawable());
68 protected void executeAction(int type) { argument
69 if (type < 0) {
70 int position = -(type + 1);
73 executeBaseAction(type);
/packages/apps/TV/tuner/src/com/android/tv/tuner/
H A DChannelScanFileParser.java33 public final int type; field in class:ChannelScanFileParser.ScanChannel
59 int type,
64 this.type = type;
58 ScanChannel( int type, int frequency, String modulation, String filename, Integer radioFrequencyNumber) argument
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DTypePrecedence.java71 * Returns the precedence (1 being the highest) of a type in the context of it's mimetype.
73 * @param mimetype The mimetype of the data with which the type is associated.
74 * @param type The integer type as defined in {@Link ContactsContract#CommonDataKinds}.
78 public static int getTypePrecedence(String mimetype, int type) { argument
85 if (typePrecedence[i] == type) {
/packages/services/Car/evs/app/
H A Dshader.cpp23 static GLuint loadShader(GLenum type, const char *shaderSrc, const char *name) { argument
25 GLuint shader = glCreateShader (type);
38 printf("Error compiling %s shader for %s\n", (type==GL_VERTEX_SHADER) ? "vtx":"pxl", name);
130 printf(" %2d: %s\t (%d) of type %s(%d)\n", i, paramName, paramSize, typeName, paramType);
/packages/services/Car/evs/sampleDriver/
H A DVideoCapture.cpp68 formatDescriptions.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
94 format.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
110 format.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
162 bufrequest.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
172 mBufferInfo.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
207 int type = mBufferInfo.type; local
208 if (ioctl(mDeviceFd, VIDIOC_STREAMON, &type) < 0) {
240 int type = mBufferInfo.type; local
[all...]

Completed in 550 milliseconds

1234567891011>>