Home
last modified time | relevance | path

Searched refs:mImpl (Results 1 – 25 of 31) sorted by relevance

12

/packages/modules/Connectivity/staticlibs/device/android/net/
DNetworkFactory.java56 final NetworkFactoryShim mImpl; field in NetworkFactory
66 mImpl = new NetworkFactoryImpl(this, looper, context, filter); in NetworkFactory()
68 mImpl = new NetworkFactoryLegacyImpl(this, looper, context, filter); in NetworkFactory()
80 return mImpl.obtainMessage(what, arg1, arg2, obj); in obtainMessage()
85 return mImpl.getLooper(); in getLooper()
93 mImpl.register(LOG_TAG); in register()
102 mImpl.registerIgnoringScore(LOG_TAG); in registerIgnoringScore()
107 mImpl.terminate(); in terminate()
111 mImpl.reevaluateAllRequests(); in reevaluateAllRequests()
147 mImpl.releaseRequestAsUnfulfillableByAnyFactory(r); in releaseRequestAsUnfulfillableByAnyFactory()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatterySettingsFeatureProviderImplTest.java39 private BatterySettingsFeatureProviderImpl mImpl; field in BatterySettingsFeatureProviderImplTest
44 mImpl = new BatterySettingsFeatureProviderImpl(); in setUp()
50 assertThat(mImpl.isManufactureDateAvailable(mContext, 1000L)).isFalse(); in isManufactureDateAvailable_returnFalse()
55 assertThat(mImpl.isFirstUseDateAvailable(mContext, 1000L)).isFalse(); in isFirstUseDateAvailable_returnFalse()
60 assertThat(mImpl.isBatteryInfoEnabled(mContext)).isFalse(); in isBatteryInfoEnabled_returnFalse()
67 mImpl.addBatteryTipDetector( in addBatteryTipDetector_containsLowBatteryTip()
76 assertThat(mImpl.getWirelessChargingLabel(mContext, new BatteryInfo())).isNull(); in getWirelessChargingLabel_returnNull()
81 assertThat(mImpl.getWirelessChargingContentDescription(mContext, new BatteryInfo())) in getWirelessChargingContentDescription_returnNull()
87 assertThat(mImpl.getWirelessChargingRemainingLabel(mContext, 1000L, 1000L)).isNull(); in getWirelessChargingRemainingLabel_returnNull()
92 assertThat(mImpl.isChargingOptimizationMode(mContext)).isFalse(); in isChargingOptimizationMode_default_returnFalse()
[all …]
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
DForwardingImageProxy.java34 private final ImageProxy mImpl; field in ForwardingImageProxy
37 mImpl = proxy; in ForwardingImageProxy()
45 return mImpl.getCropRect(); in getCropRect()
53 mImpl.setCropRect(cropRect); in setCropRect()
61 return mImpl.getFormat(); in getFormat()
69 return mImpl.getHeight(); in getHeight()
77 return mImpl.getPlanes(); in getPlanes()
85 return mImpl.getTimestamp(); in getTimestamp()
93 return mImpl.getWidth(); in getWidth()
101 mImpl.close(); in close()
/packages/modules/AdServices/adservices/framework/java/android/adservices/measurement/
DMeasurementManager.java71 private MeasurementCompatibleManager mImpl; field in MeasurementManager
107 mImpl = compatibleManager; in MeasurementManager()
121 mImpl = MeasurementCompatibleManager.get(context); in initialize()
144 mImpl.registerSource( in registerSource()
169 mImpl.registerSource(attributionSource, inputEvent, executor, callback); in registerSource()
186 mImpl.registerSource( in registerSource()
205 mImpl.registerSource(request, executor, callback); in registerSource()
227 mImpl.registerWebSource( in registerWebSource()
252 mImpl.registerWebSource(request, executor, callback); in registerWebSource()
273 mImpl.registerWebTrigger( in registerWebTrigger()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiService.java38 private final WifiServiceImpl mImpl; field in WifiService
45 mImpl = new WifiServiceImpl(mWifiContext, injector); in WifiService()
51 publishBinderService(Context.WIFI_SERVICE, mImpl); in onStart()
57 mImpl.checkAndStartWifi(); in onBootPhase()
59 mImpl.handleBootCompleted(); in onBootPhase()
65 mImpl.handleUserSwitch(to.getUserHandle().getIdentifier()); in onUserSwitching()
70 mImpl.handleUserUnlock(user.getUserHandle().getIdentifier()); in onUserUnlocking()
75 mImpl.handleUserStop(user.getUserHandle().getIdentifier()); in onUserStopping()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbService.java32 private final UwbServiceImpl mImpl; field in UwbService
36 mImpl = new UwbServiceImpl(context, new UwbInjector(new UwbContext(context))); in UwbService()
42 publishBinderService(Context.UWB_SERVICE, mImpl); in onStart()
48 mImpl.initialize(); in onBootPhase()
54 mImpl.handleUserSwitch(to.getUserHandle().getIdentifier()); in onUserSwitching()
59 mImpl.handleUserUnlock(user.getUserHandle().getIdentifier()); in onUserUnlocking()
/packages/services/Car/cpp/evs/manager/aidl/wrappers/src/
DAidlCamera.cpp51 mImpl = std::make_shared<ImplV0>(hidlCamera); in AidlCamera()
53 mImpl = std::make_shared<ImplV1>(hidlCameraV1); in AidlCamera()
58 return mImpl->getHidlCamera(); in getHidlCamera()
62 return mImpl->doneWithFrame(buffers); in doneWithFrame()
66 return mImpl->forcePrimaryClient(display); in forcePrimaryClient()
70 return mImpl->getCameraInfo(_aidl_return); in getCameraInfo()
74 return mImpl->getExtendedInfo(opaqueIdentifier, value); in getExtendedInfo()
78 return mImpl->getIntParameter(id, value); in getIntParameter()
82 return mImpl->getIntParameterRange(id, _aidl_return); in getIntParameterRange()
86 return mImpl->getParameterList(_aidl_return); in getParameterList()
[all …]
DAidlCameraStream.cpp40 mImpl = std::make_shared<ImplV0>(hidlStream); in AidlCameraStream()
42 mImpl = std::make_shared<ImplV1>(hidlStreamV1); in AidlCameraStream()
47 return mImpl->deliverFrame(buffers); in deliverFrame()
51 return mImpl->notify(event); in notify()
55 return mImpl->getBuffer(id, _return); in getBuffer()
DAidlEnumerator.cpp74 mImpl = std::make_shared<ImplV0>(service); in AidlEnumerator()
77 mImpl = std::make_shared<ImplV1>(serviceV1); in AidlEnumerator()
94 return mImpl->getCameraList(_aidl_return); in getCameraList()
154 return mImpl->closeCamera(aidlCamera->getHidlCamera()); in closeCamera()
160 return mImpl->openCamera(id, cfg, _aidl_return); in openCamera()
165 auto hidlDisplay = mImpl->openDisplay(id); in openDisplay()
187 mImpl->closeDisplay(pActiveDisplay); in closeDisplay()
217 return mImpl->getDisplayIdList(_aidl_return); in getDisplayIdList()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DSecurityFeatureProviderImplTest.java37 private SecurityFeatureProviderImpl mImpl; field in SecurityFeatureProviderImplTest
43 mImpl = new SecurityFeatureProviderImpl(); in setUp()
48 final TrustAgentManager m1 = mImpl.getTrustAgentManager(); in getTrustAgentManager_shouldReturnCache()
49 final TrustAgentManager m2 = mImpl.getTrustAgentManager(); in getTrustAgentManager_shouldReturnCache()
56 final LockPatternUtils l1 = mImpl.getLockPatternUtils(mContext); in getLockPatternUtils_shouldReturnCache()
57 final LockPatternUtils l2 = mImpl.getLockPatternUtils(mContext); in getLockPatternUtils_shouldReturnCache()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFeatureProviderImplTest.java129 private DashboardFeatureProviderImpl mImpl; field in DashboardFeatureProviderImplTest
160 mImpl = new DashboardFeatureProviderImpl(mContext); in setUp()
166 assertThat(mImpl.mContext).isEqualTo(mContext.getApplicationContext()); in shouldHoldAppContext()
177 mImpl.bindPreferenceToTileAndGetObservers(mActivity, mFragment, mForceRoundedIcon, in bindPreference_shouldBindAllData()
197 final List<DynamicDataObserver> observers = mImpl.bindPreferenceToTileAndGetObservers( in bindPreference_shouldBindAllSwitchData()
223 mImpl.bindPreferenceToTileAndGetObservers(mActivity, mFragment, mForceRoundedIcon, in bindPreference_providerTileWithPendingIntent_shouldBindIntent()
237 mImpl.bindPreferenceToTileAndGetObservers(mActivity, mFragment, mForceRoundedIcon, in bindPreference_noFragmentMetadata_shouldBindIntent()
253 mImpl.bindPreferenceToTileAndGetObservers(mActivity, mFragment, mForceRoundedIcon, in bindPreference_noFragmentMetadata_shouldBindToProfileSelector()
270 mImpl.bindPreferenceToTileAndGetObservers(mActivity, mFragment, mForceRoundedIcon, in bindPreference_noFragmentMetadataSingleUser_shouldBindToDirectLaunchIntent()
289 mImpl.bindPreferenceToTileAndGetObservers(mActivity, mFragment, mForceRoundedIcon, in bindPreference_toInternalSettingActivity_shouldBindToDirectLaunchIntentAndNotLog()
[all …]
/packages/modules/AdServices/adservices/framework/java/android/adservices/adid/
DAdIdManager.java54 private final AdIdCompatibleManager mImpl; field in AdIdManager
78 mImpl = new AdIdCompatibleManager(context); in AdIdManager()
92 mImpl.initialize(context); in initialize()
108 mImpl.getAdId(executor, OutcomeReceiverConverter.toAdServicesOutcomeReceiver(callback)); in getAdId()
123 mImpl.getAdId(executor, callback); in getAdId()
134 mImpl.unbindFromService(); in unbindFromService()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pService.java34 final WifiP2pServiceImpl mImpl; field in WifiP2pService
38 mImpl = new WifiP2pServiceImpl(getContext(), WifiInjector.getInstance()); in WifiP2pService()
44 publishBinderService(Context.WIFI_P2P_SERVICE, mImpl); in onStart()
50 mImpl.connectivityServiceReady(); in onBootPhase()
52 mImpl.handleBootCompleted(); in onBootPhase()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/builders/
DTemplateSliceBuilder.java45 private final TemplateBuilderImpl mImpl; field in TemplateSliceBuilder
51 mImpl = impl; in TemplateSliceBuilder()
59 mImpl = selectImpl(uri); in TemplateSliceBuilder()
60 if (mImpl == null) { in TemplateSliceBuilder()
63 setImpl(mImpl); in TemplateSliceBuilder()
71 return mImpl.build(); in build()
DPreferenceSliceBuilder.java54 private PreferenceSliceBuilderImpl mImpl; field in PreferenceSliceBuilder
96 mImpl.setTtl(ttl); in PreferenceSliceBuilder()
112 mImpl.setTtl(ttl); in PreferenceSliceBuilder()
126 return mImpl.build(); in build()
131 mImpl = (PreferenceSliceBuilderImpl) impl; in setImpl()
139 mImpl.addPreference(builder); in addPreference()
147 mImpl.addPreferenceCategory(builder); in addPreferenceCategory()
156 mImpl.addScreenTitle(builder); in addScreenTitle()
165 mImpl.addEmbeddedPreference(builder); in addEmbeddedPreference()
174 mImpl.setFocusedPreference(key); in setFocusedPreference()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/rtt/
DRttService.java34 private RttServiceImpl mImpl; field in RttService
38 mImpl = new RttServiceImpl(getContext()); in RttService()
44 publishBinderService(Context.WIFI_RTT_RANGING_SERVICE, mImpl); in onStart()
63 mImpl.start(handlerThread.getLooper(), wifiInjector.getClock(), awareManager, in onBootPhase()
67 mImpl.handleBootCompleted(); in onBootPhase()
/packages/modules/DeviceLock/service/java/com/android/server/devicelock/
DDeviceLockService.java41 private final DeviceLockServiceImpl mImpl; field in DeviceLockService
46 mImpl = new DeviceLockServiceImpl(context); in DeviceLockService()
56 publishBinderService(Context.DEVICE_LOCK_SERVICE, mImpl); in onStart()
89 mImpl.onUserSwitching(userHandle); in onUserSwitching()
102 mImpl.onUserUnlocked(userContext, userHandle); in onUserUnlocked()
120 mImpl.onUserAdded(userHandle);
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareService.java36 final WifiAwareServiceImpl mImpl; field in WifiAwareService
40 mImpl = new WifiAwareServiceImpl(getContext()); in WifiAwareService()
46 publishBinderService(Context.WIFI_AWARE_SERVICE, mImpl); in onStart()
77 mImpl.start(awareHandlerThread, wifiAwareStateManager, wifiAwareShellCommand, in onBootPhase()
84 mImpl.startLate(); in onBootPhase()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/taskstack/
DTaskStackChangeListeners.java41 private final Impl mImpl; field in TaskStackChangeListeners
44 mImpl = new Impl(executor); in TaskStackChangeListeners()
57 synchronized (mImpl) { in registerTaskStackListener()
58 mImpl.addListener(listener); in registerTaskStackListener()
70 synchronized (mImpl) { in unregisterTaskStackListener()
71 mImpl.removeListener(listener); in unregisterTaskStackListener()
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningService.java35 private final WifiScanningServiceImpl mImpl; field in WifiScanningService
43 mImpl = new WifiScanningServiceImpl(getContext(), mHandlerThread.getLooper(), in WifiScanningService()
52 publishBinderService(Context.WIFI_SCANNING_SERVICE, mImpl); in onStart()
59 mImpl.startService(); in onBootPhase()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardFeatureProviderImplTest.java47 private ContextualCardFeatureProviderImpl mImpl; field in ContextualCardFeatureProviderImplTest
54 mImpl = new ContextualCardFeatureProviderImpl(mContext); in setUp()
74 try (Cursor cursor = mImpl.getContextualCards()) { in getContextualCards_shouldSortByScore()
92 final int rowsUpdated = mImpl.resetDismissedTime(threshold); in resetDismissedTime_durationExpired_shouldResetToNull()
103 final int rowsUpdated = mImpl.resetDismissedTime(threshold); in resetDismissedTime_durationNotExpired_shouldNotUpdate()
/packages/apps/Settings/tests/unit/src/com/android/settings/enterprise/
DActionDisabledLearnMoreButtonLauncherImplTest.java79 private ActionDisabledLearnMoreButtonLauncherImpl mImpl; field in ActionDisabledLearnMoreButtonLauncherImplTest
93 mImpl = new ActionDisabledLearnMoreButtonLauncherImpl(mActivity, mBuilder); in setUp()
98 mImpl.launchShowAdminSettings(mActivity); in launchShowAdminSettings_works()
106 mImpl.launchShowAdminPolicies(mActivity, ENFORCED_ADMIN_USER, ADMIN_COMPONENT); in launchShowAdminPolicies_works()
114 mImpl.showHelpPage(mActivity, URL, CONTEXT_USER); in showHelpPage_works()
/packages/services/Car/service-builtin/src/com/android/car/pm/
DCarSafetyAccessibilityService.java30 private CarSafetyAccessibilityServiceImplBase mImpl; field in CarSafetyAccessibilityService
34 mImpl.onAccessibilityEvent(event); in onAccessibilityEvent()
49 mImpl = (CarSafetyAccessibilityServiceImplBase) constructor.newInstance(); in onCreate()
/packages/modules/StatsD/statsd/src/utils/
DRegex.cpp28 Regex::Regex(regex_t impl) : mImpl(std::move(impl)) { in Regex()
32 regfree(&mImpl); in ~Regex()
61 int status = regexec(&mImpl, str.c_str(), 1 /* nmatch */, &match /* pmatch */, 0 /* flags */); in replace()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceImplTest.java100 private CustomAudienceImpl mImpl; field in CustomAudienceImplTest
107 mImpl = in setup()
121 mImpl.joinCustomAudience( in testJoinCustomAudience_runNormally()
141 mImpl.joinCustomAudience( in testJoinCustomAudience_withDevOptionsEnabled()
303 mImpl.leaveCustomAudience( in testLeaveCustomAudience_runNormally()

12