/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/classifier/ |
D | Preprocessor.java | 78 public String removeStopWords(@NonNull String description) { in removeStopWords() argument 79 requireNonNull(description); in removeStopWords() 86 return Arrays.stream(description.split(SINGLE_SPACE)) in removeStopWords() 132 public static String preprocessAppDescription(@NonNull String description) { in preprocessAppDescription() argument 133 requireNonNull(description); in preprocessAppDescription() 135 description = description.toLowerCase(Locale.ENGLISH); in preprocessAppDescription() 137 description = URL_REGEX.matcher(description).replaceAll(EMPTY_STRING); in preprocessAppDescription() 138 description = MENTIONS_REGEX.matcher(description).replaceAll(EMPTY_STRING); in preprocessAppDescription() 139 description = HTML_TAG_REGEX.matcher(description).replaceAll(EMPTY_STRING); in preprocessAppDescription() 141 description = NEW_LINE_REGEX.matcher(description).replaceAll(SINGLE_SPACE); in preprocessAppDescription() [all …]
|
/packages/apps/Launcher3/aconfig/ |
D | launcher.aconfig | 7 description: "Expand and collapse pause work button while scrolling." 14 description: "Enables two line label inside all apps." 21 …description: "Enables visibility in home settings to see the toggle to turn on/off two lines in al… 28 description: "Enable a grid-only overview without a focused task." 35 description: "Enables cursor hover states for certain elements." 42 description: "Enables new workspace grid calculations method." 49 description: "Enable updated overview icon and menu within task." 56 description: "Enables focus states outline for launcher." 63 …description: "Enables taskbar with no recreation from lifecycle changes of TaskbarActivityContext." 70 description: "Enables launcher to listen to all transitions that include home activity" [all …]
|
/packages/modules/Bluetooth/flags/ |
D | leaudio.aconfig | 8 description: "New APIs to improve broadcast source sync" 16 description: "Allow volume control for connected devices" 23 description: "Le audio device and group health actions for fallback mechanism" 30 description: "Support le audio broadcast audio routing policies" 37 …description: "Inactivate audio device when stream cannot be created due to unavailable context typ… 44 description: "Enables support for the multicodec AIDL" 51 description: "Support Dynamic Spatial Audio for LE Audio" 58 description: "Apply asymetric PHY setting for unidirectional CIS" 65 description: "Sync audio stream with the bluetooth link clock" 72 description: "Le audio broadcast feature roll-out control flag" [all …]
|
D | gap.aconfig | 7 description: "Enable support for the decryption of Encrypted Advertising Data" 14 description: "Divide long single gap data if length is longer than HCI data length limit" 21 description: "Fix adv_scan_ind being reported as connectable" 28 description: "Refactor scan manager as described in go/scan-manager-refactor" 35 description: "skip initial DB lookup when robust caching support is UNKNOWN" 42 description: "Fix handling remote exception for LE scanners" 50 description: "Enumerate GATT error situations" 57 description: "Fix device busy bug in BluetoothGatt" 64 description: "Cleans up restricted handles when disconnected" 71 description: "Enable reassembly of LE periodic advertising events" [all …]
|
D | hfp.aconfig | 7 description: "Auto connect to hfp device is there is no a2dp device to connect to" 14 description: "Auto connect to hfp device is there is no a2dp device to connect to" 21 description: "AptX Voice codec support for HFP calls" 28 description: "use codec on the DSP when the BT controller does not support it" 35 description: "start and stop of the SCO is managed by Audio instead of Bluetooth" 42 description: "retry eSCO connection based on retransmission_effort" 49 description: "Closing Rfcomm Connection instead of reset" 56 description: "during ongoing call, pretend network service in +CIND when network is unavailable" 63 description: "Allow and ignore the RFU bits set to 0b1 rather than responding ERROR" 73 description: "Reset p_scb when collision occured and rfcomm is not opened yet" [all …]
|
/packages/modules/AdServices/adservices/flags/ |
D | adservices_flags.aconfig | 9 # TODO(b/320156647): Add bug number and description 11 description: "Enter a description per b/320156647" 18 # TODO(b/320156647): Add proper description below 19 description: "Add AIDL and system APIs for AdServicesExtDataService" 25 # TODO(b/320156647): Add bug number and description 27 description: "Enter a description per b/320156647" 33 # TODO(b/320156647): Add bug number and description 35 description: "Enter a description per b/320156647" 41 # TODO(b/320156647): Add bug number and description 43 description: "Enter a description per b/320156647" [all …]
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/ |
D | FailureWatcher.java | 46 protected void starting(Description description) { in starting() argument 47 mLauncher.setOnFailure(() -> onError(mLauncher, description, mViewCaptureDataSupplier)); in starting() 48 super.starting(description); in starting() 52 protected void finished(Description description) { in finished() argument 53 super.finished(description); in finished() 58 protected void succeeded(Description description) { in succeeded() argument 59 super.succeeded(description); in succeeded() 64 public Statement apply(Statement base, Description description) { in apply() argument 69 FailureWatcher.super.apply(base, description).evaluate(); in apply() 86 protected void failed(Throwable e, Description description) { [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/side-less/com/android/adservices/common/ |
D | AbstractAdServicesDeviceSupportedRuleTest.java | 133 Description description = createTestMethod(TestAnnotations.requiresLowRamDevice()); in testAnnotatedWithLowRam_deviceNotLowRam() local 136 description, in testAnnotatedWithLowRam_deviceNotLowRam() 144 Description description = createTestMethod(TestAnnotations.requiresLowRamDevice()); in testAnnotatedWithLowRam_deviceLowRam() local 146 mAdServicesDeviceSupportedRule.apply(mBaseStatement, description).evaluate(); in testAnnotatedWithLowRam_deviceLowRam() 154 Description description = in testAnnotatedWithLargeScreen_deviceSmallScreen() local 158 description, in testAnnotatedWithLargeScreen_deviceSmallScreen() 168 Description description = in testAnnotatedWithLargeScreen_deviceLargeScreen() local 171 mAdServicesDeviceSupportedRule.apply(mBaseStatement, description).evaluate(); in testAnnotatedWithLargeScreen_deviceLargeScreen() 179 Description description = in testAnnotatedWithSmallScreen_deviceLargeScreen() local 183 description, in testAnnotatedWithSmallScreen_deviceLargeScreen() [all …]
|
/packages/services/Car/aconfig/ |
D | flags.aconfig | 9 description: "Allow user switching ignoring the Ux Restrictions." 18 description: "This flag controls the display compatibility system feature." 27 description: "This flag controls if apps can query the inhibit state or bluetooth profiles." 36 description: "Enables serverless remote access" 44 …description: "Controls whether refactored car power policy daemon handles power policy change requ… 51 description: "Use per display max brightness defined by VHAL" 62 description: "Controls whether --cancel-after flag can be used in suspend command" 69 description: "Controls whether processes need to be stopped before suspend to disk" 78 description: "Controls whether car audio system can be configured with dynamic output devices" 86 description: "Controls whether car audio can be configured with min/max activation volume" [all …]
|
/packages/apps/Nfc/testutils/src/com/android/nfc/emulator/ |
D | NfcEmulatorDeviceSnippet.java | 43 @Rpc(description = "Open single non payment emulator activity") 57 @Rpc(description = "Open single payment emulator activity") 70 @Rpc(description = "Opens dual payment emulator activity") 83 @Rpc(description = "Opens foreground payment emulator activity") 97 @Rpc(description = "Opens dynamic AID emulator activity") 110 @Rpc(description = "Opens prefix payment emulator activity") 123 @Rpc(description = "Opens prefix payment emulator 2 activity") 136 @Rpc(description = "Opens dual non-payment prefix emulator activity") 151 @Rpc(description = "Open off host emulator activity") 165 @Rpc(description = "Open screen-on only off host emulator activity") [all …]
|
/packages/modules/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/ |
D | gatt.py | 158 def MMI_IUT_SEND_PREPARE_WRITE_REQUEST_VALID_SIZE(self, description: str, **kwargs): 168 matches = re.findall("'([a0-Z9]*)'O and size = '([a0-Z9]*)'", description) 187 def MMI_SEND_PRIMARY_SERVICE_UUID(self, description: str, **kwargs): 197 uuid = formatUuid(re.findall("'([a0-Z9]*)'O", description)[0]) 202 def MMI_SEND_PRIMARY_SERVICE_UUID_128(self, description: str, **kwargs): 213 uuid = formatUuid(re.findall("'([a0-Z9-]*)'O", description)[0]) 258 def MMI_CONFIRM_PRIMARY_SERVICE(self, test, description: str, **kwargs): 270 all_matches = list(map(formatUuid, re.findall("'([a0-Z9]*)'O", description))) 306 def MMI_CONFIRM_INCLUDE_SERVICE(self, description: str, **kwargs): 327 all_matches = re.findall("'([a0-Z9]*)'O", description) [all …]
|
D | __init__.py | 177 description: str, 200 return self._a2dp.interact(test, interaction, description, pts_address) 205 return self._avrcp.interact(test, interaction, description, pts_address) 210 return self._gatt.interact(test, interaction, description, pts_address) 215 return self._gap.interact(test, interaction, description, pts_address) 225 return self._hfp.interact(test, interaction, description, pts_address) 233 return self._hid.interact(test, interaction, description, pts_address) 238 return self._hogp.interact(test, interaction, description, pts_address) 243 return self._l2cap.interact(test, interaction, description, pts_address) 248 return self._map.interact(test, interaction, description, pts_address) [all …]
|
/packages/modules/AppSearch/flags/ |
D | appsearch.aconfig | 12 description: "Use SafeParcelable to serialize data through binder" 21 description: "Enable result grouping by schema type" 30 description: "Enable GenericDocument to take another GenericDocument to copy construct." 39 description: "Enable the hasProperty function in list filter query expressions." 48 description: "Enable addTakenActions API in PutDocumentsRequest." 57 description: "Enable setPubliclyVisibleSchema API in SetSchemaRequest." 66 description: "Enable GenericDocument.Builder to use previously hidden methods." 75 description: "Enable addFilterProperties API in SearchSpec and SearchSuggestionSpec." 84 description: "Enable the setSearchSourceLogTag API in SearchSpec." 93 …description: "Enable personal profile to search over allowed enterprise profile data in AppSearch … [all …]
|
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/ |
D | arguments_parser.h | 37 const std::string &description) { in keyValueOption() argument 38 return OptionSpec(true /* needsValue */, valueName, defaultValue, description); in keyValueOption() 41 static OptionSpec switchOption(const std::string &description) { in switchOption() argument 43 description); in switchOption() 53 const std::string &description) in OptionSpec() argument 55 mDescription(description) {} in OptionSpec() 71 static ArgumentSpec singleArgument(const std::string &name, const std::string &description) { in singleArgument() argument 72 return ArgumentSpec(name, 1 /* minCount */, 1 /* maxCount */, description); in singleArgument() 76 const size_t maxCount, const std::string &description) { in variableLengthArguments() argument 77 return ArgumentSpec(name, minCount, maxCount, description); in variableLengthArguments() [all …]
|
/packages/modules/Connectivity/common/ |
D | flags.aconfig | 11 description: "Set data saver through ConnectivityManager API" 19 description: "This flag controls whether isUidNetworkingBlocked is supported" 27 description: "Block network access for apps in a low importance background state" 35 description: "The flag controls the access for getIpSecTransformState and IpSecTransformState" 43 …description: "The flag controls the access for the parcelable TetheringRequest with getSoftApConfi… 51 description: "Flag for API to support requesting restricted wifi" 59 description: "Flag for local network capability API" 67 description: "Flag for satellite transport API" 75 description: "Flag for API to support nsd subtypes" 83 description: "Flag for API to register nsd offload engine" [all …]
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/mockito/ |
D | ExtendedMockitoInlineCleanerRule.java | 58 public Statement apply(Statement base, Description description) { in apply() argument 66 clearInlineMocksAfterTest(description); in apply() 72 private Mode getMode(Description description) { 74 String testName = getTestName(description); 75 ClearInlineMocksMode annotation = getAnnotation(description, ClearInlineMocksMode.class); 84 private void clearInlineMocksAfterTest(Description description) { 85 Mode mode = getMode(description); 86 boolean shouldClear = shouldClearInlineMocksAfterTest(description, mode); 90 + getTestName(description) 109 public static boolean shouldClearInlineMocksAfterTest(Description description, Mode mode) { [all …]
|
D | AdServicesExtendedMockitoRule.java | 89 public final Statement apply(Statement base, Description description) { in apply() argument 90 Statement realStatement = super.apply(base, description); in apply() 95 mTestName = TestHelper.getTestName(description); in apply() 106 protected final Set<Class<?>> getSpiedStaticClasses(Description description) { 107 Set<Class<?>> spiedStaticClasses = super.getSpiedStaticClasses(description); 113 protected final Set<Class<?>> getMockedStaticClasses(Description description) { 114 Set<Class<?>> mockedStaticClasses = super.getMockedStaticClasses(description); 120 protected final boolean getClearInlineMethodsAtTheEnd(Description description) { 121 ClearInlineMocksMode annotation = getAnnotation(description, ClearInlineMocksMode.class); 123 boolean shouldClear = shouldClearInlineMocksAfterTest(description, annotation.value()); [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | EccShortcutAdapter.java | 50 public CharSequence description = null; field in EccShortcutAdapter.EccDisplayMaterial 79 return inflateView(convertView, parent, material.number, material.description, in getView() 100 CharSequence description, int iconRes); in inflateView() argument 171 CharSequence description; in prepareEccMaterial() local 174 description = mPoliceDescription; in prepareEccMaterial() 178 description = mAmbulanceDescription; in prepareEccMaterial() 182 description = mFireDescription; in prepareEccMaterial() 190 if (TextUtils.isEmpty(material.description)) { in prepareEccMaterial() 191 material.description = description; in prepareEccMaterial() 195 material.description = context.getString(R.string.description_concat_format, in prepareEccMaterial() [all …]
|
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/ |
D | AbstractRethrowerRule.java | 39 protected final void evaluate(Statement base, Description description) throws Throwable { in evaluate() argument 40 String testName = description.getDisplayName(); in evaluate() 42 preTest(base, description, cleanUpErrors); in evaluate() 49 onTestFailure(base, description, cleanUpErrors, t); in evaluate() 51 postTest(base, description, cleanUpErrors); in evaluate() 81 protected void preTest(Statement base, Description description, List<Throwable> cleanUpErrors) { in preTest() argument 82 mLog.v("preTest(%s): not overridden by subclass", TestHelper.getTestName(description)); in preTest() 93 Description description, in onTestFailure() argument 98 TestHelper.getTestName(description), testFailure); in onTestFailure() 108 Statement base, Description description, List<Throwable> cleanUpErrors) { in postTest() argument [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/ |
D | ViewMatchers.kt | 40 override fun describeTo(description: Description) { in withIndex() 41 description.appendText("with index: ") in withIndex() 42 description.appendValue(index) in withIndex() 43 matcher.describeTo(description) in withIndex() 54 override fun describeTo(description: Description) { in atPosition() 55 description.appendText("has item at position $position: ") in atPosition() 56 itemMatcher.describeTo(description) in atPosition() 73 override fun describeTo(description: Description) { in isAbove() 74 description.appendText("is above view: ") in isAbove() 75 otherViewMatcher.describeTo(description) in isAbove()
|
/packages/services/Telecomm/flags/ |
D | telecom_callaudioroutestatemachine_flags.aconfig | 8 description: "Fix supported routes wrongly include bluetooth issue." 16 description: "Refactored audio routing" 24 description: "Ensure that the audio mode is updated anytime the foreground call changes." 32 description: "Ignore auto routing to wearable devices." 40 description: "Fix audio route transition issue on call disconnection when bt audio connected." 48 description: "Refactor call audio set/clear communication device and include unsupported routes." 56 description: "Protect set/clear communication device operation with lock to avoid race condition." 64 description: "Reset mute state when entering quiescent bluetooth route." 72 description: "Update supported route mask when Bluetooth devices audio connected." 80 description: "Clear the requested communication device after the audio operations are completed." [all …]
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | TaskbarModeSwitchRule.java | 72 public Statement apply(Statement base, Description description) { in apply() argument 74 && description.getAnnotation(TaskbarModeSwitch.class) != null) { in apply() 75 Mode mode = description.getAnnotation(TaskbarModeSwitch.class).mode(); in apply() 94 setTaskbarMode(mLauncher, wasTransientTaskbarMode, description); in apply() 99 setTaskbarMode(mLauncher, false, description); in apply() 104 setTaskbarMode(mLauncher, true, description); in apply() 118 boolean expectTransientTaskbar, Description description) throws Exception { 124 isTaskbarTransientMode(context) == expectTransientTaskbar, description); 130 boolean condition, Description description) { 133 if (description != null) { [all …]
|
/packages/modules/Wifi/flags/ |
D | wifi_flags.aconfig | 7 description: "This flag aim to test the flag release for wifi stack" 14 description: "Control the feature delay the save to store in batch to reduce the blocking time" 21 description: "Control the feature that move all Wifi service to a single thread" 29 …description: "Control the API that allows setting / reading the NetworkProviderInfo's battery char… 37 … description: "Control the test API for SharedConnectivityManager's getBroadcastReceiver() method" 44 …description: "Make the ANQP request in a queue and wait for the previous response before trigger t… 52 description: "For new API added to Android V" 60 description: "Add new API to configure d2d when infra sta is off" 68 description: "Add new API to get channel width" 76 description: "Detect VoIP over Wifi and execute optimization" [all …]
|
/packages/apps/Nfc/testutils/src/com/android/nfc/reader/ |
D | NfcReaderDeviceSnippet.java | 55 @Rpc(description = "Open simple reader activity for single non-payment test") 67 @Rpc(description = "Open simple reader activity for single non-payment test") 79 @Rpc(description = "Opens simple reader activity for dual payment services test") 91 @Rpc(description = "Opens simple reader activity for foreground payment test") 103 @Rpc(description = "Opens simple reader activity for dynamic AID test") 117 @Rpc(description = "Opens simple reader activity for prefix payment test") 131 @Rpc(description = "Opens simple reader activity for prefix payment 2 test") 145 @Rpc(description = "Opens simple reader activity for non-payment prefix test.") 199 @Rpc(description = "Open simple reader activity for off host test") 211 @Rpc(description = "Open simple reader activity for off host test") [all …]
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/ |
D | ApiCheckerRule.java | 269 public Statement apply(Statement base, Description description) { in apply() argument 281 public Statement applyOld(Statement base, Description description) { 285 mTestMethodName = description.getMethodName(); 295 Log.d(TAG, "evaluating " + description.getDisplayName()); 300 if (!isPlatformSupported(description)) { 322 for (Annotation annotation : description.getAnnotations()) { 367 validateOptionalAnnotations(description.getTestClass(), description.getMethodName(), 380 Log.w(TAG, "Test " + description 388 description, apiTest, ignoreInvalidApi); 417 Log.w(TAG, "Test " + description + " contains @IgnoreInvalidApi and is " [all …]
|