Home
last modified time | relevance | path

Searched refs:ASSISTANT (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/assist/
DAssistConfigBasePreferenceControllerTest.java125 Settings.Secure.putStringForUser(mContext.getContentResolver(), Settings.Secure.ASSISTANT, in getAvailabilityStatus_hasAssistComponent_isAvailable()
139 Settings.Secure.putStringForUser(mContext.getContentResolver(), Settings.Secure.ASSISTANT, in onStart_registersObserver()
145 Settings.Secure.getUriFor(Settings.Secure.ASSISTANT))).isNotEmpty(); in onStart_registersObserver()
153 Settings.Secure.putStringForUser(mContext.getContentResolver(), Settings.Secure.ASSISTANT, in onStop_unregistersObserver()
160 Settings.Secure.getUriFor(Settings.Secure.ASSISTANT))).isEmpty(); in onStop_unregistersObserver()
168 Settings.Secure.putStringForUser(mContext.getContentResolver(), Settings.Secure.ASSISTANT, in onChange_changeRegisteredSetting_callsRefreshUi()
DDefaultVoiceInputPickerEntryPreferenceControllerTest.java143 Settings.Secure.getUriFor(Settings.Secure.ASSISTANT))).isNotEmpty(); in onStart_registersObserver()
152 Settings.Secure.getUriFor(Settings.Secure.ASSISTANT))).isEmpty(); in onStop_unregistersObserver()
164 Settings.Secure.getUriFor(Settings.Secure.ASSISTANT)), 0); in onChange_changeRegisteredSetting_callsRefreshUi()
166 Settings.Secure.getUriFor(Settings.Secure.ASSISTANT)); in onChange_changeRegisteredSetting_callsRefreshUi()
239 Settings.Secure.putStringForUser(mContext.getContentResolver(), Settings.Secure.ASSISTANT, in setCurrentAssistant()
DTextContextPreferenceControllerTest.java71 Settings.Secure.putStringForUser(mContext.getContentResolver(), Settings.Secure.ASSISTANT, in setUp()
DScreenshotContextPreferenceControllerTest.java71 Settings.Secure.putStringForUser(mContext.getContentResolver(), Settings.Secure.ASSISTANT, in setUp()
DDefaultVoiceInputPickerPreferenceControllerTest.java285 Settings.Secure.putStringForUser(mContext.getContentResolver(), Settings.Secure.ASSISTANT, in setCurrentAssistant()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/assist/
DAssistFlashScreenPreferenceControllerTest.java87 Settings.Secure.putString(cr, Settings.Secure.ASSISTANT, "com.android.settings/assist"); in isAvailable_hasAssistantAndAllowDisclosure_shouldReturnTrue()
98 Settings.Secure.putString(cr, Settings.Secure.ASSISTANT, "com.android.settings/assist"); in isAvailable_hasAssistantAndDisallowDisclosure_shouldReturnTrue()
106 Settings.Secure.putString(mContext.getContentResolver(), Settings.Secure.ASSISTANT, ""); in isAvailable_hasNoAssistant_shouldReturnFalse()
115 Settings.Secure.ASSISTANT, "com.android.settings/assist"); in onResume_shouldUpdatePreference()
DAssistContextPreferenceControllerTest.java76 Settings.Secure.ASSISTANT, "com.android.settings/assist"); in isAvailable_hasAssistant_shouldReturnTrue()
83 Settings.Secure.ASSISTANT, ""); in isAvailable_hasNoAssistant_shouldReturnFalse()
90 Settings.Secure.ASSISTANT, "com.android.settings/assist"); in onResume_shouldUpdatePreference()
DDefaultAssistPreferenceControllerTest.java100 Settings.Secure.putString(mContext.getContentResolver(), Settings.Secure.ASSISTANT, in getDefaultAppInfo_hasDefaultAssist_shouldReturnKey()
110 Settings.Secure.putString(null, Settings.Secure.ASSISTANT, flattenKey); in getSettingIntent_noSettingsActivity_shouldNotCrash()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/defaultapps/
DDefaultAssistantPickerEntryPreferenceControllerTest.java101 Settings.Secure.ASSISTANT, TEST_COMPONENT, TEST_USER_ID); in getCurrentDefaultAppInfo_hasService_returnsDefaultAppInfo()
117 Settings.Secure.ASSISTANT, TEST_COMPONENT, TEST_USER_ID); in getSettingIntent_hasAssistant_noAssistSupport_returnsNull()
142 Settings.Secure.ASSISTANT, TEST_COMPONENT, TEST_USER_ID); in getSettingIntent_hasAssistant_supportsAssist_noSettingsActivity_returnsNull()
166 Settings.Secure.ASSISTANT, TEST_COMPONENT, TEST_USER_ID); in getSettingIntent_hasAssistant_supportsAssist_hasSettingsActivity_returnsIntent()
/packages/apps/Contacts/src/com/android/contacts/drawer/
DDrawerFragment.java243 mListener.onContactsViewSelected(ContactsView.ASSISTANT);
244 setNavigationItemChecked(ContactsView.ASSISTANT);
DDrawerAdapter.java105 R.drawable.quantum_ic_assistant_vd_theme_24, ContactsView.ASSISTANT)); in initializeDrawerMenuItems()
228 newBadge.setVisibility(item.contactsView == ContactsView.ASSISTANT && showWelcomeBadge in getPrimaryItemView()
/packages/apps/Contacts/src/com/android/contacts/activities/
DPeopleActivity.java118 ASSISTANT, enumConstant
982 switchView(ContactsView.ASSISTANT); in launchAssistant()
1170 } else if (mode == ContactsView.ASSISTANT) { in onContactsViewSelected()
1214 return mCurrentView == ContactsView.ASSISTANT; in isAssistantView()
/packages/apps/Settings/src/com/android/settings/applications/assist/
DAssistSettingObserver.java33 Settings.Secure.getUriFor(Settings.Secure.ASSISTANT);
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/assist/
DAssistSettingObserver.java33 Settings.Secure.getUriFor(Settings.Secure.ASSISTANT);
/packages/apps/Car/Settings/src/com/android/car/settings/applications/assist/
DDefaultVoiceInputPickerEntryPreferenceController.java45 private static final Uri ASSIST_URI = Settings.Secure.getUriFor(Settings.Secure.ASSISTANT);
DAssistConfigBasePreferenceController.java84 private static final Uri ASSIST_URI = Settings.Secure.getUriFor(Settings.Secure.ASSISTANT);