/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/ |
D | MoreKeysKeyboardBuilderAutoOrderTests.java | 51 final MoreKeysKeyboardParams params = new MoreKeysKeyboardParams(); in createParams() local 52 params.setParameters(numKeys, columnNum, WIDTH, HEIGHT, coordXInParent, KEYBOARD_WIDTH, in createParams() 55 return params; in createParams() 60 MoreKeysKeyboardParams params = null; in testLayoutError() local 63 params = createParams(maxColumns + 1, maxColumns + 1, HEIGHT); in testLayoutError() 68 assertNull("Too small keyboard to hold more keys keyboard", params); in testLayoutError() 78 MoreKeysKeyboardParams params = createParams(1, 5, XPOS_M0); in testLayout1KeyAuto5M0() local 79 assertEquals("1 key auto 5 M0 columns", 1, params.mNumColumns); in testLayout1KeyAuto5M0() 80 assertEquals("1 key auto 5 M0 rows", 1, params.mNumRows); in testLayout1KeyAuto5M0() 81 assertEquals("1 key auto 5 M0 left", 0, params.mLeftKeys); in testLayout1KeyAuto5M0() [all …]
|
D | MoreKeysKeyboardBuilderFixedOrderTests.java | 51 final MoreKeysKeyboardParams params = new MoreKeysKeyboardParams(); in createParams() local 52 params.setParameters(numKeys, columnNum, WIDTH, HEIGHT, coordXInParent, KEYBOARD_WIDTH, in createParams() 55 return params; in createParams() 60 MoreKeysKeyboardParams params = null; in testLayoutError() local 63 params = createParams(fixColumns + 1, fixColumns + 1, HEIGHT); in testLayoutError() 68 assertNull("Too small keyboard to hold more keys keyboard", params); in testLayoutError() 78 MoreKeysKeyboardParams params = createParams(1, 5, XPOS_M0); in testLayout1KeyFix5M0() local 79 assertEquals("1 key fix 5 M0 columns", 1, params.mNumColumns); in testLayout1KeyFix5M0() 80 assertEquals("1 key fix 5 M0 rows", 1, params.mNumRows); in testLayout1KeyFix5M0() 81 assertEquals("1 key fix 5 M0 left", 0, params.mLeftKeys); in testLayout1KeyFix5M0() [all …]
|
D | MoreKeysKeyboardBuilderMaxOrderTests.java | 51 final MoreKeysKeyboardParams params = new MoreKeysKeyboardParams(); in createParams() local 52 params.setParameters(numKeys, maxColumns, WIDTH, HEIGHT, coordXInParent, KEYBOARD_WIDTH, in createParams() 55 return params; in createParams() 60 MoreKeysKeyboardParams params = null; in testLayoutError() local 63 params = createParams(maxColumns + 1, maxColumns + 1, HEIGHT); in testLayoutError() 68 assertNull("Too small keyboard to hold more keys keyboard", params); in testLayoutError() 78 MoreKeysKeyboardParams params = createParams(1, 5, XPOS_M0); in testLayout1KeyMax5M0() local 79 assertEquals("1 key max 5 M0 columns", 1, params.mNumColumns); in testLayout1KeyMax5M0() 80 assertEquals("1 key max 5 M0 rows", 1, params.mNumRows); in testLayout1KeyMax5M0() 81 assertEquals("1 key max 5 M0 left", 0, params.mLeftKeys); in testLayout1KeyMax5M0() [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | BluetoothProfileInhibitManager.java | 181 InhibitRecord(BluetoothConnection params, IBinder token) { in InhibitRecord() argument 182 this.mParams = params; in InhibitRecord() 250 BluetoothConnection params = BluetoothConnection.decode(paramsStr); in load() local 251 InhibitRecord record = new InhibitRecord(params, RESTORED_PROFILE_INHIBIT_TOKEN); in load() 252 mProfileInhibits.put(params, record); in load() 254 logd("Restored profile inhibits for " + params); in load() 312 BluetoothConnection params = new BluetoothConnection(profile, device); in requestProfileInhibit() local 313 InhibitRecord record = new InhibitRecord(params, token); in requestProfileInhibit() 331 BluetoothConnection params = new BluetoothConnection(profile, device); in releaseProfileInhibit() local 333 record = findInhibitRecord(params, token); in releaseProfileInhibit() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/ |
D | FinalizationController.java | 124 public void provisioningInitiallyDone(ProvisioningParams params) { in provisioningInitiallyDone() argument 135 mUserProvisioningStateHelper.markUserProvisioningStateInitiallyDone(params); in provisioningInitiallyDone() 136 if (ACTION_PROVISION_MANAGED_PROFILE.equals(params.provisioningAction)) { in provisioningInitiallyDone() 137 if (params.isOrganizationOwnedProvisioning) { in provisioningInitiallyDone() 142 notifyDpcManagedProfile(params); in provisioningInitiallyDone() 147 storeProvisioningParams(params); in provisioningInitiallyDone() 171 ProvisioningParams params) { in getPrimaryProfileFinalizationHelper() argument 172 return new PrimaryProfileFinalizationHelper(params.accountToMigrate, in getPrimaryProfileFinalizationHelper() 173 params.keepAccountMigrated, mUtils.getManagedProfile(mContext), in getPrimaryProfileFinalizationHelper() 174 params.inferDeviceAdminPackageName(), mUtils, in getPrimaryProfileFinalizationHelper() [all …]
|
D | ProvisioningIntentProvider.java | 39 void maybeLaunchDpc(ProvisioningParams params, int userId, Utils utils, Context context) { in maybeLaunchDpc() argument 40 final Intent dpcLaunchIntent = createDpcLaunchIntent(params); in maybeLaunchDpc() 42 context.startActivityAsUser(createDpcLaunchIntent(params), UserHandle.of(userId)); in maybeLaunchDpc() 47 boolean canLaunchDpc(ProvisioningParams params, int userId, Utils utils, Context context) { in canLaunchDpc() argument 48 final Intent dpcLaunchIntent = createDpcLaunchIntent(params); in canLaunchDpc() 53 @NonNull ProvisioningParams params, int userId, Utils utils, Context context) { in createProvisioningCompleteIntent() 56 intent.setComponent(params.inferDeviceAdminComponentName(utils, context, userId)); in createProvisioningCompleteIntent() 62 addExtrasToIntent(intent, params); in createProvisioningCompleteIntent() 66 private Intent createDpcLaunchIntent(@NonNull ProvisioningParams params) { in createDpcLaunchIntent() argument 68 final String packageName = params.inferDeviceAdminPackageName(); in createDpcLaunchIntent() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | Key.java | 256 @Nonnull final KeyStyle style, @Nonnull final KeyboardParams params, in Key() argument 258 mHorizontalGap = isSpacer() ? 0 : params.mHorizontalGap; in Key() 259 mVerticalGap = params.mVerticalGap; in Key() 281 final int baseWidth = params.mBaseWidth; in Key() 289 final boolean needsToUpcase = needsToUpcase(mLabelFlags, params.mId.mElementId); in Key() 290 final Locale localeForUpcasing = params.mId.getLocale(); in Key() 297 params.mMaxMoreKeysKeyboardColumn); in Key() 345 mLabel = params.mId.mCustomActionLabel; in Key() 581 public void markAsLeftEdge(final KeyboardParams params) { in markAsLeftEdge() argument 582 mHitBox.left = params.mLeftPadding; in markAsLeftEdge() [all …]
|
D | Keyboard.java | 103 public Keyboard(@Nonnull final KeyboardParams params) { in Keyboard() argument 104 mId = params.mId; in Keyboard() 105 mThemeId = params.mThemeId; in Keyboard() 106 mOccupiedHeight = params.mOccupiedHeight; in Keyboard() 107 mOccupiedWidth = params.mOccupiedWidth; in Keyboard() 108 mBaseHeight = params.mBaseHeight; in Keyboard() 109 mBaseWidth = params.mBaseWidth; in Keyboard() 110 mMostCommonKeyHeight = params.mMostCommonKeyHeight; in Keyboard() 111 mMostCommonKeyWidth = params.mMostCommonKeyWidth; in Keyboard() 112 mMoreKeysTemplate = params.mMoreKeysTemplate; in Keyboard() [all …]
|
D | MoreKeysKeyboard.java | 35 MoreKeysKeyboard(final MoreKeysKeyboardParams params) { in MoreKeysKeyboard() argument 36 super(params); in MoreKeysKeyboard() 37 mDefaultKeyCoordX = params.getDefaultKeyCoordX() + params.mDefaultKeyWidth / 2; in MoreKeysKeyboard() 335 final MoreKeysKeyboardParams params = mParams; in build() local 340 final int row = n / params.mNumColumns; in build() 341 final int x = params.getX(n, row); in build() 342 final int y = params.getY(row); in build() 343 final Key key = moreKeySpec.buildKey(x, y, moreKeyFlags, params); in build() 344 params.markAsEdgeKey(key, row); in build() 345 params.onAddKey(key); in build() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ProcessDownloadedMmsAction.java | 110 final Bundle params = action.actionParameters; in processMessageDownloaded() local 111 params.putBoolean(KEY_DOWNLOADED_BY_PLATFORM, true); in processMessageDownloaded() 112 params.putString(KEY_MESSAGE_ID, messageId); in processMessageDownloaded() 113 params.putInt(KEY_RESULT_CODE, resultCode); in processMessageDownloaded() 114 params.putInt(KEY_HTTP_STATUS_CODE, in processMessageDownloaded() 116 params.putParcelable(KEY_CONTENT_URI, contentUri); in processMessageDownloaded() 117 params.putParcelable(KEY_NOTIFICATION_URI, notificationUri); in processMessageDownloaded() 118 params.putInt(KEY_SUB_ID, in processMessageDownloaded() 120 params.putString(KEY_SUB_PHONE_NUMBER, in processMessageDownloaded() 122 params.putString(KEY_TRANSACTION_ID, in processMessageDownloaded() [all …]
|
D | ProcessSentMessageAction.java | 80 final Bundle params = action.actionParameters; in processMmsSent() local 81 params.putBoolean(KEY_SMS, false); in processMmsSent() 82 params.putBoolean(KEY_SENT_BY_PLATFORM, true); in processMmsSent() 83 params.putString(KEY_MESSAGE_ID, extras.getString(SendMessageAction.EXTRA_MESSAGE_ID)); in processMmsSent() 84 params.putParcelable(KEY_MESSAGE_URI, messageUri); in processMmsSent() 85 params.putParcelable(KEY_UPDATED_MESSAGE_URI, in processMmsSent() 87 params.putInt(KEY_SUB_ID, in processMmsSent() 89 params.putInt(KEY_RESULT_CODE, resultCode); in processMmsSent() 90 params.putInt(KEY_HTTP_STATUS_CODE, extras.getInt(SmsManager.EXTRA_MMS_HTTP_STATUS, 0)); in processMmsSent() 91 params.putParcelable(KEY_CONTENT_URI, in processMmsSent() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | PreviewItemManager.java | 146 PreviewItemDrawingParams params) { in computePreviewItemDrawingParams() argument 150 return getFinalIconParams(params); in computePreviewItemDrawingParams() 152 return mIcon.mPreviewLayoutRule.computePreviewItemDrawingParams(index, curNumItems, params); in computePreviewItemDrawingParams() 155 private PreviewItemDrawingParams getFinalIconParams(PreviewItemDrawingParams params) { in getFinalIconParams() argument 161 params.update(trans, trans, scale); in getFinalIconParams() 162 return params; in getFinalIconParams() 165 public void drawParams(Canvas canvas, ArrayList<PreviewItemDrawingParams> params, in drawParams() argument 169 for (int i = params.size() - 1; i >= 0; i--) { in drawParams() 170 PreviewItemDrawingParams p = params.get(i); in drawParams() 198 private void drawPreviewItem(Canvas canvas, PreviewItemDrawingParams params) { in drawPreviewItem() argument [all …]
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpServingParamsTest.java | 89 final DhcpServingParams params = mBuilder in testBuild_Immutable() local 101 assertEquals(TEST_DEFAULT_ROUTERS, params.defaultRouters); in testBuild_Immutable() 102 assertEquals(TEST_LEASE_TIME_SECS, params.dhcpLeaseTimeSecs); in testBuild_Immutable() 103 assertEquals(TEST_DNS_SERVERS, params.dnsServers); in testBuild_Immutable() 104 assertEquals(TEST_LINKADDR, params.serverAddr); in testBuild_Immutable() 105 assertEquals(TEST_MTU, params.linkMtu); in testBuild_Immutable() 106 assertEquals(TEST_METERED, params.metered); in testBuild_Immutable() 107 assertEquals(TEST_CHANGE_PREFIX_ON_DECLINE, params.changePrefixOnDecline); in testBuild_Immutable() 109 assertContains(params.excludedAddrs, TEST_EXCLUDED_ADDRS); in testBuild_Immutable() 110 assertContains(params.excludedAddrs, TEST_DEFAULT_ROUTERS); in testBuild_Immutable() [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallAudioRouteTransitionTests.java | 161 public CallAudioRouteTransitionTests(RoutingTestParameters params) { in CallAudioRouteTransitionTests() argument 162 mParams = params; in CallAudioRouteTransitionTests() 202 RoutingTestParameters params) { in setupMocksForParams() argument 204 doReturn(params.initialRoute == CallAudioState.ROUTE_BLUETOOTH) in setupMocksForParams() 206 doReturn((params.availableRoutes & CallAudioState.ROUTE_BLUETOOTH) != 0 in setupMocksForParams() 207 || (params.expectedAvailableRoutes & CallAudioState.ROUTE_BLUETOOTH) != 0) in setupMocksForParams() 209 doReturn(params.availableBluetoothDevices) in setupMocksForParams() 211 if (params.initialBluetoothDevice != null) { in setupMocksForParams() 212 doReturn(params.initialBluetoothDevice) in setupMocksForParams() 225 if (params.action == CallAudioRouteStateMachine.SPEAKER_ON) { in setupMocksForParams() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ViewLayoutUtils.java | 59 final WindowManager.LayoutParams params = window.getAttributes(); in updateLayoutHeightOf() local 60 if (params != null && params.height != layoutHeight) { in updateLayoutHeightOf() 61 params.height = layoutHeight; in updateLayoutHeightOf() 62 window.setAttributes(params); in updateLayoutHeightOf() 67 final ViewGroup.LayoutParams params = view.getLayoutParams(); in updateLayoutHeightOf() local 68 if (params != null && params.height != layoutHeight) { in updateLayoutHeightOf() 69 params.height = layoutHeight; in updateLayoutHeightOf() 70 view.setLayoutParams(params); in updateLayoutHeightOf() 77 final LinearLayout.LayoutParams params = (LinearLayout.LayoutParams)lp; in updateLayoutGravityOf() local 78 if (params.gravity != layoutGravity) { in updateLayoutGravityOf() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
D | MoreSuggestions.java | 37 MoreSuggestions(final MoreSuggestionsParam params, final SuggestedWords suggestedWords) { in MoreSuggestions() argument 38 super(params); in MoreSuggestions() 207 final MoreSuggestionsParam params = mParams; in build() local 209 final int x = params.getX(index); in build() 210 final int y = params.getY(index); in build() 211 final int width = params.getWidth(index); in build() 222 final Key key = new MoreSuggestionKey(word, info, index, params); in build() 223 params.markAsEdgeKey(key, index); in build() 224 params.onAddKey(key); in build() 225 final int columnNumber = params.getColumnNumber(index); in build() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | GestureTrailDrawingPoints.java | 122 private static int getAlpha(final int elapsedTime, final GestureTrailDrawingParams params) { in getAlpha() argument 123 if (elapsedTime < params.mFadeoutStartDelay) { in getAlpha() 127 * (elapsedTime - params.mFadeoutStartDelay) in getAlpha() 128 / params.mFadeoutDuration; in getAlpha() 141 private static float getWidth(final int elapsedTime, final GestureTrailDrawingParams params) { in getWidth() argument 142 final float deltaWidth = params.mTrailStartWidth - params.mTrailEndWidth; in getWidth() 143 return params.mTrailStartWidth - (deltaWidth * elapsedTime) / params.mTrailLingerDuration; in getWidth() 158 final Rect outBoundsRect, final GestureTrailDrawingParams params) { in drawGestureTrail() argument 160 return drawGestureTrailLocked(canvas, paint, outBoundsRect, params); in drawGestureTrail() 165 final Rect outBoundsRect, final GestureTrailDrawingParams params) { in drawGestureTrailLocked() argument [all …]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/ |
D | CustomizationParamsTest.java | 65 ProvisioningParams params = createParams(ACTION_PROVISION_MANAGED_PROFILE, null, null, in defaultColorManagedProfile() local 69 CustomizationParams instance = createInstance(params); in defaultColorManagedProfile() 79 ProvisioningParams params = createParams(ACTION_PROVISION_MANAGED_DEVICE, null, null, null); in defaultColorDeviceOwner() local 82 CustomizationParams instance = createInstance(params); in defaultColorDeviceOwner() 92 ProvisioningParams params = createParams(null, SAMPLE_COLOR, null, null); in respectsMainColor() local 95 CustomizationParams instance = createInstance(params); in respectsMainColor() 105 ProvisioningParams params = createParams(null, null, null, null); in orgNameDefaultsToNull() local 108 CustomizationParams instance = createInstance(params); in orgNameDefaultsToNull() 117 ProvisioningParams params = createParams(null, null, null, SAMPLE_ORG_NAME); in respectsOrgName() local 120 CustomizationParams instance = createInstance(params); in respectsOrgName() [all …]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/ |
D | EncryptionControllerTest.java | 84 ProvisioningParams params = createProvisioningParams(ACTION_PROVISION_MANAGED_DEVICE); in testDeviceOwner() local 85 setReminder(params); in testDeviceOwner() 91 verifyStartPreProvisioningActivity(params); in testDeviceOwner() 97 ProvisioningParams params = createProvisioningParams(ACTION_PROVISION_MANAGED_PROFILE); in testProfileOwnerAfterSuw() local 98 setReminder(params); in testProfileOwnerAfterSuw() 102 verifyShowResumeNotification(params); in testProfileOwnerAfterSuw() 108 ProvisioningParams params = createProvisioningParams(ACTION_PROVISION_MANAGED_PROFILE); in testProfileOwnerDuringSuw() local 109 setReminder(params); in testProfileOwnerDuringSuw() 115 verifyStartPreProvisioningActivity(params); in testProfileOwnerDuringSuw() 121 ProvisioningParams params = createProvisioningParams(ACTION_PROVISION_MANAGED_DEVICE); in testDeviceNotEncrypted() local [all …]
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | InterpolatingLayout.java | 219 LayoutParams params = (LayoutParams) child.getLayoutParams(); in onMeasure() local 220 if (params.width == LayoutParams.MATCH_PARENT) { in onMeasure() 228 int childWidth = params.resolveWidth(parentWidth); in onMeasure() 241 switch (params.height) { in onMeasure() 247 parentHeight - params.topMargin - params.bottomMargin, in onMeasure() 252 params.height, MeasureSpec.EXACTLY); in onMeasure() 261 width += params.resolveLeftMargin(parentWidth) + params.resolveRightMargin(parentWidth); in onMeasure() 290 LayoutParams params = (LayoutParams) child.getLayoutParams(); in onLayout() local 291 int gravity = params.gravity; in onLayout() 296 if (params.narrowPaddingLeft != -1 || params.narrowPaddingRight != -1) { in onLayout() [all …]
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ |
D | HvacUiService.java | 155 WindowManager.LayoutParams params = new WindowManager.LayoutParams( in layoutHvacUi() local 164 params.packageName = this.getPackageName(); in layoutHvacUi() 165 params.gravity = Gravity.BOTTOM | Gravity.LEFT; in layoutHvacUi() 167 params.x = 0; in layoutHvacUi() 168 params.y = mInitialYOffset; in layoutHvacUi() 170 params.width = mScreenWidth; in layoutHvacUi() 171 params.height = mScreenBottom; in layoutHvacUi() 172 params.setTitle("HVAC Container"); in layoutHvacUi() 173 disableAnimations(params); in layoutHvacUi() 175 params.hasSystemUiListeners = true; in layoutHvacUi() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | SimpleWeeksAdapter.java | 100 public SimpleWeeksAdapter(Context context, HashMap<String, Integer> params) { in SimpleWeeksAdapter() argument 114 updateParams(params); in SimpleWeeksAdapter() 132 public void updateParams(HashMap<String, Integer> params) { in updateParams() argument 133 if (params == null) { in updateParams() 137 if (params.containsKey(WEEK_PARAMS_FOCUS_MONTH)) { in updateParams() 138 mFocusMonth = params.get(WEEK_PARAMS_FOCUS_MONTH); in updateParams() 140 if (params.containsKey(WEEK_PARAMS_FOCUS_MONTH)) { in updateParams() 141 mNumWeeks = params.get(WEEK_PARAMS_NUM_WEEKS); in updateParams() 143 if (params.containsKey(WEEK_PARAMS_SHOW_WEEK)) { in updateParams() 144 mShowWeekNumber = params.get(WEEK_PARAMS_SHOW_WEEK) != 0; in updateParams() [all …]
|
/packages/apps/TV/src/com/android/tv/dvr/provider/ |
D | DvrDbFuture.java | 60 FutureCallback<ResultT> callback, ParamsT... params) { in executeOnDbThread() argument 61 mFuture = DB_EXECUTOR.submit(() -> dbHelperInBackground(params)); in executeOnDbThread() 68 protected abstract ResultT dbHelperInBackground(ParamsT... params); in dbHelperInBackground() argument 81 protected final Void dbHelperInBackground(ScheduledRecording... params) { in dbHelperInBackground() argument 82 mDbHelper.insertSchedules(params); in dbHelperInBackground() 94 protected final Void dbHelperInBackground(ScheduledRecording... params) { in dbHelperInBackground() argument 95 mDbHelper.updateSchedules(params); in dbHelperInBackground() 107 protected final Void dbHelperInBackground(ScheduledRecording... params) { in dbHelperInBackground() argument 108 mDbHelper.deleteSchedules(params); in dbHelperInBackground() 136 protected final List<ScheduledRecording> dbHelperInBackground(Void... params) { in dbHelperInBackground() argument [all …]
|
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/provisioning/ |
D | AdminIntegratedFlowPrepareActivityTest.java | 55 ProvisioningParams params = createDefaultProvisioningParamsBuilder().build(); in shouldRunPrepareActivity_returnsFalse() local 59 mUtils, mContext, params); in shouldRunPrepareActivity_returnsFalse() 66 ProvisioningParams params = createDefaultProvisioningParamsBuilder() in shouldRunPrepareActivity_wifi_returnsTrue() local 74 mUtils, mContext, params); in shouldRunPrepareActivity_wifi_returnsTrue() 81 ProvisioningParams params = createDefaultProvisioningParamsBuilder() in shouldRunPrepareActivity_mobileData_returnsTrue() local 87 mUtils, mContext, params); in shouldRunPrepareActivity_mobileData_returnsTrue() 94 ProvisioningParams params = createDefaultProvisioningParamsBuilder() in shouldRunPrepareActivity_download_notSideloaded_returnsTrue() local 105 mUtils, mContext, params); in shouldRunPrepareActivity_download_notSideloaded_returnsTrue() 112 ProvisioningParams params = createDefaultProvisioningParamsBuilder() in shouldRunPrepareActivity_download_noMinimum_sideloaded_returnsTrue() local 124 mUtils, mContext, params); in shouldRunPrepareActivity_download_noMinimum_sideloaded_returnsTrue() [all …]
|
/packages/modules/DnsResolver/ |
D | ResolverController.cpp | 96 res_params* params, std::vector<android::net::ResolverStats>* stats, in getDnsInfo() argument 118 *params = res_params{}; in getDnsInfo() 122 netId, &nscount, res_servers, &dcount, res_domains, params, res_stats, in getDnsInfo() 140 android_net_res_stats_get_usable_servers(params, res_stats, nscount, valid_servers); in getDnsInfo() 242 std::vector<int32_t>* params, std::vector<int32_t>* stats, in getResolverInfo() argument 262 params->resize(IDnsResolver::RESOLVER_PARAMS_COUNT); in getResolverInfo() 263 (*params)[IDnsResolver::RESOLVER_PARAMS_SAMPLE_VALIDITY] = res_params.sample_validity; in getResolverInfo() 264 (*params)[IDnsResolver::RESOLVER_PARAMS_SUCCESS_THRESHOLD] = res_params.success_threshold; in getResolverInfo() 265 (*params)[IDnsResolver::RESOLVER_PARAMS_MIN_SAMPLES] = res_params.min_samples; in getResolverInfo() 266 (*params)[IDnsResolver::RESOLVER_PARAMS_MAX_SAMPLES] = res_params.max_samples; in getResolverInfo() [all …]
|