Home
last modified time | relevance | path

Searched refs:imeId (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodSettings.java200 String imeId = subtypeSplitter.next(); in getEnabledInputMethodsAndSubtypeList() local
204 imsList.add(new Pair<>(imeId, subtypeHashes)); in getEnabledInputMethodsAndSubtypeList()
287 final String imeId = ime.first; in saveSubtypeHistory() local
297 builder.append(imeId).append(INPUT_METHOD_SUBTYPE_SEPARATOR).append(subtypeHashCodeStr); in saveSubtypeHistory()
303 private void addSubtypeToHistory(String imeId, String subtypeHashCodeStr) { in addSubtypeToHistory() argument
307 if (ime.first.equals(imeId)) { in addSubtypeToHistory()
309 Slog.v(TAG, "Subtype found in the history: " + imeId + ", " in addSubtypeToHistory()
318 Slog.v(TAG, "Add subtype to the history: " + imeId + ", " + subtypeHashCodeStr); in addSubtypeToHistory()
320 saveSubtypeHistory(subtypeHistory, imeId, subtypeHashCodeStr); in addSubtypeToHistory()
364 String getLastSubtypeForInputMethod(String imeId) { in getLastSubtypeForInputMethod() argument
[all …]
DInputMethodMap.java53 InputMethodInfo get(@Nullable String imeId) { in get() argument
54 return mMap.get(imeId); in get()
70 boolean containsKey(@Nullable String imeId) { in containsKey() argument
71 return mMap.containsKey(imeId); in containsKey()
92 final var imeId = imi.getId(); in applyAdditionalSubtypes() local
93 final var newAdditionalSubtypes = additionalSubtypeMap.get(imeId); in applyAdditionalSubtypes()
123 final var imeId = imi1.getId(); in areSame() local
124 final var imi2 = map2.get(imeId); in areSame()
DInputMethodManagerInternal.java122 public abstract boolean switchToInputMethod(String imeId, @UserIdInt int userId); in switchToInputMethod() argument
136 public abstract boolean setInputMethodEnabled(String imeId, boolean enabled, in setInputMethodEnabled() argument
156 int deviceId, @Nullable String imeId); in setVirtualDeviceInputMethodForAllUsers() argument
293 public boolean switchToInputMethod(String imeId, @UserIdInt int userId) {
298 public boolean setInputMethodEnabled(String imeId, boolean enabled,
305 int deviceId, @Nullable String imeId) {
DStartInputInfo.java77 @NonNull String imeId, @StartInputReason int startInputReason, boolean restarting, in StartInputInfo() argument
88 mImeId = imeId; in StartInputInfo()
DInputMethodManagerService.java525 InputMethodInfo queryInputMethodForCurrentUserLocked(@NonNull String imeId) { in queryInputMethodForCurrentUserLocked() argument
526 return InputMethodSettingsRepository.get(mCurrentUserId).getMethodMap().get(imeId); in queryInputMethodForCurrentUserLocked()
4059 @Nullable String imeId) { in getExceptionForUnknownImeId()
4060 return new IllegalArgumentException("Unknown id: " + imeId); in getExceptionForUnknownImeId()
4288 public void setExplicitlyEnabledInputMethodSubtypes(String imeId, in setExplicitlyEnabledInputMethodSubtypes() argument
4296 imeId != null ? ComponentName.unflattenFromString(imeId) : null; in setExplicitlyEnabledInputMethodSubtypes()
4300 + imeId); in setExplicitlyEnabledInputMethodSubtypes()
4309 if (!settings.setEnabledInputMethodSubtypes(imeId, subtypeHashCodes)) { in setExplicitlyEnabledInputMethodSubtypes()
5208 final String imeId = InputMethodInfo.computeId(ri); in filterInputMethodServices() local
5210 Slog.w(TAG, "Skipping input method " + imeId in filterInputMethodServices()
[all …]
DAutofillSuggestionsController.java105 final var imeId = mBindingController.getSelectedMethodId(); in onCreateInlineSuggestionsRequest() local
107 .getMethodMap().get(imeId); in onCreateInlineSuggestionsRequest()
DIInputMethodManagerImpl.java146 void setExplicitlyEnabledInputMethodSubtypes(String imeId, in setExplicitlyEnabledInputMethodSubtypes() argument
359 public void setExplicitlyEnabledInputMethodSubtypes(String imeId, int[] subtypeHashCodes, in setExplicitlyEnabledInputMethodSubtypes() argument
361 mCallback.setExplicitlyEnabledInputMethodSubtypes(imeId, subtypeHashCodes, userId); in setExplicitlyEnabledInputMethodSubtypes()
DZeroJankProxy.java311 public void setExplicitlyEnabledInputMethodSubtypes(String imeId, in setExplicitlyEnabledInputMethodSubtypes() argument
313 mInner.setExplicitlyEnabledInputMethodSubtypes(imeId, subtypeHashCodes, userId); in setExplicitlyEnabledInputMethodSubtypes()
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodSubtypeHandle.java79 private static String encodeHandle(@NonNull String imeId, int subtypeHashCode) { in encodeHandle() argument
80 return imeId + DATA_SEPARATOR + SUBTYPE_TAG + DATA_SEPARATOR + subtypeHashCode; in encodeHandle()
121 final String imeId = splitter.next(); in of() local
122 final ComponentName componentName = ComponentName.unflattenFromString(imeId); in of()
127 if (!Objects.equals(componentName.flattenToShortString(), imeId)) { in of()
152 if (!Objects.equals(encodeHandle(imeId, subtypeHashCode), stringHandle)) { in of()
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DInputMethodSettingsTest.java30 @NonNull String initialEnabledImeStr, @NonNull String imeId, in verifyUpdateEnabledImeString() argument
34 imeId, createSubtypeHashCodeArrayFromStr(enabledSubtypeHashCodesStr))); in verifyUpdateEnabledImeString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/inputmethod/data/model/
DInputMethodModel.kt26 val imeId: String, constant in com.android.systemui.inputmethod.data.model.InputMethodModel
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityServiceConnection.java374 public boolean switchToInputMethod(String imeId) { in switchToInputMethod() argument
376 logTraceSvcConn("switchToInputMethod", "imeId=" + imeId); in switchToInputMethod()
387 result = InputMethodManagerInternal.get().switchToInputMethod(imeId, callingUserId); in switchToInputMethod()
397 public int setInputMethodEnabled(String imeId, boolean enabled) throws SecurityException { in setInputMethodEnabled() argument
399 logTraceSvcConn("switchToInputMethod", "imeId=" + imeId); in setInputMethodEnabled()
415 checkResult = mSecurityPolicy.canEnableDisableInputMethod(imeId, this); in setInputMethodEnabled()
420 if (inputMethodManagerInternal.setInputMethodEnabled(imeId, in setInputMethodEnabled()
DUiAutomationManager.java353 public boolean switchToInputMethod(String imeId) { in switchToInputMethod() argument
359 public int setInputMethodEnabled(String imeId, boolean enabled) { in setInputMethodEnabled() argument
DProxyAccessibilityServiceConnection.java521 public boolean switchToInputMethod(String imeId) throws UnsupportedOperationException { in switchToInputMethod() argument
528 public int setInputMethodEnabled(String imeId, boolean enabled) in setInputMethodEnabled() argument
DAccessibilitySecurityPolicy.java408 int canEnableDisableInputMethod(String imeId, AbstractAccessibilityServiceConnection service) in canEnableDisableInputMethod() argument
418 if (info.getId().equals(imeId)) { in canEnableDisableInputMethod()
/frameworks/base/core/java/android/accessibilityservice/
DIAccessibilityServiceConnection.aidl142 boolean switchToInputMethod(String imeId); in switchToInputMethod() argument
145 int setInputMethodEnabled(String imeId, boolean enabled); in setInputMethodEnabled() argument
DAccessibilityService.java2309 public boolean switchToInputMethod(@NonNull String imeId) { in switchToInputMethod() argument
2315 return connection.switchToInputMethod(imeId); in switchToInputMethod()
2341 public int setInputMethodEnabled(@NonNull String imeId, boolean enabled) in setInputMethodEnabled() argument
2348 return connection.setInputMethodEnabled(imeId, enabled); in setInputMethodEnabled()
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityServiceConnectionImpl.java159 public boolean switchToInputMethod(String imeId) { in switchToInputMethod() argument
163 public int setInputMethodEnabled(String imeId, boolean enabled) { in setInputMethodEnabled() argument
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
DNotificationTest.java166 String imeId = Settings.Secure.getString( in getImePackage() local
168 ComponentName cn = ComponentName.unflattenFromString(imeId); in getImePackage()
/frameworks/base/core/java/com/android/internal/app/
DAppLocaleCollector.java121 String imeId = Settings.Secure.getStringForUser(mContext.getContentResolver(), in getActiveIme() local
123 if (infoList != null && imeId != null) { in getActiveIme()
125 if (method.getId().equals(imeId)) { in getActiveIme()
/frameworks/base/packages/SystemUI/src/com/android/systemui/inputmethod/data/repository/
DInputMethodRepository.kt79 imeId = inputMethodInfo.id, in enabledInputMethods()
/frameworks/base/core/java/android/view/inputmethod/
DIInputMethodManagerGlobalInvoker.java484 static void setAdditionalInputMethodSubtypes(@NonNull String imeId, in setAdditionalInputMethodSubtypes() argument
491 service.setAdditionalInputMethodSubtypes(imeId, subtypes, userId); in setAdditionalInputMethodSubtypes()
499 static void setExplicitlyEnabledInputMethodSubtypes(@NonNull String imeId, in setExplicitlyEnabledInputMethodSubtypes() argument
506 service.setExplicitlyEnabledInputMethodSubtypes(imeId, subtypeHashCodes, userId); in setExplicitlyEnabledInputMethodSubtypes()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/inputmethod/domain/interactor/
DInputMethodInteractorTest.kt146 imeId = UUID.randomUUID().toString(), in createInputMethodWithSubtypes()
/frameworks/base/core/java/com/android/internal/view/
DIInputMethodManager.aidl149 void setExplicitlyEnabledInputMethodSubtypes(String imeId, in int[] subtypeHashCodes, in setExplicitlyEnabledInputMethodSubtypes() argument
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/ui/viewmodel/
DPasswordBouncerViewModelTest.kt375 imeId = UUID.randomUUID().toString(), in createInputMethodWithSubtypes()

12