Home
last modified time | relevance | path

Searched refs:flattenToString (Results 1 – 25 of 167) sorted by relevance

1234567

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DServiceListingTest.java167 testComponent1.flattenToString() + ":" + testComponent2.flattenToString()); in testSaveLoad()
174 TEST_SETTING)).contains(testComponent1.flattenToString()); in testSaveLoad()
176 TEST_SETTING)).contains(testComponent2.flattenToString()); in testSaveLoad()
183 TEST_SETTING)).doesNotContain(testComponent1.flattenToString()); in testSaveLoad()
185 TEST_SETTING)).contains(testComponent2.flattenToString()); in testSaveLoad()
192 TEST_SETTING)).contains(testComponent1.flattenToString()); in testSaveLoad()
194 TEST_SETTING)).contains(testComponent2.flattenToString()); in testSaveLoad()
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DAccessibilityTargetHelper.java216 DALTONIZER_COMPONENT_NAME.flattenToString()), in getAllowListingFeatureTargets()
217 DALTONIZER_COMPONENT_NAME.flattenToString(), in getAllowListingFeatureTargets()
228 COLOR_INVERSION_COMPONENT_NAME.flattenToString()), in getAllowListingFeatureTargets()
229 COLOR_INVERSION_COMPONENT_NAME.flattenToString(), in getAllowListingFeatureTargets()
241 ONE_HANDED_COMPONENT_NAME.flattenToString()), in getAllowListingFeatureTargets()
242 ONE_HANDED_COMPONENT_NAME.flattenToString(), in getAllowListingFeatureTargets()
254 REDUCE_BRIGHT_COLORS_COMPONENT_NAME.flattenToString()), in getAllowListingFeatureTargets()
255 REDUCE_BRIGHT_COLORS_COMPONENT_NAME.flattenToString(), in getAllowListingFeatureTargets()
266 ACCESSIBILITY_HEARING_AIDS_COMPONENT_NAME.flattenToString()), in getAllowListingFeatureTargets()
267 ACCESSIBILITY_HEARING_AIDS_COMPONENT_NAME.flattenToString(), in getAllowListingFeatureTargets()
DAccessibilityActivityTarget.java41 shortcutInfo.getComponentName().flattenToString()), in AccessibilityActivityTarget()
42 shortcutInfo.getComponentName().flattenToString(), in AccessibilityActivityTarget()
DAccessibilityServiceTarget.java45 serviceInfo.getComponentName().flattenToString()), in AccessibilityServiceTarget()
46 serviceInfo.getComponentName().flattenToString(), in AccessibilityServiceTarget()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityManagerServiceTest.java801 ACCESSIBILITY_HEARING_AIDS_COMPONENT_NAME.flattenToString()); in testPerformAccessibilityShortcut_hearingAids_startActivityWithExpectedComponent()
804 ACCESSIBILITY_HEARING_AIDS_COMPONENT_NAME.flattenToString()); in testPerformAccessibilityShortcut_hearingAids_startActivityWithExpectedComponent()
808 ACCESSIBILITY_HEARING_AIDS_COMPONENT_NAME.flattenToString()); in testPerformAccessibilityShortcut_hearingAids_startActivityWithExpectedComponent()
819 ACCESSIBILITY_HEARING_AIDS_COMPONENT_NAME.flattenToString()); in testPerformAccessibilityShortcut_hearingAids_sendExpectedBroadcast()
822 ACCESSIBILITY_HEARING_AIDS_COMPONENT_NAME.flattenToString()); in testPerformAccessibilityShortcut_hearingAids_sendExpectedBroadcast()
875 userState.mAccessibilityButtonTargets.add(info_a.getComponentName().flattenToString()); in testPackagesForceStopped_fromContinuousService_removesButtonTarget()
876 userState.mAccessibilityButtonTargets.add(info_b.getComponentName().flattenToString()); in testPackagesForceStopped_fromContinuousService_removesButtonTarget()
891 info_b.getComponentName().flattenToString()); in testPackagesForceStopped_fromContinuousService_removesButtonTarget()
896 assertThat(targetsFromSetting).containsExactly(info_b.getComponentName().flattenToString()); in testPackagesForceStopped_fromContinuousService_removesButtonTarget()
940 installedService2.getComponentName().flattenToString()}); in onPackageChanged_disableComponent_updateInstalledServices()
[all …]
DAccessibilityUserStateTest.java161 mUserState.mAccessibilityShortcutKeyTargets.add(COMPONENT_NAME.flattenToString()); in onSwitchToAnotherUser_userStateClearedNonDefaultValues()
162 mUserState.mAccessibilityButtonTargets.add(COMPONENT_NAME.flattenToString()); in onSwitchToAnotherUser_userStateClearedNonDefaultValues()
163 mUserState.setTargetAssignedToAccessibilityButton(COMPONENT_NAME.flattenToString()); in onSwitchToAnotherUser_userStateClearedNonDefaultValues()
357 shortcutTargets.add(COMPONENT_NAME.flattenToString()); in doesShortcutTargetsStringContain_returnFalse()
359 COMPONENT_NAME1.flattenToString())); in doesShortcutTargetsStringContain_returnFalse()
366 shortcutTargets.add(COMPONENT_NAME2.flattenToString()); in isAssignedToShortcutLocked_withDifferentTypeComponentString_returnTrue()
369 COMPONENT_NAME1.flattenToString())); in isAssignedToShortcutLocked_withDifferentTypeComponentString_returnTrue()
377 assertTrue(mUserState.isShortcutTargetInstalledLocked(COMPONENT_NAME.flattenToString())); in isShortcutTargetInstalledLocked_returnTrue()
384 assertFalse(mUserState.isShortcutTargetInstalledLocked(invalidTarget.flattenToString())); in isShortcutTargetInstalledLocked_invalidTarget_returnFalse()
434 AccessibilityShortcutController.DALTONIZER_COMPONENT_NAME.flattenToString(), in updateA11yQsTargetLocked_valueUpdated()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAssistantsTest.java157 mAssistants.setPackageOrComponentEnabled(mCn.flattenToString(), userId, true, in testWriteXml_userTurnedOffNAS()
164 mAssistants.setPackageOrComponentEnabled(current.flattenToString(), userId, true, false, in testWriteXml_userTurnedOffNAS()
385 new ComponentName("b", "b").flattenToString(), 10, true, ""); in testXmlUpgradeExistingApprovedComponents()
392 mAssistants.setPackageOrComponentEnabled(component1.flattenToString(), mZero.id, true, in testSetPackageOrComponentEnabled_onlyOnePackage()
397 mAssistants.setPackageOrComponentEnabled(component2.flattenToString(), mZero.id, true, in testSetPackageOrComponentEnabled_onlyOnePackage()
406 mAssistants.setPackageOrComponentEnabled(component1.flattenToString(), mZero.id, true, in testSetPackageOrComponentEnabled_samePackage()
408 mAssistants.setPackageOrComponentEnabled(component1.flattenToString(), mZero.id, true, in testSetPackageOrComponentEnabled_samePackage()
425 .thenReturn(oldDefaultComponent.flattenToString()); in testLoadDefaultsFromConfig()
434 .thenReturn(newDefaultComponent.flattenToString()); in testLoadDefaultsFromConfig()
457 .thenReturn(newDefaultComponent.flattenToString()); in testNASSettingUpgrade_userNotSet_differentDefaultNAS()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
DPluginEnablerImpl.java59 mAutoDisabledPrefs.edit().remove(component.flattenToString()).apply(); in setDisabled()
61 mAutoDisabledPrefs.edit().putInt(component.flattenToString(), reason).apply(); in setDisabled()
76 return mAutoDisabledPrefs.getInt(componentName.flattenToString(), DISABLED_MANUALLY); in getDisableReason()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/accessibility/
DAccessibilityUtilsTest.java66 cn.flattenToString() + ":", in getEnabledServicesFromSettings_1Service_1result()
79 cn1.flattenToString() + ":" + cn2.flattenToString(), in getEnabledServicesFromSettings_2Services_2results()
/frameworks/base/services/credentials/java/com/android/server/credentials/
DCredentialManagerServiceImpl.java70 + providerInfo.getServiceInfo().getComponentName().flattenToString()); in CredentialManagerServiceImpl()
80 + mInfo.getServiceInfo().getComponentName().flattenToString() + " , " in newServiceInfoLocked()
81 + serviceComponent.flattenToString()); in newServiceInfoLocked()
84 + serviceComponent.flattenToString()); in newServiceInfoLocked()
DCreateRequestSession.java89 mProviders.put(providerCreateSession.getComponentName().flattenToString(), in initiateProviderSession()
103 flattenedPrimaryProviders.add(cn.flattenToString()); in launchUiWithProviderData()
141 Slog.i(TAG, "Final credential received from: " + componentName.flattenToString()); in onFinalResponseReceived()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/utils/
DTestUtils.java39 TEST_COMPONENT_A.flattenToString(), TEST_COMPONENT_B.flattenToString()};
94 stringJoiner.add(target.flattenToString()); in getShortcutTargets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/repository/
DCustomTileAddedRepository.kt51 .getBoolean(componentName.flattenToString(), false) in isTileAdded()
58 .putBoolean(componentName.flattenToString(), added) in isTileAdded()
/frameworks/base/core/java/com/android/internal/accessibility/util/
DAccessibilityStatsLogUtils.java122 componentName.flattenToString(), loggingShortcutType, loggingServiceStatus); in logAccessibilityShortcutActivatedInternal()
131 MAGNIFICATION_COMPONENT_NAME.flattenToString(), in logMagnificationTripleTap()
142 MAGNIFICATION_COMPONENT_NAME.flattenToString(), in logMagnificationTwoFingerTripleTap()
156 componentName.flattenToString(), in logAccessibilityButtonLongPressStatus()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DNotificationController.java131 mNotificationManager.cancel(removedPrintJob.flattenToString(), 0); in updateNotifications()
219 mNotificationManager.notify(printJob.getId().flattenToString(), 0, builder.build()); in createNotification()
276 intent.putExtra(EXTRA_PRINT_JOB_ID, printJobId.flattenToString()); in createContentIntent()
277 intent.setData(Uri.fromParts("printjob", printJobId.flattenToString(), null)); in createContentIntent()
284 intent.setAction(INTENT_ACTION_CANCEL_PRINTJOB + "_" + printJob.getId().flattenToString()); in createCancelIntent()
292 intent.setAction(INTENT_ACTION_RESTART_PRINTJOB + "_" + printJobId.flattenToString()); in createRestartIntent()
/frameworks/base/tests/FlickerTests/test-apps/app-helpers/src/com/android/server/wm/flicker/helpers/
DAssistantAppHelper.kt48 component.flattenToString() in setDefaultAssistant()
53 component.flattenToString() in setDefaultAssistant()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/shared/
DTileSpecTest.kt46 val spec = CUSTOM_TILE_PREFIX + componentName.flattenToString() + ")" in customTile()
76 val spec = CUSTOM_TILE_PREFIX + componentName.flattenToString() in customTileNotEndsWithParenthesis_invalid()
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityManagerTest.java299 COLOR_INVERSION_COMPONENT_NAME.flattenToString(), in getA11yFeatureToTileMap_verifyServiceMethodCalled()
302 DALTONIZER_COMPONENT_NAME.flattenToString(), in getA11yFeatureToTileMap_verifyServiceMethodCalled()
325 Set.of(DALTONIZER_COMPONENT_NAME.flattenToString()), in enableShortcutsForTargets_catchRemoteExceptionAndRethrow()
339 Set.of(DALTONIZER_COMPONENT_NAME.flattenToString()), in enableShortcutsForTargets_verifyServiceMethodCalled()
346 List.of(DALTONIZER_COMPONENT_NAME.flattenToString()), in enableShortcutsForTargets_verifyServiceMethodCalled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSTileHostTest.java555 .putBoolean(CUSTOM_TILE.flattenToString(), true) in testIsTileAdded_true()
566 .putBoolean(CUSTOM_TILE.flattenToString(), false) in testIsTileAdded_false()
584 .putBoolean(CUSTOM_TILE.flattenToString(), true) in testIsTileAdded_differentUser()
596 .getBoolean(CUSTOM_TILE.flattenToString(), false)); in testSetTileAdded_true()
605 .getBoolean(CUSTOM_TILE.flattenToString(), false)); in testSetTileAdded_false()
614 .getBoolean(CUSTOM_TILE.flattenToString(), false)); in testSetTileAdded_differentUser()
627 .getBoolean(CUSTOM_TILE.flattenToString(), false)); in testSetTileRemoved_afterCustomTileChangedByUser()
641 .getBoolean(CUSTOM_TILE.flattenToString(), false)); in testSetTileRemoved_removedByUser()
655 .getBoolean(CUSTOM_TILE.flattenToString(), false)); in testSetTileRemoved_removedBySystem()
/frameworks/base/services/tests/dreamservicetests/src/com/android/server/dreams/
DDreamOverlayServiceTest.java139 FIRST_DREAM_COMPONENT.flattenToString(), false); in testCallbacksRunOnExecutor()
197 FIRST_DREAM_COMPONENT.flattenToString(), false); in testOverlayClientInteraction()
208 SECOND_DREAM_COMPONENT.flattenToString(), false); in testOverlayClientInteraction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistLogger.kt82 assistComponentFinal?.flattenToString() ?: "", in reportAssistantInvocationEvent()
95 assistantComponent?.flattenToString(), in reportAssistantSessionEvent()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/
DCustomTileAddedSharedPreferencesRepositoryTest.kt128 return getBoolean(componentName.flattenToString(), false) in SharedPreferences()
135 edit().putBoolean(componentName.flattenToString(), value).commit() in SharedPreferences()
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/
DScreenDecorationsLogger.kt199 str1 = currentSize.flattenToString() in logDisplaySizeChanged()
200 str2 = newSize.flattenToString() in logDisplaySizeChanged()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/
DMetricsFeatureProvider.java196 return logSettingsTileClick(cn != null ? cn.flattenToString() : intent.getAction(), in logStartedIntent()
211 final String key = cn != null ? cn.flattenToString() : intent.getAction(); in logStartedIntentWithProfile()
/frameworks/base/core/java/android/provider/
DSettingsStringUtil.java129 return item != null ? item.flattenToString() : "null"; in itemToString()
152 delimitedElements, element.flattenToString()); in contains()

1234567