/frameworks/native/services/displayservice/ |
DisplayEventReceiver.cpp | 75 DisplayEventReceiver::FwkReceiver &DisplayEventReceiver::AttachedEvent::receiver() { function in class:android::frameworks::displayservice::V1_0::implementation::DisplayEventReceiver::AttachedEvent 149 bool success = OK == mAttached->receiver().setVsyncRate(count); 160 bool success = OK == mAttached->receiver().requestNextVsync();
|
/frameworks/support/compat/src/main/java/androidx/core/app/ |
ActivityOptionsCompat.java | 275 public void requestUsageTimeReport(PendingIntent receiver) { 277 mActivityOptions.requestUsageTimeReport(receiver); 350 * report it back once done. The report will be sent to the given receiver, with 370 * @param receiver A broadcast receiver that will receive the report. 372 public void requestUsageTimeReport(@NonNull PendingIntent receiver) {
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/ |
CmdUtil.java | 185 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); local 186 device.executeShellCommand(String.format("getprop %s", name), receiver); 187 return receiver.getOutput();
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
AudioJitterTest.java | 103 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); local 104 device.executeShellCommand(JITTER_BINARY_DEVICE_PATH, receiver, 106 String resultStr = receiver.getOutput();
|
/tools/tradefederation/core/prod-tests/src/com/android/graphics/tests/ |
FlatlandTest.java | 133 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); local 135 receiver, SHELL_TIMEOUT, TimeUnit.MILLISECONDS, 2); local 136 String result = receiver.getOutput();
|
/external/v8/src/builtins/ |
builtins-reflect.cc | 80 Handle<Object> receiver = args.length() > 3 ? args.at(3) : target; local 94 isolate, Object::GetPropertyOrElement(receiver, name, 136 Handle<JSReceiver> receiver = Handle<JSReceiver>::cast(target); local 138 JSReceiver::GetPrototype(isolate, receiver)); 231 Handle<Object> receiver = args.length() > 4 ? args.at(4) : target; local 245 isolate, receiver, name, Handle<JSReceiver>::cast(target));
|
builtins-function.cc | 25 // Compute number of arguments, ignoring the receiver. 189 if (!args.receiver()->IsCallable()) { 290 // Check that receiver has instance type of JS_FUNCTION_TYPE 291 Node* receiver = args.GetReceiver(); local 292 assembler.GotoIf(assembler.TaggedIsSmi(receiver), &slow); 294 Node* receiver_map = assembler.LoadMap(receiver); 409 // Determine bound receiver. 410 assembler.Comment("Determine bound receiver"); 430 bound_function, JSBoundFunction::kBoundTargetFunctionOffset, receiver); 467 Handle<Object> receiver = args.receiver() local [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
BluetoothEnablerTest.java | 223 BroadcastReceiver receiver = captor.getValue(); local 226 receiver.onReceive(mContext, turningOff); 229 receiver.onReceive(mContext, off); 246 BroadcastReceiver receiver = captor.getValue(); local 249 receiver.onReceive(mContext, turningOn); 252 receiver.onReceive(mContext, on);
|
/frameworks/base/core/java/android/view/ |
WindowManagerImpl.java | 129 final KeyboardShortcutsReceiver receiver, int deviceId) { 135 receiver.onKeyboardShortcutsReceived(result);
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/ |
ConnectivityPreferenceControllerTest.java | 75 final BroadcastReceiver receiver = receiverArgumentCaptor.getValue(); local 87 verify(mContext, times(1)).unregisterReceiver(receiver);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
CurrentUserTracker.java | 41 CurrentUserTracker(UserReceiver receiver) { 42 mUserReceiver = receiver;
|
/frameworks/support/slices/view/src/androidTest/java/androidx/slice/render/ |
RenderTest.java | 52 BroadcastReceiver receiver = new BroadcastReceiver() { local 58 mContext.registerReceiver(receiver,
|
/prebuilts/go/darwin-x86/test/fixedbugs/bug392.dir/ |
one.go | 20 // Call of inlined method with blank receiver.
|
/prebuilts/go/linux-x86/test/fixedbugs/bug392.dir/ |
one.go | 20 // Call of inlined method with blank receiver.
|
/external/v8/src/compiler/ |
js-builtin-reducer.cc | 49 return NodeProperties::GetType(receiver())->Is(type); 78 Node* receiver() { return NodeProperties::GetValueInput(node_, 1); } function in class:v8::internal::compiler::JSCallReduction 84 // Skip first (i.e. callee) and second (i.e. receiver) operand. 91 // Skip first (i.e. callee) and second (i.e. receiver) operand. 114 Node* receiver = NodeProperties::GetValueInput(node, 1); local 116 if (NodeProperties::InferReceiverMaps(receiver, effect, &maps)) { 140 // Ensure that all prototypes of the {receiver} are stable. 163 // If the receiver map has packed elements, no need to check the prototype. 169 // Ensure all prototypes of the {receiver} are stable. 210 Node* receiver = NodeProperties::GetValueInput(node, 1) local 731 Node* receiver = NodeProperties::GetValueInput(node, 1); local 952 Node* receiver = NodeProperties::GetValueInput(node, 1); local 1603 Node* receiver = NodeProperties::GetValueInput(node, 1); local 1803 Node* receiver = NodeProperties::GetValueInput(node, 1); local 1944 Node* receiver = NodeProperties::GetValueInput(node, 1); local [all...] |
/external/libchrome/base/timer/ |
timer_unittest.cc | 47 class Receiver { 49 Receiver() : count_(0) {} 442 Receiver receiver; local 445 Bind(&Receiver::OnCalled, Unretained(&receiver))); 447 EXPECT_TRUE(receiver.WasCalled()); 484 Receiver receiver; local 488 Bind(&Receiver::OnCalled, Unretained(&receiver))) 525 Receiver receiver; local [all...] |
/external/tensorflow/tensorflow/contrib/verbs/ |
README.md | 35 2. Non DMAable tensors (CanMemCopy == false) will be serialized to a TensorProto on the sender side, RDMA written to a registered buffer on the receiver side, and then deserialized by the receiver. 36 3. Tensors which are located on a non-RDMA-compatible GPU, will be RDMA written to a registered CPU **proxy** buffer on the receiver side, and then copied to GPU by the receiver. 43 * **Receiver** - The node which receives the tensor. 55 The tensor transfer process is initiated when the receiver requests a tensor. In code it is done by calling **Rendezvous::Recv()** or **Rendezvous::RecvAsync()**. The TensorFlow base implementation handles the case where the requested tensor is located on the same node. The more interesting case where the requested tensor is located on a remote node (receiver != sender) is to be handled in a derivation of the pure virtual **BaseRemoteRendezvous::RecvFromRemoteAsync()**. TensorFlow provides a default GRPC based implementation which comes in the vanilla version but suffers in scalability when running large models. Our RDMA based implementation presumes to be more scalable. HKUST's contrib GDR implementation is more scalable than GRPC, and less scalable than ours, only because we did our evolution based on it. 62 In order to allocate the result and proxy tensors, we need to know the tensor's meta-data, i.e. shape and data-type for DMAable tensors, and proto-size for serialized tensors. Unfortunately, this information is only available on the sender side which complicates manners. In order to avoid sending extra messages for querying the meta-data at each step, we store a local meta-data cache per tensor, which will only be update upon changes. Based on the assumption that the meta-data of a tensor rarely changes between steps, we expect that on most times the cache will only be updated once. The sender is responsible to detect changes in the meta-data, and update the receiver. In order for the sender to know that the meta-data had changed, each **RDMA_MESSAGE_TENSOR_REQUEST** will contain the meta-data that the receiver had grabbed from the local cache. The sender will then compare the meta-data from the message to the tensor's new meta-data. 76 When the receiver receives the **RDMA_MESSAGE_META_DATA_RESPONSE**, it will locate the relevant **RdmaTensorRequest* (…) [all...] |
/frameworks/base/services/core/java/com/android/server/ |
LocationManagerService.java | 200 private final HashMap<Object, Receiver> mReceivers = new HashMap<>(); 304 for (Receiver receiver : mReceivers.values()) { 305 receiver.updateMonitoring(true); 1110 Receiver receiver = mReceivers.get(binder); local 1960 Receiver receiver = mReceivers.get(binder); local 1977 Receiver receiver = mReceivers.get(intent); local 2153 Receiver receiver = checkListenerOrIntentLocked(listener, intent, pid, uid, local 2936 Receiver receiver = r.mReceiver; local [all...] |
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
ExternalStorageTest.java | 121 final DownloadCompleteReceiver receiver = new DownloadCompleteReceiver(); local 124 mContext.registerReceiver(receiver, intentFilter); 132 receiver.waitForDownloadComplete(30 * DateUtils.SECOND_IN_MILLIS, id); 138 mContext.unregisterReceiver(receiver);
|
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
OwnerChangedBroadcastTest.java | 17 package com.android.cts.intent.receiver; 42 // We can't just register a broadcast receiver in the code because the broadcast 43 // may have been sent before this test is run. So we have a manifest receiver
|
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/ |
QuietModeTest.java | 140 BlockingBroadcastReceiver receiver = local 143 receiver.register(); 148 return receiver.awaitForBroadcast(); 150 receiver.unregisterQuietly(); 160 * The receiver will then send back the result, and it should be either true, false or
|
/cts/hostsidetests/devicepolicy/app/TransferOwnerOutgoingApp/src/com/android/cts/transferowner/ |
DeviceAndProfileOwnerTransferOutgoingTest.java | 71 new ComponentName("com.android.cts.intent.receiver", ".BroadcastIntentReceiver"); 116 BlockingBroadcastReceiver receiver = new BlockingBroadcastReceiver(mContext, local 119 receiver.register(); 123 Intent intent = receiver.awaitForBroadcast(); 126 receiver.unregisterQuietly();
|
/cts/hostsidetests/inputmethodservice/deviceside/provider/src/android/inputmethodservice/cts/receiver/ |
EventReceiver.java | 17 package android.inputmethodservice.cts.receiver;
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-downloadmanager/src/android/security/net/config/cts/ |
DownloadManagerTest.java | 91 DownloadCompleteReceiver receiver = new DownloadCompleteReceiver(); local 101 getContext().registerReceiver(receiver, filter); 109 receiver.waitForDownloadComplete(TIMEOUT, id); 118 getContext().unregisterReceiver(receiver);
|
/developers/samples/android/connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/ |
MainActivity.java | 57 private BroadcastReceiver receiver = null; field in class:MainActivity 88 receiver = new WiFiDirectBroadcastReceiver(manager, channel, this); 89 registerReceiver(receiver, intentFilter); 95 unregisterReceiver(receiver);
|