Searched refs:callbackHolder (Results 1 – 8 of 8) sorted by relevance
68 NumberOfAppsCallbackHolder callbackHolder = in testGetAvailabilityStatus_noPermissionsGranted() local76 callbackHolder.release(0); in testGetAvailabilityStatus_noPermissionsGranted()86 NumberOfAppsCallbackHolder callbackHolder = in testGetAvailabilityStatus_noPermissionsGranted_zoneWrite() local95 callbackHolder.release(0); in testGetAvailabilityStatus_noPermissionsGranted_zoneWrite()105 NumberOfAppsCallbackHolder callbackHolder = in testGetAvailabilityStatus_noPermissionsGranted_zoneRead() local114 callbackHolder.release(0); in testGetAvailabilityStatus_noPermissionsGranted_zoneRead()124 NumberOfAppsCallbackHolder callbackHolder = in testGetAvailabilityStatus_noPermissionsGranted_zoneHidden() local133 callbackHolder.release(0); in testGetAvailabilityStatus_noPermissionsGranted_zoneHidden()144 NumberOfAppsCallbackHolder callbackHolder = in testGetAvailabilityStatus_permissionsGranted() local152 callbackHolder.release(42); in testGetAvailabilityStatus_permissionsGranted()[all …]
59 NumberOfAppsCallbackHolder callbackHolder = mockCalculateNumberOfPolicyInstalledApps(); in testGetAvailabilityStatus_noInstalledApps() local66 callbackHolder.release(0); in testGetAvailabilityStatus_noInstalledApps()76 NumberOfAppsCallbackHolder callbackHolder = mockCalculateNumberOfPolicyInstalledApps(); in testGetAvailabilityStatus_noInstalledApps_zoneWrite() local84 callbackHolder.release(0); in testGetAvailabilityStatus_noInstalledApps_zoneWrite()94 NumberOfAppsCallbackHolder callbackHolder = mockCalculateNumberOfPolicyInstalledApps(); in testGetAvailabilityStatus_noInstalledApps_zoneRead() local102 callbackHolder.release(0); in testGetAvailabilityStatus_noInstalledApps_zoneRead()112 NumberOfAppsCallbackHolder callbackHolder = mockCalculateNumberOfPolicyInstalledApps(); in testGetAvailabilityStatus_noInstalledApps_zoneHidden() local120 callbackHolder.release(0); in testGetAvailabilityStatus_noInstalledApps_zoneHidden()131 NumberOfAppsCallbackHolder callbackHolder = mockCalculateNumberOfPolicyInstalledApps(); in testGetAvailabilityStatus_withInstalledApps() local138 callbackHolder.release(3); in testGetAvailabilityStatus_withInstalledApps()[all …]
67 ListOfAppsCallbackHolder callbackHolder = mockListPolicyInstalledApps(); in testGetAvailabilityStatus_noInstalledApps() local74 callbackHolder.release(); in testGetAvailabilityStatus_noInstalledApps()84 ListOfAppsCallbackHolder callbackHolder = mockListPolicyInstalledApps(); in testGetAvailabilityStatus_noInstalledApps_zoneWrite() local92 callbackHolder.release(); in testGetAvailabilityStatus_noInstalledApps_zoneWrite()102 ListOfAppsCallbackHolder callbackHolder = mockListPolicyInstalledApps(); in testGetAvailabilityStatus_noInstalledApps_zoneRead() local110 callbackHolder.release(); in testGetAvailabilityStatus_noInstalledApps_zoneRead()120 ListOfAppsCallbackHolder callbackHolder = mockListPolicyInstalledApps(); in testGetAvailabilityStatus_noInstalledApps_zoneHidden() local128 callbackHolder.release(); in testGetAvailabilityStatus_noInstalledApps_zoneHidden()139 ListOfAppsCallbackHolder callbackHolder = mockListPolicyInstalledApps(); in testGetAvailabilityStatus_withInstalledApps() local146 callbackHolder.release(newUserAppInfo("foo"), newUserAppInfo("bar")); in testGetAvailabilityStatus_withInstalledApps()[all …]
88 ListOfAppsCallbackHolder callbackHolder = mockListAppsWithAdminGrantedPermissions(); in testGetAvailabilityStatus_noPermissionsGranted() local95 callbackHolder.release(); in testGetAvailabilityStatus_noPermissionsGranted()105 ListOfAppsCallbackHolder callbackHolder = mockListAppsWithAdminGrantedPermissions(); in testGetAvailabilityStatus_noPermissionsGranted_zoneWrite() local113 callbackHolder.release(); in testGetAvailabilityStatus_noPermissionsGranted_zoneWrite()123 ListOfAppsCallbackHolder callbackHolder = mockListAppsWithAdminGrantedPermissions(); in testGetAvailabilityStatus_noPermissionsGranted_zoneRead() local131 callbackHolder.release(); in testGetAvailabilityStatus_noPermissionsGranted_zoneRead()141 ListOfAppsCallbackHolder callbackHolder = mockListAppsWithAdminGrantedPermissions(); in testGetAvailabilityStatus_noPermissionsGranted_zoneHidden() local149 callbackHolder.release(); in testGetAvailabilityStatus_noPermissionsGranted_zoneHidden()160 ListOfAppsCallbackHolder callbackHolder = mockListAppsWithAdminGrantedPermissions(); in testGetAvailabilityStatus_permissionsGranted() local167 callbackHolder.release(newUserAppInfo("foo"), newUserAppInfo("bar")); in testGetAvailabilityStatus_permissionsGranted()[all …]
364 CallbackHolder callbackHolder; in releaseInputEventCapture() local366 callbackHolder = mCarInputCaptureCallbacks.get(targetDisplayType); in releaseInputEventCapture()369 if (callbackHolder == null) { in releaseInputEventCapture()417 CallbackHolder callbackHolder = getCallback(targetDisplayType); in dispatchKeyEvents() local418 if (callbackHolder == null) { in dispatchKeyEvents()421 callbackHolder.mExecutor.execute(() -> { in dispatchKeyEvents()422 callbackHolder.mCallback.onKeyEvents(targetDisplayType, keyEvents); in dispatchKeyEvents()428 CallbackHolder callbackHolder = getCallback(targetDisplayType); in dispatchRotaryEvents() local429 if (callbackHolder == null) { in dispatchRotaryEvents()432 callbackHolder.mExecutor.execute(() -> { in dispatchRotaryEvents()[all …]
46 protected void lazyLoad(AppsListCallbackTranslator callbackHolder) { in lazyLoad() argument49 callbackHolder); in lazyLoad()
49 protected void lazyLoad(AppsListCallbackTranslator callbackHolder) { in lazyLoad() argument51 mApplicationFeatureProvider.listPolicyInstalledApps(callbackHolder); in lazyLoad()
53 protected abstract void lazyLoad(T callbackHolder); in lazyLoad() argument