Home
last modified time | relevance | path

Searched refs:targetPackageName (Results 1 – 15 of 15) sorted by relevance

/packages/modules/AppSearch/framework/java/android/app/appsearch/
DGlobalSearchSession.java336 @NonNull String targetPackageName, in registerObserverCallback()
340 Objects.requireNonNull(targetPackageName); in registerObserverCallback()
349 mObserverCallbacksLocked.get(targetPackageName); in registerObserverCallback()
405 targetPackageName, in registerObserverCallback()
425 mObserverCallbacksLocked.put(targetPackageName, observersForPackage); in registerObserverCallback()
449 @NonNull String targetPackageName, in unregisterObserverCallback()
451 Objects.requireNonNull(targetPackageName); in unregisterObserverCallback()
458 mObserverCallbacksLocked.get(targetPackageName); in unregisterObserverCallback()
471 targetPackageName, in unregisterObserverCallback()
487 mObserverCallbacksLocked.remove(targetPackageName); in unregisterObserverCallback()
DAppSearchSession.java199 String targetPackageName = in getSchema() local
205 targetPackageName, in getSchema()
345 String targetPackageName = in getByDocumentId() local
351 targetPackageName, in getByDocumentId()
622 String targetPackageName = in reportUsage() local
628 targetPackageName, in reportUsage()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/visibilitystore/
DVisibilityUtil.java49 @NonNull String targetPackageName, in isSchemaSearchableByCaller() argument
54 Objects.requireNonNull(targetPackageName); in isSchemaSearchableByCaller()
57 if (callerAccess.getCallingPackageName().equals(targetPackageName)) { in isSchemaSearchableByCaller()
64 callerAccess, targetPackageName, prefixedSchema, visibilityStore); in isSchemaSearchableByCaller()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/
DObserverManager.java149 @NonNull String targetPackageName, in registerObserverCallback() argument
154 List<ObserverInfo> infos = mObserversLocked.get(targetPackageName); in registerObserverCallback()
157 mObserversLocked.put(targetPackageName, infos); in registerObserverCallback()
170 @NonNull String targetPackageName, @NonNull ObserverCallback observer) { in unregisterObserverCallback()
172 List<ObserverInfo> infos = mObserversLocked.get(targetPackageName); in unregisterObserverCallback()
260 @NonNull String targetPackageName, in onSchemaChange() argument
264 List<ObserverInfo> allObserverInfosForPackage = mObserversLocked.get(targetPackageName); in onSchemaChange()
282 prefix = PrefixUtil.createPrefix(targetPackageName, databaseName); in onSchemaChange()
DAppSearchImpl.java2613 @NonNull String targetPackageName, in registerObserverCallback() argument
2622 listeningPackageAccess, targetPackageName, spec, executor, observer); in registerObserverCallback()
2637 @NonNull String targetPackageName, @NonNull ObserverCallback observer) { in unregisterObserverCallback()
2638 mObserverManager.unregisterObserverCallback(targetPackageName, observer); in unregisterObserverCallback()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DOverlayManagerCompat.java74 public String getEnabledPackageName(String targetPackageName, String category) { in getEnabledPackageName() argument
76 List<OverlayInfo> overlayInfos = getOverlayInfosForTarget(targetPackageName, in getEnabledPackageName()
127 private List<OverlayInfo> getOverlayInfosForTarget(String targetPackageName, int userId) { in getOverlayInfosForTarget() argument
128 return mOverlayManager.getOverlayInfosForTarget(targetPackageName, UserHandle.of(userId)); in getOverlayInfosForTarget()
/packages/modules/AppSearch/testing/testutils/src/android/app/appsearch/testutil/
DGlobalSearchSessionShimImpl.java128 @NonNull String targetPackageName, in registerObserverCallback()
132 mGlobalSearchSession.registerObserverCallback(targetPackageName, spec, mExecutor, observer); in registerObserverCallback()
137 @NonNull String targetPackageName, @NonNull ObserverCallback observer) in unregisterObserverCallback()
139 mGlobalSearchSession.unregisterObserverCallback(targetPackageName, observer); in unregisterObserverCallback()
/packages/modules/AppSearch/framework/java/android/app/appsearch/aidl/
DIAppSearchManager.aidl89 in String targetPackageName, in getSchema() argument
158 in String targetPackageName, in getDocuments() argument
351 in String targetPackageName, in reportUsage() argument
454 in String targetPackageName, in registerObserverCallback() argument
/packages/modules/AppSearch/testing/testutils/src/android/app/appsearch/testutil/external/
DGlobalSearchSessionShim.java159 @NonNull String targetPackageName, in registerObserverCallback()
187 @NonNull String targetPackageName, @NonNull ObserverCallback observer) in unregisterObserverCallback()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DAppSearchManagerService.java485 @NonNull String targetPackageName, in getSchema() argument
491 Objects.requireNonNull(targetPackageName); in getSchema()
504 boolean global = !callingPackageName.equals(targetPackageName); in getSchema()
529 targetPackageName, in getSchema()
754 @NonNull String targetPackageName, in getDocuments() argument
763 Objects.requireNonNull(targetPackageName); in getDocuments()
779 boolean global = !callingPackageName.equals(targetPackageName); in getDocuments()
810 targetPackageName, in getDocuments()
819 targetPackageName, in getDocuments()
1537 @NonNull String targetPackageName, in reportUsage() argument
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpecSplitTests.java48 final String targetPackageName = targetRes.getResourcePackageName( in setUp() local
50 mTextsSet.setLocale(TEST_LOCALE, targetRes, targetPackageName); in setUp()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DThemeOverlayManagerTest.java209 private static OverlayInfo createOverlayInfo(String packageName, String targetPackageName, in createOverlayInfo() argument
211 return new OverlayInfo(packageName, targetPackageName, null, null, "", in createOverlayInfo()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DUiBot.java71 public static String targetPackageName; field in UiBot
98 targetPackageName = in UiBot()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DChooserActivity.java962 String targetPackageName =
971 .getResolveInfo().activityInfo.packageName.equals(targetPackageName)) {
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppButtonsPreferenceController.java461 mState.getEntry(overlayInfo.targetPackageName, in updateUninstallButton()