/frameworks/base/core/java/android/app/ |
H A D | StatsManager.java | 99 * @throws StatsUnavailableException if unsuccessful due to failing to connect to stats service 106 IStatsManager service = getIStatsManagerLocked(); 108 service.addConfiguration(configKey, config, mContext.getOpPackageName()); 136 * @throws StatsUnavailableException if unsuccessful due to failing to connect to stats service 142 IStatsManager service = getIStatsManagerLocked(); 143 service.removeConfiguration(configKey, mContext.getOpPackageName()); 194 * @throws StatsUnavailableException if unsuccessful due to failing to connect to stats service 202 IStatsManager service = getIStatsManagerLocked(); 206 service.setBroadcastSubscriber(configKey, subscriberId, intentSender, 209 service [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothPbap.java | 42 * BluetoothPbap service. Users of this object should call close() when they 44 * from the service. 47 * BluetoothPbap service. Use the ServiceListener interface to obtain a 93 * been connected to the BluetoothPbap service. 98 * connected to the BluetoothPbap service. Clients must wait for 100 * service. 106 * disconnected from the BluetoothPbap service. Clients must not 107 * make IPC calls on the BluetoothPbap service after this callback. 109 * the BluetoothPbap service, but may be called more often in future. 119 log("Unbinding service [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | IVoiceInteractionManagerService.aidl | 28 import android.service.voice.IVoiceInteractionService; 29 import android.service.voice.IVoiceInteractionSession; 32 void showSession(IVoiceInteractionService service, in Bundle sessionArgs, int flags); 69 SoundTrigger.ModuleProperties getDspModuleProperties(in IVoiceInteractionService service); 74 * @param service The current VoiceInteractionService. 78 boolean isEnrolledForKeyphrase(IVoiceInteractionService service, int keyphraseId, 83 int startRecognition(in IVoiceInteractionService service, int keyphraseId, 89 int stopRecognition(in IVoiceInteractionService service, int keyphraseId, 93 * @return the component name for the currently active voice interaction service 98 * Shows the session for the currently active service [all...] |
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | LocationProviderProxy.java | 92 * Remember we can switch the service that implements a providers 98 if (D) Log.d(TAG, "applying state to connected service"); 114 ILocationProvider service = ILocationProvider.Stub.asInterface(binder); 117 properties[0] = service.getProperties(); 123 // apply current state to new service 125 service.enable(); 127 service.setRequest(request, source); 133 // never let remote service crash system server 165 ILocationProvider service = ILocationProvider.Stub.asInterface(binder); 167 service [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | ShortcutParser.java | 60 public static List<ShortcutInfo> parseShortcuts(ShortcutService service, argument 66 final List<ResolveInfo> activities = service.injectGetMainActivities(packageName, userId); 82 service.getActivityInfoWithMetadata( 86 service, activityInfoWithMetadata, packageName, userId, result); 92 service.wtf( 100 ShortcutService service, 110 parser = service.injectXmlMetaData(activityInfo, METADATA_KEY); 122 final int maxShortcuts = service.getMaxActivityShortcuts(); 207 service, attrs, packageName, activity, userId, rank); 234 final Intent intent = Intent.parseIntent(service 99 parseShortcutsOneFile( ShortcutService service, ActivityInfo activityInfo, String packageName, @UserIdInt int userId, List<ShortcutInfo> result) argument 272 parseCategories(ShortcutService service, AttributeSet attrs) argument 287 parseShortcutAttributes(ShortcutService service, AttributeSet attrs, String packageName, ComponentName activity, @UserIdInt int userId, int rank) argument 331 createShortcutFromManifest(ShortcutService service, @UserIdInt int userId, String id, String packageName, ComponentName activityComponent, int titleResId, int textResId, int disabledMessageResId, int rank, int iconResId, boolean enabled) argument [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/ |
H A D | SuggestionController.java | 25 import android.service.settings.suggestions.ISuggestionService; 26 import android.service.settings.suggestions.Suggestion; 39 * Callback interface when service is connected/disconnected. 43 * Called when service is connected. 48 * Called when service is disconnected. 67 * @param service The component name for service. 68 * @param listener listener to receive service connected/disconnected event. 70 public SuggestionController(Context context, ComponentName service, argument 74 mServiceIntent = new Intent().setComponent(service); [all...] |
/frameworks/rs/perf-test-scripts/ |
H A D | set-cpu-freq | 55 for service in ${SERVICES[@]}; do 56 adb shell stop $service 124 for service in ${SERVICES[@]}; do 125 adb shell start $service 132 for service in ${SERVICES[@]}; do 133 adb shell stop $service
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
H A D | TileServices.java | 32 import android.service.quicksettings.IQSService; 33 import android.service.quicksettings.Tile; 34 import android.service.quicksettings.TileService; 84 TileServiceManager service = onCreateTileService(component, tile.getQsTile()); 86 mServices.put(tile, service); 88 mTokenMap.put(service.getToken(), tile); 90 return service; 97 public void freeService(CustomTile tile, TileServiceManager service) { argument 99 service.setBindAllowed(false); 100 service [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
H A D | TelecomManager.java | 59 * UI by notifying the Telecom system that an incoming call exists for a specific call service 66 * ask the connection service for more information about the call prior to showing any UI. 303 * containing the component name of the associated connection service. 1477 * service. This is invoked when Telephony detects a new unknown connection that was neither 1514 ITelecomService service = getTelecomService(); 1515 if (service != null) { 1517 return service.handlePinMmi(dialString, mContext.getOpPackageName()); 1541 ITelecomService service = getTelecomService(); 1542 if (service != null) { 1544 return service [all...] |
/frameworks/base/cmds/incidentd/src/ |
H A D | main.cpp | 46 // Create the service 47 sp<IncidentService> service = new IncidentService(looper); local 48 if (defaultServiceManager()->addService(String16("incident"), service) != 0) { 49 ALOGE("Failed to add service");
|
/frameworks/base/core/java/android/hardware/ |
H A D | SerialManager.java | 39 public SerialManager(Context context, ISerialManager service) { argument 41 mService = service;
|
/frameworks/base/core/java/android/service/autofill/ |
H A D | IAutofillFieldClassificationService.aidl | 17 package android.service.autofill;
|
H A D | AutofillServiceHelper.java | 17 package android.service.autofill;
|
/frameworks/base/core/java/com/android/server/ |
H A D | LocalServices.java | 39 * Returns a local service instance that implements the specified interface. 41 * @param type The type of service. 42 * @return The service object. 52 * Adds a service instance of the specified interface to the global registry of local services. 54 public static <T> void addService(Class<T> type, T service) { argument 57 throw new IllegalStateException("Overriding service registration"); 59 sLocalServiceObjects.put(type, service); 64 * Remove a service instance, must be only used in tests.
|
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/ |
H A D | TestContext.java | 34 public <S> void injectSystemService(Class<S> cls, S service) { argument 36 mInjectedSystemServices.put(name, service); 47 Log.d(TAG, "return mocked system service for " + name); 50 Log.d(TAG, "return real system service for " + name);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A D | PrintSpoolerProvider.java | 51 public void onServiceConnected(ComponentName name, IBinder service) { argument 52 mSpooler = ((PrintSpoolerService.PrintSpooler) service).getService();
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
H A D | FakeZenModeController.java | 19 import android.service.notification.ZenModeConfig; 20 import android.service.notification.ZenModeConfig.ZenRule;
|
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | ContentShellCommand.java | 28 ContentShellCommand(IContentService service) { argument 29 mInterface = service; 60 pw.println("Content service commands:");
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
H A D | service_dispatcher.h | 29 * Adds a service to the list of services handled by this dispatcher. This 33 * Returns 0 on success; -EEXIST if the service was already added. 35 int AddService(const std::shared_ptr<Service>& service); 38 * Removes a service from this dispatcher. This will fail if any threads are 41 * Returns 0 on success; -ENOENT if the service was not previously added; 44 int RemoveService(const std::shared_ptr<Service>& service); 51 * to be done in the service dispatch loop.
|
/frameworks/native/libs/vr/libvrflinger/ |
H A D | vr_flinger.cpp | 65 std::shared_ptr<android::pdx::Service> service; 77 CHECK_ERROR(!dispatcher_, error, "Failed to create service dispatcher."); 81 CHECK_ERROR(!display_service_, error, "Failed to create display service."); 84 service = android::dvr::DisplayManagerService::Create(display_service_); 85 CHECK_ERROR(!service, error, "Failed to create display manager service."); 86 dispatcher_->AddService(service); 88 service = android::dvr::VSyncService::Create(); 89 CHECK_ERROR(!service, error, "Failed to create vsync service [all...] |
/frameworks/base/core/java/android/service/persistentdata/ |
H A D | PersistentDataBlockManager.java | 17 package android.service.persistentdata; 26 import android.service.oemlock.OemLockManager; 77 public PersistentDataBlockManager(IPersistentDataBlockService service) { argument 78 sService = service;
|
/frameworks/base/core/java/android/webkit/ |
H A D | UrlInterceptHandler.java | 47 CacheResult service(String url, @Nullable Map<String, String> headers); method in interface:UrlInterceptHandler
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | WindowTestUtils.java | 55 final WindowManagerService service = mock(WindowManagerService.class); 57 when(service.getWindowManagerLock()).thenReturn(windowMap); 58 return service; 82 public static Task createTaskInStack(WindowManagerService service, TaskStack stack, argument 84 synchronized (service.mWindowMap) { 85 final Task newTask = new Task(sNextTaskId++, stack, userId, service, 0, false, 97 TestTaskStack(WindowManagerService service, int stackId) { argument 98 super(service, stackId, null); 123 TestAppWindowToken(WindowManagerService service, IApplicationToken token, argument 128 super(service, toke 197 TestTask(int taskId, TaskStack stack, int userId, WindowManagerService service, int resizeMode, boolean supportsPictureInPicture, TaskWindowContainerController controller) argument 295 createAppWindow(WindowManagerService service, IApplicationToken token, boolean voiceInteraction, DisplayContent dc, long inputDispatchingTimeoutNanos, boolean fullscreen, boolean showForAllUsers, int targetSdk, int orientation, int rotationAnimationHint, int configChanges, boolean launchTaskBehind, boolean alwaysFocusable, AppWindowContainerController controller) argument 329 TestWindowState(WindowManagerService service, Session session, IWindow window, WindowManager.LayoutParams attrs, WindowToken token) argument [all...] |
/frameworks/native/services/vr/performanced/ |
H A D | main.cpp | 30 std::shared_ptr<android::pdx::Service> service; local 62 CHECK_ERROR(!dispatcher, error, "Failed to create service dispatcher."); 64 service = android::dvr::PerformanceService::Create(); 65 CHECK_ERROR(!service, error, "Failed to create performance service service."); 66 dispatcher->AddService(service);
|
/frameworks/native/libs/vr/libpdx_uds/ |
H A D | service_framework_tests.cpp | 19 #include <pdx/service.h> 72 // The test service creates a TestChannel for every client (channel) that 73 // connects. This represents the service-side context for each client. 89 // Test service that creates a TestChannel for each channel and responds to test 261 // Test client to send messages to the test service. 264 // Requests the service id of the service this channel is connected to. 300 // Checks whether the fd |channel_id| is a channel to the test service. 309 // Checks whether the fd |channel_id| is a channel to the test service. 318 // Checks whether the fd |channel_fd| is a channel to the other test service 451 auto service = TestService::Create(kTestService1); local 474 auto service = TestService::Create(kTestService1); local 513 auto service = TestService::Create(kTestService1); local 549 auto service = TestService::Create(kTestService2, other_service); local 594 auto service = TestService::Create(kTestService1); local 639 auto service = TestService::Create(kTestService1); local 660 auto service = TestService::Create(kTestService1); local 683 auto service = TestService::Create(kTestService1); local 700 auto service = TestService::Create(kTestService1, nullptr, true); local [all...] |