/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | CachingPipeline.java | 141 private String getType(RenderingRequest request) { in getType() method in CachingPipeline 142 if (request.getType() == RenderingRequest.ICON_RENDERING) { in getType() 145 if (request.getType() == RenderingRequest.FILTERS_RENDERING) { in getType() 148 if (request.getType() == RenderingRequest.FULL_RENDERING) { in getType() 151 if (request.getType() == RenderingRequest.GEOMETRY_RENDERING) { in getType() 154 if (request.getType() == RenderingRequest.PARTIAL_RENDERING) { in getType() 157 if (request.getType() == RenderingRequest.HIGHRES_RENDERING) { in getType() 290 if ((request.getType() != RenderingRequest.PARTIAL_RENDERING in render() 291 && request.getType() != RenderingRequest.ICON_RENDERING in render() 298 Log.v(LOGTAG, "render image of type " + getType(request)); in render() [all …]
|
D | ProcessingTask.java | 38 if (mProcessingHandler.hasMessages(getType())) { in postRequest() 43 if (mProcessingHandler.hasMessages(getType())) { in postRequest() 44 mProcessingHandler.removeMessages(getType()); in postRequest() 75 public int getType() { in getType() method in ProcessingTask
|
/packages/modules/StatsD/statsd/src/matchers/ |
D | matcher_util.cpp | 94 } else if (fieldValue.mValue.getType() == STRING) { in tryMatchString() 220 if ((values[i].mValue.getType() == INT && in matchesSimple() 222 (values[i].mValue.getType() == LONG && in matchesSimple() 261 if (values[i].mValue.getType() == INT && in matchesSimple() 266 if (values[i].mValue.getType() == LONG && in matchesSimple() 275 if (values[i].mValue.getType() == INT && in matchesSimple() 280 if (values[i].mValue.getType() == LONG && in matchesSimple() 289 if (values[i].mValue.getType() == INT && in matchesSimple() 294 if (values[i].mValue.getType() == LONG && in matchesSimple() 303 if (values[i].mValue.getType() == FLOAT && in matchesSimple() [all …]
|
/packages/modules/StatsD/statsd/tests/ |
D | LogEvent_test.cpp | 171 EXPECT_EQ(Type::INT, int32Item.mValue.getType()); in TEST() 177 EXPECT_EQ(Type::LONG, int64Item.mValue.getType()); in TEST() 183 EXPECT_EQ(Type::FLOAT, floatItem.mValue.getType()); in TEST() 189 EXPECT_EQ(Type::INT, boolItem.mValue.getType()); // FieldValue does not support boolean type in TEST() 220 EXPECT_EQ(Type::STRING, stringItem.mValue.getType()); in TEST() 226 EXPECT_EQ(Type::STORAGE, storageItem.mValue.getType()); in TEST() 257 EXPECT_EQ(Type::STRING, item.mValue.getType()); in TEST() 286 EXPECT_EQ(Type::STORAGE, item.mValue.getType()); in TEST() 347 EXPECT_EQ(Type::INT, uid1Item.mValue.getType()); in TEST() 353 EXPECT_EQ(Type::STRING, tag1Item.mValue.getType()); in TEST() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipImageFormatTest.java | 34 Assert.assertEquals(BipImageFormat.FORMAT_NATIVE, format.getType()); in testParseNative_requiredOnly() 47 Assert.assertEquals(BipImageFormat.FORMAT_NATIVE, format.getType()); in testParseNative_withSize() 60 Assert.assertEquals(BipImageFormat.FORMAT_VARIANT, format.getType()); in testParseVariant_requiredOnly() 73 Assert.assertEquals(BipImageFormat.FORMAT_VARIANT, format.getType()); in testParseVariant_withMaxSize() 118 Assert.assertEquals(BipImageFormat.FORMAT_VARIANT, format.getType()); in testParseVariant_allFields() 127 Assert.assertEquals(BipImageFormat.FORMAT_VARIANT, format.getType()); in testParseVariant_allFields() 136 Assert.assertEquals(BipImageFormat.FORMAT_VARIANT, format.getType()); in testParseVariant_allFields() 150 Assert.assertEquals(BipImageFormat.FORMAT_NATIVE, format.getType()); in testCreateNative_requiredOnly() 164 Assert.assertEquals(BipImageFormat.FORMAT_NATIVE, format.getType()); in testCreateNative_withSize() 178 Assert.assertEquals(BipImageFormat.FORMAT_VARIANT, format.getType()); in testCreateVariant_requiredOnly() [all …]
|
/packages/modules/StatsD/statsd/src/ |
D | FieldValue.cpp | 130 if (f == 0x10001 && value.getType() == INT) { in isAttributionUidField() 145 type = from.getType(); in Value() 209 if (type != that.getType()) return false; in operator ==() 230 if (type != that.getType()) return true; in operator !=() 250 if (type != that.getType()) return type < that.getType(); in operator <() 271 if (type != that.getType()) return type > that.getType(); in operator >() 292 if (type != that.getType()) return type >= that.getType(); in operator >=()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
D | CategoryView.java | 76 if (mAction.getType() == Action.CROP_VIEW) { in isHalfImage() 79 if (mAction.getType() == Action.ADD_ACTION) { in isHalfImage() 102 if (mAction != null && mAction.getType() == Action.ADD_ACTION) { in needsCenterText() 110 if (mAction.getType() == Action.SPACER) { in onDraw() 136 if (mAction.getType() == Action.ADD_ACTION) { in setAction() 150 if (mAction.getType() == Action.ADD_ACTION) { in onClick() 152 } else if (mAction.getType() != Action.SPACER) { in onClick()
|
/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothUtils.java | 64 public int getType() { in getType() method in BluetoothUtils.TypeValueEntry 149 if ((entry.getType() - (entry.getType() & 0xFF)) != 0) { in serializeTypeValue() 150 Log.w(TAG, "serializeTypeValue() type " + entry.getType() in serializeTypeValue() 171 result[currentPos] = (byte) (entry.getType() & 0xFF); in serializeTypeValue()
|
/packages/modules/IntentResolver/java/tests/src/com/android/intentresolver/contentpreview/ |
D | ChooserContentPreviewUiTest.kt | 110 whenever(contentResolver.getType(uri)).thenReturn("image/png") in <lambda>() 131 whenever(contentResolver.getType(uri)).thenReturn("application/pdf") in <lambda>() 159 whenever(contentResolver.getType(uri1)).thenReturn("image/png") in <lambda>() 160 whenever(contentResolver.getType(uri2)).thenReturn("image/jpeg") in <lambda>() 188 whenever(contentResolver.getType(uri1)).thenReturn("image/png") in <lambda>() 189 whenever(contentResolver.getType(uri2)).thenReturn("application/pdf") in <lambda>()
|
/packages/apps/Car/systemlibs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/platform/ |
D | ProgramSelectorExt.java | 112 int idType = primaryId.getType(); in identifierToProgramType() 247 int priType = sel.getPrimaryId().getType(); in isAmFmProgram() 278 if (sel.getPrimaryId().getType() == ProgramSelector.IDENTIFIER_TYPE_SXM_SERVICE_ID in getDisplayName() 285 switch (sel.getPrimaryId().getType()) { in getDisplayName() 346 switch (id.getType()) { in valueToUri() 378 String priType = typeToUri(pri.getType()); in toUri() 389 String secType = typeToUri(sec.getType()); in toUri() 451 if (id.getType() == ProgramSelector.IDENTIFIER_TYPE_HD_STATION_ID_EXT) { in asHdPrimary()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/notificationaccess/ |
D | TypeFilterPreferenceController.java | 81 abstract protected int getType(); in getType() method in TypeFilterPreferenceController 111 newFilter |= getType(); in onPreferenceChange() 113 newFilter &= ~getType(); in onPreferenceChange() 125 check.setChecked(hasFlag(mNlf.getTypes(), getType())); in updateState() 157 if (hasFlag(types, getType())) { in updateState()
|
/packages/apps/Launcher3/src/com/android/launcher3/search/ |
D | StringMatcherUtility.java | 52 int nextType = Character.getType(target.codePointAt(0)); in matches() 59 ? Character.getType(target.codePointAt(i + 1)) : Character.UNASSIGNED; in matches() 87 int thisType = Character.getType(Character.codePointAt(input, 0)); 88 int nextType = Character.getType(Character.codePointAt(input, 1)); 93 ? Character.getType(Character.codePointAt(input, i + 1))
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipImageFormat.java | 146 public int getType() { in getType() method in BipImageFormat 176 return f.getType() == getType() in equals() 186 if (mEncoding == null || mEncoding.getType() == BipEncoding.UNKNOWN || mPixel == null in toString() 187 || mPixel.getType() == BipPixel.TYPE_UNKNOWN) { in toString()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | SystemStateHelperTest.java | 91 when(mGravitySensor.getType()).thenReturn(Sensor.TYPE_GRAVITY); in setUp() 92 when(mProxSensor.getType()).thenReturn(Sensor.TYPE_PROXIMITY); in setUp() 286 if (sensor.getType() == Sensor.TYPE_GRAVITY) { in testDeviceOnEarCorrectlyDetected() 307 if (sensor.getType() == Sensor.TYPE_GRAVITY) { in testDeviceIsNotOnEarWithProxNotSensed() 327 if (sensor.getType() == Sensor.TYPE_GRAVITY) { in testDeviceIsNotOnEarWithWrongOrientation() 349 if (sensor.getType() == Sensor.TYPE_GRAVITY) { in testDeviceIsNotOnEarWithMissingSensor() 369 if (sensor.getType() == Sensor.TYPE_GRAVITY) { in testDeviceIsNotOnEarWithTimeout() 388 if (sensor.getType() == Sensor.TYPE_GRAVITY) { in testDeviceIsOnEarWithMultiSensorInputs() 410 when(mockSensor.getType()).thenReturn(sensorType); in makeSensorEvent()
|
/packages/apps/Car/systemlibs/car-qc-lib/src/com/android/car/qc/view/ |
D | QCView.java | 76 + qcItem.getType()); in onChanged() 78 if (qcItem.getType().equals(mType)) { in onChanged() 83 mType = qcItem.getType(); in onChanged() 104 String type = qcItem.getType(); in isValidQCItemType()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | RawContactModifierTests.java | 202 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testValidTypes() 203 final EditType typeWork = RawContactModifier.getType(kindPhone, Phone.TYPE_WORK); in testValidTypes() 204 final EditType typeOther = RawContactModifier.getType(kindPhone, Phone.TYPE_OTHER); in testValidTypes() 247 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testValidTypesWhenUpdating() 248 final EditType typeWork = RawContactModifier.getType(kindPhone, Phone.TYPE_WORK); in testValidTypesWhenUpdating() 249 final EditType typeOther = RawContactModifier.getType(kindPhone, Phone.TYPE_OTHER); in testValidTypesWhenUpdating() 284 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testCanInsert() 285 final EditType typeWork = RawContactModifier.getType(kindPhone, Phone.TYPE_WORK); in testCanInsert() 286 final EditType typeOther = RawContactModifier.getType(kindPhone, Phone.TYPE_OTHER); in testCanInsert() 313 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testBestValidType() [all …]
|
/packages/apps/Car/systemlibs/car-qc-lib/tests/unit/src/com/android/car/qc/ |
D | QCActionItemTest.java | 48 assertThat(action.getType()).isEqualTo(QC_TYPE_ACTION_SWITCH); in onCreateSwitch_hasCorrectType() 55 assertThat(action.getType()).isEqualTo(QC_TYPE_ACTION_TOGGLE); in onCreateToggle_hasCorrectType() 79 assertThat(newAction.getType()).isEqualTo(QC_TYPE_ACTION_SWITCH); in onBundle_switch_accurateData() 92 assertThat(newAction.getType()).isEqualTo(QC_TYPE_ACTION_TOGGLE); in onBundle_toggle_accurateDate()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/legal/ |
D | ModuleLicenseProviderTest.java | 83 provider.getType(new Uri.Builder() in getType_notContentScheme_throwsIllegalArgumentException() 94 provider.getType(new Uri.Builder() in getType_invalidAuthority_throwsIllegalArgumentException() 105 provider.getType(new Uri.Builder() in getType_emptyPath_throwsIllegalArgumentException() 114 provider.getType(new Uri.Builder() in getType_missingPackageName_throwsIllegalArgumentException() 124 provider.getType(new Uri.Builder() in getType_missingFileName_throwsIllegalArgumentException() 134 provider.getType(new Uri.Builder() in getType_incorrectFileName_throwsIllegalArgumentException() 153 provider.getType(new Uri.Builder() in getType_packageNotAModule_throwsIllegalArgumentException() 172 assertThat(provider.getType(new Uri.Builder() in getType_validUri_returnsHtmlMimeType()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EventFieldEditorView.java | 155 protected EventEditType getType() { in getType() method in EventFieldEditorView 156 return (EventEditType) super.getType(); in getType() 170 final boolean isYearOptional = getType() != null && getType().isYearOptional(); in onLabelRebuilt() 206 final boolean isYearOptional = getType().isYearOptional(); in createDatePickerDialog() 289 final EventEditType eventType = getType(); in isBirthdayType()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsSpatialAudioControllerTest.java | 102 assertThat(mController.mAudioDevice.getType()) in isAvailable_spatialAudioSupportA2dpDevice_returnsTrue() 117 assertThat(mController.mAudioDevice.getType()) in isAvailable_spatialAudioSupportBleHeadsetDevice_returnsTrue() 132 assertThat(mController.mAudioDevice.getType()) in isAvailable_spatialAudioSupportBleSpeakerDevice_returnsTrue() 147 assertThat(mController.mAudioDevice.getType()) in isAvailable_spatialAudioSupportBleBroadcastDevice_returnsTrue() 162 assertThat(mController.mAudioDevice.getType()) in isAvailable_spatialAudioSupportHearingAidDevice_returnsTrue() 169 assertThat(mController.mAudioDevice.getType()) in isAvailable_spatialAudioNotSupported_returnsFalse()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ShareIntentActivity.java | 70 convIntent.setDataAndType(intent.getData(), intent.getType()); in onCreate() 98 final String contentType = extractContentType(contentUri, intent.getType()); in onAttachFragment() 102 contentUri, intent.getType(), contentType)); in onAttachFragment() 125 + ": " + contentType + " (" + intent.getType() + ")"); in onAttachFragment() 129 final String contentType = intent.getType(); in onAttachFragment() 222 final String typeFromExtension = resolver.getType(uri); in extractContentType()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | InCallController.java | 158 public int getType() { in getType() method in InCallController.InCallServiceInfo 356 if (mIsNullBinding && mInCallServiceInfo.getType() != IN_CALL_SERVICE_TYPE_NON_UI) { in disconnect() 365 mInCallServiceInfo.getType(), in disconnect() 1183 info.getType() == IN_CALL_SERVICE_TYPE_SYSTEM_UI || in onCallAdded() 1184 info.getType() == IN_CALL_SERVICE_TYPE_NON_UI); in onCallAdded() 1256 info.getType() == IN_CALL_SERVICE_TYPE_SYSTEM_UI in onExternalCallChanged() 1257 || info.getType() == IN_CALL_SERVICE_TYPE_NON_UI); in onExternalCallChanged() 1288 info.getType() == IN_CALL_SERVICE_TYPE_SYSTEM_UI in onExternalCallChanged() 1289 || info.getType() == IN_CALL_SERVICE_TYPE_NON_UI in onExternalCallChanged() 1875 if (info.getType() == IN_CALL_SERVICE_TYPE_CAR_MODE_UI in onConnected() [all …]
|
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/tzs2range/read/ |
D | TzS2RangeFileReader.java | 72 if (firstBlockInfo.getType() != TzS2RangeFileFormat.BLOCK_TYPE_HEADER) { in initialize() 74 + firstBlockInfo.getType() + " must be " in initialize() 80 if (firstBlock.getType() != TzS2RangeFileFormat.BLOCK_TYPE_HEADER) { in initialize() 81 throw new IllegalArgumentException("firstBlock.getType()=" + firstBlock.getType() in initialize() 94 int type = blockInfo.getType(); in initialize()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/ |
D | ChooserContentPreviewUi.java | 122 if (mContentPreviewUi.getType() != CONTENT_PREVIEW_IMAGE) { in ChooserContentPreviewUi() 164 return mContentPreviewUi.getType(); in getPreferredContentPreview() 188 final String type = targetIntent.getType(); in findPreferredContentPreview() 228 mimeType = resolver.getType(uri); in findPreferredContentPreview() 276 type = contentResolver.getType(uri); in createImagePreview()
|
/packages/modules/StatsD/statsd/src/logd/ |
D | LogEvent.cpp | 256 return mValues[mValues.size() - 1].mValue.getType() == expected; in checkPreviousValueType() 494 if (value.mValue.getType() == LONG) { in GetLong() 496 } else if (value.mValue.getType() == INT) { in GetLong() 516 if (value.mValue.getType() == INT) { in GetInt() 536 if (value.mValue.getType() == STRING) { in GetString() 556 if (value.mValue.getType() == INT) { in GetBool() 558 } else if (value.mValue.getType() == LONG) { in GetBool() 578 if (value.mValue.getType() == FLOAT) { in GetFloat() 598 if (value.mValue.getType() == STORAGE) { in GetStorage()
|