Home
last modified time | relevance | path

Searched refs:ServiceNotFoundException (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/core/java/android/os/
DProfilingServiceManager.java67 public IBinder getOrThrow() throws ServiceNotFoundException { in getOrThrow()
70 } catch (ServiceManager.ServiceNotFoundException e) { in getOrThrow()
71 throw new ServiceNotFoundException(mServiceName); in getOrThrow()
79 public static class ServiceNotFoundException extends ServiceManager.ServiceNotFoundException { class in ProfilingServiceManager
85 public ServiceNotFoundException(@NonNull String name) { in ServiceNotFoundException() method in ProfilingServiceManager.ServiceNotFoundException
DStatsServiceManager.java68 public IBinder getOrThrow() throws ServiceNotFoundException { in getOrThrow()
71 } catch (ServiceManager.ServiceNotFoundException e) { in getOrThrow()
72 throw new ServiceNotFoundException(mServiceName); in getOrThrow()
89 public static class ServiceNotFoundException extends ServiceManager.ServiceNotFoundException { class in StatsServiceManager
95 public ServiceNotFoundException(@NonNull String name) { in ServiceNotFoundException() method in StatsServiceManager.ServiceNotFoundException
DBluetoothServiceManager.java80 public IBinder getOrThrow() throws ServiceNotFoundException { in getOrThrow()
83 } catch (ServiceManager.ServiceNotFoundException e) { in getOrThrow()
84 throw new ServiceNotFoundException(mServiceName); in getOrThrow()
102 public static class ServiceNotFoundException extends ServiceManager.ServiceNotFoundException { class in BluetoothServiceManager
109 public ServiceNotFoundException(@NonNull String name) { in ServiceNotFoundException() method in BluetoothServiceManager.ServiceNotFoundException
DTelephonyServiceManager.java75 public IBinder getOrThrow() throws ServiceNotFoundException { in getOrThrow()
78 } catch (ServiceManager.ServiceNotFoundException e) { in getOrThrow()
79 throw new ServiceNotFoundException(mServiceName); in getOrThrow()
98 public static class ServiceNotFoundException extends ServiceManager.ServiceNotFoundException { class in TelephonyServiceManager
105 public ServiceNotFoundException(@NonNull String name) { in ServiceNotFoundException() method in TelephonyServiceManager.ServiceNotFoundException
DServiceManager.java198 public static IBinder getServiceOrThrow(String name) throws ServiceNotFoundException { in getServiceOrThrow()
203 throw new ServiceNotFoundException(name); in getServiceOrThrow()
419 public static class ServiceNotFoundException extends Exception { class in ServiceManager
420 public ServiceNotFoundException(String name) { in ServiceNotFoundException() method in ServiceManager.ServiceNotFoundException
DPerformanceHintManager.java42 public static PerformanceHintManager create() throws ServiceManager.ServiceNotFoundException { in create()
45 throw new ServiceManager.ServiceNotFoundException(Context.PERFORMANCE_HINT_SERVICE); in create()
/frameworks/base/nfc/java/android/nfc/
DNfcServiceManager.java85 public IBinder getOrThrow() throws ServiceNotFoundException { in getOrThrow()
88 } catch (ServiceManager.ServiceNotFoundException e) { in getOrThrow()
89 throw new ServiceNotFoundException(mServiceName); in getOrThrow()
107 public static class ServiceNotFoundException extends ServiceManager.ServiceNotFoundException { class in NfcServiceManager
114 public ServiceNotFoundException(@NonNull String name) { in ServiceNotFoundException() method in NfcServiceManager.ServiceNotFoundException
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java198 import android.os.ServiceManager.ServiceNotFoundException;
347 public AccountManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService()
378 public AlarmManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService()
408 public HdmiControlManager createService() throws ServiceNotFoundException { in registerService()
423 public FontManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService()
431 public ClipboardManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService()
444 public PacProxyManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService()
452 public IBinder createService() throws ServiceNotFoundException { in registerService()
468 public VpnManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService()
477 public VcnManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService()
[all …]
DGameManager.java35 import android.os.ServiceManager.ServiceNotFoundException;
95 GameManager(Context context, Handler handler) throws ServiceNotFoundException { in GameManager()
/frameworks/base/core/java/android/provider/
DDeviceConfigServiceManager.java89 public IBinder getOrThrow() throws ServiceNotFoundException { in getOrThrow()
92 } catch (ServiceManager.ServiceNotFoundException e) { in getOrThrow()
93 throw new ServiceNotFoundException(mServiceName); in getOrThrow()
117 public static class ServiceNotFoundException extends ServiceManager.ServiceNotFoundException { class in DeviceConfigServiceManager
125 public ServiceNotFoundException(@NonNull String name) { in ServiceNotFoundException() method in DeviceConfigServiceManager.ServiceNotFoundException
/frameworks/base/omapi/java/android/se/omapi/
DSeServiceManager.java94 public IBinder getOrThrow() throws ServiceNotFoundException { in getOrThrow()
97 } catch (ServiceManager.ServiceNotFoundException e) { in getOrThrow()
98 throw new ServiceNotFoundException(mServiceName); in getOrThrow()
119 public static class ServiceNotFoundException extends ServiceManager.ServiceNotFoundException { class in SeServiceManager
127 public ServiceNotFoundException(@NonNull String name) { in ServiceNotFoundException() method in SeServiceManager.ServiceNotFoundException
/frameworks/layoutlib/bridge/src/android/os/
DServiceManager.java38 public static IBinder getServiceOrThrow(String name) throws ServiceNotFoundException { in getServiceOrThrow()
95 public static class ServiceNotFoundException extends Exception { class in ServiceManager
97 public ServiceNotFoundException(String name) { in ServiceNotFoundException() method in ServiceManager.ServiceNotFoundException
/frameworks/layoutlib/bridge/src/android/app/
DUiModeManager_Accessor.java21 import android.os.ServiceManager.ServiceNotFoundException;
27 } catch (ServiceNotFoundException e) { in getUiModeManagerInstance()
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerShellCommand.java25 import android.os.ServiceManager.ServiceNotFoundException;
94 private int runListGameModes(PrintWriter pw) throws ServiceNotFoundException, RemoteException { in runListGameModes()
111 throws ServiceNotFoundException, RemoteException { in runListGameModeConfigs()
128 private int runSetGameMode(PrintWriter pw) throws ServiceNotFoundException, RemoteException { in runSetGameMode()
200 throws ServiceNotFoundException, RemoteException { in runSetGameModeConfig()
282 throws ServiceNotFoundException, RemoteException { in runResetGameModeConfig()
/frameworks/base/core/java/android/app/timezonedetector/
DTimeZoneDetectorImpl.java23 import android.os.ServiceManager.ServiceNotFoundException;
37 public TimeZoneDetectorImpl() throws ServiceNotFoundException { in TimeZoneDetectorImpl()
/frameworks/base/core/java/android/app/timedetector/
DTimeDetectorImpl.java23 import android.os.ServiceManager.ServiceNotFoundException;
37 public TimeDetectorImpl() throws ServiceNotFoundException { in TimeDetectorImpl()
/frameworks/base/core/tests/coretests/src/android/provider/
DDeviceConfigServiceManagerTest.java50 public void testGetOrThrow() throws DeviceConfigServiceManager.ServiceNotFoundException { in testGetOrThrow()
54 assertThrows(DeviceConfigServiceManager.ServiceNotFoundException.class, in testGetOrThrow()
/frameworks/base/core/java/android/hardware/
DConsumerIrManager.java25 import android.os.ServiceManager.ServiceNotFoundException;
42 public ConsumerIrManager(Context context) throws ServiceNotFoundException { in ConsumerIrManager()
/frameworks/base/core/java/android/view/textservice/
DTextServicesManager.java33 import android.os.ServiceManager.ServiceNotFoundException;
103 @Nullable InputMethodManager inputMethodManager) throws ServiceNotFoundException { in TextServicesManager()
121 throws ServiceNotFoundException { in createInstance()
137 } catch (ServiceNotFoundException e) { in getInstance()
/frameworks/base/services/core/java/com/android/server/power/stats/
DKernelWakelockReader.java21 import android.os.ServiceManager.ServiceNotFoundException;
166 throws ServiceNotFoundException { in waitForSuspendControlService()
176 throw new ServiceNotFoundException(name); in waitForSuspendControlService()
187 } catch (ServiceNotFoundException e) { in getWakelockStatsFromSystemSuspend()
/frameworks/base/core/java/android/hardware/lights/
DSystemLightsManager.java26 import android.os.ServiceManager.ServiceNotFoundException;
50 public SystemLightsManager(@NonNull Context context) throws ServiceNotFoundException { in SystemLightsManager()
/frameworks/base/core/api/
Dmodule-lib-current.txt327 public static class NfcServiceManager.ServiceNotFoundException extends java.lang.Exception {
328 ctor public NfcServiceManager.ServiceNotFoundException(@NonNull String);
333 …blic android.os.IBinder getOrThrow() throws android.nfc.NfcServiceManager.ServiceNotFoundException;
360 public static class BluetoothServiceManager.ServiceNotFoundException extends java.lang.Exception {
361 ctor public BluetoothServiceManager.ServiceNotFoundException(@NonNull String);
366 …android.os.IBinder getOrThrow() throws android.os.BluetoothServiceManager.ServiceNotFoundException;
409 public static class ProfilingServiceManager.ServiceNotFoundException extends java.lang.Exception {
410 ctor public ProfilingServiceManager.ServiceNotFoundException(@NonNull String);
415 …android.os.IBinder getOrThrow() throws android.os.ProfilingServiceManager.ServiceNotFoundException;
430 public static class StatsServiceManager.ServiceNotFoundException extends java.lang.Exception {
[all …]
/frameworks/base/core/java/android/content/
DClipboardManager.java30 import android.os.ServiceManager.ServiceNotFoundException;
131 public ClipboardManager(Context context, Handler handler) throws ServiceNotFoundException { in ClipboardManager()
/frameworks/base/services/core/java/com/android/server/biometrics/log/
DBiometricContextProvider.java32 import android.os.ServiceManager.ServiceNotFoundException;
70 } catch (ServiceNotFoundException e) { in defaultProvider()
/frameworks/base/core/java/android/net/
DNetworkScoreManager.java33 import android.os.ServiceManager.ServiceNotFoundException;
233 public NetworkScoreManager(Context context) throws ServiceNotFoundException { in NetworkScoreManager()

123