/packages/modules/adb/client/ |
D | mdns_utils_test.cpp | 27 auto res = mdns_parse_instance_name(str); in TEST() local 35 auto res = mdns_parse_instance_name(str); in TEST() local 43 auto res = mdns_parse_instance_name(str); in TEST() local 54 auto res = mdns_parse_instance_name(str); in TEST() local 59 auto res = mdns_parse_instance_name(str); in TEST() local 64 auto res = mdns_parse_instance_name(str); in TEST() local 69 auto res = mdns_parse_instance_name(str); in TEST() local 74 auto res = mdns_parse_instance_name(str); in TEST() local 79 auto res = mdns_parse_instance_name(str); in TEST() local 87 auto res = mdns_parse_instance_name(str); in TEST() local [all …]
|
/packages/modules/Virtualization/libs/apkverify/tests/ |
D | apkverify_test.rs | 71 let res = verify("tests/data/v2-only-truncated-cd.apk", SDK_INT); in test_verify_truncated_cd() localVariable 89 let res = verify(format!("tests/data/v3-only-with-dsa-sha256-{}.apk", key_name), SDK_INT); in apks_signed_with_v3_dsa_sha256_are_not_supported() localVariable 145 let res = verify(path, 23); in test_verify_v3_sig_min_max_sdk() localVariable 149 let res = verify(path, 24); in test_verify_v3_sig_min_max_sdk() localVariable 152 let res = verify(path, 32); in test_verify_v3_sig_min_max_sdk() localVariable 155 let res = verify(path, 33); in test_verify_v3_sig_min_max_sdk() localVariable 168 let res = verify(path, SDK_INT); in test_verify_v3_sig_does_not_verify() localVariable 177 let res = verify("tests/data/v3-only-with-rsa-pkcs1-sha512-8192-digest-mismatch.apk", SDK_INT); in test_verify_v3_digest_mismatch() localVariable 185 let res = in test_verify_v3_wrong_apk_sig_block_magic() localVariable 194 let res = verify( in test_verify_v3_apk_sig_block_size_mismatch() localVariable [all …]
|
/packages/modules/Nfc/NfcNci/nci/jni/ |
D | Mutex.cpp | 43 int res = pthread_mutex_init(&mMutex, NULL); in Mutex() local 60 int res = pthread_mutex_destroy(&mMutex); in ~Mutex() local 77 int res = pthread_mutex_lock(&mMutex); in lock() local 94 int res = pthread_mutex_unlock(&mMutex); in unlock() local 111 int res = pthread_mutex_trylock(&mMutex); in tryLock() local
|
D | CondVar.cpp | 46 int const res = pthread_cond_init(&mCondition, &attr); in CondVar() local 63 int const res = pthread_cond_destroy(&mCondition); in ~CondVar() local 80 int const res = pthread_cond_wait(&mCondition, mutex.nativeHandle()); in wait() local 133 int const res = pthread_cond_signal(&mCondition); in notifyOne() local
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/ |
D | TemperatureDeltaFormatter.kt | 34 val res = in formatSingleDeltaValue() constant 48 val res = in formatAverageDeltaValue() constant 62 val res = in formatSingleDeltaA11yValue() constant 76 val res = in formatAverageDeltaA11yValue() constant
|
D | EnergyFormatter.kt | 37 val res = in formatEnergyValue() constant 50 val res = in formatEnergyA11yValue() constant
|
D | TemperatureFormatter.kt | 20 val res = in formatValue() constant 42 val res = in formatA11tValue() constant
|
/packages/modules/Connectivity/tests/native/utilities/ |
D | firewall.cpp | 53 auto res = mConfigurationMap.writeValue(key, newConfiguration, BPF_EXIST); in toggleStandbyMatch() local 76 auto res = mUidOwnerMap.writeValue(uid, newMatch, BPF_ANY); in addRule() local 83 auto res = mUidOwnerMap.writeValue(uid, newMatch, BPF_ANY); in addRule() local 99 auto res = mUidOwnerMap.deleteValue(uid); in removeRule() local 102 auto res = mUidOwnerMap.writeValue(uid, newMatch, BPF_ANY); in removeRule() local 114 auto res = addRule(uid, IIF_MATCH, iif); in addUidInterfaceRules() local 122 auto res = removeRule(uid, IIF_MATCH); in removeUidInterfaceRules() local 147 auto res = mDataSaverEnabledMap.writeValue(DATA_SAVER_ENABLED_KEY, enabled, BPF_EXIST); in setDataSaver() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/ |
D | ConfigurationActivityHelperTest.java | 87 Intent res = mHelper.getConfigurationActivityIntentForMode(mode, mApprovedServiceFinder); in getConfigurationActivityIntentForMode_configActivity() local 107 Intent res = mHelper.getConfigurationActivityIntentForMode(mode, mApprovedServiceFinder); in getConfigurationActivityIntentForMode_configActivityNotResolvable_returnsNull() local 121 Intent res = mHelper.getConfigurationActivityIntentForMode(mode, mApprovedServiceFinder); in getConfigurationActivityIntentForMode_configActivityAndWrongPackage_returnsNull() local 136 Intent res = mHelper.getConfigurationActivityIntentForMode(mode, mApprovedServiceFinder); in getConfigurationActivityIntentForMode_configActivityAndUnspecifiedOwner() local 161 Intent res = mHelper.getConfigurationActivityIntentForMode(mode, mApprovedServiceFinder); in getConfigurationActivityIntentForMode_cps() local 187 Intent res = mHelper.getConfigurationActivityIntentForMode(mode, mApprovedServiceFinder); in getConfigurationActivityIntentForMode_cpsAndWrongPackage_returnsNull() local
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | AdvancedSettingsFragment.java | 49 final Resources res = getResources(); in onCreate() local 106 final Resources res = getResources(); in onSharedPreferenceChanged() local 119 final Resources res = getResources(); in refreshEnablingsOfKeypressSoundAndVibrationSettings() local 133 final Resources res = getResources(); in setupKeypressVibrationDurationSettings() local 177 final Resources res = getResources(); in setupKeypressSoundVolumeSettings() local 228 final Resources res = getResources(); in setupKeyLongpressTimeoutSettings() local
|
D | Settings.java | 199 public static int readScreenMetrics(final Resources res) { in readScreenMetrics() 205 final Resources res) { in readKeypressSoundEnabled() 211 final Resources res) { in readVibrationEnabled() 218 final Resources res) { in readAutoCorrectEnabled() 222 public static float readPlausibilityThreshold(final Resources res) { in readPlausibilityThreshold() 227 final Resources res) { in readBlockPotentiallyOffensive() 232 public static boolean readFromBuildConfigIfGestureInputEnabled(final Resources res) { in readFromBuildConfigIfGestureInputEnabled() 237 final Resources res) { in readGestureInputEnabled() 242 public static boolean readFromBuildConfigIfToShowKeyPreviewPopupOption(final Resources res) { in readFromBuildConfigIfToShowKeyPreviewPopupOption() 247 final Resources res) { in readKeyPreviewPopupEnabled() [all …]
|
D | PreferencesSettingsFragment.java | 51 final Resources res = getResources(); in onCreate() local 88 final Resources res = getResources(); in onSharedPreferenceChanged() local 98 final Resources res = getResources(); in refreshEnablingsOfKeypressSoundAndVibrationSettings() local
|
/packages/modules/Bluetooth/system/rust/src/gatt/server/transactions/helpers/ |
D | att_range_filter.rs | 42 let res = filter_to_range(AttHandle(0), AttHandle(2), [].into_iter()); in test_invalid_start_handle() localVariable 50 let res = filter_to_range(AttHandle(3), AttHandle(1), [].into_iter()); in test_invalid_range() localVariable 59 let res = in test_trivial_range() localVariable 68 let res = filter_to_range( in test_nontrivial_range() localVariable
|
/packages/modules/adb/ |
D | types.cpp | 33 block_type res; in clear() local 74 IOVector res; in take_front() local 158 auto res = std::move(chain_.back()); in coalesce() local 164 auto res = std::move(chain_.back()); in coalesce() local 174 auto res = std::move(chain_[start_index_]); in coalesce() local
|
/packages/modules/Gki/libkver/ |
D | test.cpp | 53 auto res = KmiVersion::Parse("5.4-android12-1"); in TEST() local 63 auto res = KmiVersion::Parse("5.4-android12-1\0-something"s); in TEST() local 92 auto res = KernelRelease::Parse("5.4.42-android12-1"); in TEST() local 105 auto res = KernelRelease::Parse("5.4.42-android12-1\0-something"s, false); in TEST() local 110 auto res = KernelRelease::Parse("5.4.42-android12-1-something", false); in TEST() local 115 auto res = KernelRelease::Parse("5.4.42-android12-1-something", true); in TEST() local
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | FileUtils.java | 213 int res = 0; in translateModeStringToPosix() local 236 String res = ""; in translateModePosixToString() local 259 int res = 0; in translateModePosixToPfd() local 285 int res = 0; in translateModePfdToPosix() local 528 final StringBuilder res = new StringBuilder(name.length()); in buildValidFatFilename() local 545 final StringBuilder res = new StringBuilder(str); in trimFilename() local 551 private static void trimFilename(StringBuilder res, int maxBytes) { in trimFilename() 602 final String res = String.format(Locale.US, "%s%04d", prefix, i); in buildUniqueNameIterator() local 623 final String res = (i == 1) in buildUniqueNameIterator() local 642 final String res = (i == 0) ? name : name + " (" + i + ")"; in buildUniqueNameIterator() local
|
/packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/side-less/com/android/adservices/common/ |
D | AbstractAdServicesShellCommandHelperTest.java | 132 String res = mAdServicesShellCommandHelper.runCommand("%s %s", CMD_ECHO, CMD_ECHO_OUT); in testRunCommand_deviceLevelTPlus() local 143 String res = adServicesShellCommandHelperOnS.runCommand("%s %s", CMD_ECHO, CMD_ECHO_OUT); in testRunCommand_deviceLevelS() local 157 String res = adServicesShellCommandHelper.runCommand("%s %s", CMD_ECHO, CMD_ECHO_OUT); in testRunCommand_deviceLevelT_usesSdkSandbox() local 164 CommandResult res = in testRunCommandRwe_deviceLevelTPlus() local 177 CommandResult res = in testRunCommandRwe_deviceLevelS() local 193 CommandResult res = in testRunCommandRwe_deviceLevelT_usesSdkSandbox() local 232 String res = sampleShellCommandOutput(cmd); in runShellCommandRwe() local
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/shared/ |
D | LengthFormatter.kt | 36 val res = in formatValue() constant 52 val res = in formatA11yValue() constant
|
/packages/modules/DnsResolver/ |
D | DnsResolverService.cpp | 136 int res = ResolverEventReporter::getInstance().addListener(listener); in registerEventListener() local 146 int res = ResolverEventReporter::getInstance().addUnsolEventListener(listener); in registerUnsolicitedEventListener() local 200 int res = gDnsResolv->resolverCtrl.setResolverConfiguration(resolverParams); in setResolverConfiguration() local 216 int res = gDnsResolv->resolverCtrl.getResolverInfo( in getResolverInfo() local 248 int res = gDnsResolv->resolverCtrl.getPrefix64(netId, &prefix); in getPrefix64() local 272 int res = gDnsResolv->setLogSeverity(logSeverity); in setLogSeverity() local 290 int res = gDnsResolv->resolverCtrl.createNetworkCache(netId); in createNetworkCache() local 299 int res = gDnsResolv->resolverCtrl.flushNetworkCache(netId); in flushNetworkCache() local
|
/packages/modules/adb/tls/tests/ |
D | adb_ca_list_test.cpp | 69 auto res = SHA256HexStringToBits(sha_str); in TEST_F() local 74 auto res = SHA256HexStringToBits(sha_str); in TEST_F() local 79 auto res = SHA256HexStringToBits(sha_str); in TEST_F() local 84 auto res = SHA256HexStringToBits(sha_str); in TEST_F() local 91 auto res = SHA256HexStringToBits(sha_str); in TEST_F() local
|
/packages/apps/Settings/tests/unit/src/com/android/settings/display/ |
D | ColorModePreferenceFragmentTest.java | 69 final Resources res = spy(mContext.getResources()); in getCandidates_all() local 97 final Resources res = spy(mContext.getResources()); in getCandidates_none() local 113 final Resources res = spy(mContext.getResources()); in getCandidates_withAutomatic() local 135 final Resources res = spy(mContext.getResources()); in getCandidates_withoutAutomatic() local
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastSettings.java | 435 Resources res = CellBroadcastSettings.getResourcesForDefaultSubId(getContext()); in onCreatePreferences() local 615 Resources res = CellBroadcastSettings.getResourcesForDefaultSubId(getContext()); in updatePreferenceVisibility() local 678 isShowFullScreenMessageVisible(getContext(), res)); in updatePreferenceVisibility() local 741 mEnableVibrateCheckBox.setVisible(isVibrationToggleVisible(getContext(), res)); in updatePreferenceVisibility() local 774 Resources res = CellBroadcastSettings.getResourcesForDefaultSubId(getContext()); in initReminderIntervalList() local 812 Resources res = CellBroadcastSettings.getResourcesForDefaultSubId(getContext()); in initAlertsToggleDisabledAsNeeded() local 825 Resources res = CellBroadcastSettings.getResourcesForDefaultSubId(getContext()); in setAlertsEnabled() local 936 public static boolean isVibrationToggleVisible(Context context, Resources res) { in isVibrationToggleVisible() 952 public static boolean isShowFullScreenMessageVisible(Context context, Resources res) { in isShowFullScreenMessageVisible() 974 public static boolean isExerciseTestAlertsToggleVisible(Resources res, Context context, in isExerciseTestAlertsToggleVisible() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/modes/ |
D | IconUtil.java | 78 Resources res = context.getResources(); in makeModeHeader() local 167 Resources res = context.getResources(); in makeContactMonogram() local 207 private static Drawable composeIconCircle(Resources res, @ColorInt int circleColor, in composeIconCircle() 213 private static Drawable composeIconCircle(Resources res, ColorStateList circleColor, in composeIconCircle() 219 private static Drawable composeIcons(Resources res, Drawable outer, @ColorInt int outerColor, in composeIcons() 225 private static Drawable composeIcons(Resources res, Drawable outer, ColorStateList outerColor, in composeIcons() 242 private static Drawable mutateDrawable(Resources res, Drawable drawable) { in mutateDrawable()
|
/packages/modules/Virtualization/tests/libs/libdts/src/ |
D | lib.rs | 34 let res = Command::new("./dtc_static") in from_fs() localVariable 46 let res = Command::new("./dtc_static") in from_dtb() localVariable 69 let res = dtc.wait_with_output()?; in from_fdt() localVariable
|
/packages/apps/Car/systemlibs/car-qc-lib/tests/unit/src/com/android/car/qc/provider/ |
D | BaseQCProviderTest.java | 68 Bundle res = provider.call(METHOD_BIND, null, extras); in callOnBind_allowed_returnsItem() local 113 Bundle res = provider.call(METHOD_IS_SUBSCRIBED, null, extras); in callOnSubscribed_isSubscribed() local 128 Bundle res = provider.call(METHOD_IS_SUBSCRIBED, null, extras); in callOnUnsubscribed_isUnsubscribed() local 144 Bundle res = provider.call(METHOD_IS_DESTROYED, null, extras); in callDestroy_isDestroyed() local
|