/external/chromium_org/tools/gn/ |
function_get_path_info_unittest.cc | 17 // Convenience wrapper to call GetLabelInfo. 18 std::string Call(const std::string& input, const std::string& what) { 42 EXPECT_EQ("bar.txt", Call("foo/bar.txt", "file")); 43 EXPECT_EQ("bar.txt", Call("bar.txt", "file")); 44 EXPECT_EQ("bar.txt", Call("/bar.txt", "file")); 45 EXPECT_EQ("", Call("foo/", "file")); 46 EXPECT_EQ("", Call("//", "file")); 47 EXPECT_EQ("", Call("/", "file")); 51 EXPECT_EQ("bar", Call("foo/bar.txt", "name")); 52 EXPECT_EQ("bar", Call("bar.", "name")) [all...] |
function_get_label_info_unittest.cc | 17 // Convenience wrapper to call GetLabelInfo. 18 std::string Call(const std::string& label, const std::string& what) { 44 EXPECT_EQ("", Call(":name", "incorrect_value")); 45 EXPECT_EQ("", Call("", "name")); 49 EXPECT_EQ("name", Call(":name", "name")); 50 EXPECT_EQ("name", Call("//foo/bar:name", "name")); 54 EXPECT_EQ("//src/foo", Call(":name", "dir")); 55 EXPECT_EQ("//foo/bar", Call("//foo/bar:baz", "dir")); 59 EXPECT_EQ("//out/Debug", Call(":name", "root_out_dir")); 61 Call(":name(//toolchain:random)", "root_out_dir")) [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
CallsManagerListenerBase.java | 26 public void onCallAdded(Call call) { 30 public void onCallRemoved(Call call) { 34 public void onCallStateChanged(Call call, int oldState, int newState) { 39 Call call, 45 public void onIncomingCallAnswered(Call call) { [all...] |
CallIdMapper.java | 21 /** Utility to map {@link Call} objects to unique IDs. IDs are generated when a call is added. */ 23 private final HashBiMap<String, Call> mCalls = HashBiMap.create(); 32 void replaceCall(Call newCall, Call callToReplace) { 35 // Use the old call's ID for the new call. 40 void addCall(Call call, String id) { 41 if (call == null) [all...] |
RingbackPlayer.java | 25 * audio for a call, whereas most tones play as simple timed events. This means ringback must be 36 * The current call for which the ringback tone is being played. 38 private Call mCall; 52 public void onForegroundCallChanged(Call oldForegroundCall, Call newForegroundCall) { 64 Call call, 69 if (shouldStartRinging(call)) { 70 startRingbackForCall(call); 72 stopRingbackForCall(call); [all...] |
CallsManager.java | 56 public final class CallsManager extends Call.ListenerBase { 60 void onCallAdded(Call call); 61 void onCallRemoved(Call call); 62 void onCallStateChanged(Call call, int oldState, int newState); 64 Call call, 67 void onIncomingCallAnswered(Call call) 345 Call call = new Call( local 364 Call call = new Call( local 393 Call call = new Call( local 924 Call call = new Call( local [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/ |
call-stack.rb | 3 unless defined? Call 5 Call = Struct.new( :file, :line, :method ) 6 class Call 13 return Call.new( file, line ) 18 return Call.new( file, line, method ) 47 Call.convert_backtrace( caller( depth + 1 ) ) 53 Call.convert_backtrace( backtrace ) 57 end # unless defined? Call
|
/external/chromium_org/sandbox/linux/seccomp-bpf/ |
syscall.h | 19 // This performs system call |nr| with the arguments p0 to p5 from a constant 25 static intptr_t Call(int nr, 36 // uninitialized data whenever we call through this function and pass less 46 Call(int nr, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5) { 47 return Call(nr, 57 static inline intptr_t Call(int nr, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4) { 58 return Call(nr, p0, p1, p2, p3, p4, 0); 62 static inline intptr_t Call(int nr, T0 p0, T1 p1, T2 p2, T3 p3) { 63 return Call(nr, p0, p1, p2, p3, 0, 0); 67 static inline intptr_t Call(int nr, T0 p0, T1 p1, T2 p2) [all...] |
syscall_unittest.cc | 27 // of the mmap() system call. Test for the correct symbol at compile time. 35 // Test that Syscall::Call(-1) is handled specially. Don't do this on ARM, 39 EXPECT_NE(Syscall::Call(-1), syscall(-1)); 42 // If possible, test that Syscall::Call(-1) returns the address right 46 EXPECT_EQ(0x80CDu, ((uint16_t*)Syscall::Call(-1))[-1]); // INT 0x80 48 EXPECT_EQ(0x050Fu, ((uint16_t*)Syscall::Call(-1))[-1]); // SYSCALL 51 EXPECT_EQ(0xDF00u, ((uint16_t*)Syscall::Call(-1))[-1]); // SWI 0 53 EXPECT_EQ(0xEF000000u, ((uint32_t*)Syscall::Call(-1))[-1]); // SVC 0 62 EXPECT_EQ(Syscall::Call(__NR_getpid), syscall(__NR_getpid)); 68 ASSERT_GE(new_fd = Syscall::Call(__NR_dup, 2), 0) [all...] |
/packages/apps/InCallUI/src/com/android/incallui/ |
CallList.java | 36 * Maintains the list of active calls and notifies interested classes of changes to the call list 50 private final HashMap<String, Call> mCallById = new HashMap<>(); 51 private final HashMap<android.telecom.Call, Call> mCallByTelecommCall = new HashMap<>(); 74 public void onCallAdded(Phone phone, android.telecom.Call telecommCall) { 75 Call call = new Call(telecommCall); 76 if (call.getState() == Call.State.INCOMING) 234 Call call = getFirstCallWithState(Call.State.DIALING); local 262 Call call = getActiveCall(); local 270 Call call = getFirstCallWithState(Call.State.INCOMING); local 299 Call call = getFirstCall(); local 432 mCallById.put(call.getId(), call); local 433 mCallByTelecommCall.put(call.getTelecommCall(), call); local 437 mCallById.put(call.getId(), call); local 438 mCallByTelecommCall.put(call.getTelecommCall(), call); local [all...] |
Call.java | 36 * Describes a single call and its state. 38 public final class Call { 39 /* Defines different states of this call */ 42 public static final int IDLE = 1; /* The call is idle. Nothing active */ 43 public static final int ACTIVE = 2; /* There is an active call */ 44 public static final int INCOMING = 3; /* A normal incoming phone call */ 45 public static final int CALL_WAITING = 4; /* Incoming call while another is active */ 46 public static final int DIALING = 5; /* An outgoing call during dial phase */ 48 public static final int ONHOLD = 7; /* An active phone call placed on hold */ 49 public static final int DISCONNECTING = 8; /* A call is being ended. * [all...] |
InCallVideoCallListenerNotifier.java | 125 * Inform listeners of an upgrade to video request for a call. 127 * @param call The call. 129 public void upgradeToVideoRequest(Call call) { 131 listener.onUpgradeToVideoRequest(call); 136 * Inform listeners of a successful response to a video request for a call. 138 * @param call The call. 140 public void upgradeToVideoSuccess(Call call) [all...] |
/external/chromium_org/media/base/ |
gmock_callback_support_unittest.cc | 25 EXPECT_CALL(check, Call(IsNullCallback())); 26 check.Call(TestCallback()); 31 EXPECT_CALL(check, Call(IsNotNullCallback())); 32 check.Call(base::Bind(&SetBool)); 38 EXPECT_CALL(check, Call(IsNotNullCallback())) 40 check.Call(base::Bind(&SetBool, true, &dst)); 47 EXPECT_CALL(check, Call(IsNotNullCallback())) 49 check.Call(base::Bind(&SetBool)); 56 EXPECT_CALL(check, Call(0, IsNotNullCallback())) 58 check.Call(0, base::Bind(&SetBool)) [all...] |
/external/deqp/executor/ |
xeCallQueue.hpp | 23 * \brief Cross-thread function call dispatcher. 36 class Call; 41 // \todo [2012-07-10 pyry] Optimize memory management in Call 43 // In order to do that, reference counting system for call object management is needed. 45 class Call 50 Call (void); 51 ~Call (void); 72 CallReader (Call* call); 76 const deUint8* getDataBlock (int numBytes); //!< \note Valid only during call [all...] |
xeCallQueue.cpp | 21 * \brief Cross-thread function call dispatcher. 49 for (vector<Call*>::iterator i = m_calls.begin(); i != m_calls.end(); i++) 55 Call* call = DE_NULL; local 57 // Wait for a call. 60 // Acquire call from buffer. 63 call = m_callQueue.popBack(); 68 // \note Enqueue lock is not held during call so it is possible to enqueue more work from dispatched call. 69 call->getFunction()(CallReader(call)) 98 Call* call = DE_NULL; local [all...] |
/external/llvm/lib/Transforms/Scalar/ |
PartiallyInlineLibCalls.cpp | 44 bool optimizeSQRT(CallInst *Call, Function *CalledFunc, 70 CallInst *Call = dyn_cast<CallInst>(&*II); 73 if (!Call || !(CalledFunc = Call->getCalledFunction())) 86 if (TTI->haveFastSqrt(Call->getType()) && 87 optimizeSQRT(Call, CalledFunc, *CurrBB, BB)) 102 bool PartiallyInlineLibCalls::optimizeSQRT(CallInst *Call, 107 // instruction if the call has already been marked read-only. 108 if (Call->onlyReadsMemory()) 119 // v1 = sqrt(src) # library call [all...] |
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
mediasessionclient.h | 44 #include "talk/session/media/call.h" 50 class Call; 69 // Return mapping of call ids to Calls. 70 const std::map<uint32, Call *>& calls() const { return calls_; } 89 // Control use of multiple sessions in a call. 96 Call *CreateCall(); 97 void DestroyCall(Call *call); 99 Call *GetFocus(); 100 void SetFocus(Call *call) [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
Phone.java | 46 * Called to bring the in-call screen to the foreground. The in-call experience should 48 * ongoing {@code Call}s. 56 * Called when a {@code Call} has been added to this in-call session. The in-call user 57 * experience should add necessary state listeners to the specified {@code Call} and 59 * and nature of this {@code Call}. Subsequent invocations of {@link #getCalls()} will 60 * include this {@code Call}. 63 * @param call A newly added {@code Call} 102 Call call = new Call(this, parcelableCall.getId(), mInCallAdapter); local 103 mCallByTelecomCallId.put(parcelableCall.getId(), call); local 119 Call call = mCallByTelecomCallId.get(parcelableCall.getId()); local 128 Call call = mCallByTelecomCallId.get(telecomId); local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_repr.py | 8 from ..fixer_util import Call, Name, parenthesize 23 return Call(Name(u"repr"), [expr], prefix=node.prefix)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_repr.py | 8 from ..fixer_util import Call, Name, parenthesize 23 return Call(Name(u"repr"), [expr], prefix=node.prefix)
|
/external/chromium_org/third_party/webrtc/ |
call.h | 54 // A Call instance can contain several send and/or receive streams. All streams 57 class Call { 71 // VoiceEngine used for audio/video synchronization for this Call. 79 // lets the call decide start bitrate. 84 static Call* Create(const Call::Config& config); 86 static Call* Create(const Call::Config& config, 105 // All received RTP and RTCP packets for the call should be inserted to this 107 // Call instance exists [all...] |
/external/chromium_org/third_party/webrtc/video/ |
call.cc | 17 #include "webrtc/call.h" 63 class Call : public webrtc::Call, public PacketReceiver { 65 Call(webrtc::VideoEngine* video_engine, const Call::Config& config); 66 virtual ~Call(); 100 Call::Config config_; 119 DISALLOW_COPY_AND_ASSIGN(Call); 123 Call* Call::Create(const Call::Config& config) [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
SimpleStreamChecker.cpp | 63 const CallEvent &Call, 70 bool guaranteedNotToCloseFile(const CallEvent &Call) const; 76 void checkPostCall(const CallEvent &Call, CheckerContext &C) const; 78 void checkPreCall(const CallEvent &Call, CheckerContext &C) const; 85 const CallEvent *Call, 121 void SimpleStreamChecker::checkPostCall(const CallEvent &Call, 125 if (!Call.isGlobalCFunction()) 128 if (Call.getCalleeIdentifier() != IIfopen) 132 SymbolRef FileDesc = Call.getReturnValue().getAsSymbol(); 142 void SimpleStreamChecker::checkPreCall(const CallEvent &Call, [all...] |
TraversalChecker.cpp | 67 void checkPreCall(const CallEvent &Call, CheckerContext &C) const; 68 void checkPostCall(const CallEvent &Call, CheckerContext &C) const; 72 void CallDumper::checkPreCall(const CallEvent &Call, CheckerContext &C) const { 82 Call.dump(llvm::outs()); 85 void CallDumper::checkPostCall(const CallEvent &Call, CheckerContext &C) const { 86 const Expr *CallE = Call.getOriginExpr(); 99 if (Call.getResultType()->isVoidType())
|
/external/chromium_org/ppapi/examples/file_chooser/ |
file_chooser.cc | 68 body.Call("removeChild", console_); 70 console_ = doc.Call("createElement", "pre"); 73 body.Call("appendChild", console_); 78 console_.Call("appendChild", doc.Call("createTextNode", var)); 79 console_.Call("appendChild", doc.Call("createTextNode", "\n"));
|