Home
last modified time | relevance | path

Searched refs:moduleId (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/app/
DModuleManagerImpl.java48 final int moduleId = agent.getModuleId(); in registerModule() local
49 if (moduleId == MODULE_INDEX_NONE) { in registerModule()
53 if (mRegisteredModuleAgents.get(moduleId) != null) { in registerModule()
54 throw new IllegalArgumentException("Module ID is registered already:" + moduleId); in registerModule()
56 mRegisteredModuleAgents.put(moduleId, agent); in registerModule()
60 public boolean unregisterModule(int moduleId) { in unregisterModule() argument
61 if (mRegisteredModuleAgents.get(moduleId) == null) { in unregisterModule()
64 mRegisteredModuleAgents.delete(moduleId); in unregisterModule()
65 if (moduleId == mDefaultModuleId) { in unregisterModule()
90 public boolean setDefaultModuleIndex(int moduleId) { in setDefaultModuleIndex() argument
[all …]
DModuleManager.java86 boolean unregisterModule(int moduleId); in unregisterModule() argument
108 boolean setDefaultModuleIndex(int moduleId); in setDefaultModuleIndex() argument
122 ModuleAgent getModuleAgent(int moduleId); in getModuleAgent() argument
134 int getQuickSwitchToModuleId(int moduleId, SettingsManager settingsManager, Context context); in getQuickSwitchToModuleId() argument
/packages/apps/Camera2/src/com/android/camera/module/
DModulesInfo.java77 private static void registerPhotoModule(ModuleManager moduleManager, final int moduleId, in registerPhotoModule() argument
83 return moduleId; in registerPhotoModule()
108 private static void registerVideoModule(ModuleManager moduleManager, final int moduleId, in registerVideoModule() argument
113 return moduleId; in registerVideoModule()
133 private static void registerWideAngleModule(ModuleManager moduleManager, final int moduleId, in registerWideAngleModule() argument
138 return moduleId; in registerWideAngleModule()
158 private static void registerPhotoSphereModule(ModuleManager moduleManager, final int moduleId, in registerPhotoSphereModule() argument
163 return moduleId; in registerPhotoSphereModule()
183 private static void registerRefocusModule(ModuleManager moduleManager, final int moduleId, in registerRefocusModule() argument
188 return moduleId; in registerRefocusModule()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/radio/
DDabTunerFragment.java31 int moduleId, Handler handler, RadioTestFragment.TunerListener tunerListener) { in DabTunerFragment() argument
32 super(radioManager, moduleId, handler, tunerListener); in DabTunerFragment()
DAmFmTunerFragment.java48 AmFmTunerFragment(RadioManager radioManager, int moduleId, in AmFmTunerFragment() argument
51 super(radioManager, moduleId, handler, tunerListener); in AmFmTunerFragment()
DRadioTunerFragment.java68 RadioTunerFragment(RadioManager radioManager, int moduleId, Handler handler, in RadioTunerFragment() argument
70 mRadioTuner = radioManager.openTuner(moduleId, /* config= */ null, /* withAudio= */ true, in RadioTunerFragment()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DDeviceConfigUtils.java340 final long moduleId = featureId & MODULE_MASK; in isFeatureSupported() local
341 if (moduleId == CONNECTIVITY_MODULE_ID) { in isFeatureSupported()
343 } else if (moduleId == NETWORK_STACK_MODULE_ID) { in isFeatureSupported()
346 throw new IllegalArgumentException("Unknown module " + moduleId); in isFeatureSupported()
/packages/apps/Camera2/src/com/android/camera/settings/
DAppUpgrader.java417 String moduleId = Integer.toString(moduleIds[i]); in upgradeModuleSettingsFiles() local
420 OLD_MODULE_PREFERENCES_PREFIX + moduleId); in upgradeModuleSettingsFiles()