/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/ |
D | MediaPlayerWrapperTest.java | 70 bob.build(), Long.valueOf(bob.build().getMediaId()))); in getQueueFromDescriptions() 126 doReturn(mTestMetadata.build()).when(mMockController).getMetadata(); in setUp() 127 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in setUp() 163 doReturn(mTestState.build()).when(mMockController).getPlaybackState(); in testIsReady() 171 doReturn(mTestMetadata.build()).when(mMockController).getMetadata(); in testIsReady() 189 doReturn(mTestState.build()).when(mUpdatedController).getPlaybackState(); in testControllerUpdate() 191 doReturn(mTestMetadata.build()).when(mUpdatedController).getMetadata(); in testControllerUpdate() 200 controllerCallbacks.onMetadataChanged(mTestMetadata.build()); in testControllerUpdate() 228 doReturn(mTestMetadata.build()).when(mMockController).getMetadata(); in testNoQueueMediaUpdates() 229 controllerCallbacks.onMetadataChanged(mTestMetadata.build()); in testNoQueueMediaUpdates() [all …]
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarUxRestrictionsConfigurationTest.java | 55 new Builder().build(); in testConstruction() 59 .build(); in testConstruction() 63 .build(); in testConstruction() 67 .build(); in testConstruction() 74 .build(); in testConstruction() 85 .build(); in testConstruction() 89 CarUxRestrictionsConfiguration config = new Builder().build(); in testUnspecifiedDrivingStateUsesDefaultRestriction() 103 .build(); in testBuilderValidation_UnspecifiedStateUsesRestrictiveDefault() 117 builder.build(); in testBuilderValidation_NonMovingStateHasOneRestriction() 135 builder.build(); in testBuilderValidation_PassengerModeNoSpeedRangeOverlap() [all …]
|
D | CarNavigationManagerTest.java | 63 ImageReference imageReference = ImageReference.newBuilder().build(); in testSerializeAndDeserializeProto() 64 Distance distance = Distance.newBuilder().build(); in testSerializeAndDeserializeProto() 65 Maneuver maneuver = Maneuver.newBuilder().build(); in testSerializeAndDeserializeProto() 66 Lane lane = Lane.newBuilder().build(); in testSerializeAndDeserializeProto() 67 LaneDirection laneDirection = LaneDirection.newBuilder().build(); in testSerializeAndDeserializeProto() 68 Cue cue = Cue.newBuilder().build(); in testSerializeAndDeserializeProto() 69 CueElement cueElement = CueElement.newBuilder().build(); in testSerializeAndDeserializeProto() 70 Step step = Step.newBuilder().build(); in testSerializeAndDeserializeProto() 71 LatLng latLng = LatLng.newBuilder().build(); in testSerializeAndDeserializeProto() 72 Destination destination = Destination.newBuilder().build(); in testSerializeAndDeserializeProto() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
D | ButtonChooserFactory.java | 59 MappingInfo.builder(4).setSlotOrder(0).build()); in newImsAndWiFiButtonChooser() 62 InCallButtonIds.BUTTON_UPGRADE_TO_RTT, MappingInfo.builder(3).setSlotOrder(0).build()); in newImsAndWiFiButtonChooser() 64 InCallButtonIds.BUTTON_UPGRADE_TO_VIDEO, MappingInfo.builder(4).setSlotOrder(10).build()); in newImsAndWiFiButtonChooser() 66 InCallButtonIds.BUTTON_SWITCH_TO_SECONDARY, MappingInfo.builder(5).setSlotOrder(0).build()); in newImsAndWiFiButtonChooser() 67 mapping.put(InCallButtonIds.BUTTON_HOLD, MappingInfo.builder(5).setSlotOrder(10).build()); in newImsAndWiFiButtonChooser() 76 MappingInfo.builder(4).setSlotOrder(0).build()); in newCdmaButtonChooser() 78 InCallButtonIds.BUTTON_UPGRADE_TO_VIDEO, MappingInfo.builder(4).setSlotOrder(10).build()); in newCdmaButtonChooser() 79 mapping.put(InCallButtonIds.BUTTON_SWAP, MappingInfo.builder(5).setSlotOrder(0).build()); in newCdmaButtonChooser() 83 mapping.put(InCallButtonIds.BUTTON_HOLD, MappingInfo.builder(5).setSlotOrder(5).build()); in newCdmaButtonChooser() 89 .build()); in newCdmaButtonChooser() [all …]
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | CustomSliceRegistry.java | 65 .build(); 75 .build(); 85 .build(); 95 .build(); 105 .build(); 115 .build(); 125 .build(); 134 .build(); 143 .build(); 152 .build(); [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/ |
D | CustomSliceRegistry.java | 66 .build(); 76 .build(); 86 .build(); 96 .build(); 106 .build(); 116 .build(); 126 .build(); 135 .build(); 144 .build(); 153 .build(); [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | PhoneAccountRegistrarTest.java | 149 .build(); in testPhoneAccount() 194 .build(); in testPhoneAccountExtrasEdge() 231 .build()); in testAccounts() 235 .build()); in testAccounts() 239 .build()); in testAccounts() 242 .build()); in testAccounts() 272 .build()); in testDefaultOutgoing() 282 .build()); in testDefaultOutgoing() 295 .build()); in testDefaultOutgoing() 322 .build()); in testReplacePhoneAccountByGroup() [all …]
|
D | BluetoothRouteTransitionTests.java | 155 public BluetoothRouteTestParameters build() { in build() method in BluetoothRouteTransitionTests.BluetoothRouteTestParametersBuilder 387 .build()); in generateTestCases() 401 .build()); in generateTestCases() 416 .build()); in generateTestCases() 429 .build()); in generateTestCases() 443 .build()); in generateTestCases() 457 .build()); in generateTestCases() 471 .build()); in generateTestCases() 486 .build()); in generateTestCases() 501 .build()); in generateTestCases() [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/ |
D | NotificationFragment.java | 127 .build(); in initCarCategoriesButton() 143 .build(); in initCarCategoriesButton() 156 .build(); in initCarCategoriesButton() 177 null, "Long Action (no-op)", pendingIntent).build()) in initImportanceHighBotton() 180 null, "Action (no-op)", pendingIntent).build()) in initImportanceHighBotton() 183 null, "Long Action (no-op)", pendingIntent).build()) in initImportanceHighBotton() 185 .build(); in initImportanceHighBotton() 198 .build(); in initImportanceDefaultButton() 210 .build(); in initImportanceLowButton() 222 .build(); in initImportanceMinButton() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | GlobalSearchSupportTest.java | 61 .appendPath(SearchManager.SUGGEST_URI_PATH_QUERY).appendPath("D").build(); in testSearchSuggestionsNotInDefaultDirectory() 71 loadTestPhoto()).build(); in testSearchSuggestionsByNameWithPhoto() 73 "Deer Dough").build().test(); in testSearchSuggestionsByNameWithPhoto() 78 loadTestPhoto()).email("foo@acme.com").build(); in testSearchSuggestionsByEmailWithPhoto() 81 .expectedText1("Deer Dough").expectedText2("foo@acme.com").build().test(); in testSearchSuggestionsByEmailWithPhoto() 86 .build(); in testSearchSuggestionsByName() 88 null).build().test(); in testSearchSuggestionsByName() 93 "Little Fawn").company("Google").build(); in testSearchByNickname() 95 "Little Fawn").build().test(); in testSearchByNickname() 100 .build(); in testSearchByCompany() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | CrossProfileIntentFiltersSetter.java | 63 .build(); 75 .build(); 89 .build(); 101 .build(); 112 .build(); 119 .build(); 132 .build(); 140 .build(); 149 .build(); 158 .build(); [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
D | SelectionBuilderTest.java | 29 assertEquals(null, new SelectionBuilder(null).build()); in testEmptyClauses() 30 assertEquals(null, new SelectionBuilder("").build()); in testEmptyClauses() 31 assertEquals(null, new SelectionBuilder("").addClause(null).build()); in testEmptyClauses() 32 assertEquals(null, new SelectionBuilder(null).addClause("").build()); in testEmptyClauses() 33 assertEquals(null, new SelectionBuilder(null).addClause("").addClause(null).build()); in testEmptyClauses() 37 assertEquals("(A)", new SelectionBuilder("A").build()); in testNonEmptyClauses() 41 .build()); in testNonEmptyClauses() 50 .build()); in testNonEmptyClauses() 53 assertEquals("(A)", new SelectionBuilder(null).addClause("A").build()); in testNonEmptyClauses() 54 assertEquals("(A)", new SelectionBuilder("").addClause("A").build()); in testNonEmptyClauses() [all …]
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | LocationAccessPolicyTest.java | 110 public Scenario build() { in build() method in LocationAccessPolicyTest.Scenario.Builder 244 .setMinSdkVersionForCoarse(Build.VERSION_CODES.N).build()) in getScenarios() 246 .build()); in getScenarios() 256 .setMinSdkVersionForCoarse(Build.VERSION_CODES.N).build()) in getScenarios() 258 .build()); in getScenarios() 268 .setMinSdkVersionForCoarse(Build.VERSION_CODES.JELLY_BEAN).build()) in getScenarios() 270 .build()); in getScenarios() 280 .setMinSdkVersionForCoarse(Build.VERSION_CODES.N).build()) in getScenarios() 282 .build()); in getScenarios() 293 .setMinSdkVersionForCoarse(Build.VERSION_CODES.N).build()) in getScenarios() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/databasepopulator/ |
D | ContactsPopulator.java | 53 .build(), 62 .build(), 71 .build(), 81 .build(), 88 .build(), 94 .build(), 100 .build(), 106 .build(), 111 .build(), 113 Contact.builder().addPhoneNumber(new PhoneNumber("611", Phone.TYPE_MOBILE)).build(), [all …]
|
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/provisioning/ |
D | AdminIntegratedFlowPrepareActivityTest.java | 55 ProvisioningParams params = createDefaultProvisioningParamsBuilder().build(); in shouldRunPrepareActivity_returnsFalse() 69 .build()) in shouldRunPrepareActivity_wifi_returnsTrue() 70 .build(); in shouldRunPrepareActivity_wifi_returnsTrue() 83 .build(); in shouldRunPrepareActivity_mobileData_returnsTrue() 99 .build()) in shouldRunPrepareActivity_download_notSideloaded_returnsTrue() 100 .build(); in shouldRunPrepareActivity_download_notSideloaded_returnsTrue() 117 .build()) in shouldRunPrepareActivity_download_noMinimum_sideloaded_returnsTrue() 118 .build(); in shouldRunPrepareActivity_download_noMinimum_sideloaded_returnsTrue() 137 .build()) in shouldRunPrepareActivity_download_minimum_sideloaded_meetsMinimum_returnsFalse() 138 .build(); in shouldRunPrepareActivity_download_minimum_sideloaded_meetsMinimum_returnsFalse() [all …]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/ |
D | readme.md | 23 [lin-badge]: https://travis-ci.org/miloyip/rapidjson.png?branch=master "Travis build status" 24 [lin-link]: https://travis-ci.org/miloyip/rapidjson "Travis build status" 25 … https://ci.appveyor.com/api/projects/status/u658dcuwxo14a8m9/branch/master "AppVeyor build status" 26 [win-link]: https://ci.appveyor.com/project/miloyip/rapidjson/branch/master "AppVeyor build status" 59 Users can build and run the unit tests on their platform/compiler. 66 * [CMake](http://www.cmake.org) as a general build tool 67 * (optional)[Doxygen](http://www.doxygen.org) to build documentation 73 2. Create directory called `build` in rapidjson source directory. 74 3. Change to `build` directory and run `cmake ..` command to configure your build. Windows users ca… 75 4. On Windows, build the solution found in the build directory. On Linux, run `make` from the build… [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SliceDataTest.java | 59 SliceData data = builder.build(); in testBuilder_buildsMatchingObject() 85 .build(); in testBuilder_noKey_throwsIllegalStateException() 98 .build(); in testBuilder_noTitle_throwsIllegalStateException() 111 .build(); in testBuilder_noFragment_throwsIllegalStateException() 124 .build(); in testBuilder_noPrefController_throwsIllegalStateException() 138 SliceData data = builder.build(); in testBuilder_noSubtitle_buildsMatchingObject() 161 SliceData data = builder.build(); in testBuilder_noScreenTitle_buildsMatchingObject() 184 SliceData data = builder.build(); in testBuilder_noIcon_buildsMatchingObject() 208 SliceData data = builder.build(); in testBuilder_noUri_buildsMatchingObject() 232 SliceData dataOne = builder.build(); in testEquality_identicalObjects() [all …]
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
D | ConversationCursorTests.java | 96 .path(CONVO_TABLE).build(); in setupConvoList() 101 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); in setupConvoList() 103 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); in setupConvoList() 105 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); in setupConvoList() 107 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); in setupConvoList() 109 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); in setupConvoList() 111 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); in setupConvoList() 113 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); in setupConvoList() 115 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); in setupConvoList() 117 ops.add(ContentProviderOperation.newInsert(uri).withValues(values).build()); in setupConvoList() [all …]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/ |
D | ProvisioningParamsTest.java | 84 .build(); 101 .build(); 119 .build(); in testFailToConstructProvisioningParamsWithoutPackageNameOrComponentName() 132 .build(); in testFailToConstructProvisioningParamsWithoutProvisioningAction() 170 .build(); in testNotEquals() 188 .build(); in testNotEquals() 206 .build()); in testSaveAndRestoreMinimalist() 242 .build(); in testInferDeviceAdminComponentName_componentNameIsGiven() 256 .build(); in testInferDeviceAdminComponentName_componentNameIsNotGiven() 269 createDefaultProvisioningParamsBuilder().setUseMobileData(true).build(); in testSetUseMobileData_true() [all …]
|
D | PackageDownloadInfoTest.java | 49 .build(); in testBuilderWriteAndReadBack() 65 .build(); in testFailToConstructPackageInfoWithDownloadLocationWithoutChecksum() 78 .build(); in testFailToConstructPackageInfoWithoutDownloadLocation() 92 .build(); in testConstructPackageInfoWithDownloadLocationAndPackageChecksum() 105 .build(); in testConstructPackageInfoWithDownloadLocationAndSignatureChecksum() 120 .build(); in testEquals() 127 .build(); in testEquals() 142 .build(); in testNotEquals() 149 .build(); in testNotEquals() 164 .build(); in testParceable()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/ |
D | InstrumentClusterFragment.java | 137 .build()) in getNavStateData() 142 .build()) in getNavStateData() 146 .build()) in getNavStateData() 156 .build()) in getNavStateData() 157 .build()) in getNavStateData() 158 .build()) in getNavStateData() 163 .build()) in getNavStateData() 167 .build()) in getNavStateData() 168 .build()) in getNavStateData() 169 .build()) in getNavStateData() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ModelId.java | 19 public static final String build(Uri uri) { in build() method in ModelId 29 return ModelId.build(authority, documentId); in build() 32 public static final String build(DocumentInfo docInfo) { in build() method in ModelId 36 return ModelId.build(docInfo.authority, docInfo.documentId); in build() 39 public static final String build(Cursor cursor) { in build() method in ModelId 43 return ModelId.build(getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY), in build() 47 public static final ArrayList<String> build(ArrayList<Uri> uris) { in build() method in ModelId 54 id = ModelId.build(uri); in build() 62 public static final String build(String authority, String docId) { in build() method in ModelId
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
D | ChannelImplTest.java | 247 .build(); in assertAppLinkType() 268 new ChannelImpl.Builder().setInputId(PARTNER_INPUT_ID).build()); in testComparator() 269 comparatorTester.addComparableGroup(new ChannelImpl.Builder().setInputId("1").build()); in testComparator() 271 new ChannelImpl.Builder().setInputId("1").setDisplayNumber("2").build()); in testComparator() 273 new ChannelImpl.Builder().setInputId("2").setDisplayNumber("1.0").build()); in testComparator() 281 .build(), in testComparator() 286 .build(), in testComparator() 291 .build()); in testComparator() 293 new ChannelImpl.Builder().setInputId("2").setDisplayNumber("2.0").build()); in testComparator() 296 new ChannelImpl.Builder().setInputId("2").setDisplayNumber("12.2").build()); in testComparator() [all …]
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/telecom/ |
D | ProjectionCallHandlerTest.java | 67 .build(); 71 .build(); 73 private final PhoneAccount mAccountWithNoAddress = phoneAccountBuilder("No Address").build(); 114 .build()); in projectionApp_inactive_doesNotSuppress() 123 .build()); in projectionApp_readyToProject_doesNotSuppress() 133 mobileDeviceBuilder().setProjecting(false).build()) in activeApp_noProjectingDevices_doesNotSuppress() 134 .build()); in activeApp_noProjectingDevices_doesNotSuppress() 144 mobileDeviceBuilder().setProjecting(true).build()) in activeApp_withProjectingDevice_suppresses() 145 .build()); in activeApp_withProjectingDevice_suppresses() 155 sendProjectionStatus(suppressableStatusBuilder().setExtras(extras).build()); in activeApp_thatHandlesPhoneUi_suppresses() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/rootcomponentgenerator/ |
D | ComponentGeneratingStep.java | 137 return subcomponentBuilder.build(); in makeDaggerSubcomponentAnnotation() 145 .build(); in dialerBoilerplateCode() 156 .build()) in hasComponentInterface() 157 .build(); in hasComponentInterface() 172 .addParameter(ParameterSpec.builder(ANDROID_CONTEXT_CLASS_NAME, "context").build()) in addGetComponentMethod() 181 .build(); in addGetComponentMethod() 187 builder.addType(cloneInterface(MoreElements.asType(element), "").build()); in addElement() 190 builder.addType(cloneClass(MoreElements.asType(element), "").build()); in addElement() 193 builder.addField(cloneField(MoreElements.asVariable(element)).build()); in addElement() 212 .build(); in cloneMethod() [all …]
|